diff options
author | 2020-10-21 15:47:38 -0400 | |
---|---|---|
committer | 2020-11-19 12:44:18 -0500 | |
commit | 55dcf3197958c76b1622a0c26489e68fe77e0314 (patch) | |
tree | 1abf70007833878c5e60a4e112d68fe6d5cb5636 /mod/bpgenerator/TestCases/helloworld/blueprint/helloworld_changed_with_dmaap.yaml | |
parent | c8d244d826cc1d9b2ad7aeb0ca0874e321ad4577 (diff) |
Blueprint Generator Refactored Code Issue-ID: DCAEGEN2-2472
Change-Id: I2ade7fb3b4196554eb4ecadd918fd45cb6ba8a52
Signed-off-by: Ravi Mantena <rx908f@att.com>
Diffstat (limited to 'mod/bpgenerator/TestCases/helloworld/blueprint/helloworld_changed_with_dmaap.yaml')
-rw-r--r-- | mod/bpgenerator/TestCases/helloworld/blueprint/helloworld_changed_with_dmaap.yaml | 376 |
1 files changed, 0 insertions, 376 deletions
diff --git a/mod/bpgenerator/TestCases/helloworld/blueprint/helloworld_changed_with_dmaap.yaml b/mod/bpgenerator/TestCases/helloworld/blueprint/helloworld_changed_with_dmaap.yaml deleted file mode 100644 index 95961ee..0000000 --- a/mod/bpgenerator/TestCases/helloworld/blueprint/helloworld_changed_with_dmaap.yaml +++ /dev/null @@ -1,376 +0,0 @@ -# ============LICENSE_START======================================================= -# org.onap.dcae -# ================================================================================ -# Copyright (c) 2019-2020 AT&T Intellectual Property. 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: Hello World mS for subscribing the data from local DMaaP, DR or MR, processing them and publishing them as PM files to local DMaaP DR -#blueprint_version: 1.0.1 ---- -tosca_definitions_version: cloudify_dsl_1_3 -description: Hello World mS for subscribing the data from local DMaaP, DR or MR, processing - them and publishing them as PM files to local DMaaP DR -imports: -- https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml -- https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/k8splugin/1.7.1/k8splugin_types.yaml -- https://nexus.onap.org/service/local/repositories/raw/content/org.onap.ccsdk.platform.plugins/type_files/dmaap/dmaap.yaml -inputs: - DCAE-HELLO-WORLD-PUB-DR_DCAE-HELLO-WORLD-PUB-DR_feed_location: - type: string - DCAE-HELLO-WORLD-PUB-DR_feed_name: - type: string - DCAE-HELLO-WORLD-PUB-MR_DCAE-HELLO-WORLD-PUB-MR_topic_aaf_password: - type: string - DCAE-HELLO-WORLD-PUB-MR_DCAE-HELLO-WORLD-PUB-MR_topic_aaf_username: - type: string - DCAE-HELLO-WORLD-PUB-MR_DCAE-HELLO-WORLD-PUB-MR_topic_client_role: - type: string - DCAE-HELLO-WORLD-PUB-MR_DCAE-HELLO-WORLD-PUB-MR_topic_location: - type: string - DCAE-HELLO-WORLD-PUB-MR_topic_name: - type: string - DCAE-HELLO-WORLD-SUB-DR_DCAE-HELLO-WORLD-SUB-DR_feed_decompress: - type: string - DCAE-HELLO-WORLD-SUB-DR_DCAE-HELLO-WORLD-SUB-DR_feed_location: - type: string - DCAE-HELLO-WORLD-SUB-DR_DCAE-HELLO-WORLD-SUB-DR_feed_password: - type: string - DCAE-HELLO-WORLD-SUB-DR_DCAE-HELLO-WORLD-SUB-DR_feed_priviliged: - type: string - DCAE-HELLO-WORLD-SUB-DR_DCAE-HELLO-WORLD-SUB-DR_feed_username: - type: string - DCAE-HELLO-WORLD-SUB-DR_feed_name: - type: string - DCAE-HELLO-WORLD-SUB-MR_DCAE-HELLO-WORLD-SUB-MR_topic_aaf_password: - type: string - DCAE-HELLO-WORLD-SUB-MR_DCAE-HELLO-WORLD-SUB-MR_topic_aaf_username: - type: string - DCAE-HELLO-WORLD-SUB-MR_DCAE-HELLO-WORLD-SUB-MR_topic_client_role: - type: string - DCAE-HELLO-WORLD-SUB-MR_DCAE-HELLO-WORLD-SUB-MR_topic_location: - type: string - DCAE-HELLO-WORLD-SUB-MR_topic_name: - type: string - dcae.collectors.vcc.helloworld.pm_cpu_limit: - type: string - default: "250m" - dcae.collectors.vcc.helloworld.pm_cpu_request: - type: string - default: "250m" - dcae.collectors.vcc.helloworld.pm_memory_limit: - type: string - default: "128Mi" - dcae.collectors.vcc.helloworld.pm_memory_request: - type: string - default: "128Mi" - dcaes_database_name: - type: string - description: db name - default: "" - dcaes_database_writerfqdn: - type: string - description: db writerfqdn - default: "" - dti_database_name: - type: string - description: db name - default: "" - dti_database_writerfqdn: - type: string - description: db writerfqdn - default: "" - envs: - default: &envs {} - replicas: - type: integer - description: number of instances - default: 1 - repo_database_name: - type: string - description: db name - default: "" - repo_database_writerfqdn: - type: string - description: db writerfqdn - default: "" - service_component_name_override: - type: string - default: "" - tag_version: - type: string - default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:latest" - tca_policy_00_policy_id: - type: string - description: policy_id - default: "" - tca_policy_11_policy_id: - type: string - description: policy_id - default: "tca_policy_id_11" - use_tls: - type: boolean - description: flag to indicate tls enable/disable - default: true - vcc_hello_name: - type: string - default: "fsdfa" -node_templates: - DCAE-HELLO-WORLD-PUB-DR_feed: - type: ccsdk.nodes.Feed - properties: - feed_name: - get_input: DCAE-HELLO-WORLD-PUB-DR_feed_name - DCAE-HELLO-WORLD-PUB-MR_topic: - type: ccsdk.nodes.Topic - properties: - topic_name: - get_input: DCAE-HELLO-WORLD-PUB-MR_topic_name - DCAE-HELLO-WORLD-SUB-DR_feed: - type: ccsdk.nodes.Feed - properties: - feed_name: - get_input: DCAE-HELLO-WORLD-SUB-DR_feed_name - DCAE-HELLO-WORLD-SUB-MR_topic: - type: ccsdk.nodes.Topic - properties: - topic_name: - get_input: DCAE-HELLO-WORLD-SUB-MR_topic_name - dcae.collectors.vcc.helloworld.pm: - type: dcae.nodes.ContainerizedServiceComponentUsingDmaap - interfaces: - cloudify.interfaces.lifecycle: - start: - inputs: - ports: [] - envs: - <<: *envs - DCAES_DB_NAME: - get_input: dcaes_database_name - DCAES_DB_ADMIN_HOST: - get_attribute: - - dcaes_pgaasdb - - admin - - host - DCAES_DB_ADMIN_USER: - get_attribute: - - dcaes_pgaasdb - - admin - - user - DCAES_DB_ADMIN_PASS: - get_attribute: - - dcaes_pgaasdb - - admin - - password - DTI_DB_NAME: - get_input: dti_database_name - DTI_DB_ADMIN_HOST: - get_attribute: - - dti_pgaasdb - - admin - - host - DTI_DB_ADMIN_USER: - get_attribute: - - dti_pgaasdb - - admin - - user - DTI_DB_ADMIN_PASS: - get_attribute: - - dti_pgaasdb - - admin - - password - REPO_DB_NAME: - get_input: repo_database_name - REPO_DB_ADMIN_HOST: - get_attribute: - - repo_pgaasdb - - admin - - host - REPO_DB_ADMIN_USER: - get_attribute: - - repo_pgaasdb - - admin - - user - REPO_DB_ADMIN_PASS: - get_attribute: - - repo_pgaasdb - - admin - - password - properties: - application_config: - service_calls: [] - streams_publishes: - DCAE-HELLO-WORLD-PUB-DR: - dmaap_info: <<DCAE-HELLO-WORLD-PUB-DR_feed>> - type: data_router - DCAE-HELLO-WORLD-PUB-MR: - dmaap_info: <<DCAE-HELLO-WORLD-PUB-MR_topic>> - type: message_router - pass: - get_input: DCAE-HELLO-WORLD-PUB-MR_DCAE-HELLO-WORLD-PUB-MR_topic_aaf_password - user: - get_input: DCAE-HELLO-WORLD-PUB-MR_DCAE-HELLO-WORLD-PUB-MR_topic_aaf_username - streams_subscribes: - DCAE-HELLO-WORLD-SUB-DR: - dmaap_info: <<DCAE-HELLO-WORLD-SUB-DR_feed>> - type: data_router - DCAE-HELLO-WORLD-SUB-MR: - dmaap_info: <<DCAE-HELLO-WORLD-SUB-MR_topic>> - type: message_router - pass: - get_input: DCAE-HELLO-WORLD-SUB-MR_DCAE-HELLO-WORLD-SUB-MR_topic_aaf_password - user: - get_input: DCAE-HELLO-WORLD-SUB-MR_DCAE-HELLO-WORLD-SUB-MR_topic_aaf_username - isSelfServeComponent: false - service_component_name_override: - get_input: service_component_name_override - useDtiConfig: false - vcc_hello_name: - get_input: vcc_hello_name - docker_config: - healthcheck: - interval: 60s - timeout: 20s - script: /opt/app/vcc/bin/common/HealthCheck_HelloWorld.sh - type: docker - volumes: - - container: - bind: /opt/app/dcae-certificate - host: - path: /opt/app/dcae-certificate - - container: - bind: /opt/logs/DCAE/dmd/AGENT - host: - path: /opt/logs/DCAE/helloworldpm/dmd/AGENT - - container: - bind: /opt/logs/DCAE/dmd/WATCHER - host: - path: /opt/logs/DCAE/helloworldpm/dmd/WATCHER - - container: - bind: /opt/app/vcc/logs/DCAE - host: - path: /opt/logs/DCAE/helloworldpm/vcc-logs - - container: - bind: /opt/app/vcc/archive/data - host: - path: /opt/data/DCAE/helloworldpm/vcc-archive - image: - get_input: tag_version - service_component_type: dcae-collectors-vcc-helloworld-pm - log_info: - log_directory: /opt/app/VESCollector/logs/ecomp - replicas: - get_input: replicas - streams_publishes: - - name: DCAE-HELLO-WORLD-PUB-DR_feed - location: - get_input: DCAE-HELLO-WORLD-PUB-DR_DCAE-HELLO-WORLD-PUB-DR_feed_location - type: data_router - - name: DCAE-HELLO-WORLD-PUB-MR_topic - location: - get_input: DCAE-HELLO-WORLD-PUB-MR_DCAE-HELLO-WORLD-PUB-MR_topic_location - client_role: - get_input: DCAE-HELLO-WORLD-PUB-MR_DCAE-HELLO-WORLD-PUB-MR_topic_client_role - type: message_router - streams_subscribes: - - name: DCAE-HELLO-WORLD-SUB-MR_topic - location: - get_input: DCAE-HELLO-WORLD-SUB-MR_DCAE-HELLO-WORLD-SUB-MR_topic_location - client_role: - get_input: DCAE-HELLO-WORLD-SUB-MR_DCAE-HELLO-WORLD-SUB-MR_topic_client_role - type: message_router - - name: DCAE-HELLO-WORLD-SUB-DR_feed - location: - get_input: DCAE-HELLO-WORLD-SUB-DR_DCAE-HELLO-WORLD-SUB-DR_feed_location - type: data_router - username: - get_input: DCAE-HELLO-WORLD-SUB-DR_DCAE-HELLO-WORLD-SUB-DR_feed_username - password: - get_input: DCAE-HELLO-WORLD-SUB-DR_DCAE-HELLO-WORLD-SUB-DR_feed_password - privileged: - get_input: DCAE-HELLO-WORLD-SUB-DR_DCAE-HELLO-WORLD-SUB-DR_feed_priviliged - decompress: - get_input: DCAE-HELLO-WORLD-SUB-DR_DCAE-HELLO-WORLD-SUB-DR_feed_decompress - route: /DCAE-HELLO-WORLD-SUB-DR - scheme: https - tls_info: - cert_directory: /opt/app/dh/etc/cert - use_tls: - get_input: use_tls - resource_config: - limits: - cpu: - get_input: dcae.collectors.vcc.helloworld.pm_cpu_limit - memory: - get_input: dcae.collectors.vcc.helloworld.pm_memory_limit - requests: - cpu: - get_input: dcae.collectors.vcc.helloworld.pm_cpu_request - memory: - get_input: dcae.collectors.vcc.helloworld.pm_memory_request - relationships: - - type: ccsdk.relationships.publish_files - target: DCAE-HELLO-WORLD-PUB-DR_feed - - type: ccsdk.relationships.publish_events - target: DCAE-HELLO-WORLD-PUB-MR_topic - - type: ccsdk.relationships.subscribe_to_events - target: DCAE-HELLO-WORLD-SUB-MR_topic - - type: ccsdk.relationships.subscribe_to_files - target: DCAE-HELLO-WORLD-SUB-DR_feed - - type: cloudify.relationships.depends_on - target: tca_policy_00 - - type: cloudify.relationships.depends_on - target: tca_policy_11 - - type: cloudify.relationships.depends_on - target: dcaes_pgaasdb - - type: cloudify.relationships.depends_on - target: dti_pgaasdb - - type: cloudify.relationships.depends_on - target: repo_pgaasdb - dcaes_pgaasdb: - type: dcae.nodes.pgaas.database - properties: - writerfqdn: - get_input: dcaes_database_writerfqdn - name: - get_input: dcaes_database_name - use_existing: true - dti_pgaasdb: - type: dcae.nodes.pgaas.database - properties: - writerfqdn: - get_input: dti_database_writerfqdn - name: - get_input: dti_database_name - use_existing: true - repo_pgaasdb: - type: dcae.nodes.pgaas.database - properties: - writerfqdn: - get_input: repo_database_writerfqdn - name: - get_input: repo_database_name - use_existing: true - tca_policy_00: - type: clamp.nodes.policy - properties: - policy_id: - get_input: tca_policy_00_policy_id - policy_model_id: onap.policies.monitoring.cdap.tca.hi.lo.app - tca_policy_11: - type: clamp.nodes.policy - properties: - policy_id: - get_input: tca_policy_11_policy_id - policy_model_id: onap.policies.monitoring.cdap.tca.hi.lo.app
\ No newline at end of file |