summaryrefslogtreecommitdiffstats
path: root/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp
diff options
context:
space:
mode:
Diffstat (limited to 'blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp')
-rw-r--r--blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java6
-rw-r--r--blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapNode.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java b/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java
index ff93307..d3cff67 100644
--- a/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java
+++ b/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java
@@ -49,13 +49,13 @@ public class DmaapBlueprint extends Blueprint{
//set the imports
Imports imps = new Imports();
if(importPath.equals("")) {
- imps.createDmaapImports();
+ bp.setImports(imps.createDmaapImports());
}
else {
- imps.createImportsFromFile(importPath);
+ bp.setImports(imps.createImportsFromFile(importPath));
}
- bp.setImports(imps.getImports());
+ //bp.setImports(imps.getImports());
//set and create the node templates
TreeMap<String, Node> nodeTemplate = new TreeMap();
diff --git a/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapNode.java b/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapNode.java
index 97a6fdb..bfa7ae9 100644
--- a/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapNode.java
+++ b/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapNode.java
@@ -124,7 +124,7 @@ public class DmaapNode extends Node{
GetInput topicInput = new GetInput();
topicInput.setGet_input(name + "_name");
props.setFeed_name(topicInput);
- props.setUseExisting(true);
+ //props.setUseExisting(true);
retInputs.put(name + "_name", stringType);
this.setProperties(props);
@@ -144,7 +144,7 @@ public class DmaapNode extends Node{
GetInput topicInput = new GetInput();
topicInput.setGet_input(name + "_name");
props.setTopic_name(topicInput);
- props.setUseExisting(true);
+ //props.setUseExisting(true);
retInputs.put(name + "_name", stringType);
this.setProperties(props);