1 # ============LICENSE_START===============================================
2 # Copyright (C) 2020-2022 Nordix Foundation. All rights reserved.
3 # ========================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # ============LICENSE_END=================================================
18 #description: Docker application of Policy Agent managing policies
19 #blueprint_version: 1.0.0
21 tosca_definitions_version: cloudify_dsl_1_3
22 description: Docker application to collect log file from PNF
24 - http://www.getcloudify.org/spec/cloudify/4.3.1/types.yaml
25 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R5/k8splugin/1.6.0/k8splugin_types.yaml
26 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.ccsdk.platform.plugins/type_files/dmaap/dmaap.yaml
28 policy-agent_cpu_limit:
31 policy-agent_cpu_request:
34 policy-agent_memory_limit:
37 policy-agent_memory_request:
47 default: "A1-POLICY-AGENT-WRITE"
50 default: "A1-POLICY-AGENT-READ"
56 default: "policy-agent"
59 default: "/var/log/policy-agent"
62 description: number of instances
66 default: "nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent:1.0.0"
69 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
71 cloudify.interfaces.lifecycle:
80 baseUrl: http://localhost:8083/
85 baseUrl: http://localhost:8085/
96 - concat: ["8081", { get_input: external_port }]
98 get_input: tag_version
99 service_component_type: policy-agent
102 get_input: log_directory
108 get_input: policy-agent_cpu_limit
110 get_input: policy-agent_memory_limit
113 get_input: policy-agent_cpu_request
115 get_input: policy-agent_memory_request