aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/clamp/UIs/data/TCA_template_properties.yml
blob: 3e09fdad5127b0332ce57e12a64ba1f74b8cfe52 (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
tosca_definitions_version: cloudify_dsl_1_2

imports:
- http://www.getcloudify.org/spec/cloudify/3.3.1/types.yaml
- http://127.0.0.1/1607_prod/type_files/cdap_app.yaml

node_templates:
  MTCA:
    type: dcae.nodes.cdap_app
    properties:
      service_name: "cdap-mtca-central"
      deployment_JSON: |-
          {
            "clusterService": {"$ref": "/services/vm-cdap-cluster-central/instances/rdm2c"},
            "namespace": "MTCA",
            "appNames": [ "cdap-mtca" ],
            "flowNames": [ "cdap-mtca.TCAVESCollectorFlow" ],
            "workerNames": ["cdap-mtca.TCADMaaPMRSubscriberWorker", "cdap-mtca.TCADMaaPMRPublisherWorker"],
            "serviceNames" : [],
            "apps": {
              "cdap-mtca": {
                "jarFile": "/opt/app/cdap-apps/dcae-analytics-mtca-1.0.0.jar",
                "artifactName": "dcae-analytics-mtca",
                "version": "1.0.0",
                "appConfigFileContent": "{config:{ \"appName\":\"cdap-mtca\", \"appDescription\":\"DCAE Analytics Threshold Crossing Alert Application\", \"tcaSubscriberOutputStreamName\":\"TCASubscriberOutputStream\", \"thresholdCalculatorFlowletInstances\":2, \"tcaVESMessageStatusTableName\":\"TCAVESMessageStatusTable\", \"tcaVESMessageStatusTableTTLSeconds\":864000, \"tcaVESAlertsTableName\":\"TCAVESAlertsTable\", \"tcaVESAlertsTableTTLSeconds\":1728000 }}"
              }
            },

            "configuration": {
                "$class": "com.att.ecomp.dcae.clamp.common.MThresholdCrossingConfiguration",
                "subscriberContentType": "",
                "subscriberConsumerId": "c12",
                "subscriberConsumerGroup": "OpenDCAE-c12",
                "subscriberTimeoutMS": "-1",
                "subscriberMessageLimit": "-1",
                "subscriberPollingInterval": "20000",
                "publisherContentType": "application/json",
                "publisherMaxBatchSize": "10",
                "publisherMaxRecoveryQueueSize": "100000",
                "publisherPollingInterval": "20000",
                "publisherAlertWindowingTime": "86400",
                "policyName": "policy.dcae.configuration",
                "policyScope": "pnf=eNodeB;type=configuration",
                "policyVersion": "1.0.0",
                "domain" : "measurementsForVfScaling",

                "signatures" : {
             	 }

             }
          }