epc 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. data/lib/epc.rb +25 -5
  2. data/lib/epc/client/json_client.rb +4 -4
  3. data/lib/epc/command/archive_command.rb +7 -6
  4. data/lib/epc/command/attachto_command.rb +13 -0
  5. data/lib/epc/command/base_command.rb +120 -29
  6. data/lib/epc/command/config/create_config_command.rb +7 -11
  7. data/lib/epc/command/config/delete_config_command.rb +5 -5
  8. data/lib/epc/command/config/list_configs_command.rb +5 -5
  9. data/lib/epc/command/config/update_config_command.rb +11 -10
  10. data/lib/epc/command/copy_command.rb +14 -0
  11. data/lib/epc/command/create_command.rb +9 -5
  12. data/lib/epc/command/delete_command.rb +9 -9
  13. data/lib/epc/command/{copy_deployment_command.rb → deployment/copy_deployment_command.rb} +6 -5
  14. data/lib/epc/command/deployment/create_deployment_command.rb +15 -15
  15. data/lib/epc/command/deployment/list_deployments_command.rb +2 -4
  16. data/lib/epc/command/deployment/show_deployment_command.rb +5 -7
  17. data/lib/epc/command/deployment/submit_deployment_command.rb +15 -0
  18. data/lib/epc/command/deployment/update_deployment_command.rb +5 -14
  19. data/lib/epc/command/deployment/vote_deployment_command.rb +23 -0
  20. data/lib/epc/command/deploymentstage/list_deploymentstages_command.rb +1 -1
  21. data/lib/epc/command/detachfrom_command.rb +13 -0
  22. data/lib/epc/command/group/create_group_command.rb +3 -3
  23. data/lib/epc/command/group/delete_group_command.rb +4 -5
  24. data/lib/epc/command/group/show_group_command.rb +2 -3
  25. data/lib/epc/command/group/update_group_command.rb +9 -7
  26. data/lib/epc/command/library/create_library_command.rb +1 -2
  27. data/lib/epc/command/library/delete_library_command.rb +4 -5
  28. data/lib/epc/command/library/list_libraries_command.rb +1 -1
  29. data/lib/epc/command/librarylanguage/create_librarylanguage_command.rb +1 -1
  30. data/lib/epc/command/librarylanguage/delete_librarylanguage_command.rb +3 -5
  31. data/lib/epc/command/librarylanguage/list_librarylanguages_command.rb +1 -1
  32. data/lib/epc/command/librarylanguage/update_librarylanguage_command.rb +4 -5
  33. data/lib/epc/command/libraryset/create_libraryset_command.rb +5 -4
  34. data/lib/epc/command/libraryset/delete_libraryset_command.rb +4 -6
  35. data/lib/epc/command/libraryset/list_librarysets_command.rb +2 -2
  36. data/lib/epc/command/libraryset/show_libraryset_command.rb +3 -3
  37. data/lib/epc/command/libraryset/update_libraryset_command.rb +4 -3
  38. data/lib/epc/command/list_command.rb +10 -14
  39. data/lib/epc/command/list_objecttypes_command.rb +1 -1
  40. data/lib/epc/command/objectrole/create_objectrole_command.rb +4 -5
  41. data/lib/epc/command/objectrole/list_objectroles_command.rb +3 -8
  42. data/lib/epc/command/objectrole/update_objectrole_command.rb +3 -1
  43. data/lib/epc/command/permission/list_permissions_command.rb +1 -1
  44. data/lib/epc/command/permissiongroup/list_permissiongroups_command.rb +1 -1
  45. data/lib/epc/command/plugin/create_plugin_command.rb +1 -2
  46. data/lib/epc/command/plugin/delete_plugin_command.rb +4 -6
  47. data/lib/epc/command/plugin/list_plugins_command.rb +1 -1
  48. data/lib/epc/command/plugin/show_plugin_command.rb +2 -5
  49. data/lib/epc/command/plugin/update_plugin_command.rb +2 -6
  50. data/lib/epc/command/project/archive_project_command.rb +3 -12
  51. data/lib/epc/command/project/attachto_project_command.rb +133 -0
  52. data/lib/epc/command/project/create_project_command.rb +6 -6
  53. data/lib/epc/command/project/delete_project_command.rb +3 -24
  54. data/lib/epc/command/project/detachfrom_project_command.rb +66 -0
  55. data/lib/epc/command/project/list_projects_command.rb +12 -7
  56. data/lib/epc/command/project/show_project_command.rb +26 -25
  57. data/lib/epc/command/project/show_project_snapshot_command.rb +41 -0
  58. data/lib/epc/command/project/unarchive_project_command.rb +3 -10
  59. data/lib/epc/command/project/update_project_command.rb +5 -18
  60. data/lib/epc/command/projecttype/create_projecttype_command.rb +37 -0
  61. data/lib/epc/command/projecttype/delete_projecttype_command.rb +24 -0
  62. data/lib/epc/command/projecttype/list_projecttypes_command.rb +1 -1
  63. data/lib/epc/command/projecttype/show_projecttype_command.rb +2 -4
  64. data/lib/epc/command/projecttype/update_projecttype_command.rb +61 -0
  65. data/lib/epc/command/push_command.rb +14 -8
  66. data/lib/epc/command/role/create_role_command.rb +26 -3
  67. data/lib/epc/command/role/delete_role_command.rb +3 -5
  68. data/lib/epc/command/role/list_roles_command.rb +7 -3
  69. data/lib/epc/command/role/show_role_command.rb +8 -5
  70. data/lib/epc/command/role/update_role_command.rb +14 -66
  71. data/lib/epc/command/runtime/create_runtime_command.rb +34 -0
  72. data/lib/epc/command/runtime/delete_runtime_command.rb +24 -0
  73. data/lib/epc/command/runtime/list_runtimes_command.rb +2 -2
  74. data/lib/epc/command/runtime/update_runtime_command.rb +49 -0
  75. data/lib/epc/command/runtimetype/list_runtimetypes_command.rb +17 -0
  76. data/lib/epc/command/servicedefinition/create_servicedefinition_command.rb +5 -6
  77. data/lib/epc/command/servicedefinition/delete_servicedefinition_command.rb +18 -0
  78. data/lib/epc/command/servicedefinition/list_servicedefinitions_command.rb +2 -2
  79. data/lib/epc/command/servicetype/list_servicetypes_command.rb +1 -1
  80. data/lib/epc/command/serviceversion/create_serviceversion_command.rb +8 -12
  81. data/lib/epc/command/serviceversion/delete_serviceversion_command.rb +3 -5
  82. data/lib/epc/command/serviceversion/list_serviceversions_command.rb +8 -1
  83. data/lib/epc/command/show_command.rb +8 -9
  84. data/lib/epc/command/show_metrics_command.rb +3 -3
  85. data/lib/epc/command/solution/archive_solution_command.rb +3 -10
  86. data/lib/epc/command/solution/create_solution_command.rb +2 -2
  87. data/lib/epc/command/solution/delete_solution_command.rb +3 -7
  88. data/lib/epc/command/solution/list_solutions_command.rb +11 -3
  89. data/lib/epc/command/solution/show_solution_command.rb +4 -6
  90. data/lib/epc/command/solution/unarchive_solution_command.rb +3 -8
  91. data/lib/epc/command/solution/update_solution_command.rb +4 -6
  92. data/lib/epc/command/submit_command.rb +16 -0
  93. data/lib/epc/command/unarchive_command.rb +7 -6
  94. data/lib/epc/command/update_command.rb +9 -8
  95. data/lib/epc/command/user/create_user_command.rb +2 -3
  96. data/lib/epc/command/user/delete_user_command.rb +3 -5
  97. data/lib/epc/command/user/list_users_command.rb +1 -1
  98. data/lib/epc/command/user/show_user_command.rb +2 -4
  99. data/lib/epc/command/user/update_user_command.rb +3 -14
  100. data/lib/epc/command/userproperty/list_user_properties_command.rb +23 -0
  101. data/lib/epc/command/vote_command.rb +16 -0
  102. data/lib/epc/config.rb +7 -1
  103. data/lib/epc/help.rb +51 -48
  104. data/lib/epc/modules/config.rb +39 -0
  105. data/lib/epc/modules/role.rb +133 -0
  106. data/lib/epc/runner.rb +23 -12
  107. data/lib/epc/version.rb +1 -1
  108. data/test/command/archive_project_command_test.rb +2 -13
  109. data/test/command/archive_solution_command_test.rb +4 -14
  110. data/test/command/copy_deployment_command_test.rb +4 -8
  111. data/test/command/create_config_command_test.rb +23 -23
  112. data/test/command/create_deployment_command_test.rb +33 -32
  113. data/test/command/create_group_command_test.rb +2 -2
  114. data/test/command/create_library_command_test.rb +6 -6
  115. data/test/command/create_librarylanguage_command_test.rb +3 -3
  116. data/test/command/create_libraryset_command_test.rb +6 -26
  117. data/test/command/create_objectrole_command_test.rb +4 -13
  118. data/test/command/create_project_command_test.rb +27 -13
  119. data/test/command/create_role_command_test.rb +3 -2
  120. data/test/command/create_runtime_command_test.rb +37 -0
  121. data/test/command/create_servicedefinition_command_test.rb +4 -17
  122. data/test/command/create_serviceversion_command_test.rb +8 -22
  123. data/test/command/create_solution_command_test.rb +5 -5
  124. data/test/command/create_user_command_test.rb +4 -4
  125. data/test/command/delete_config_command_test.rb +8 -15
  126. data/test/command/delete_library_command_test.rb +3 -4
  127. data/test/command/delete_librarylanguage_command_test.rb +3 -4
  128. data/test/command/delete_libraryset_command_test.rb +3 -4
  129. data/test/command/delete_plugin_command_test.rb +3 -4
  130. data/test/command/delete_project_command_test.rb +2 -10
  131. data/test/command/delete_projecttype_command_test.rb +31 -0
  132. data/test/command/delete_role_command_test.rb +5 -14
  133. data/test/command/delete_runtime_command_test.rb +31 -0
  134. data/test/command/delete_servicedefinition_command_test.rb +31 -0
  135. data/test/command/delete_serviceversion_command_test.rb +3 -2
  136. data/test/command/delete_solution_command_test.rb +3 -16
  137. data/test/command/delete_user_command_test.rb +3 -3
  138. data/test/command/list_config_command_test.rb +1 -0
  139. data/test/command/list_deployments_command_test.rb +11 -41
  140. data/test/command/list_objectroles_command_test.rb +4 -14
  141. data/test/command/list_projects_command_test.rb +0 -14
  142. data/test/command/list_roles_command_test.rb +3 -1
  143. data/test/command/list_runtimes_command_test.rb +2 -3
  144. data/test/command/list_runtimetypes_command_test.rb +29 -0
  145. data/test/command/list_userproperties_command_test.rb +33 -0
  146. data/test/command/push_command_test.rb +9 -1
  147. data/test/command/show_deployment_command_test.rb +36 -0
  148. data/test/command/show_group_command_test.rb +2 -1
  149. data/test/command/show_libraryset_command_test.rb +5 -3
  150. data/test/command/show_metrics_command_test.rb +4 -4
  151. data/test/command/show_plugin_command_test.rb +4 -4
  152. data/test/command/show_project_command_test.rb +5 -17
  153. data/test/command/show_project_snapshot_test.rb +33 -0
  154. data/test/command/show_projecttype_command_test.rb +5 -11
  155. data/test/command/show_role_command_test.rb +5 -12
  156. data/test/command/show_solution_command_test.rb +2 -15
  157. data/test/command/show_user_command_test.rb +4 -3
  158. data/test/command/submit_deployment_command_test.rb +4 -11
  159. data/test/command/unarchive_project_command_test.rb +2 -14
  160. data/test/command/unarchive_solution_command_test.rb +6 -16
  161. data/test/command/update_config_command_test.rb +14 -3
  162. data/test/command/update_deployment_command_test.rb +12 -26
  163. data/test/command/update_group_command_test.rb +2 -10
  164. data/test/command/update_librarylanguage_command_test.rb +5 -3
  165. data/test/command/update_libraryset_command_test.rb +4 -2
  166. data/test/command/update_plugin_command_test.rb +5 -4
  167. data/test/command/update_project_command_test.rb +6 -20
  168. data/test/command/update_role_command_test.rb +11 -8
  169. data/test/command/update_solution_command_test.rb +6 -12
  170. data/test/command/update_user_command_test.rb +3 -19
  171. data/test/command/vote_deployment_command_test.rb +2 -6
  172. metadata +66 -63
  173. data/lib/epc/command/attach_library_command.rb +0 -82
  174. data/lib/epc/command/attach_libraryset_command.rb +0 -31
  175. data/lib/epc/command/attach_runtime_command.rb +0 -26
  176. data/lib/epc/command/bind_service_command.rb +0 -35
  177. data/lib/epc/command/create_dependency_command.rb +0 -43
  178. data/lib/epc/command/dependency/delete_dependency_command.rb +0 -38
  179. data/lib/epc/command/detach_library_command.rb +0 -35
  180. data/lib/epc/command/detach_libraryset_command.rb +0 -8
  181. data/lib/epc/command/list_versions_command.rb +0 -38
  182. data/lib/epc/command/submit_deployment_command.rb +0 -19
  183. data/lib/epc/command/unbind_service_command.rb +0 -42
  184. data/lib/epc/command/undefine_service_command.rb +0 -33
  185. data/lib/epc/command/update_rolepermissions_command.rb +0 -83
  186. data/lib/epc/command/vote_deployment_command.rb +0 -29
  187. data/test/command/attach_library_command_test.rb +0 -124
  188. data/test/command/attach_libraryset_command_test.rb +0 -49
  189. data/test/command/attach_runtime_command_test.rb +0 -44
  190. data/test/command/bind_service_command_test.rb +0 -46
  191. data/test/command/create_dependency_command_test.rb +0 -55
  192. data/test/command/create_plugin_command_test.rb +0 -44
  193. data/test/command/delete_dependency_command_test.rb +0 -42
  194. data/test/command/detach_library_command_test.rb +0 -53
  195. data/test/command/unbind_service_command_test.rb +0 -48
  196. data/test/command/undefine_service_command_test.rb +0 -49
