stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariangela Hills (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (STRATOS-1319) Issues with updating the Kubernetes-CoreOS Host
Date Tue, 07 Apr 2015 09:20:12 GMT

     [ https://issues.apache.org/jira/browse/STRATOS-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mariangela Hills updated STRATOS-1319:
--------------------------------------
    Description: 
Previously, the PATCH method together with the following resource path was used to update
the Kubernetes-CoreOS Host via REST API:
` kubernetesClusters/{kubernetesClusterId}/minion/{minionId} `

However, now the PUT method together with the following resource path is available to update
the Kubernetes-CoreOS Host via REST API:
/kubernetes/update/host

Furthermore, I had to pass the "clusterId" property as well in the JSON that defined the Kubernetes-CoreOS
host for it to get executed successfully.

----------------------------------
Issues:
(1.) The following resource path does not follow the REST API standard format that has been
used for all Stratos API resource paths (i.e., "update" should not be explicitly stated in
the resource path, "kubernetes" should be "kubernetesClusters")
/kubernetes/update/host

(2)
The "clusterId" should be passed in the resource path rather than getting the user to pass
it in the Kubernetes-CoreOS Host payload.


  was:
Previously, the PATCH method together with the following resource path was used to update
the Kubernetes-CoreOS Host via REST API:
`kubernetesClusters/{kubernetesClusterId}/minion/{minionId}`

However, now the PUT method together with the following resource path is available to update
the Kubernetes-CoreOS Host via REST API:
/kubernetes/update/host

Furthermore, I had to pass the "clusterId" property as well in the JSON that defined the Kubernetes-CoreOS
host for it to get executed successfully.

----------------------------------
Issues:
(1.) The following resource path does not follow the REST API standard format that has been
used for all Stratos API resource paths (i.e., "update" should not be explicitly stated in
the resource path, "kubernetes" should be "kubernetesClusters")
/kubernetes/update/host

(2)
The "clusterId" should be passed in the resource path rather than getting the user to pass
it in the Kubernetes-CoreOS Host payload.



> Issues with updating the Kubernetes-CoreOS Host
> -----------------------------------------------
>
>                 Key: STRATOS-1319
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1319
>             Project: Stratos
>          Issue Type: Bug
>          Components: REST API
>    Affects Versions: 4.1.0 Alpha
>            Reporter: Mariangela Hills
>
> Previously, the PATCH method together with the following resource path was used to update
the Kubernetes-CoreOS Host via REST API:
> ` kubernetesClusters/{kubernetesClusterId}/minion/{minionId} `
> However, now the PUT method together with the following resource path is available to
update the Kubernetes-CoreOS Host via REST API:
> /kubernetes/update/host
> Furthermore, I had to pass the "clusterId" property as well in the JSON that defined
the Kubernetes-CoreOS host for it to get executed successfully.
> ----------------------------------
> Issues:
> (1.) The following resource path does not follow the REST API standard format that has
been used for all Stratos API resource paths (i.e., "update" should not be explicitly stated
in the resource path, "kubernetes" should be "kubernetesClusters")
> /kubernetes/update/host
> (2)
> The "clusterId" should be passed in the resource path rather than getting the user to
pass it in the Kubernetes-CoreOS Host payload.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message