summaryrefslogtreecommitdiffstats
path: root/dcae-analytics/dpo/commands
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-03-19 20:02:54 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2020-03-19 20:03:03 +0000
commit68dc5ec35c81214f8451426cd51f43a463dd69db (patch)
tree5426795458e49b18f72984d03104e03584794ecb /dcae-analytics/dpo/commands
parent8a31068c107ae9c2c66d4b1aedb16a7a33868c49 (diff)
tcagen2 spec update
Change-Id: I5b0e6c788b632cf0f0a796207c009e18be96a4ca Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1907
Diffstat (limited to 'dcae-analytics/dpo/commands')
-rw-r--r--dcae-analytics/dpo/commands19
1 files changed, 19 insertions, 0 deletions
diff --git a/dcae-analytics/dpo/commands b/dcae-analytics/dpo/commands
new file mode 100644
index 0000000..168681b
--- /dev/null
+++ b/dcae-analytics/dpo/commands
@@ -0,0 +1,19 @@
+unset http_proxy; unset https_proxy
+
+dcae_cli data_format add --update tca_output.json
+dcae_cli component add --update tca_spec.json
+dcae_cli component run --dmaap-file dmaap.json --force docker.tca
+
+# publish
+dcae_cli data_format publish "TCA Alert Definition"
+dcae_cli component publish docker.tca
+
+# to un-deploy
+dcae_cli component undeploy docker.tca
+
+# to inspect
+dcae_cli component show docker.tca
+dcae_cli component list
+dcae_cli component list --deployed
+
+dcae_cli catalog list --expanded