[
https://issues.apache.org/jira/browse/STRATOS-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mariangela Hills updated STRATOS-1321:
--------------------------------------
Description:
When dealing with slave nodes, "minion" and "hosts" are used in the REST API
resource paths. It will be better if either minion or hosts are used in the
resource paths rather than using both.
(*) Adding a new minion to an existing Kubernetes cluster PUT
/kubernetesClusters/{kubernetesClusterId}/minion
(*) Retrieving details of minions GET
/kubernetesClusters/{kubernetesClusterId}/hosts
(*) Deleting a minion DELETE
/kubernetesClusters/{kubernetesClusterId}/hosts/{hostId}
was:
When dealing with slave nodes, "minion" and "hosts" are used in the REST API
resource paths. It will be better if either minion or hosts are used in the
resource paths rather than using both.
# Adding a new minion to an existing Kubernetes cluster
PUT /kubernetesClusters/{kubernetesClusterId}/minion
# Retrieving details of minions
GET /kubernetesClusters/{kubernetesClusterId}/hosts
# Deleting a minion
DELETE /kubernetesClusters/{kubernetesClusterId}/hosts/{hostId}
> Different terminology used for same element - minion Vs. hosts
> --------------------------------------------------------------
>
> Key: STRATOS-1321
> URL: https://issues.apache.org/jira/browse/STRATOS-1321
> Project: Stratos
> Issue Type: Improvement
> Components: REST API
> Affects Versions: 4.1.0 Alpha
> Reporter: Mariangela Hills
> Priority: Minor
>
> When dealing with slave nodes, "minion" and "hosts" are used in the REST API
> resource paths. It will be better if either minion or hosts are used in the
> resource paths rather than using both.
> (*) Adding a new minion to an existing Kubernetes cluster PUT
> /kubernetesClusters/{kubernetesClusterId}/minion
> (*) Retrieving details of minions GET
> /kubernetesClusters/{kubernetesClusterId}/hosts
> (*) Deleting a minion DELETE
> /kubernetesClusters/{kubernetesClusterId}/hosts/{hostId}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)