brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m4rkmcke...@apache.org
Subject [1/2] brooklyn-client git commit: Allow catalog item (YAML or bundle) to be force-updated via query string flag on the REST API
Date Fri, 23 Jun 2017 13:38:51 GMT
Repository: brooklyn-client
Updated Branches:
  refs/heads/master 005bd109b -> 052d3bdae


Allow catalog item (YAML or bundle) to be force-updated via query string flag on the REST
API


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/fb705e81
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/fb705e81
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/fb705e81

Branch: refs/heads/master
Commit: fb705e813b9affd98231e29ec0b718d8687119e0
Parents: 005bd10
Author: Thomas Bouron <thomas.bouron@cloudsoftcorp.com>
Authored: Fri Jun 23 11:48:30 2017 +0100
Committer: Thomas Bouron <thomas.bouron@cloudsoftcorp.com>
Committed: Fri Jun 23 11:48:30 2017 +0100

----------------------------------------------------------------------
 .../org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/fb705e81/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
----------------------------------------------------------------------
diff --git a/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
b/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
index c7433f6..d76f7db 100644
--- a/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
+++ b/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
@@ -114,7 +114,7 @@ public class BrooklynApiRestClientTest {
     }
 
     public void testCatalogCreate()throws Exception {
-        final Response response = api.getCatalogApi().createFromUpload(getFileContentsAsString("catalog/test-catalog.bom").getBytes());
+        final Response response = api.getCatalogApi().createFromUpload(getFileContentsAsString("catalog/test-catalog.bom").getBytes(),
false);
         Asserts.assertEquals(response.getStatus(), 201);
         Asserts.assertStringContains(String.valueOf(response.getEntity()), "simple-tomcat:1.0");
     }


Mime
View raw message