@@ -3,19 +3,12 @@ require 'test_helper'
3
3
  class UpdateGroupCommandTest < Test::Unit::TestCase
4
4
  should_require_login
5
5
 
6
- context "parameter check" do
7
- setup do
8
- @mock_client = mock("Client")
9
- @command = EPC::Command::UpdateGroupCommand.new(@mock_client)
10
- end
11
-
12
- end
13
-
14
6
  context "execution" do
15
7
  setup do
16
8
  @mock_client = mock("Client")
17
9
  @command = EPC::Command::UpdateGroupCommand.new(@mock_client)
18
- @command.expects(:retrieve_identifier_for).returns(1)
10
+ @command.object_id = 1
11
+ @command.object_type = "Group"
19
12
  end
20
13
 
21
14
  should "add a user to a group" do
@@ -30,7 +23,6 @@ class UpdateGroupCommandTest < Test::Unit::TestCase
30
23
 
31
24
  should "remove a user from a group" do
32
25
  @command.options[:remove_user] = 1
33
-
34
26
  @mock_client.expects(:put).with(EPC::Config::GROUPS_PATH + "/1/remove_user", {:user_id => 1}).
35
27
  returns([200, {}, {}])
36
28
  @command.expects(:say).with("User removed from group")
@@ -7,6 +7,8 @@ class UpdateLibrarylanguageCommandTest < Test::Unit::TestCase
7
7
  setup do
