brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjcorbett <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Readding dependency on jackson-ja...
Date Tue, 24 Nov 2015 10:42:42 GMT
Github user sjcorbett commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1060#discussion_r45719555
  
    --- Diff: usage/rest-client/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
---
    @@ -98,11 +98,21 @@ public void testCatalogApiLocations() throws Exception {
             log.info("locations from catalog are: "+locations);
         }
     
    +    public void testCatalogCreate()throws Exception {
    +        final String bomYaml = "brooklyn.catalog:\n  id: simple-tomcat\n  version: 1.0\n
 itemType: template\n" +
    --- End diff --
    
    Put a new line in after every `\n` to make this readable. Or alternatively put the blueprint
in a file in src/test/resources/path/to/file.yaml and load it with `new ResourceUtils(this).getResourceAsString("classpath://path/to/file.yaml")`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message