bp-gen code clone from cli repo
[dcaegen2/platform.git] / mod / bpgenerator / TestCases / jack.json
1 {
2         "self": {
3                 "component_type": "docker",
4                 "description": "Hello World mS for subscribing the data from local DMaaP, DR or MR, processing them and publishing them as PM files to local DMaaP DR",
5                 "name": "dcae.test.ms",
6                 "version": "1.0.0"
7         },
8
9         "services": {
10                 "calls": [],
11                 "provides": []
12         },
13
14         "streams": {
15                 "publishes": [{
16                                 "config_key": "DCAE-HELLO-WORLD-PUB-DR",
17                                 "format": "dataformat_Hello_World_PM",
18                                 "type": "data_router",
19                                 "version": "1.0.0"
20                         },
21                         {
22                                 "config_key": "DCAE-HELLO-WORLD-PUB-MR",
23                                 "format": "dataformat_Hello_World_PM",
24                                 "type": "message_router",
25                                 "version": "1.0.0"
26                         }
27                 ],
28
29                 "subscribes": [{
30                                 "config_key": "DCAE-HELLO-WORLD-SUB-MR",
31                                 "format": "dataformat_Hello_World_PM",
32                                 "route": "/DCAE_HELLO_WORLD_SUB_MR",
33                                 "type": "message_router",
34                                 "version": "1.0.0"
35                         },
36                         {
37                                 "config_key": "DCAE-HELLO-WORLD-SUB-DR",
38                                 "format": "dataformat_Hello_World_PM",
39                                 "route": "/DCAE-HELLO-WORLD-SUB-DR",
40                                 "type": "data_router",
41                                 "version": "1.0.0"
42                         }
43                 ]
44         },
45
46     "parameters":
47     [
48         {
49             "name": "vcc_hello_name",
50             "value": "fsdfa",
51             "description": "the name entered for specific person",
52                         "sourced_at_deployment": true,
53                         "designer_editable": true,
54                         "policy_editable": false,
55                         "type": "string"
56         },
57
58         {
59                         "name": "useDtiConfig",
60                         "value": false,
61                         "description": "component depends on configuration from dti.",
62                         "sourced_at_deployment": false,
63                         "designer_editable": false,
64                         "policy_editable": false,
65                          "required" : true
66                 },
67
68                 {
69                         "name": "isSelfServeComponent",
70                         "value": false,
71                         "description": "Is this used as self serve component.",
72                         "sourced_at_deployment": false,
73                         "designer_editable": false,
74                         "policy_editable": false,
75                         "required" : true,
76                         "type": "string"
77                 }
78     ],
79
80         "auxilary": {
81                 "healthcheck": {
82                         "interval": "60s",
83                         "timeout": "20s",
84                         "endpoint": "/",
85                         "type": "http"
86                 }
87     },
88
89     "artifacts": [{
90                 "type": "docker image",
91                 "uri": "nginx"
92         }]
93 }