summaryrefslogtreecommitdiffstats
path: root/blueprint-generator/TestCases/j.json
diff options
context:
space:
mode:
authorms236b <ms236b@att.com>2019-07-19 08:20:08 -0400
committerms236b <ms236b@att.com>2019-07-24 09:37:44 -0400
commit403897151adfd785a14ad3568ba75b3010937307 (patch)
treeafbbbb0ecbb398c29506e95ac102f088d8abf9e6 /blueprint-generator/TestCases/j.json
parent686dc4ecb6adddc9299c93f20c0081918c532ee0 (diff)
Added the dmaap plugin changes needed
Added the dmaap plugin changes along with a few other changes (fixed format by pressing backspace a lot) Issue-ID: DCAEGEN2-1517 Change-Id: I9167b7001c5916686a04112771093b0ce6cc2cff Signed-off-by: ms236b <ms236b@att.com>
Diffstat (limited to 'blueprint-generator/TestCases/j.json')
-rw-r--r--blueprint-generator/TestCases/j.json96
1 files changed, 96 insertions, 0 deletions
diff --git a/blueprint-generator/TestCases/j.json b/blueprint-generator/TestCases/j.json
new file mode 100644
index 0000000..848b102
--- /dev/null
+++ b/blueprint-generator/TestCases/j.json
@@ -0,0 +1,96 @@
+{
+ "self": {
+ "component_type": "docker",
+ "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",
+ "name": "dcae.test.ms",
+ "version": "1.0.0"
+ },
+
+ "services": {
+ "calls": [],
+ "provides": []
+ },
+
+ "streams": {
+ "publishes": [{
+ "config_key": "DCAE-HELLO-WORLD-PUB-DR",
+ "format": "dataformat_Hello_World_PM",
+ "type": "data_router",
+ "version": "1.0.0"
+ },
+ {
+ "config_key": "DCAE-HELLO-WORLD-PUB-MR",
+ "format": "dataformat_Hello_World_PM",
+ "type": "message_router",
+ "version": "1.0.0"
+ }
+ ],
+
+ "subscribes": [{
+ "config_key": "DCAE-HELLO-WORLD-SUB-MR",
+ "format": "dataformat_Hello_World_PM",
+ "route": "/DCAE_HELLO_WORLD_SUB_MR",
+ "type": "message_router",
+ "version": "1.0.0"
+ },
+ {
+ "config_key": "DCAE-HELLO-WORLD-SUB-DR",
+ "format": "dataformat_Hello_World_PM",
+ "route": "/DCAE-HELLO-WORLD-SUB-DR",
+ "type": "data_router",
+ "version": "1.0.0"
+ }
+ ]
+ },
+
+ "parameters":
+ [
+ {
+ "name": "vcc_hello_name",
+ "value": "fsdfa",
+ "description": "the name entered for specific person",
+ "sourced_at_deployment": true,
+ "designer_editable": true,
+ "policy_editable": false,
+ "type": "string"
+ },
+
+ {
+ "name": "useDtiConfig",
+ "value": false,
+ "description": "component depends on configuration from dti.",
+ "sourced_at_deployment": false,
+ "designer_editable": false,
+ "policy_editable": false,
+ "required" : true
+ },
+
+ {
+ "name": "isSelfServeComponent",
+ "value": false,
+ "description": "Is this used as self serve component.",
+ "sourced_at_deployment": false,
+ "designer_editable": false,
+ "policy_editable": false,
+ "required" : true,
+ "type": "string"
+ }
+ ],
+
+ "auxilary": {
+ "healthcheck": {
+ "interval": "60s",
+ "timeout": "20s",
+ "endpoint": "/",
+ "type": "http"
+ },
+ "ports" : [
+ "80:0"
+ ]
+ },
+
+ "artifacts": [{
+ "type": "docker image",
+ "uri": "nginx"
+ }]
+} \ No newline at end of file