diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2020-01-08 17:13:22 +0000 |
---|---|---|
committer | Vijay Venkatesh Kumar <vv770d@att.com> | 2020-01-08 17:24:31 +0000 |
commit | 9b30373a6f1b1bc123250a9a598bc7a164b7e9b7 (patch) | |
tree | c1038b6a3c94582dbf8ea7f7dfeb1753832997e5 /mod/bpgenerator/TestCases/jack.json | |
parent | 77900bb3097491cd9fca964c111ea70724e53989 (diff) |
bp-gen code clone from cli repo
dcaegen2/platform/mod will host all design component code
cli/component-json-schemas and cli/dcae-cli already moved
original cli repo will be marked as RO after this is merged
Change-Id: Ie88dbd273d218c89a95afe0e58742a948c04eae5
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1852
Issue-ID: DCAEGEN2-1860
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Diffstat (limited to 'mod/bpgenerator/TestCases/jack.json')
-rw-r--r-- | mod/bpgenerator/TestCases/jack.json | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/mod/bpgenerator/TestCases/jack.json b/mod/bpgenerator/TestCases/jack.json new file mode 100644 index 0000000..219b1b5 --- /dev/null +++ b/mod/bpgenerator/TestCases/jack.json @@ -0,0 +1,93 @@ +{ + "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" + } + }, + + "artifacts": [{ + "type": "docker image", + "uri": "nginx" + }] +}
\ No newline at end of file |