8
8
  @mock_client = mock("Client")
9
9
  @command = EPC::Command::UpdateLibrarylanguageCommand.new(@mock_client)
10
+ @command.object_id = 1
11
+ @command.object_type = "LibraryLanguage"
10
12
  end
11
13
 
12
14
 
@@ -14,15 +16,15 @@ class UpdateLibrarylanguageCommandTest < Test::Unit::TestCase
14
16
  @mock_client.expects(:put).with(EPC::Config::LIBRARY_LANGUAGES_PATH + "/1", {:name => "ruby192"}).
15
17
  returns([404, {:message => "Not Found"}, {}])
16
18
  @command.expects(:say).with("Request failed: [Not Found]")
17
- assert_equal(@command.execute(1, "ruby192"), 404)
19
+ assert_equal(@command.execute(["ruby192"]), 404)
18
20
  end
19
21
 
20
- should "update a language specified by id" do
22
+ should "update a language" do
21
23
  @mock_client.expects(:put).with(EPC::Config::LIBRARY_LANGUAGES_PATH + "/1", {:name => "ruby"}).
22
24
  returns([200, {}, {}])
23
25
  @command.expects(:say).with("Language updated")
24
26
 
25
- assert_equal(@command.execute(1, "ruby"), 200)
27
+ assert_equal(@command.execute(["ruby"]), 200)
26
28
  end
27
29
  end
28
30
  end
@@ -7,6 +7,8 @@ class UpdateLibrarysetCommandTest < Test::Unit::TestCase
7
7
  setup do
8
8
  @mock_client = mock("Client")
9
9
  @command = EPC::Command::UpdateLibrarysetCommand.new(@mock_client)
10
+ @command.object_id = 1
11
+ @command.object_type = "LibrarySet"
10
12
  end
11
13
 
12
14
  context "add library" do
@@ -36,14 +38,14 @@ class UpdateLibrarysetCommandTest < Test::Unit::TestCase
36
38
 
37
39
  should "remove a library when the options is given" do
38
40
  @command.expects(:extract_library_id).returns(1)
39
- @mock_client.expects(:post).with(EPC::Config::LIBRARY_SETS_PATH + "/1/detach_library/1").returns([200, {}, {}])
41
+ @mock_client.expects(:delete).with(EPC::Config::LIBRARY_SETS_PATH + "/1/detach_library/1").returns([200, {}, {}])
40
42
  @command.expects(:say).with("Library [1] removed from set")
41
43
  assert_equal(@command.execute(1), 200)
42
44
  end
43
45
 
44
46
  should "show reason for failure" do
45
47
  @command.expects(:extract_library_id).returns(1)
46
- @mock_client.expects(:post).with(EPC::Config::LIBRARY_SETS_PATH + "/1/detach_library/1").returns([404, {:message => "Not Found"}, {}])
48
+ @mock_client.expects(:delete).with(EPC::Config::LIBRARY_SETS_PATH + "/1/detach_library/1").returns([404, {:message => "Not Found"}, {}])
47
49
  @command.expects(:say).with("Request failed: [Not Found]")
48
50
  assert_equal(@command.execute(1), 404)
49
51
  end
@@ -11,13 +11,14 @@ class UpdatePluginCommandTest < Test::Unit::TestCase
11
11
  setup do
12
12
  @mock_client = mock("Client")
13
13
  @command = EPC::Command::UpdatePluginCommand.new(@mock_client)
14
- @command.expects(:retrieve_identifier_for).returns(1)
14
+ @command.object_type = "Plugin"
15
+ @command.object_id = 1
15
16
  end
16
17
 
