Re: [Q?] Updating the Kubernetes-CoreOS Host via REST API?

2015-04-20 Thread Imesh Gunaratne
A good suggestion Gayan! AFAIK JAX-RS only provides GET, POST, PUT, DELETE, HEAD & OPTIONS by default. For PATCH we might need to implement a custom annotation [1] [1] http://cxf.apache.org/docs/jax-rs-basics.html On Thu, Apr 16, 2015 at 3:23 PM, Gayan Gunarathne wrote: > Are we using HTTP PATC

Re: [Q?] Updating the Kubernetes-CoreOS Host via REST API?

2015-04-16 Thread Gayan Gunarathne
Are we using HTTP PATCH method for partially update the resource Kubernetes host? As for the email thread[1] it is listed there , but I think we didn't implement that. [1] Use of create instead of deploy within Stratos Thanks, Gayan On Wed, Apr 15, 2015 at 12:38 AM, Chamila De Alwis wrote: > I

Re: [Q?] Updating the Kubernetes-CoreOS Host via REST API?

2015-04-14 Thread Chamila De Alwis
I think the API endpoint "/kubernetes/update/host" was to be modified to "/kubernetesClusters/{kubernetesClusterId}/minions/{minionId}" in the earlier REST API refactoring[1]. But it seems this particular method has been excluded for the update. The use of this endpoint has been questioned earlier[

Re: [Q?] Updating the Kubernetes-CoreOS Host via REST API?

2015-04-14 Thread Imesh Gunaratne
I think this confusion has made because a Kubernetes Host can be a Master or a Minion. We should be able to update both master and minion nodes. In terms of the API endpoint, it could say /kubernetesCluster/{kubernetesClusterId}/hosts and each host could be either a master or a minion. Thanks On

Re: [Q?] Updating the Kubernetes-CoreOS Host via REST API?

2015-04-12 Thread Chamila De Alwis
Hi Mary, Thanks for reporting this! I can't find the exact commit which might have deleted the existing API method. However I noticed some irregularities in the API methods related to Kubernetes Hosts. As you have pointed out earlier for documentation, the terms, "minion" and "host" seem to be us

Re: [Q?] Updating the Kubernetes-CoreOS Host via REST API?

2015-04-07 Thread Mariangela Hills
I have created a JIRA [1] regarding these issues. [1] https://issues.apache.org/jira/browse/STRATOS-1319 Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Tue, Apr 7, 20

[Q?] Updating the Kubernetes-CoreOS Host via REST API?

2015-04-07 Thread Mariangela Hills
Hi Devs, Previously, the following resource was used to update the Kubernetes-CoreOS Host via REST API: PATCH kubernetesClusters/{kubernetesClusterId}/minion/{minionId} However, now the above resource path can not be found in the code base. Instead, now the following resource path is available: P