You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/05/15 15:08:12 UTC
stratos git commit: Status code changed to 200 in updateServiceGroup
Repository: stratos
Updated Branches:
refs/heads/master 24906fc3b -> e87e7af75
Status code changed to 200 in updateServiceGroup
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/e87e7af7
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/e87e7af7
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/e87e7af7
Branch: refs/heads/master
Commit: e87e7af75008a8c5fd742b38f40ad550a753a782
Parents: 24906fc
Author: Dinithi <di...@wso2.com>
Authored: Fri May 15 16:52:59 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Fri May 15 18:38:05 2015 +0530
----------------------------------------------------------------------
.../java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/e87e7af7/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
index 18068f8..b1450f4 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
@@ -485,7 +485,7 @@ public class StratosApiV41 extends AbstractApi {
StratosApiV41Utils.updateServiceGroup(cartridgeGroup);
URI url = uriInfo.getAbsolutePathBuilder().path(cartridgeGroup.getName()).build();
- return Response.created(url).entity(new ResponseMessageBean(ResponseMessageBean.SUCCESS,
+ return Response.ok(url).entity(new ResponseMessageBean(ResponseMessageBean.SUCCESS,
String.format("Cartridge group updated successfully: [cartridge-group] %s",
cartridgeGroup.getName()))).build();