17
18
  should "only update the allowed attributes" do
18
19
  assert_raise EPC::Error::InputError do
19
20
  @command.expects(:say).with("Cannot update unallowed_attribute. Updatable attributes are: [name, plugin_version, group, inherited, extensions, executions, configuration]")
20
- @command.execute("1", "", "unallowed_attribute=value")
21
+ @command.execute(["unallowed_attribute=value"])
21
22
  end
22
23
  end
23
24
 
@@ -26,7 +27,7 @@ class UpdatePluginCommandTest < Test::Unit::TestCase
26
27
  returns([400, {:message => "Not Found"}, {}])
27
28
  @command.expects(:say).with("Request failed: [Not Found]")
28
29
 
29
- assert_equal(@command.execute("1", "", "name=new_name"), 400)
30
+ assert_equal(@command.execute(["name=new_name"]), 400)
30
31
  end
31
32
 
32
33
  should "update the plugin attributes" do
@@ -34,7 +35,7 @@ class UpdatePluginCommandTest < Test::Unit::TestCase
34
35
  returns([200, {}, {}])
35
36
  @command.expects(:say).with("Plugin updated")
36
37
 
37
- assert_equal(@command.execute("1", "", "name=new_name"), 200)
38
+ assert_equal(@command.execute(["name=new_name"]), 200)
38
39
  end
39
40
  end
40
41
 
@@ -6,34 +6,20 @@ require 'mocha'
6
6
  class UpdateProjectCommandTest < Test::Unit::TestCase
7
7
  should_require_login
8
8
 
9
- context "pre-execution checks" do
10
- setup do
11
- @mock_client = mock("Client")
12
- @command = EPC::Command::UpdateProjectCommand.new(@mock_client)
13
- end
14
-
15
- should "fail if no project specified and can't be inferred" do
16
- assert_raise EPC::Error::FatalError do
17
- @command.expects(:infer_project_context).returns(nil)
18
- @command.execute
19
- end
20
- end
21
- end
22
9
 
23
10
  context "updating" do
24
11
  setup do
25
12
  @mock_client = mock("Client")
26
13
  @command = EPC::Command::UpdateProjectCommand.new(@mock_client)
27
- @command.options[:project_name] = 1
28
- @command.options[:solution_name] = 1
29
- @command.expects(:infer_solution_context).returns(["1", "FirstSolution"])
30
- @command.expects(:infer_project_context).returns(["1", "FirstProject"])
14
+ @command.object_type = "Project"
15
+ @command.object_id = 1
31
16
  end
32
17
 
33
18
  should "only update the allowed attributes" do
34
19
  @command.expects(:say).with("Cannot update unallowed_attribute. Updatable attributes are: [project_name, project_type]")
20
+ @command.expects(:say).with("You must specify an attribute to be updated: [project_name,project_type]")
35
21
  @command.expects(:say).with(EPC::Help::COMMAND_USAGES[:update_project])
36
- assert_equal(@command.execute("", "", "unallowed_attribute=value"), 1)
22
+ assert_equal(@command.execute(["unallowed_attribute=value"]), 1)
37
23
  end
38
24
 
39
25
  should "show a message if request is unsuccesful" do
@@ -41,7 +27,7 @@ class UpdateProjectCommandTest < Test::Unit::TestCase
41
27
  returns([400, {:message => "Not Found"}, {}])
42
28
  @command.expects(:say).with("Update failed with: [Not Found]")
43
29
 
44
- assert_equal(@command.execute("", "", "project_name=new_name"), 400)
30
+ assert_equal(@command.execute(["project_name=new_name"]), 400)
45
31
  end
46
32
 
47
33
  should "update the project attributes" do
@@ -49,7 +35,7 @@ class UpdateProjectCommandTest < Test::Unit::TestCase
49
35
  returns([200, {}, {}])
50
36
  @command.expects(:say).with("Update succesful")
51
37
 
52
- assert_equal(@command.execute("", "", "project_name=new_name"), 200)
38
+ assert_equal(@command.execute(["project_name=new_name"]), 200)
53
39
  end
54
40
  end
55
41
 
@@ -6,28 +6,31 @@ class UpdateRoleCommandTest < Test::Unit::TestCase
6
6
  context "execution" do
7
7
  setup do
8
8
  @mock_client = mock("Client")
9
+ EPC::Command::UpdateRoleCommand.send :include, EPC::Command::Role
9
10
  @command = EPC::Command::UpdateRoleCommand.new(@mock_client)
10
- @command.expects(:retrieve_identifier_for).returns(1)
11
- @command.expects(:retrieve_identifier_for).returns(1)
11
+ @command.object_id = 1
12
+ @command.object_type = "Role"
12
13
  end
13
14
 
14
15
  should "add a user to a role" do
16
+ @command.expects(:retrieve_identifier_for).returns(1)
15
17
  @command.options[:add_user] = "1"
16
18
 
17
19
  @mock_client.expects(:put).with(EPC::Config::ROLES_PATH + "/1/assign_members", {:role_memberships => [{:member_id => 1, :member_type => "User"}]}).
18
20
  returns([200, {}, {}])
19
- @command.expects(:say).with("User added to role")
20
- assert_equal(@command.execute(1), 200)
21
+ @command.expects(:say).with("User [1] added to role")
22
+ assert_equal(@command.execute, 200)
21
23
  end
22
24
 
23
25
 
24
26
  should "remove a user from a role" do
27
+ @command.expects(:retrieve_identifier_for).returns(1)
25
28
  @command.options[:remove_user] = 1
26
29
 
27
30
  @mock_client.expects(:delete).with(EPC::Config::ROLES_PATH + "/1/remove_member", {:member_id => 1, :member_type => "User"}).
28
31
  returns([200, {}, {}])
29
- @command.expects(:say).with("User removed from role")
30
- assert_equal(@command.execute(1), 200)
32
+ @command.expects(:say).with("User [1] removed from role")
33
+ assert_equal(@command.execute, 200)
31
34
  end
32
35
 
33
36
  should "notify on failure" do
@@ -35,8 +38,8 @@ class UpdateRoleCommandTest < Test::Unit::TestCase
35
38
 
36
39
  @mock_client.expects(:put).with(EPC::Config::ROLES_PATH + "/1/assign_members", {:role_memberships => [{:member_id => 1, :member_type => "User"}]}).
37
40
  returns([404, {:message => "Not Found"}, {}])
