New Files added for future unit tests
[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://nexus01.research.att.com:8443/repository/solutioning01-mte2-raw/type_files/docker/2.2.0/node-type.yaml
5 - https://nexus01.research.att.com:8443/repository/solutioning01-mte2-raw/type_files/relationship/1.0.0/node-type.yaml
6 - http://nexus01.research.att.com: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.att.com
19     interfaces:
20       cloudify.interfaces.lifecycle: {}
21   tca_tca:
22     type: dcae.nodes.MicroService.cdap
23     properties:
24       app_config:
25         appDescription: DCAE Analytics Threshold Crossing Alert Application
26         appName: dcae-tca
27         tcaSubscriberOutputStreamName: TCASubscriberOutputStream
28         tcaVESAlertsTableName: TCAVESAlertsTable
29         tcaVESAlertsTableTTLSeconds: '1728000'
30         tcaVESMessageStatusTableName: TCAVESMessageStatusTable
31         tcaVESMessageStatusTableTTLSeconds: '86400'
32         thresholdCalculatorFlowletInstances: '2'
33       app_preferences:
34         publisherContentType: application/json
35         publisherHostName: mrlocal-mtnjftle01.homer.att.com
36         publisherHostPort: '3905'
37         publisherMaxBatchSize: '10'
38         publisherMaxRecoveryQueueSize: '100000'
39         publisherPollingInterval: '20000'
40         publisherProtocol: https
41         publisherTopicName: com.att.dcae.dmaap.mtnje2.DcaeTestVESPub
42         publisherUserName: m00502@tca.af.dcae.att.com
43         publisherUserPassword: Te5021abc
44         subscriberConsumerGroup: OpenDCAE-c12
45         subscriberConsumerId: c12
46         subscriberContentType: application/json
47         subscriberHostName: mrlocal-mtnjftle01.homer.att.com
48         subscriberHostPort: '3905'
49         subscriberMessageLimit: '-1'
50         subscriberPollingInterval: '20000'
51         subscriberProtocol: https
52         subscriberTimeoutMS: '-1'
53         subscriberTopicName: com.att.dcae.dmaap.mtnje2.DcaeTestVESSub
54         subscriberUserName: m00502@tca.af.dcae.att.com
55         subscriberUserPassword: Te5021abc
56         tca_policy: 
57       artifact_name: dcae-analytics-tca
58       artifact_version: 1.0.0
59       connections:
60         streams_publishes: []
61         streams_subscribes: []
62       jar_url: http://somejar
63       location_id:
64         get_input: location_id
65       namespace: cdap_tca_hi_lo
66       programs:
67       - program_id: TCAVESCollectorFlow
68         program_type: flows
69       - program_id: TCADMaaPMRSubscriberWorker
70         program_type: workers
71       - program_id: TCADMaaPMRPublisherWorker
72         program_type: workers
73       service_component_type: cdap_app_tca
74       service_id:
75         get_input: service_id
76       streamname: TCASubscriberOutputStream
77     relationships:
78     - target: cdap_host_host
79       type: dcae.relationships.component_contained_in