497a7972cff7d8d3fec70cacf57e255db40a60cf
[clamp.git] / src / test / resources / example / tca-policy-req / blueprint-input.yaml
1 tosca_definitions_version: cloudify_dsl_1_3
2 imports:
3 - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
4 - https://onap.org:8443/repository/solutioning01-mte2-raw/type_files/docker/2.2.0/node-type.yaml
5 - https://onap.org:8443/repository/solutioning01-mte2-raw/type_files/relationship/1.0.0/node-type.yaml
6 - http://onap.org:8081/repository/solutioning01-mte2-raw/type_files/dmaap/dmaap_mr.yaml
7 inputs:
8   location_id:
9     type: string
10   service_id:
11     type: string
12 node_templates:
13   cdap_host_host:
14     type: dcae.nodes.StreamingAnalytics.SelectedCDAPInfrastructure
15     properties:
16       location_id:
17         get_input: location_id
18       scn_override: cdap_broker.solutioning-central.dcae.onap.org
19     interfaces:
20       cloudify.interfaces.lifecycle: {
21         }
22   tca_tca:
23     type: dcae.nodes.MicroService.cdap
24     properties:
25       app_config:
26         appDescription: DCAE Analytics Threshold Crossing Alert Application
27         appName: dcae-tca
28         tcaSubscriberOutputStreamName: TCASubscriberOutputStream
29         tcaVESAlertsTableName: TCAVESAlertsTable
30         tcaVESAlertsTableTTLSeconds: '1728000'
31         tcaVESMessageStatusTableName: TCAVESMessageStatusTable
32         tcaVESMessageStatusTableTTLSeconds: '86400'
33         thresholdCalculatorFlowletInstances: '2'
34       app_preferences:
35         publisherContentType: application/json
36         publisherHostName: mrlocal-mtnjftle01.onap.org
37         publisherHostPort: '3905'
38         publisherMaxBatchSize: '10'
39         publisherMaxRecoveryQueueSize: '100000'
40         publisherPollingInterval: '20000'
41         publisherProtocol: https
42         publisherTopicName: org.onap.dcae.dmaap.mtnje2.DcaeTestVESPub
43         publisherUserName: test@tca.af.dcae.onap.org
44         publisherUserPassword: password
45         subscriberConsumerGroup: OpenDCAE-c12
46         subscriberConsumerId: c12
47         subscriberContentType: application/json
48         subscriberHostName: mrlocal-mtnjftle01.onap.org
49         subscriberHostPort: '3905'
50         subscriberMessageLimit: '-1'
51         subscriberPollingInterval: '20000'
52         subscriberProtocol: https
53         subscriberTimeoutMS: '-1'
54         subscriberTopicName: org.onap.dcae.dmaap.mtnje2.DcaeTestVESSub
55         subscriberUserName: test@tca.af.dcae.onap.org
56         subscriberUserPassword: password
57         tca_policy: null
58       artifact_name: dcae-analytics-tca
59       artifact_version: 1.0.0
60       connections:
61         streams_publishes: [
62           ]
63         streams_subscribes: [
64           ]
65       jar_url: http://somejar
66       location_id:
67         get_input: location_id
68       namespace: cdap_tca_hi_lo
69       programs:
70       - program_id: TCAVESCollectorFlow
71         program_type: flows
72       - program_id: TCADMaaPMRSubscriberWorker
73         program_type: workers
74       - program_id: TCADMaaPMRPublisherWorker
75         program_type: workers
76       service_component_type: cdap_app_tca
77       service_id:
78         get_input: service_id
79       streamname: TCASubscriberOutputStream
80     relationships:
81     - target: cdap_host_host
82       type: dcae.relationships.component_contained_in