summaryrefslogtreecommitdiffstats
path: root/dpo/tosca_model/template.yaml
blob: 73b4ad38911b3858fd74c3f9f730ee6e39d9eac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# ================================================================================
# Copyright (c) 2017-2018 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=========================================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: ves
imports:
- schema: schema.yaml
topology_template:
  node_templates:
    ves:
      type: dcae.nodes.dockerApp.ves
      properties:
        docker_collector.dmaap.streamid: fault=sec_fault,roadm-sec-to-hp|syslog=sec_syslog|heartbeat=sec_heartbeat|measurementsForVfScaling=sec_measurement|mobileFlow=sec_mobileflow|other=sec_other|stateChange=sec_statechange|thresholdCrossingAlert=sec_thresholdCrossingAlert
        docker_collector.inputQueue.maxPending: '8096'
        docker_collector.keystore.file.location: /opt/app/dcae-certificate/keystore.jks
        docker_collector.keystore.passwordfile: /opt/app/dcae-certificate/.password
        docker_collector.schema.checkflag: '1'
        docker_collector.schema.file: ./etc/CommonEventFormat_27.2.json
        docker_collector.service.port: '8080'
        docker_collector.service.secure.port: '-1'
        docker_auth.method: noAuth
        docker_header.authlist: userid1,base64encodepwd1|userid2,base64encodepwd2
        docker_tomcat.maxthreads: '200'
        location_id:
          get_property:
          - SELF
          - composition
          - location_id
        service_0_service_endpoint: null
        service_0_service_name: null
        service_0_verb: POST
        service_id:
          get_property:
          - SELF
          - composition
          - service_id
        stream_0_key: sec_measurement_unsecure
        stream_0_route: eventListener/v1
        stream_1_key: sec_measurement
        stream_1_route: eventListener/v1/eventBatch
        stream_2_key: sec_fault
        stream_3_key: sec_fault_unsecure
      capabilities:
        service_0:
          properties:
            request_format: VES_specification
            request_version: 4.27.2
            response_format: ves.coll.response
            response_version: 1.0.0
        stream_0:
          properties:
            format: VES_specification
            version: 4.27.2
        stream_1:
          properties:
            format: VES_specification
            version: 4.27.2
      requirements:
      - stream_0:
          capability: dcae.capabilities.stream.subscribe
          relationship: dcae.relationships.rework_connected_to
          node_filter:
            capabilities:
            - dcae.capabilities.stream.subscribe:
                properties:
                - format:
                  - equal: VES_specification
                - version:
                  - equal: 4.27.2
      - stream_1:
          capability: dcae.capabilities.stream.subscribe
          relationship: dcae.relationships.rework_connected_to
          node_filter:
            capabilities:
            - dcae.capabilities.stream.subscribe:
                properties:
                - format:
                  - equal: VES_specification
                - version:
                  - equal: 4.27.2
      - stream_2:
          capability: dcae.capabilities.stream.subscribe
          relationship: dcae.relationships.rework_connected_to
          node_filter:
            capabilities:
            - dcae.capabilities.stream.subscribe:
                properties:
                - format:
                  - equal: VES_specification
                - version:
                  - equal: 4.27.2
      - stream_3:
          capability: dcae.capabilities.stream.subscribe
          relationship: dcae.relationships.rework_connected_to
          node_filter:
            capabilities:
            - dcae.capabilities.stream.subscribe:
                properties:
                - format:
                  - equal: VES_specification
                - version:
                  - equal: 4.27.2