diff options
Diffstat (limited to 'cdap/demo_blueprints/cdap_hello_world_reconfigure.sh')
-rwxr-xr-x | cdap/demo_blueprints/cdap_hello_world_reconfigure.sh | 4 |
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}' |