summaryrefslogtreecommitdiffstats
path: root/mod/runtimeapi/runtime-web/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'mod/runtimeapi/runtime-web/src/main')
-rw-r--r--mod/runtimeapi/runtime-web/src/main/java/org/onap/dcae/runtime/web/configuration/BlueprintCreatorConfig.java4
-rw-r--r--mod/runtimeapi/runtime-web/src/main/resources/application.properties4
2 files changed, 7 insertions, 1 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;
}
diff --git a/mod/runtimeapi/runtime-web/src/main/resources/application.properties b/mod/runtimeapi/runtime-web/src/main/resources/application.properties
index dccce98..f3b06aa 100644
--- a/mod/runtimeapi/runtime-web/src/main/resources/application.properties
+++ b/mod/runtimeapi/runtime-web/src/main/resources/application.properties
@@ -11,6 +11,8 @@ dashboard.password=
#Onap Dublin BlueprintGenerator configs
onap.topicUrl=https://url:9999
+onap.useDmaapPlugin=false
+
onap.import.cloudifyPlugin=https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
onap.import.k8sPlugin=https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/k8splugin/1.7.2/k8splugin_types.yaml
@@ -21,4 +23,4 @@ onap.import.postgresPlugin=https://nexus.onap.org/service/local/repositories/raw
onap.import.clampPlugin=https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/clamppolicyplugin/1.1.0/clamppolicyplugin_types.yaml
-onap.import.dmaapPlugin= https://nexus.onap.org/content/repositories/raw/org.onap.ccsdk.platform.plugins/type_files/dmaap/dmaap.yaml \ No newline at end of file
+onap.import.dmaapPlugin= https://nexus.onap.org/content/repositories/raw/org.onap.ccsdk.platform.plugins/type_files/dmaap/dmaap.yaml