From 83089aa5cc91f4e65557ffd2398807011e8d1c16 Mon Sep 17 00:00:00 2001 From: Peter Stachowski Date: Tue, 8 Nov 2016 23:14:43 +0000 Subject: Add support for module-reapply command Server side support for the new 'reapply' command. This reapplies a given module to all instances that it had previously been applied to. Originally, a module designated live-update would automatically be re-applied whenever it was updated. Adding a specific command however, allows operators/users more control over how the new payload would be distributed. Old 'modules' could be left if desired, or updated with the new command. Scenario tests were updated to test the new command. DocImpact: update documentation to reflect module-reapply command Change-Id: I4aea674ebe873a96ed22b5714263d0eea532a4ca Depends-On: Ic4cc9e9085cb40f1afbec05caeb04886137027a4 Closes-Bug: #1554903 --- etc/trove/policy.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/trove/policy.json b/etc/trove/policy.json index 370a8f2a..902f4303 100644 --- a/etc/trove/policy.json +++ b/etc/trove/policy.json @@ -92,5 +92,6 @@ "module:index": "rule:admin_or_owner", "module:show": "rule:admin_or_owner", "module:instances": "rule:admin_or_owner", - "module:update": "rule:admin_or_owner" + "module:update": "rule:admin_or_owner", + "module:reapply": "rule:admin_or_owner" } -- cgit v1.2.1