Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 1 | # -*- indent-tabs-mode: nil -*- # vi: set expandtab: |
| 2 | # |
| 3 | # ============LICENSE_START==================================================== |
| 4 | # org.onap.dcae |
| 5 | # ============================================================================= |
| 6 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. |
| 7 | # ============================================================================= |
| 8 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | # you may not use this file except in compliance with the License. |
| 10 | # You may obtain a copy of the License at |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 11 | # |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 13 | # |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 14 | # Unless required by applicable law or agreed to in writing, software |
| 15 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | # See the License for the specific language governing permissions and |
| 18 | # limitations under the License. |
| 19 | # ============LICENSE_END====================================================== |
| 20 | |
| 21 | tosca_definitions_version: cloudify_dsl_1_3 |
| 22 | |
| 23 | |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 24 | imports: |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 25 | - "http://www.getcloudify.org/spec/cloudify/3.4/types.yaml" |
| 26 | - "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/type_files/dockerplugin/2/dockerplugin_types.yaml" |
Hansen, Tony (th1395) | 68765fc | 2018-04-27 00:37:31 +0000 | [diff] [blame] | 27 | - "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/relationshipplugin/1.0.0/relationshipplugin_types.yaml" |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 28 | |
| 29 | inputs: |
vagrant | f751bdf | 2018-03-21 18:08:00 +0000 | [diff] [blame] | 30 | ves_other_publish_url: |
| 31 | type: string |
| 32 | default: "http://10.0.11.1:3904/events/unauthenticated.SEC_OTHER_OUTPUT" |
| 33 | ves_heartbeat_publish_url: |
| 34 | type: string |
| 35 | default: "http://10.0.11.1:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT" |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 36 | ves_fault_publish_url: |
| 37 | type: string |
Vijay | c41a39d | 2017-10-27 20:14:28 +0000 | [diff] [blame] | 38 | default: "http://10.0.11.1:3904/events/unauthenticated.SEC_FAULT_OUTPUT" |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 39 | ves_measurement_publish_url: |
| 40 | type: string |
Lusheng Ji | 42f9508 | 2018-05-11 11:16:27 -0400 | [diff] [blame] | 41 | default: "http://10.0.11.1:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT" |
vagrant | f129cca | 2018-08-02 23:00:25 +0000 | [diff] [blame] | 42 | ves_notification_publish_url: |
| 43 | type: string |
| 44 | default: "http://10.0.11.1:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT" |
| 45 | ves_pnfRegistration_publish_url: |
| 46 | type: string |
| 47 | default: "http://10.0.11.1:3904/events/unauthenticated.VES_PNFREG_OUTPUT" |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 48 | dh_override: |
| 49 | type: string |
Vijay | 963956d | 2017-10-21 12:53:39 +0000 | [diff] [blame] | 50 | default: "component_dockerhost" |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 51 | dh_location_id: |
| 52 | type: string |
Vijay | 963956d | 2017-10-21 12:53:39 +0000 | [diff] [blame] | 53 | default: "zone1" |
vagrant | f751bdf | 2018-03-21 18:08:00 +0000 | [diff] [blame] | 54 | tag_version: |
| 55 | type: string |
vagrant | f129cca | 2018-08-02 23:00:25 +0000 | [diff] [blame] | 56 | default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.3.1" |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 57 | |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 58 | node_templates: |
| 59 | docker_collector_host: |
| 60 | properties: |
| 61 | docker_host_override: |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 62 | get_input: dh_override |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 63 | location_id: |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 64 | get_input: dh_location_id |
| 65 | type: dcae.nodes.SelectedDockerHost |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 66 | ves: |
| 67 | interfaces: |
| 68 | cloudify.interfaces.lifecycle: |
| 69 | stop: |
| 70 | inputs: |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 71 | cleanup_image: true |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 72 | start: |
| 73 | inputs: |
| 74 | ports: |
| 75 | - '8080:8080' |
| 76 | properties: |
| 77 | application_config: |
vagrant | f129cca | 2018-08-02 23:00:25 +0000 | [diff] [blame] | 78 | collector.dmaap.streamid: fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|measurementsForVfScaling=ves-measurement|mobileFlow=ves-mobileflow|other=ves-other|stateChange=ves-statechange|thresholdCrossingAlert=ves-thresholdCrossingAlert|voiceQuality=ves-voicequality|sipSignaling=ves-sipsignaling|notification=ves-notification|pnfRegistration=ves-pnfRegistration |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 79 | collector.inputQueue.maxPending: "8096" |
| 80 | collector.keystore.alias: "dynamically generated" |
Vijay | 963956d | 2017-10-21 12:53:39 +0000 | [diff] [blame] | 81 | collector.keystore.file.location: /opt/app/VESCollector/etc/keystore |
| 82 | collector.keystore.passwordfile: /opt/app/VESCollector/etc/passwordfile |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 83 | collector.schema.checkflag: "1" |
vagrant | f129cca | 2018-08-02 23:00:25 +0000 | [diff] [blame] | 84 | collector.schema.file: "{\"v1\":\"./etc/CommonEventFormat_27.2.json\",\"v2\":\"./etc/CommonEventFormat_27.2.json\",\"v3\":\"./etc/CommonEventFormat_27.2.json\",\"v4\":\"./etc/CommonEventFormat_27.2.json\",\"v5\":\"./etc/CommonEventFormat_28.4.json\",\"v7\":\"./etc/CommonEventFormat_30.0.1.json\"} |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 85 | collector.service.port: "8080" |
| 86 | collector.service.secure.port: "8443" |
| 87 | event.transform.flag: "0" |
| 88 | header.authflag: "0" |
| 89 | header.authlist: "userid1,base64encodepwd1|userid2,base64encodepwd2" |
| 90 | services_calls: [] |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 91 | streams_publishes: |
vagrant | f129cca | 2018-08-02 23:00:25 +0000 | [diff] [blame] | 92 | ves-fault: |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 93 | dmaap_info: |
| 94 | topic_url: |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 95 | get_input: ves_fault_publish_url |
| 96 | type: message_router |
vagrant | f129cca | 2018-08-02 23:00:25 +0000 | [diff] [blame] | 97 | ves-measurement: |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 98 | dmaap_info: |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 99 | topic_url: |
| 100 | get_input: ves_measurement_publish_url |
| 101 | type: message_router |
vagrant | f129cca | 2018-08-02 23:00:25 +0000 | [diff] [blame] | 102 | ves-notification: |
| 103 | dmaap_info: |
| 104 | topic_url: |
| 105 | get_input: ves_notification_publish_url |
| 106 | type: message_router |
| 107 | ves-pnfRegistration: |
| 108 | dmaap_info: |
| 109 | topic_url: |
| 110 | get_input: ves_pnfRegistration_publish_url |
| 111 | type: message_router |
| 112 | ves-heartbeat: |
| 113 | dmaap_info: |
| 114 | topic_url: |
| 115 | get_input: ves_heartbeat_publish_url |
| 116 | type: message_router |
| 117 | ves-other: |
| 118 | dmaap_info: |
| 119 | topic_url: |
| 120 | get_input: ves_other_publish_url |
| 121 | type: message_router |
| 122 | collector.dynamic.config.update.frequency: "5" |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 123 | docker_config: |
| 124 | healthcheck: |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 125 | endpoint: /healthcheck |
| 126 | interval: 15s |
| 127 | timeout: 1s |
| 128 | type: http |
vagrant | f751bdf | 2018-03-21 18:08:00 +0000 | [diff] [blame] | 129 | image: |
| 130 | get_input: tag_version |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 131 | service_component_type: dcaegen2-collectors-ves |
| 132 | relationships: |
| 133 | - type: dcae.relationships.component_contained_in |
Vijay | 3e8e8f7 | 2017-10-25 20:41:00 +0000 | [diff] [blame] | 134 | target: docker_collector_host |
Lusheng Ji | 3bc77b8 | 2017-10-10 20:14:48 +0000 | [diff] [blame] | 135 | type: dcae.nodes.DockerContainerForComponentsUsingDmaap |