2 #description: Docker application of Policy Agent managing policies
3 #blueprint_version: 1.0.0
5 tosca_definitions_version: cloudify_dsl_1_3
6 description: Docker application to collect log file from PNF
8 - http://www.getcloudify.org/spec/cloudify/4.3.1/types.yaml
9 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R5/k8splugin/1.6.0/k8splugin_types.yaml
10 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.ccsdk.platform.plugins/type_files/dmaap/dmaap.yaml
12 policy-agent_cpu_limit:
15 policy-agent_cpu_request:
18 policy-agent_memory_limit:
21 policy-agent_memory_request:
31 default: "A1-POLICY-AGENT-WRITE"
34 default: "A1-POLICY-AGENT-READ"
40 default: "policy-agent"
43 default: "/var/log/policy-agent"
46 description: number of instances
50 default: "nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent:1.0.0"
53 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
55 cloudify.interfaces.lifecycle:
65 topic_url: { concat: ['https://message-router:3905/events/',{ get_input: publish_topic_name }] }
70 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"] }
74 baseUrl: http://localhost:8083/
79 baseUrl: http://localhost:8085/
90 - concat: ["8081", {get_input: external_port}]
92 get_input: tag_version
93 service_component_type: policy-agent
96 get_input: log_directory
102 get_input: policy-agent_cpu_limit
104 get_input: policy-agent_memory_limit
107 get_input: policy-agent_cpu_request
109 get_input: policy-agent_memory_request