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
17 external_cert_ca_name:
19 description: Name of Certificate Authority configured on CertService side.
21 external_cert_cert_type:
23 description: Format of provided certificates
25 external_cert_common_name:
27 description: Common name which should be present in certificate.
28 default: "sample.onap.org"
31 description: "List of Subject Alternative Names (SANs) which should be present
32 in certificate. Delimiter - : Should contain common_name value and other FQDNs
33 under which given component is accessible."
34 default: "sample.onap.org:component.sample.onap.org"
35 external_cert_use_external_tls:
37 description: Flag to indicate external tls enable/disable.
47 default: "test.tester"
53 description: number of instances
55 service_component_name_override:
58 test.component.spec_cpu_limit:
61 test.component.spec_cpu_request:
64 test.component.spec_memory_limit:
67 test.component.spec_memory_request:
72 description: flag to indicate tls enable/disable
76 type: dcae.nodes.ContainerizedServiceComponent
78 cloudify.interfaces.lifecycle:
82 - concat: ["80:", {get_input: external_port_0}]
83 - concat: ["99:", {get_input: external_port_1}]
90 streams_subscribes: {}
91 service_component_name_override:
92 get_input: service_component_name_override
97 script: /etc/init.d/nagios status
102 get_input: location_id
103 service_component_type: test-component-spec
107 cert_directory: /opt/app/dcae-certificate/
111 external_cert_directory: /opt/app/dcae-certificate/
113 get_input: external_cert_use_external_tls
115 get_input: external_cert_ca_name
117 get_input: external_cert_cert_type
118 external_certificate_parameters:
120 get_input: external_cert_common_name
122 get_input: external_cert_sans
126 get_input: test.component.spec_cpu_limit
128 get_input: test.component.spec_memory_limit
131 get_input: test.component.spec_cpu_request
133 get_input: test.component.spec_memory_request
135 get_input: always_pull_image