Mariangela Hills created STRATOS-1319:
-----------------------------------------
Summary: 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)