From 68dc5ec35c81214f8451426cd51f43a463dd69db Mon Sep 17 00:00:00 2001 From: Vijay Venkatesh Kumar Date: Thu, 19 Mar 2020 20:02:54 +0000 Subject: tcagen2 spec update Change-Id: I5b0e6c788b632cf0f0a796207c009e18be96a4ca Signed-off-by: Vijay Venkatesh Kumar Issue-ID: DCAEGEN2-1907 --- dcae-analytics/dpo/commands | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dcae-analytics/dpo/commands (limited to 'dcae-analytics/dpo/commands') 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 -- cgit 1.2.3-korg