+# ============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
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/
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
get_input: policy-agent_cpu_request
memory:
get_input: policy-agent_memory_request
-
-