aboutsummaryrefslogtreecommitdiffstats
path: root/datafile-app-server/dpo/tosca_models/template.yaml
blob: 246f4a453dede788e6cebe5f0641ff5ed0102f9d (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
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: dcaegen2.collectors.datafile.datafile-app-server
imports:
- schema: schema.yaml
topology_template:
  inputs:
    topic0_aaf_password:
      type: string
    topic0_aaf_username:
      type: string
    topic0_client_role:
      type: string
  node_templates:
    dcaegen2.collectors.datafile.datafile-app-server:
      type: tosca.dcae.nodes.dockerApp.dcaegen2.collectors.datafile.datafile-app-server
      properties:
        datafile.policy: ''
        dmaap.dmaapProducerConfiguration: '[{''changeIdentifier'': ''PM_MEAS_FILES'', ''feedName'': ''bulk_pm_feed''}]'
        ftp.ftpesConfiguration.keyCert: /opt/app/datafile/etc/cert/cert.jks
        ftp.ftpesConfiguration.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass
        ftp.ftpesConfiguration.trustedCa: /opt/app/datafile/etc/cert/trust.jks
        ftp.ftpesConfiguration.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
        location_id:
          get_property:
          - SELF
          - composition
          - location_id
        security.enableDmaapCertAuth: 'false'
        security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
        security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
        security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
        security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
        sftp.security.strictHostKeyChecking: true
        service_name: datafile
        streams_subscribes: '{''dmaap_subscriber'': {''dmmap_info'': {''topic_url'': ''http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT/OpenDcae-c12/C12''}}}'
      requirements:
      - stream_subscribe_0: topic0
      - policy: policy_0
    policy_0:
      type: tosca.dcae.nodes.policy
      properties:
        policy_name: policy.nodes.dcaegen2.collectors.datafile.datafile-app-server
    topic0:
      type: tosca.dcae.nodes.dmaap.topic
      properties:
        aaf_password:
          get_input: topic0_aaf_password
        aaf_username:
          get_input: topic0_aaf_username
        client_role:
          get_input: topic0_client_role
        location:
          get_property:
          - SELF
          - composition
          - location_id
        node_name: __GET_NODE_NAME__
        topic_name: ''
      capabilities:
        topic:
          properties:
            aaf_password:
              get_property:
              - SELF
              - aaf_password
            aaf_username:
              get_property:
              - SELF
              - aaf_username
            client_role:
              get_property:
              - SELF
              - client_role
            location:
              get_property:
              - SELF
              - location
            node_name:
              get_property:
              - SELF
              - node_name
            topic_name:
              get_property:
              - SELF
              - topic_name