diff options
author | 2020-07-17 15:46:41 +0000 | |
---|---|---|
committer | 2020-07-17 20:04:13 +0000 | |
commit | a1a37bde3365ebf0aaa543b2f10ebdb13bd4af40 (patch) | |
tree | 1bda1fb21c14ca4540e45c445da823c6cfdb6373 /mod/runtimeapi/runtime-web/src/main/java/org | |
parent | e996e07eea9189ffd89418047eb26293ef33e419 (diff) |
Add onap.useDmaapPlugin config parameter
Change-Id: I8c86eb3f1c76c608fe5ce66bc4e0e1f6d8d64abc
Issue-ID: DCAEGEN2-1996
Signed-off-by: Andrew Gauld <agauld@att.com>
Diffstat (limited to 'mod/runtimeapi/runtime-web/src/main/java/org')
-rw-r--r-- | mod/runtimeapi/runtime-web/src/main/java/org/onap/dcae/runtime/web/configuration/BlueprintCreatorConfig.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/runtimeapi/runtime-web/src/main/java/org/onap/dcae/runtime/web/configuration/BlueprintCreatorConfig.java b/mod/runtimeapi/runtime-web/src/main/java/org/onap/dcae/runtime/web/configuration/BlueprintCreatorConfig.java index 11622e6..0741bfa 100644 --- a/mod/runtimeapi/runtime-web/src/main/java/org/onap/dcae/runtime/web/configuration/BlueprintCreatorConfig.java +++ b/mod/runtimeapi/runtime-web/src/main/java/org/onap/dcae/runtime/web/configuration/BlueprintCreatorConfig.java @@ -47,6 +47,9 @@ public class BlueprintCreatorConfig { @Value("${onap.topicUrl}") String onapDublinTopicUrl; + @Value("${onap.useDmaapPlugin}") + boolean useDmaapPlugin; + @Value("${onap.import.cloudifyPlugin}") String onapDublinImportCloudifyPlugin; @@ -72,6 +75,7 @@ public class BlueprintCreatorConfig { public FlowGraphParser getFlowGraphParserForOnapDublin(){ BlueprintCreatorOnap blueprintCreatorOnap = new BlueprintCreatorOnap(); blueprintCreatorOnap.setImportFilePath(writeImportsTofile()); + blueprintCreatorOnap.setUseDmaapPlugin(useDmaapPlugin); FlowGraphParser flowGraphParser = new FlowGraphParser(blueprintCreatorOnap); return flowGraphParser; } |