Blueprint generator fix. Local code coverage: 56.9%. Fixed pom.
Issue-ID: DCAEGEN2-1125
Change-Id: Ib5db301b6ddfaadef4be1f9e1a56af03cf415f0a
Signed-off-by: ms236b <ms236B@att.com>
<version>1.1.0-SNAPSHOT</version>
</parent>
<groupId>org.onap.dcaegen2.platform.cli</groupId>
- <artifactId>blueprint-generator-onap</artifactId>
- <version>0.0.1-SNAPSHOT</version>
+ <artifactId>blueprint-generator</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
logD.setGet_input("log_directory");
this.setLog_info(logD);
String logger = "";
- for(Volumes v: cs.getAuxilary().getVolumes()) {
- if(v.getContainer().getBind().contains("/opt/app/") && v.getContainer().getBind().contains("logs")) {
- logger = v.getContainer().getBind();
+ if(cs.getAuxilary().getVolumes() != null) {
+ for(Volumes v: cs.getAuxilary().getVolumes()) {
+ if(v.getContainer().getBind().contains("/opt/app/") && v.getContainer().getBind().contains("logs")) {
+ logger = v.getContainer().getBind();
+ }
}
}
+
LinkedHashMap<String, Object> logInp = new LinkedHashMap<String, Object>();
logInp.put("type", "string");
if(logger != "") {
<packaging>pom</packaging>
<modules>
<module>dcae-cli</module>
- <module>component-json-schemas</module>
+ <module>component-json-schemas</module>
<module>blueprint-generator</module>
</modules>