[jira] [Resolved] (STRATOS-1317) Two different status codes appear - PUT /kubernetesClusters/{kubernetesClusterId}/master

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis resolved STRATOS-1317. --- Resolution: Fixed > Two different status codes appear - PUT > /kubernetesClusters/{

[jira] [Commented] (STRATOS-1314) Two different status codes appear POST /kubernetesClusters

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493246#comment-14493246 ] Chamila de Alwis commented on STRATOS-1314: --- Fixed in d42e63efb600e4cdfcd6d9f3

[jira] [Resolved] (STRATOS-1314) Two different status codes appear POST /kubernetesClusters

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis resolved STRATOS-1314. --- Resolution: Fixed Fix Version/s: (was: 4.1.0 Beta) 4.1.

[jira] [Commented] (STRATOS-1315) Two different status codes appear - PUT /kubernetesClusters/{kubernetesClusterId}/minion

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493245#comment-14493245 ] Chamila de Alwis commented on STRATOS-1315: --- Fixed in d42e63efb600e4cdfcd6d9f3

[jira] [Resolved] (STRATOS-1315) Two different status codes appear - PUT /kubernetesClusters/{kubernetesClusterId}/minion

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis resolved STRATOS-1315. --- Resolution: Fixed Fix Version/s: (was: 4.1.0 Beta) 4.1.

[jira] [Updated] (STRATOS-964) Some REST API are not returning response codes

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis updated STRATOS-964: - Fix Version/s: (was: 4.1.0) 4.1.0 RC1 > Some REST API are not retu

[jira] [Updated] (STRATOS-987) Add meaningful paragraph type code comments

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis updated STRATOS-987: - Fix Version/s: (was: 4.1.0) 4.1.0 RC1 > Add meaningful paragraph t

[jira] [Commented] (STRATOS-1317) Two different status codes appear - PUT /kubernetesClusters/{kubernetesClusterId}/master

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493240#comment-14493240 ] Chamila de Alwis commented on STRATOS-1317: --- Fixed in d42e63efb600e4cdfcd6d9f3

[jira] [Resolved] (STRATOS-1318) Two different status codes appear - PUT /cartridges

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis resolved STRATOS-1318. --- Resolution: Fixed Fix Version/s: 4.1.0 Beta > Two different status codes appe

[jira] [Resolved] (STRATOS-987) Add meaningful paragraph type code comments

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis resolved STRATOS-987. -- Resolution: Fixed Fix Version/s: 4.1.0 > Add meaningful paragraph type code comm

[jira] [Commented] (STRATOS-987) Add meaningful paragraph type code comments

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493232#comment-14493232 ] Chamila de Alwis commented on STRATOS-987: -- Fixed in commit d42e63efb600e4cdfcd6

[jira] [Commented] (STRATOS-964) Some REST API are not returning response codes

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493230#comment-14493230 ] Chamila de Alwis commented on STRATOS-964: -- Fixed in commit d42e63efb600e4cdfcd6

[jira] [Resolved] (STRATOS-964) Some REST API are not returning response codes

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis resolved STRATOS-964. -- Resolution: Fixed Fix Version/s: 4.1.0 > Some REST API are not returning respons

[jira] [Updated] (STRATOS-964) Some REST API are not returning response codes

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis updated STRATOS-964: - Description: When looking though the code, I noticed that some of the REST APIs do not r

[jira] [Updated] (STRATOS-964) Some REST API are not returning response codes

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis updated STRATOS-964: - Description: When looking though the code, I noticed that some of the REST APIs do not r

[jira] [Updated] (STRATOS-964) Some REST API are not returning response codes

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis updated STRATOS-964: - Affects Version/s: 4.1.0 Beta > Some REST API are not returning response codes >

Re: [Discuss] Error handling in the REST API

2015-04-13 Thread Chamila De Alwis
Looks like the status returned when an exception is thrown is 400 (bad request). This should vary depending on the type of exception thrown from the backend, probably among 404 and 500. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Tue, Apr

[jira] [Resolved] (STRATOS-972) Rewording Auto-scaling policy related resource paths

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis resolved STRATOS-972. -- Resolution: Invalid REST endpoint related to autoscaling policies now are of "/autosca

[Discuss] Error handling in the REST API

2015-04-13 Thread Chamila De Alwis
Hi, Is there a specific reason for throwing exceptions in the REST API without handling them and returning suitable response codes? This is observed in several methods where either the util methods throw exceptions that are not handled in the API method, or the API method directly throws exception

[jira] [Updated] (STRATOS-996) Standard 204 response not returned when deleting application properties

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis updated STRATOS-996: - Description: In Stratos when the DELETE method is executed generally the response returne

[jira] [Commented] (STRATOS-996) Standard 204 response not returned when deleting application properties

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14492795#comment-14492795 ] Chamila de Alwis commented on STRATOS-996: -- This issue is still there in 4.1.0-b

[jira] [Updated] (STRATOS-996) Standard 204 response not returned when deleting application properties

2015-04-13 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis updated STRATOS-996: - Affects Version/s: 4.1.0 Beta > Standard 204 response not returned when deleting applicat

LoadBalancer on Amazon EC2 gets stuck waiting for ports to be active.

2015-04-13 Thread Ricardo Carvalho
Hi everyone I'm using Apache Stratos 4.0.0, and testing cloud bursting/inter-cloud deployment in Openstack and Amazon EC2 instances with load balancer and php cartridges. When the load balancer is deployed on Openstack, everything works perfectly and it has no problem communicating with the ph