Uplift from ONAP
[nonrtric/plt/a1policymanagementservice.git] / dpo / blueprints / k8s-policy-agent.yaml
index aa09ff3..4d4309b 100644 (file)
@@ -1,3 +1,19 @@
+#  ============LICENSE_START===============================================
+#  Copyright (C) 2020-2022 Nordix Foundation. All rights reserved.
+#  ========================================================================
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#  ============LICENSE_END=================================================
+#
 
 #description: Docker application of Policy Agent managing policies
 #blueprint_version: 1.0.0
@@ -59,16 +75,6 @@ node_templates:
               get_input: envs
     properties:
       application_config:
-        streams_publishes:
-          dmaap_publisher:
-            dmaap_info:
-              topic_url: { concat: ['https://message-router:3905/events/',{ get_input: publish_topic_name }] }
-            type: message_router
-        streams_subscribes:
-          dmaap_subscriber:
-            dmaap_info:
-              topic_url: { concat: ['https://message-router:3905/events/',{ get_input: subscribe_topic_name }, '/', { get_input: consumer_group }, "/", { get_input: consumer_id }, "?timeout=15000&limit=100"] }
-            type: message_router
         ric:
           - name: ric1
             baseUrl: http://localhost:8083/
@@ -87,7 +93,7 @@ node_templates:
           type: http
           endpoint: /status
         ports:
-          - concat: ["8081", {get_input: external_port}]
+          - concat: ["8081", { get_input: external_port }]
       image:
         get_input: tag_version
       service_component_type: policy-agent
@@ -107,5 +113,3 @@ node_templates:
             get_input: policy-agent_cpu_request
           memory:
             get_input: policy-agent_memory_request
-
-