2 #description: Test component spec
3 #blueprint_version: 1.0.1
5 tosca_definitions_version: cloudify_dsl_1_3
7 - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
8 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/k8splugin/1.7.2/k8splugin_types.yaml
9 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/dcaepolicyplugin/2.4.0/dcaepolicyplugin_types.yaml
13 description: Set to true if the image should always be pulled
25 default: "test.tester"
31 description: number of instances
33 service_component_name_override:
36 test.component.spec_cpu_limit:
39 test.component.spec_cpu_request:
42 test.component.spec_memory_limit:
45 test.component.spec_memory_request:
50 description: flag to indicate tls enable/disable
54 type: dcae.nodes.ContainerizedServiceComponent
56 cloudify.interfaces.lifecycle:
60 - concat: ["80:", {get_input: external_port_0}]
61 - concat: ["99:", {get_input: external_port_1}]
68 streams_subscribes: {}
69 service_component_name_override:
70 get_input: service_component_name_override
75 script: /etc/init.d/nagios status
80 get_input: location_id
81 service_component_type: test-component-spec
85 cert_directory: /opt/app/dcae-certificate/
91 get_input: test.component.spec_cpu_limit
93 get_input: test.component.spec_memory_limit
96 get_input: test.component.spec_cpu_request
98 get_input: test.component.spec_memory_request
100 get_input: always_pull_image