38
- @command.expects(:say).with("Request failed: [Not Found]")
39
- assert_equal(@command.execute(1), 404)
41
+ @command.expects(:say).with("Failed to add [1]: [Not Found]")
42
+ assert_equal(@command.execute, 404)
40
43
  end
41
44
  end
42
45
 
@@ -3,19 +3,13 @@ require 'test_helper'
3
3
  class UpdateSolutionCommandTest < Test::Unit::TestCase
4
4
  should_require_login
5
5
 
6
- context "pre execution checks" do
7
- setup do
8
- @mock_client = mock("Client")
9
- @command = EPC::Command::UpdateSolutionCommand.new(@mock_client)
10
- end
11
-
12
- end
13
6
 
14
7
  context "updating" do
15
8
  setup do
16
9
  @mock_client = mock("Client")
17
10
  @command = EPC::Command::UpdateSolutionCommand.new(@mock_client)
18
- @command.expects(:infer_solution_context).returns([1, "FirstSolution"])
11
+ @command.object_id = 1
12
+ @command.object_type = "Solution"
19
13
  end
20
14
 
21
15
  should "read options from a file if specified" do
@@ -23,12 +17,12 @@ class UpdateSolutionCommandTest < Test::Unit::TestCase
23
17
  EPC::Config.expects(:read_content_as_json).with("attr_file").returns({"name" => "UpdatedSolution"})
24
18
  @mock_client.expects(:put).returns([200, {}, {}])
25
19
  @command.expects(:say).with("Update succesful")
26
- assert_equal(@command.execute, 200)
20
+ assert_equal(@command.execute([]), 200)
27
21
  end
28
22
 
29
23
  should "only update the allowed attributes" do
30
24
  @command.expects(:say).with("Cannot update unallowed_attribute. Updatable attributes are: #{EPC::Command::UpdateSolutionCommand::UPDATABLE_ATTRIBUTES.join(",")}")
31
- @command.execute("","","unallowed_attribute=value")
25
+ @command.execute(["","","unallowed_attribute=value"])
32
26
  end
33
27
 
34
28
  should "show a message if request is unsuccesful" do
@@ -36,7 +30,7 @@ class UpdateSolutionCommandTest < Test::Unit::TestCase
36
30
  returns([400, {'message' => "Not Found"}, {}])
37
31
  @command.expects(:say).with("Update failed with: [Not Found]")
38
32
 
39
- assert_equal(@command.execute("","","name=new_name"), 400)
33
+ assert_equal(@command.execute(["","","name=new_name"]), 400)
40
34
  end
41
35
 
42
36
  should "update the solution attributes" do
@@ -44,7 +38,7 @@ class UpdateSolutionCommandTest < Test::Unit::TestCase
44
38
  returns([200, {}, {}])
45
39
  @command.expects(:say).with("Update succesful")
46
40
 
47
- assert_equal(@command.execute("","","name=new_name"), 200)
41
+ assert_equal(@command.execute(["","","name=new_name"]), 200)
48
42
  end
49
43
  end
50
44
 
@@ -10,22 +10,10 @@ class UpdateUserCommandTest < Test::Unit::TestCase
10
10
  @command.options[:password] = "1234567890"
11
11
  end
12
12
 
13
- should "fail if email can't be determined" do
14
- @command.expects(:get_resource_attribute).returns(nil)
15
- assert_raise EPC::Error::FatalError do
16
- @command.execute(1)
17
- end
18
- end
19
-
20
- should "fail if token parameter is not specified" do
21
- assert_nil @command.options[:token]
22
- assert_raise EPC::Error::FatalError do
23
- @command.execute("user@epaas.com")
24
- end
25
- end
26
13
 
27
14
  should "show reason for failure when status is unsuccessful" do
28
15
  @command.options[:token] = "1213445"
16
+ @command.expects(:get_resource_attribute).returns("user@epaas.com")
29
17
  @mock_client.expects(:put).with(EPC::Config::USERS_PATH + "/user@epaas.com/change_password", {:token => '1213445', :password => "1234567890"}).returns([500, {:message => "system exception"}, {}])
30
18
  @command.expects(:say).with("Request failed: [system exception]")
31
19
  @command.execute("user@epaas.com")
@@ -33,6 +21,7 @@ class UpdateUserCommandTest < Test::Unit::TestCase
33
21
 
34
22
  should "change the password" do
35
23
  @command.options[:token] = "1213445"
24
+ @command.expects(:get_resource_attribute).returns("user@epaas.com")
36
25
  @mock_client.expects(:put).with(EPC::Config::USERS_PATH + "/user@epaas.com/change_password", {:token => '1213445', :password => "1234567890"}).returns([200, {}, {}])
37
26
  @command.expects(:say).with("Password change successful")
38
27
  @command.execute("user@epaas.com")
@@ -43,16 +32,11 @@ class UpdateUserCommandTest < Test::Unit::TestCase
43
32
  setup do
44
33
  @mock_client = mock("Client")
45
34
  @command = EPC::Command::UpdateUserCommand.new(@mock_client)
35
+ @command.object_id = 1
46
36
  @command.options[:email] = "user2@epaas.com"
47
37
  @command.options[:name] = "user2"
48
38
  end
49
39
 
50
- should "fail if user_id can't be determined" do
51
- @command.expects(:get_resource_id).returns(nil)
52
- assert_raise EPC::Error::FatalError do
53
- @command.execute("user@epaas.com")
54
- end
55
- end
56
40
 
57
41
  should "show reason for failure when status is unsuccessful" do
58
42
  @mock_client.expects(:put).with(EPC::Config::USERS_PATH + "/1", {:name => 'user2', :email => "user2@epaas.com"}).returns([500, {:message => "system exception"}, {}])
@@ -7,14 +7,10 @@ class VoteDeploymentCommandTest < Test::Unit::TestCase
7
7
  setup do
8
8
  @mock_client = mock("Client")
9
9
  @command = EPC::Command::VoteDeploymentCommand.new(@mock_client, {:approval => "approve"})
10
+ @command.object_id = 1
11
+ @command.object_type = "Deployment"
10
12
  end
11
13
 
12
- should "fail if deployment id can't be determined" do
13
- @command.expects(:say).with("You must specify a deployment id.")
14
- @command.expects(:say).with("epc approve deployment <DEPLOYMENT_ID>")
15
- assert_equal @command.execute, 1
16
- end
17
-
18
14
  should "show a message if status is not 200" do
19
15
  @mock_client.expects(:put).with(EPC::Config::DEPLOYMENTS_PATH + "/1/vote", {:approved => true}).
