diff options
author | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2021-01-25 10:04:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-01-25 10:04:49 +0000 |
commit | 12bf7f388e919df51f869b5449f23a082082394d (patch) | |
tree | e2279d997cf7bf48df36ab53646e941f97550a0c /mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/AppConfigService.java | |
parent | 4a39a56b42b5ee8586cf91f79187e317491ec003 (diff) | |
parent | 52b5f5276add6116a14ba671c35ff9d87c140421 (diff) |
Merge "Add Native Kafka streams support in bp-generator"
Diffstat (limited to 'mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/AppConfigService.java')
-rw-r--r-- | mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/AppConfigService.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/AppConfigService.java b/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/AppConfigService.java index 494620c..da70511 100644 --- a/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/AppConfigService.java +++ b/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/AppConfigService.java @@ -27,7 +27,7 @@ package org.onap.blueprintgenerator.service.common; import org.onap.blueprintgenerator.model.common.Appconfig; -import org.onap.blueprintgenerator.model.common.Dmaap; +import org.onap.blueprintgenerator.model.common.BaseStream; import org.onap.blueprintgenerator.model.common.GetInput; import org.onap.blueprintgenerator.model.componentspec.OnapComponentSpec; import org.onap.blueprintgenerator.model.componentspec.common.Calls; @@ -58,6 +58,7 @@ public class AppConfigService { @Autowired private StreamService streamService; + /** * Creates Inputs section under App Config with Publishes, Subscribes, Parameters sections by * checking Datarouter/MessageRouter/override/Dmaap values @@ -78,9 +79,9 @@ public class AppConfigService { Calls[] call = new Calls[0]; appconfig.setService_calls(call); - Map<String, Dmaap> streamPublishes = streamService.createStreamPublishes( + Map<String, BaseStream> streamPublishes = streamService.createStreamPublishes( onapComponentSpec, blueprintHelperService, dmaapService, inputs, isDmaap); - Map<String, Dmaap> streamSubscribes = streamService.createStreamSubscribes( + Map<String, BaseStream> streamSubscribes = streamService.createStreamSubscribes( onapComponentSpec, blueprintHelperService, dmaapService, inputs, isDmaap); appconfig.setStreams_publishes(streamPublishes); @@ -122,4 +123,5 @@ public class AppConfigService { response.put("inputs", inputs); return response; } + } |