aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dpo/commands2
-rw-r--r--dpo/tcaInput.json14
-rw-r--r--dpo/tcaSpec.json6
3 files changed, 4 insertions, 18 deletions
diff --git a/dpo/commands b/dpo/commands
index 0c543c7..a88a745 100644
--- a/dpo/commands
+++ b/dpo/commands
@@ -1,12 +1,12 @@
unset http_proxy; unset https_proxy
-dcae_cli data_format add --update tcaInput.json
dcae_cli data_format add --update tcaOutput.json
dcae_cli component add --update tcaSpec.json
dcae_cli component run --dmaap-file dmaap.json --force cdap.tca.hi.lo.app
# publish
dcae_cli data_format publish "TCA Alert Definition"
+dcae_cli component publish cdap.tca.hi.lo.app
# to un-deploy
dcae_cli component undeploy cdap.tca.hi.lo.app
diff --git a/dpo/tcaInput.json b/dpo/tcaInput.json
deleted file mode 100644
index aea9fcf..0000000
--- a/dpo/tcaInput.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "self": {
- "name": "Common Event Format Definition",
- "version": "25.0.0",
- "description": "Common Event Format Definition"
-
- },
- "dataformatversion": "1.0.0",
- "reference": {
- "name": "Common Event Format",
- "format": "JSON",
- "version": "25.0.0"
- }
-}
diff --git a/dpo/tcaSpec.json b/dpo/tcaSpec.json
index 73276bb..9ffd687 100644
--- a/dpo/tcaSpec.json
+++ b/dpo/tcaSpec.json
@@ -1,7 +1,7 @@
{
"self": {
"name": "cdap.tca.hi.lo.app",
- "version": "1.0.3",
+ "version": "1.0.4",
"description": "cdap tca hi lo application",
"component_type": "cdap"
},
@@ -9,8 +9,8 @@
"subscribes": [
{
"config_key": "tca_handle_in",
- "format": "Common Event Format Definition",
- "version": "25.0.0",
+ "format": "VES_specification",
+ "version": "5.28.4",
"type": "message router"
}
],