summaryrefslogtreecommitdiffstats
path: root/cdap/demo_blueprints/cdap_hello_world_reconfigure.sh
diff options
context:
space:
mode:
authorTommy Carpenter <tommy@research.att.com>2017-08-18 14:16:44 -0400
committerTommy Carpenter <tommy@research.att.com>2017-08-18 14:19:20 -0400
commitc272a87b84189f3bf8b3c7287199b816affc9926 (patch)
treeb8d67976ed993633dbb6310df40481c59c641860 /cdap/demo_blueprints/cdap_hello_world_reconfigure.sh
parent2e71445141fcbe92e8e12ab24d065040d8de6d9c (diff)
[DCAEGEN2-74] Push up initial CDAP plugin
Change-Id: I2bad410e5c55a59950cabe8fc13066954c4f5c92 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'cdap/demo_blueprints/cdap_hello_world_reconfigure.sh')
-rwxr-xr-xcdap/demo_blueprints/cdap_hello_world_reconfigure.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/cdap/demo_blueprints/cdap_hello_world_reconfigure.sh b/cdap/demo_blueprints/cdap_hello_world_reconfigure.sh
new file mode 100755
index 0000000..c5df2f5
--- /dev/null
+++ b/cdap/demo_blueprints/cdap_hello_world_reconfigure.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+cfy executions start -d cdap-hello-world -w execute_operation -p '{"operation" : "reconfiguration.app_config_reconfigure", "node_ids" : ["hw_cdap_app"], "operation_kwargs" : {"new_config_template" : {"foo":"bar"}}, "allow_kwargs_override": true}'
+cfy executions start -d cdap-hello-world -w execute_operation -p '{"operation" : "reconfiguration.app_preferences_reconfigure", "node_ids" : ["hw_cdap_app"], "operation_kwargs" : {"new_config_template" : {"fooprefs":"barprefs"}}, "allow_kwargs_override": true}'
+cfy executions start -d cdap-hello-world -w execute_operation -p '{"operation" : "reconfiguration.app_smart_reconfigure", "node_ids" : ["hw_cdap_app"], "operation_kwargs" : {"new_config_template" : {"fooprefs":"SO SMARTTTTTT", "foo":"SO SMART AGAINNNNN"}}, "allow_kwargs_override": true}'