20
16
  returns([400, {:message => "Not Found"}, {}])
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - AgileMethods, Inc.
8
+ - ServiceMesh, Inc.
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-27 00:00:00.000000000 Z
12
+ date: 2012-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &2154122120 !ruby/object:Gem::Requirement
16
+ requirement: &2158605680 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2154122120
24
+ version_requirements: *2158605680
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: echoe
27
- requirement: &2154121580 !ruby/object:Gem::Requirement
27
+ requirement: &2158595920 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 4.6.3
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2154121580
35
+ version_requirements: *2158595920
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: ci_reporter
38
- requirement: &2154121140 !ruby/object:Gem::Requirement
38
+ requirement: &2158595500 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2154121140
46
+ version_requirements: *2158595500
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: test-unit
49
- requirement: &2154120560 !ruby/object:Gem::Requirement
49
+ requirement: &2158594940 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 2.4.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2154120560
57
+ version_requirements: *2158594940
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: mocha
60
- requirement: &2154120020 !ruby/object:Gem::Requirement
60
+ requirement: &2158594400 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 0.10.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2154120020
68
+ version_requirements: *2158594400
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: shoulda
71
- requirement: &2154119520 !ruby/object:Gem::Requirement
71
+ requirement: &2158593900 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 2.11.3
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2154119520
79
+ version_requirements: *2158593900
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: cover_me
82
- requirement: &2154119040 !ruby/object:Gem::Requirement
82
+ requirement: &2158593320 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 1.2.0
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2154119040
90
+ version_requirements: *2158593320
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: highline
93
- requirement: &2154118520 !ruby/object:Gem::Requirement
93
+ requirement: &2158592740 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 1.6.2
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *2154118520
101
+ version_requirements: *2158592740
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: rest-client
104
- requirement: &2154118020 !ruby/object:Gem::Requirement
104
+ requirement: &2158592180 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ~>
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 1.6.7
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *2154118020
112
+ version_requirements: *2158592180
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: zip
115
- requirement: &2154117540 !ruby/object:Gem::Requirement
115
+ requirement: &2158591720 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
@@ -120,11 +120,11 @@ dependencies:
120
120
  version: 2.0.2
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *2154117540
124
- description: Manage, deploy and create Enterprise PaaS applications using the ePaaS
125
- system and the epc gem. run epc to see all the options and help
123
+ version_requirements: *2158591720
124
+ description: Manage, deploy and create Enterprise PaaS applications using the Agility
125
+ Release Manager system and the epc gem. run epc to see all the options and help
126
126
  email:
127
- - support@agilemethods.com
127
+ - support@servicemesh.com
128
128
  executables:
129
129
  - epc
130
130
  extensions: []
@@ -140,29 +140,26 @@ files:
140
140
  - lib/epc/client/http_client.rb
141
141
  - lib/epc/client/json_client.rb
142
142
  - lib/epc/command/archive_command.rb
143
- - lib/epc/command/attach_library_command.rb
144
- - lib/epc/command/attach_libraryset_command.rb
145
- - lib/epc/command/attach_runtime_command.rb
143
+ - lib/epc/command/attachto_command.rb
146
144
  - lib/epc/command/base_command.rb
147
- - lib/epc/command/bind_service_command.rb
148
145
  - lib/epc/command/build_command.rb
149
146
  - lib/epc/command/config/create_config_command.rb
150
147
  - lib/epc/command/config/delete_config_command.rb
151
148
  - lib/epc/command/config/list_configs_command.rb
152
149
  - lib/epc/command/config/update_config_command.rb
153
- - lib/epc/command/copy_deployment_command.rb
150
+ - lib/epc/command/copy_command.rb
154
151
  - lib/epc/command/create_command.rb
155
- - lib/epc/command/create_dependency_command.rb
156
152
  - lib/epc/command/delete_command.rb
157
- - lib/epc/command/dependency/delete_dependency_command.rb
158
153
  - lib/epc/command/deploy_command.rb
154
+ - lib/epc/command/deployment/copy_deployment_command.rb
159
155
  - lib/epc/command/deployment/create_deployment_command.rb
160
156
  - lib/epc/command/deployment/list_deployments_command.rb
161
157
  - lib/epc/command/deployment/show_deployment_command.rb
158
+ - lib/epc/command/deployment/submit_deployment_command.rb
162
159
  - lib/epc/command/deployment/update_deployment_command.rb
160
+ - lib/epc/command/deployment/vote_deployment_command.rb
163
161
  - lib/epc/command/deploymentstage/list_deploymentstages_command.rb
164
- - lib/epc/command/detach_library_command.rb
165
- - lib/epc/command/detach_libraryset_command.rb
162
+ - lib/epc/command/detachfrom_command.rb
166
163
  - lib/epc/command/group/create_group_command.rb
167
164
  - lib/epc/command/group/delete_group_command.rb
168
165
  - lib/epc/command/group/list_groups_command.rb
@@ -184,7 +181,6 @@ files:
184
181
  - lib/epc/command/list_command.rb
185
182
  - lib/epc/command/list_metrics_command.rb
186
183
  - lib/epc/command/list_objecttypes_command.rb
187
- - lib/epc/command/list_versions_command.rb
188
184
  - lib/epc/command/login_command.rb
189
185
  - lib/epc/command/logout_command.rb
190
186
  - lib/epc/command/objectrole/create_objectrole_command.rb
@@ -198,14 +194,20 @@ files:
198
194
  - lib/epc/command/plugin/show_plugin_command.rb
199
195
  - lib/epc/command/plugin/update_plugin_command.rb
200
196
  - lib/epc/command/project/archive_project_command.rb
197
+ - lib/epc/command/project/attachto_project_command.rb
201
198
  - lib/epc/command/project/create_project_command.rb
202
199
  - lib/epc/command/project/delete_project_command.rb
200
+ - lib/epc/command/project/detachfrom_project_command.rb
203
201
  - lib/epc/command/project/list_projects_command.rb
204
202
  - lib/epc/command/project/show_project_command.rb
203
+ - lib/epc/command/project/show_project_snapshot_command.rb
205
204
  - lib/epc/command/project/unarchive_project_command.rb
206
205
  - lib/epc/command/project/update_project_command.rb
206
+ - lib/epc/command/projecttype/create_projecttype_command.rb
207
+ - lib/epc/command/projecttype/delete_projecttype_command.rb
207
208
  - lib/epc/command/projecttype/list_projecttypes_command.rb
208
209
  - lib/epc/command/projecttype/show_projecttype_command.rb
