Activated required profiles 09/90709/2
authorjegadeeshbabu1 <jegabab1@in.ibm.com>
Mon, 1 Jul 2019 07:08:33 +0000 (12:38 +0530)
committerJegadeesh Babu <jegabab1@in.ibm.com>
Mon, 1 Jul 2019 07:19:55 +0000 (07:19 +0000)
Activated spring profiles

Issue-ID: DCAEGEN2-1483
Change-Id: I9887f645f37dea66f16c7c5d357d50e38c441460
Signed-off-by: jegadeeshbabu1 <jegabab1@in.ibm.com>
dcae-analytics/dcae-analytics-tca-web/Dockerfile
dcae-analytics/dcae-analytics-tca-web/dpo/blueprint/k8s-tca-gen2-web.yaml

index 41ca384..7e84380 100644 (file)
@@ -24,4 +24,4 @@ RUN ln -s ${FINAL_JAR} tca-gen2.jar
 EXPOSE 8100
 
 USER tca-gen2:tca-gen2
-ENTRYPOINT ["java", "-Dspring.profiles.active=dmaap", "-jar", "tca-gen2.jar"]
+ENTRYPOINT ["java", "-Dspring.profiles.active=configBindingService,dmaap,mongo", "-jar", "tca-gen2.jar"]
index d399d21..1ebeaeb 100644 (file)
@@ -64,19 +64,19 @@ node_templates:
     properties:
       application_config:
         service_calls: []
-        stream_publishes:
+        streams_publishes:
           tca_handle_out:
             dmaap_info:
               topic_url:
                 get_input: tca_handle_out_publish_url
-            type: message router
-        stream_subcribes:
+            type: message_router
+        streams_subscribes:
           tca_handle_in:
             dmaap_info:
               topic_url:
                 get_input: tca_handle_in_subscribe_url
-            type: message router
-        spring.mongodb.uri:
+            type: message_router
+        mongodb:
           get_input: spring.mongodb.uri
         streams_subscribes.tca_handle_in.consumer_group: cg1
         streams_subscribes.tca_handle_in.consumer_ids[0]: c0
@@ -86,7 +86,7 @@ node_templates:
         streams_subscribes.tca_handle_in.polling.auto_adjusting.min: 30000
         streams_subscribes.tca_handle_in.polling.auto_adjusting.step_down: 30000
         streams_subscribes.tca_handle_in.polling.auto_adjusting.step_up: 10000
-        streams_subscribes.tca_handle_in.polling.fixedRate: 0
+        streams_subscribes.tca_handle_in.polling.fixed_rate: 0
         streams_subscribes.tca_handle_in.timeout: -1
         tca.aai.generic_vnf_path: aai/v11/network/generic-vnfs/generic-vnf
         tca.aai.node_query_path: aai/v11/search/nodes-query