210
+ - lib/epc/command/projecttype/update_projecttype_command.rb
209
211
  - lib/epc/command/pull_command.rb
210
212
  - lib/epc/command/push_command.rb
211
213
  - lib/epc/command/refresh_solution_command.rb
@@ -216,8 +218,13 @@ files:
216
218
  - lib/epc/command/role/list_roles_command.rb
217
219
  - lib/epc/command/role/show_role_command.rb
218
220
  - lib/epc/command/role/update_role_command.rb
221
+ - lib/epc/command/runtime/create_runtime_command.rb
222
+ - lib/epc/command/runtime/delete_runtime_command.rb
219
223
  - lib/epc/command/runtime/list_runtimes_command.rb
224
+ - lib/epc/command/runtime/update_runtime_command.rb
225
+ - lib/epc/command/runtimetype/list_runtimetypes_command.rb
220
226
  - lib/epc/command/servicedefinition/create_servicedefinition_command.rb
227
+ - lib/epc/command/servicedefinition/delete_servicedefinition_command.rb
221
228
  - lib/epc/command/servicedefinition/list_servicedefinitions_command.rb
222
229
  - lib/epc/command/servicetype/list_servicetypes_command.rb
223
230
  - lib/epc/command/serviceversion/create_serviceversion_command.rb
@@ -233,26 +240,26 @@ files:
233
240
  - lib/epc/command/solution/show_solution_command.rb
234
241
  - lib/epc/command/solution/unarchive_solution_command.rb
235
242
  - lib/epc/command/solution/update_solution_command.rb
236
- - lib/epc/command/submit_deployment_command.rb
243
+ - lib/epc/command/submit_command.rb
237
244
  - lib/epc/command/target_command.rb
238
245
  - lib/epc/command/unarchive_command.rb
239
- - lib/epc/command/unbind_service_command.rb
240
- - lib/epc/command/undefine_service_command.rb
241
246
  - lib/epc/command/undeploy_command.rb
242
247
  - lib/epc/command/update_command.rb
243
- - lib/epc/command/update_rolepermissions_command.rb
244
248
  - lib/epc/command/user/create_user_command.rb
245
249
  - lib/epc/command/user/delete_user_command.rb
246
250
  - lib/epc/command/user/list_users_command.rb
247
251
  - lib/epc/command/user/show_user_command.rb
248
252
  - lib/epc/command/user/update_user_command.rb
249
- - lib/epc/command/vote_deployment_command.rb
253
+ - lib/epc/command/userproperty/list_user_properties_command.rb
254
+ - lib/epc/command/vote_command.rb
250
255
  - lib/epc/config.rb
251
256
  - lib/epc/error/basic_error.rb
252
257
  - lib/epc/error/fatal_error.rb
253
258
  - lib/epc/error/input_error.rb
254
259
  - lib/epc/error/internal_error.rb
255
260
  - lib/epc/help.rb
261
+ - lib/epc/modules/config.rb
262
+ - lib/epc/modules/role.rb
256
263
  - lib/epc/persistent_attributes.rb
257
264
  - lib/epc/runner.rb
258
265
  - lib/epc/tabular_outputter.rb
@@ -262,41 +269,37 @@ files:
262
269
  - lib/object.rb
263
270
  - test/command/archive_project_command_test.rb
264
271
  - test/command/archive_solution_command_test.rb
265
- - test/command/attach_library_command_test.rb
266
- - test/command/attach_libraryset_command_test.rb
267
- - test/command/attach_runtime_command_test.rb
268
272
  - test/command/base_command_test.rb
269
- - test/command/bind_service_command_test.rb
270
273
  - test/command/build_command_test.rb
271
274
  - test/command/copy_deployment_command_test.rb
272
275
  - test/command/create_config_command_test.rb
273
- - test/command/create_dependency_command_test.rb
274
276
  - test/command/create_deployment_command_test.rb
275
277
  - test/command/create_group_command_test.rb
276
278
  - test/command/create_library_command_test.rb
277
279
  - test/command/create_librarylanguage_command_test.rb
278
280
  - test/command/create_libraryset_command_test.rb
279
281
  - test/command/create_objectrole_command_test.rb
280
- - test/command/create_plugin_command_test.rb
281
282
  - test/command/create_project_command_test.rb
282
283
  - test/command/create_role_command_test.rb
284
+ - test/command/create_runtime_command_test.rb
283
285
  - test/command/create_servicedefinition_command_test.rb
284
286
  - test/command/create_serviceversion_command_test.rb
285
287
  - test/command/create_solution_command_test.rb
286
288
  - test/command/create_user_command_test.rb
287
289
  - test/command/delete_config_command_test.rb
288
- - test/command/delete_dependency_command_test.rb
289
290
  - test/command/delete_library_command_test.rb
290
291
  - test/command/delete_librarylanguage_command_test.rb
291
292
  - test/command/delete_libraryset_command_test.rb
292
293
  - test/command/delete_plugin_command_test.rb
293
294
  - test/command/delete_project_command_test.rb
295
+ - test/command/delete_projecttype_command_test.rb
294
296
  - test/command/delete_role_command_test.rb
297
+ - test/command/delete_runtime_command_test.rb
298
+ - test/command/delete_servicedefinition_command_test.rb
295
299
  - test/command/delete_serviceversion_command_test.rb
296
300
  - test/command/delete_solution_command_test.rb
297
301
  - test/command/delete_user_command_test.rb
298
302
  - test/command/deploy_command_test.rb
299
- - test/command/detach_library_command_test.rb
300
303
  - test/command/info_command_test.rb
301
304
  - test/command/list_config_command_test.rb
302
305
  - test/command/list_deployments_command_test.rb
@@ -314,10 +317,12 @@ files:
314
317
  - test/command/list_projecttypes_command_test.rb
315
318
  - test/command/list_roles_command_test.rb
316
319
  - test/command/list_runtimes_command_test.rb
320
+ - test/command/list_runtimetypes_command_test.rb
317
321
  - test/command/list_service_types_command_test.rb
318
322
  - test/command/list_servicedefinitions_command_test.rb
319
323
  - test/command/list_serviceversions_command_test.rb
320
324
  - test/command/list_solutions_command_test.rb
325
+ - test/command/list_userproperties_command_test.rb
321
326
  - test/command/list_users_command_test.rb
322
327
  - test/command/login_command_test.rb
323
328
  - test/command/logout_command_test.rb
@@ -326,12 +331,14 @@ files:
326
331
  - test/command/refresh_solution_command_test.rb
327
332
  - test/command/renew_command_test.rb
328
333
  - test/command/request_passwordchange_command_test.rb
334
+ - test/command/show_deployment_command_test.rb
329
335
  - test/command/show_group_command_test.rb
330
336
  - test/command/show_instances_command_test.rb
331
337
  - test/command/show_libraryset_command_test.rb
332
338
  - test/command/show_metrics_command_test.rb
333
339
  - test/command/show_plugin_command_test.rb
334
340
  - test/command/show_project_command_test.rb
341
+ - test/command/show_project_snapshot_test.rb
335
342
  - test/command/show_projecttype_command_test.rb
336
343
  - test/command/show_role_command_test.rb
337
344
  - test/command/show_solution_command_test.rb
@@ -340,8 +347,6 @@ files:
340
347
  - test/command/target_command_test.rb
341
348
  - test/command/unarchive_project_command_test.rb
342
349
  - test/command/unarchive_solution_command_test.rb
343
- - test/command/unbind_service_command_test.rb
344
- - test/command/undefine_service_command_test.rb
345
350
  - test/command/update_config_command_test.rb
346
351
  - test/command/update_deployment_command_test.rb
347
352
  - test/command/update_group_command_test.rb
@@ -357,7 +362,7 @@ files:
357
362
  - test/successful_test.rb
358
363
  - test/test_files/pom.xml
359
364
  - test/test_helper.rb
360
- homepage: http://www.agilemethods.com
365
+ homepage: http://www.servicemesh.com
361
366
  licenses: []
362
367
  post_install_message:
363
368
  rdoc_options: []
@@ -380,45 +385,41 @@ rubyforge_project:
380
385
  rubygems_version: 1.8.8
381
386
  signing_key:
382
387
  specification_version: 3
383
- summary: AgileMethods command line tool to interface with the ePaaS system
388
+ summary: ServiceMEsh command line tool to interface with the Release Manager
384
389
  test_files:
385
390
  - test/command/archive_project_command_test.rb
386
391
  - test/command/archive_solution_command_test.rb
387
- - test/command/attach_library_command_test.rb
388
- - test/command/attach_libraryset_command_test.rb
389
- - test/command/attach_runtime_command_test.rb
390
392
  - test/command/base_command_test.rb
391
- - test/command/bind_service_command_test.rb
392
393
  - test/command/build_command_test.rb
393
394
  - test/command/copy_deployment_command_test.rb
394
395
  - test/command/create_config_command_test.rb
395
- - test/command/create_dependency_command_test.rb
396
396
  - test/command/create_deployment_command_test.rb
397
397
  - test/command/create_group_command_test.rb
398
398
  - test/command/create_library_command_test.rb
399
399
  - test/command/create_librarylanguage_command_test.rb
400
400
  - test/command/create_libraryset_command_test.rb
401
401
  - test/command/create_objectrole_command_test.rb
402
- - test/command/create_plugin_command_test.rb
403
402
  - test/command/create_project_command_test.rb
404
403
  - test/command/create_role_command_test.rb
404
+ - test/command/create_runtime_command_test.rb
405
405
  - test/command/create_servicedefinition_command_test.rb
406
406
  - test/command/create_serviceversion_command_test.rb
407
407
  - test/command/create_solution_command_test.rb
408
408
  - test/command/create_user_command_test.rb
409
409
  - test/command/delete_config_command_test.rb
410
- - test/command/delete_dependency_command_test.rb
411
410
  - test/command/delete_library_command_test.rb
412
411
  - test/command/delete_librarylanguage_command_test.rb
413
412
  - test/command/delete_libraryset_command_test.rb
414
413
  - test/command/delete_plugin_command_test.rb
415
414
  - test/command/delete_project_command_test.rb
415
+ - test/command/delete_projecttype_command_test.rb
416
416
  - test/command/delete_role_command_test.rb
417
+ - test/command/delete_runtime_command_test.rb
418
+ - test/command/delete_servicedefinition_command_test.rb
417
419
  - test/command/delete_serviceversion_command_test.rb
418
420
  - test/command/delete_solution_command_test.rb
419
421
  - test/command/delete_user_command_test.rb
420
422
  - test/command/deploy_command_test.rb
421
- - test/command/detach_library_command_test.rb
422
423
  - test/command/info_command_test.rb
423
424
  - test/command/list_config_command_test.rb
424
425
  - test/command/list_deployments_command_test.rb
@@ -436,10 +437,12 @@ test_files:
436
437
  - test/command/list_projecttypes_command_test.rb
437
438
  - test/command/list_roles_command_test.rb
438
439
  - test/command/list_runtimes_command_test.rb
440
+ - test/command/list_runtimetypes_command_test.rb
439
441
  - test/command/list_service_types_command_test.rb
440
442
  - test/command/list_servicedefinitions_command_test.rb
441
443
  - test/command/list_serviceversions_command_test.rb
442
444
  - test/command/list_solutions_command_test.rb
445
+ - test/command/list_userproperties_command_test.rb
443
446
  - test/command/list_users_command_test.rb
444
447
  - test/command/login_command_test.rb
445
448
  - test/command/logout_command_test.rb
@@ -448,12 +451,14 @@ test_files:
448
451
  - test/command/refresh_solution_command_test.rb
449
452
  - test/command/renew_command_test.rb
450
453
  - test/command/request_passwordchange_command_test.rb
454
+ - test/command/show_deployment_command_test.rb
451
455
  - test/command/show_group_command_test.rb
452
456
  - test/command/show_instances_command_test.rb
453
457
  - test/command/show_libraryset_command_test.rb
454
458
  - test/command/show_metrics_command_test.rb
455
459
  - test/command/show_plugin_command_test.rb
456
460
  - test/command/show_project_command_test.rb
461
+ - test/command/show_project_snapshot_test.rb
457
462
  - test/command/show_projecttype_command_test.rb
458
463
  - test/command/show_role_command_test.rb
459
464
  - test/command/show_solution_command_test.rb
@@ -462,8 +467,6 @@ test_files:
462
467
  - test/command/target_command_test.rb
463
468
  - test/command/unarchive_project_command_test.rb
464
469
  - test/command/unarchive_solution_command_test.rb
465
- - test/command/unbind_service_command_test.rb
466
- - test/command/undefine_service_command_test.rb
467
470
  - test/command/update_config_command_test.rb
468
471
  - test/command/update_deployment_command_test.rb
469
472
  - test/command/update_group_command_test.rb