epc 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. data/lib/epc.rb +71 -54
  2. data/lib/epc/command/archive_command.rb +12 -0
  3. data/lib/epc/command/attach_libraryset_command.rb +1 -2
  4. data/lib/epc/command/attach_runtime_command.rb +0 -1
  5. data/lib/epc/command/base_command.rb +52 -63
  6. data/lib/epc/command/config/delete_config_command.rb +57 -0
  7. data/lib/epc/command/{list_config_command.rb → config/list_configs_command.rb} +1 -1
  8. data/lib/epc/command/config/update_config_command.rb +56 -0
  9. data/lib/epc/command/create_command.rb +0 -1
  10. data/lib/epc/command/delete_command.rb +16 -0
  11. data/lib/epc/command/{delete_dependency_command.rb → dependency/delete_dependency_command.rb} +14 -16
  12. data/lib/epc/command/deploy_command.rb +1 -2
  13. data/lib/epc/command/deployment/list_deployments_command.rb +49 -0
  14. data/lib/epc/command/deployment/show_deployment_command.rb +61 -0
  15. data/lib/epc/command/{update_deploymentproject_command.rb → deployment/update_deployment_command.rb} +3 -3
  16. data/lib/epc/command/{list_stages_command.rb → deploymentstage/list_deploymentstages_command.rb} +1 -1
  17. data/lib/epc/command/group/delete_group_command.rb +25 -0
  18. data/lib/epc/command/{list_groups_command.rb → group/list_groups_command.rb} +1 -1
  19. data/lib/epc/command/{show_group_command.rb → group/show_group_command.rb} +2 -9
  20. data/lib/epc/command/{update_group_command.rb → group/update_group_command.rb} +3 -20
  21. data/lib/epc/command/library/create_library_command.rb +2 -5
  22. data/lib/epc/command/library/delete_library_command.rb +23 -0
  23. data/lib/epc/command/{list_libraries_command.rb → library/list_libraries_command.rb} +1 -1
  24. data/lib/epc/command/librarylanguage/delete_librarylanguage_command.rb +24 -0
  25. data/lib/epc/command/{list_librarylanguages_command.rb → librarylanguage/list_librarylanguages_command.rb} +1 -1
  26. data/lib/epc/command/{update_librarylanguage_command.rb → librarylanguage/update_librarylanguage_command.rb} +6 -10
  27. data/lib/epc/command/libraryset/create_libraryset_command.rb +1 -6
  28. data/lib/epc/command/{delete_libraryset_command.rb → libraryset/delete_libraryset_command.rb} +2 -18
  29. data/lib/epc/command/{list_librarysets_command.rb → libraryset/list_librarysets_command.rb} +1 -1
  30. data/lib/epc/command/{show_libraryset_command.rb → libraryset/show_libraryset_command.rb} +2 -17
  31. data/lib/epc/command/{update_libraryset_command.rb → libraryset/update_libraryset_command.rb} +4 -16
  32. data/lib/epc/command/list_command.rb +22 -0
  33. data/lib/epc/command/list_metrics_command.rb +25 -0
  34. data/lib/epc/command/list_objecttypes_command.rb +2 -4
  35. data/lib/epc/command/list_versions_command.rb +0 -1
  36. data/lib/epc/command/{list_objectroles_command.rb → objectrole/list_objectroles_command.rb} +3 -3
  37. data/lib/epc/command/objectrole/update_objectrole_command.rb +14 -0
  38. data/lib/epc/command/{list_rolepermissions_command.rb → permission/list_permissions_command.rb} +2 -2
  39. data/lib/epc/command/{list_permissiongroups_command.rb → permissiongroup/list_permissiongroups_command.rb} +1 -1
  40. data/lib/epc/command/plugin/create_plugin_command.rb +42 -0
  41. data/lib/epc/command/plugin/delete_plugin_command.rb +26 -0
  42. data/lib/epc/command/plugin/list_plugins_command.rb +19 -0
  43. data/lib/epc/command/plugin/show_plugin_command.rb +29 -0
  44. data/lib/epc/command/plugin/update_plugin_command.rb +53 -0
  45. data/lib/epc/command/{archive_project_command.rb → project/archive_project_command.rb} +4 -3
  46. data/lib/epc/command/{delete_project_command.rb → project/delete_project_command.rb} +11 -7
  47. data/lib/epc/command/{list_projects_command.rb → project/list_projects_command.rb} +8 -9
  48. data/lib/epc/command/{show_project_command.rb → project/show_project_command.rb} +64 -29
  49. data/lib/epc/command/{unarchive_project_command.rb → project/unarchive_project_command.rb} +5 -4
  50. data/lib/epc/command/{update_project_command.rb → project/update_project_command.rb} +11 -5
  51. data/lib/epc/command/{list_projecttypes_command.rb → projecttype/list_projecttypes_command.rb} +1 -1
  52. data/lib/epc/command/{show_projecttype_command.rb → projecttype/show_projecttype_command.rb} +4 -3
  53. data/lib/epc/command/pull_command.rb +33 -35
  54. data/lib/epc/command/{delete_role_command.rb → role/delete_role_command.rb} +3 -4
  55. data/lib/epc/command/{list_roles_command.rb → role/list_roles_command.rb} +4 -3
  56. data/lib/epc/command/{show_role_command.rb → role/show_role_command.rb} +18 -10
  57. data/lib/epc/command/role/update_role_command.rb +95 -0
  58. data/lib/epc/command/{list_runtimes_command.rb → runtime/list_runtimes_command.rb} +0 -0
  59. data/lib/epc/command/servicedefinition/create_servicedefinition_command.rb +23 -0
  60. data/lib/epc/command/{list_servicedefinitions_command.rb → servicedefinition/list_servicedefinitions_command.rb} +1 -0
  61. data/lib/epc/command/{list_service_types_command.rb → servicetype/list_servicetypes_command.rb} +0 -0
  62. data/lib/epc/command/serviceversion/delete_serviceversion_command.rb +24 -0
  63. data/lib/epc/command/{list_serviceversions_command.rb → serviceversion/list_serviceversions_command.rb} +1 -1
  64. data/lib/epc/command/show_command.rb +27 -0
  65. data/lib/epc/command/show_instances_command.rb +33 -0
  66. data/lib/epc/command/show_metrics_command.rb +55 -0
  67. data/lib/epc/command/{archive_solution_command.rb → solution/archive_solution_command.rb} +2 -1
  68. data/lib/epc/command/solution/create_solution_command.rb +0 -1
  69. data/lib/epc/command/{delete_solution_command.rb → solution/delete_solution_command.rb} +5 -10
  70. data/lib/epc/command/solution/list_solutions_command.rb +1 -1
  71. data/lib/epc/command/{show_solution_command.rb → solution/show_solution_command.rb} +12 -7
  72. data/lib/epc/command/{unarchive_solution_command.rb → solution/unarchive_solution_command.rb} +1 -1
  73. data/lib/epc/command/solution/update_solution_command.rb +2 -1
  74. data/lib/epc/command/unarchive_command.rb +12 -0
  75. data/lib/epc/command/update_command.rb +15 -0
  76. data/lib/epc/command/update_rolepermissions_command.rb +2 -2
  77. data/lib/epc/command/{delete_user_command.rb → user/delete_user_command.rb} +4 -12
  78. data/lib/epc/command/{list_users_command.rb → user/list_users_command.rb} +1 -1
  79. data/lib/epc/command/{show_user_command.rb → user/show_user_command.rb} +3 -17
  80. data/lib/epc/command/{update_user_command.rb → user/update_user_command.rb} +2 -4
  81. data/lib/epc/config.rb +4 -1
  82. data/lib/epc/help.rb +50 -35
  83. data/lib/epc/runner.rb +16 -5
  84. data/lib/epc/version.rb +1 -1
  85. data/lib/epc/vertical_bar.rb +40 -0
  86. data/test/command/create_library_command_test.rb +5 -2
  87. data/test/command/create_libraryset_command_test.rb +1 -1
  88. data/test/command/create_plugin_command_test.rb +44 -0
  89. data/test/command/create_servicedefinition_command_test.rb +43 -0
  90. data/test/command/delete_config_command_test.rb +0 -11
  91. data/test/command/delete_dependency_command_test.rb +3 -11
  92. data/test/command/delete_library_command_test.rb +2 -15
  93. data/test/command/delete_librarylanguage_command_test.rb +2 -24
  94. data/test/command/delete_libraryset_command_test.rb +2 -24
  95. data/test/command/delete_plugin_command_test.rb +32 -0
  96. data/test/command/delete_project_command_test.rb +0 -6
  97. data/test/command/delete_role_command_test.rb +1 -1
  98. data/test/command/delete_serviceversion_command_test.rb +0 -22
  99. data/test/command/delete_solution_command_test.rb +4 -4
  100. data/test/command/delete_user_command_test.rb +2 -24
  101. data/test/command/list_config_command_test.rb +3 -3
  102. data/test/command/list_deployments_command_test.rb +17 -20
  103. data/test/command/list_deploymentstages_command_test.rb +2 -2
  104. data/test/command/list_metrics_command_test.rb +40 -0
  105. data/test/command/{list_rolepermissions_command_test.rb → list_permissions_command_test.rb} +2 -2
  106. data/test/command/list_plugins_command_test.rb +27 -0
  107. data/test/command/list_projects_command_test.rb +3 -5
  108. data/test/command/list_roles_command_test.rb +2 -3
  109. data/test/command/pull_command_test.rb +13 -9
  110. data/test/command/show_group_command_test.rb +1 -23
  111. data/test/command/show_instances_command_test.rb +33 -0
  112. data/test/command/show_libraryset_command_test.rb +0 -11
  113. data/test/command/show_metrics_command_test.rb +51 -0
  114. data/test/command/show_plugin_command_test.rb +28 -0
  115. data/test/command/show_project_command_test.rb +1 -1
  116. data/test/command/show_projecttype_command_test.rb +0 -5
  117. data/test/command/show_role_command_test.rb +1 -1
  118. data/test/command/show_solution_command_test.rb +1 -1
  119. data/test/command/show_user_command_test.rb +2 -22
  120. data/test/command/update_config_command_test.rb +3 -9
  121. data/test/command/{update_deploymentproject_command_test.rb → update_deployment_command_test.rb} +6 -11
  122. data/test/command/update_group_command_test.rb +1 -20
  123. data/test/command/update_librarylanguage_command_test.rb +0 -15
  124. data/test/command/update_libraryset_command_test.rb +0 -13
  125. data/test/command/update_plugin_command_test.rb +41 -0
  126. data/test/command/update_project_command_test.rb +3 -3
  127. data/test/command/update_role_command_test.rb +2 -1
  128. data/test/command/update_solution_command_test.rb +3 -9
  129. data/test/command/update_user_command_test.rb +0 -6
  130. metadata +177 -165
  131. data/lib/epc/command/define_service_command.rb +0 -37
  132. data/lib/epc/command/delete_config_command.rb +0 -63
  133. data/lib/epc/command/delete_group_command.rb +0 -40
  134. data/lib/epc/command/delete_library_command.rb +0 -30
  135. data/lib/epc/command/delete_librarylanguage_command.rb +0 -40
  136. data/lib/epc/command/delete_serviceversion_command.rb +0 -52
  137. data/lib/epc/command/list_approvals_command.rb +0 -27
  138. data/lib/epc/command/list_attachedlibraries_command.rb +0 -42
  139. data/lib/epc/command/list_boundservices_command.rb +0 -40
  140. data/lib/epc/command/list_dependencies_command.rb +0 -43
  141. data/lib/epc/command/list_deployments_command.rb +0 -68
  142. data/lib/epc/command/list_solutions_command.rb +0 -25
  143. data/lib/epc/command/show_deployment_command.rb +0 -57
  144. data/lib/epc/command/update_config_command.rb +0 -62
  145. data/lib/epc/command/update_role_command.rb +0 -47
  146. data/lib/epc/command/update_solution_command.rb +0 -45
  147. data/test/command/define_service_command_test.rb +0 -55
  148. data/test/command/delete_group_command_test.rb +0 -56
  149. data/test/command/list_approvals_command_test.rb +0 -41
  150. data/test/command/list_boundservices_command_test.rb +0 -46
  151. data/test/command/list_dependencies_command_test.rb +0 -46
  152. data/test/command/update_rolepermissions_command_test.rb +0 -54
@@ -1,20 +1,15 @@
1
1
  require 'test_helper'
2
2
 
3
- class UpdateDeploymentprojectCommandTest < Test::Unit::TestCase
3
+ class UpdateDeploymentCommandTest < Test::Unit::TestCase
4
4
  should_require_login
5
5
 
6
6
  context "pre-execution checks" do
7
7
 
8
8
  setup do
9
9
  @mock_client = mock("Client")
10
- @command = EPC::Command::UpdateDeploymentprojectCommand.new(@mock_client)
10
+ @command = EPC::Command::UpdateDeploymentCommand.new(@mock_client)
11
11
  end
12
12
 
13
- should "require both deployment id and project id" do
14
- assert_raise EPC::Error::FatalError do
15
- assert_equal(@command.execute, 1)
16
- end
17
- end
18
13
 
19
14
  should "require either instance-count or uris" do
20
15
  @command.options[:instances] = nil
@@ -30,7 +25,7 @@ class UpdateDeploymentprojectCommandTest < Test::Unit::TestCase
30
25
  context "execution" do
31
26
  setup do
32
27
  @mock_client = mock("Client")
33
- @command = EPC::Command::UpdateDeploymentprojectCommand.new(@mock_client)
28
+ @command = EPC::Command::UpdateDeploymentCommand.new(@mock_client)
34
29
  @command.options[:instances] = 3
35
30
  @command.options[:uris] = "new-uri.instance-host.com"
36
31
  end
@@ -39,21 +34,21 @@ class UpdateDeploymentprojectCommandTest < Test::Unit::TestCase
39
34
  @command.expects(:get_deployed_project_id).with(1, :id, 1).returns(1)
40
35
  @mock_client.expects(:put).with(EPC::Config::DEPLOYMENTS_PATH + "/1/deployed_projects/1", {:instances => 3, :uris => ['new-uri.instance-host.com']}).returns([404, {:message => "Not Found"}, {}])
41
36
  @command.expects(:say).with("Request failed with: [Not Found]").at_least_once
42
- assert_equal(@command.execute(1,1), 404)
37
+ assert_equal(@command.execute(1,"Project:1"), 404)
43
38
  end
44
39
 
45
40
  should "should do the request to core" do
46
41
  @command.expects(:get_deployed_project_id).with(1, :id, 1).returns(1)
47
42
  @mock_client.expects(:put).with(EPC::Config::DEPLOYMENTS_PATH + "/1/deployed_projects/1", {:instances => 3, :uris => ['new-uri.instance-host.com']}).returns([200, {}, {}])
48
43
  @command.expects(:say).with("Deployment updated")
49
- assert_equal(@command.execute(1,1), 200)
44
+ assert_equal(@command.execute(1,"Project:1"), 200)
50
45
  end
51
46
  end
52
47
 
53
48
  context "retrieving deployed project" do
54
49
  setup do
55
50
  @mock_client = mock("Client")
56
- @command = EPC::Command::UpdateDeploymentprojectCommand.new(@mock_client)
51
+ @command = EPC::Command::UpdateDeploymentCommand.new(@mock_client)
57
52
  end
58
53
 
59
54
  should "fail if can't retrieve deployments" do
@@ -9,32 +9,13 @@ class UpdateGroupCommandTest < Test::Unit::TestCase
9
9
  @command = EPC::Command::UpdateGroupCommand.new(@mock_client)
10
10
  end
11
11
 
12
- should "fail if no group id/name specified" do
13
- @command.expects(:say).with("You must specify the group id/name")
14
- @command.expects(:say).with(EPC::Help::COMMAND_USAGES[:update_group])
15
-
16
- assert_equal(@command.execute, 1)
17
- end
18
-
19
- should "fail if group id can't be determined" do
20
- @command.expects(:get_resource_id).returns(nil)
21
- @command.expects(:say).with("Group could not be found")
22
-
23
- assert_equal(@command.execute("inexistent_group"), 1)
24
- end
25
12
  end
26
13
 
27
14
  context "execution" do
28
15
  setup do
29
16
  @mock_client = mock("Client")
30
17
  @command = EPC::Command::UpdateGroupCommand.new(@mock_client)
31
- @command.expects(:get_resource_id).returns(1)
32
- end
33
-
34
- should "require the user to specify a user_id to be added/removed" do
35
- @command.expects(:say).with("You must specify a user to be added or removed")
36
-
37
- assert_equal(@command.execute("grp"), 1)
18
+ @command.expects(:retrieve_identifier_for).returns(1)
38
19
  end
39
20
 
40
21
  should "add a user to a group" do
@@ -9,12 +9,6 @@ class UpdateLibrarylanguageCommandTest < Test::Unit::TestCase
9
9
  @command = EPC::Command::UpdateLibrarylanguageCommand.new(@mock_client)
10
10
  end
11
11
 
12
- should "fail if language id can't be determined" do
13
- @command.expects(:get_resource_id).with(EPC::Config::LIBRARY_LANGUAGES_PATH, :name, "ruby").returns(nil)
14
- @command.expects(:say).with("Language could not be determined")
15
-
16
- assert_equal(@command.execute("ruby", "ruby192"), 1)
17
- end
18
12
 
19
13
  should "fail if status is not 200" do
20
14
  @mock_client.expects(:put).with(EPC::Config::LIBRARY_LANGUAGES_PATH + "/1", {:name => "ruby192"}).
@@ -30,14 +24,5 @@ class UpdateLibrarylanguageCommandTest < Test::Unit::TestCase
30
24
 
31
25
  assert_equal(@command.execute(1, "ruby"), 200)
32
26
  end
33
-
34
- should "update a language specified by name" do
35
- @command.expects(:get_resource_id).with(EPC::Config::LIBRARY_LANGUAGES_PATH, :name, "ruby").returns(1)
36
- @mock_client.expects(:put).with(EPC::Config::LIBRARY_LANGUAGES_PATH + "/1", {:name => "ruby192"}).
37
- returns([200, {}, {}])
38
- @command.expects(:say).with("Language updated")
39
-
40
- assert_equal(@command.execute("ruby", "ruby192"), 200)
41
- end
42
27
  end
43
28
  end
@@ -9,18 +9,6 @@ class UpdateLibrarysetCommandTest < Test::Unit::TestCase
9
9
  @command = EPC::Command::UpdateLibrarysetCommand.new(@mock_client)
10
10
  end
11
11
 
12
- should "fail if no parameter is specified" do
13
- @command.expects(:say).with("You must specify the library-set")
14
- @command.expects(:say).with(EPC::Help::COMMAND_USAGES[:update_libraryset])
15
- assert_equal(@command.execute, 1)
16
- end
17
-
18
- should "fail if set id can't be determined" do
19
- @command.expects(:get_resource_id).with(EPC::Config::LIBRARY_SETS_PATH, :name, "rubylibs", :case_sensitivity => false).returns(nil)
20
- @command.expects(:say).with("Set could not be determined")
21
- assert_equal(@command.execute("rubylibs"), 1)
22
- end
23
-
24
12
  context "add library" do
25
13
  setup do
26
14
  @command.options[:add_library] = 1
@@ -39,7 +27,6 @@ class UpdateLibrarysetCommandTest < Test::Unit::TestCase
39
27
  @command.expects(:say).with("Request failed: [Not Found]")
40
28
  assert_equal(@command.execute(1), 404)
41
29
  end
42
-
43
30
  end
44
31
 
45
32
  context "remove library" do
@@ -0,0 +1,41 @@
1
+ require File.expand_path "../../../lib/epc", __FILE__
2
+ require "test/unit"
3
+ require 'shoulda'
4
+ require 'mocha'
5
+
6
+ class UpdatePluginCommandTest < Test::Unit::TestCase
7
+ should_require_login
8
+
9
+
10
+ context "updating" do
11
+ setup do
12
+ @mock_client = mock("Client")
13
+ @command = EPC::Command::UpdatePluginCommand.new(@mock_client)
14
+ @command.expects(:retrieve_identifier_for).returns(1)
15
+ end
16
+
17
+ should "only update the allowed attributes" do
18
+ assert_raise EPC::Error::InputError do
19
+ @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
+ end
22
+ end
23
+
24
+ should "show a message if request is unsuccesful" do
25
+ @mock_client.expects(:put).with(EPC::Config::PLUGINS_PATH+"/1", {'name' => "new_name"}).
26
+ returns([400, {:message => "Not Found"}, {}])
27
+ @command.expects(:say).with("Request failed: [Not Found]")
28
+
29
+ assert_equal(@command.execute("1", "", "name=new_name"), 400)
30
+ end
31
+
32
+ should "update the plugin attributes" do
33
+ @mock_client.expects(:put).with(EPC::Config::PLUGINS_PATH+"/1", {'name' => "new_name"}).
34
+ returns([200, {}, {}])
35
+ @command.expects(:say).with("Plugin updated")
36
+
37
+ assert_equal(@command.execute("1", "", "name=new_name"), 200)
38
+ end
39
+ end
40
+
41
+ end
@@ -33,7 +33,7 @@ class UpdateProjectCommandTest < Test::Unit::TestCase
33
33
  should "only update the allowed attributes" do
34
34
  @command.expects(:say).with("Cannot update unallowed_attribute. Updatable attributes are: [project_name, project_type]")
35
35
  @command.expects(:say).with(EPC::Help::COMMAND_USAGES[:update_project])
36
- assert_equal(@command.execute("unallowed_attribute=value"), 1)
36
+ assert_equal(@command.execute("", "", "unallowed_attribute=value"), 1)
37
37
  end
38
38
 
39
39
  should "show a message if request is unsuccesful" do
@@ -41,7 +41,7 @@ class UpdateProjectCommandTest < Test::Unit::TestCase
41
41
  returns([400, {:message => "Not Found"}, {}])
42
42
  @command.expects(:say).with("Update failed with: [Not Found]")
43
43
 
44
- assert_equal(@command.execute("project_name=new_name"), 400)
44
+ assert_equal(@command.execute("", "", "project_name=new_name"), 400)
45
45
  end
46
46
 
47
47
  should "update the project attributes" do
@@ -49,7 +49,7 @@ class UpdateProjectCommandTest < Test::Unit::TestCase
49
49
  returns([200, {}, {}])
50
50
  @command.expects(:say).with("Update succesful")
51
51
 
52
- assert_equal(@command.execute("project_name=new_name"), 200)
52
+ assert_equal(@command.execute("", "", "project_name=new_name"), 200)
53
53
  end
54
54
  end
55
55
 
@@ -7,7 +7,8 @@ class UpdateRoleCommandTest < Test::Unit::TestCase
7
7
  setup do
8
8
  @mock_client = mock("Client")
9
9
  @command = EPC::Command::UpdateRoleCommand.new(@mock_client)
10
- @command.expects(:retrieve_system_role_identifier).returns(1)
10
+ @command.expects(:retrieve_identifier_for).returns(1)
11
+ @command.expects(:retrieve_identifier_for).returns(1)
11
12
  end
12
13
 
13
14
  should "add a user to a role" do
@@ -9,12 +9,6 @@ class UpdateSolutionCommandTest < Test::Unit::TestCase
9
9
  @command = EPC::Command::UpdateSolutionCommand.new(@mock_client)
10
10
  end
11
11
 
12
- should "fail if solution id can't be determined" do
13
- assert_raise EPC::Error::FatalError do
14
- assert_equal @command.execute, 1
15
- end
16
- end
17
-
18
12
  end
19
13
 
20
14
  context "updating" do
@@ -34,7 +28,7 @@ class UpdateSolutionCommandTest < Test::Unit::TestCase
34
28
 
35
29
  should "only update the allowed attributes" do
36
30
  @command.expects(:say).with("Cannot update unallowed_attribute. Updatable attributes are: #{EPC::Command::UpdateSolutionCommand::UPDATABLE_ATTRIBUTES.join(",")}")
37
- @command.execute("unallowed_attribute=value")
31
+ @command.execute("","","unallowed_attribute=value")
38
32
  end
39
33
 
40
34
  should "show a message if request is unsuccesful" do
@@ -42,7 +36,7 @@ class UpdateSolutionCommandTest < Test::Unit::TestCase
42
36
  returns([400, {'message' => "Not Found"}, {}])
43
37
  @command.expects(:say).with("Update failed with: [Not Found]")
44
38
 
45
- assert_equal(@command.execute("name=new_name"), 400)
39
+ assert_equal(@command.execute("","","name=new_name"), 400)
46
40
  end
47
41
 
48
42
  should "update the solution attributes" do
@@ -50,7 +44,7 @@ class UpdateSolutionCommandTest < Test::Unit::TestCase
50
44
  returns([200, {}, {}])
51
45
  @command.expects(:say).with("Update succesful")
52
46
 
53
- assert_equal(@command.execute("name=new_name"), 200)
47
+ assert_equal(@command.execute("","","name=new_name"), 200)
54
48
  end
55
49
  end
56
50
 
@@ -10,12 +10,6 @@ class UpdateUserCommandTest < Test::Unit::TestCase
10
10
  @command.options[:password] = "1234567890"
11
11
  end
12
12
 
13
- should "fail if no user identifier specified" do
14
- assert_raise EPC::Error::FatalError do
15
- @command.execute
16
- end
17
- end
18
-
19
13
  should "fail if email can't be determined" do
20
14
  @command.expects(:get_resource_attribute).returns(nil)
21
15
  assert_raise EPC::Error::FatalError do
metadata CHANGED
@@ -1,137 +1,135 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: epc
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.3
4
5
  prerelease:
5
- version: 1.0.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - AgileMethods, Inc.
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-02-27 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2012-03-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: rspec
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2154122120 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
24
22
  type: :development
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: echoe
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2154122120
25
+ - !ruby/object:Gem::Dependency
26
+ name: echoe
27
+ requirement: &2154121580 !ruby/object:Gem::Requirement
30
28
  none: false
31
- requirements:
29
+ requirements:
32
30
  - - ~>
33
- - !ruby/object:Gem::Version
31
+ - !ruby/object:Gem::Version
34
32
  version: 4.6.3
35
33
  type: :development
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: ci_reporter
39
34
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2154121580
36
+ - !ruby/object:Gem::Dependency
37
+ name: ci_reporter
38
+ requirement: &2154121140 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
46
44
  type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: test-unit
50
45
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2154121140
47
+ - !ruby/object:Gem::Dependency
48
+ name: test-unit
49
+ requirement: &2154120560 !ruby/object:Gem::Requirement
52
50
  none: false
53
- requirements:
51
+ requirements:
54
52
  - - ~>
55
- - !ruby/object:Gem::Version
53
+ - !ruby/object:Gem::Version
56
54
  version: 2.4.0
57
55
  type: :development
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: mocha
61
56
  prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *2154120560
58
+ - !ruby/object:Gem::Dependency
59
+ name: mocha
60
+ requirement: &2154120020 !ruby/object:Gem::Requirement
63
61
  none: false
64
- requirements:
62
+ requirements:
65
63
  - - ~>
66
- - !ruby/object:Gem::Version
64
+ - !ruby/object:Gem::Version
67
65
  version: 0.10.0
68
66
  type: :development
69
- version_requirements: *id005
70
- - !ruby/object:Gem::Dependency
71
- name: shoulda
72
67
  prerelease: false
73
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *2154120020
69
+ - !ruby/object:Gem::Dependency
70
+ name: shoulda
71
+ requirement: &2154119520 !ruby/object:Gem::Requirement
74
72
  none: false
75
- requirements:
73
+ requirements:
76
74
  - - ~>
77
- - !ruby/object:Gem::Version
75
+ - !ruby/object:Gem::Version
78
76
  version: 2.11.3
79
77
  type: :development
80
- version_requirements: *id006
81
- - !ruby/object:Gem::Dependency
82
- name: cover_me
83
78
  prerelease: false
84
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *2154119520
80
+ - !ruby/object:Gem::Dependency
81
+ name: cover_me
82
+ requirement: &2154119040 !ruby/object:Gem::Requirement
85
83
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
89
87
  version: 1.2.0
90
88
  type: :development
91
- version_requirements: *id007
92
- - !ruby/object:Gem::Dependency
93
- name: highline
94
89
  prerelease: false
95
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *2154119040
91
+ - !ruby/object:Gem::Dependency
92
+ name: highline
93
+ requirement: &2154118520 !ruby/object:Gem::Requirement
96
94
  none: false
97
- requirements:
95
+ requirements:
98
96
  - - ~>
99
- - !ruby/object:Gem::Version
97
+ - !ruby/object:Gem::Version
100
98
  version: 1.6.2
101
99
  type: :runtime
102
- version_requirements: *id008
103
- - !ruby/object:Gem::Dependency
104
- name: rest-client
105
100
  prerelease: false
106
- requirement: &id009 !ruby/object:Gem::Requirement
101
+ version_requirements: *2154118520
102
+ - !ruby/object:Gem::Dependency
103
+ name: rest-client
104
+ requirement: &2154118020 !ruby/object:Gem::Requirement
107
105
  none: false
108
- requirements:
106
+ requirements:
109
107
  - - ~>
110
- - !ruby/object:Gem::Version
108
+ - !ruby/object:Gem::Version
111
109
  version: 1.6.7
112
110
  type: :runtime
113
- version_requirements: *id009
114
- - !ruby/object:Gem::Dependency
115
- name: zip
116
111
  prerelease: false
117
- requirement: &id010 !ruby/object:Gem::Requirement
112
+ version_requirements: *2154118020
113
+ - !ruby/object:Gem::Dependency
114
+ name: zip
115
+ requirement: &2154117540 !ruby/object:Gem::Requirement
118
116
  none: false
119
- requirements:
117
+ requirements:
120
118
  - - ~>
121
- - !ruby/object:Gem::Version
119
+ - !ruby/object:Gem::Version
122
120
  version: 2.0.2
123
121
  type: :runtime
124
- version_requirements: *id010
125
- description: Manage, deploy and create Enterprise PaaS applications using the ePaaS system and the epc gem. run epc to see all the options and help
126
- email:
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
126
+ email:
127
127
  - support@agilemethods.com
128
- executables:
128
+ executables:
129
129
  - epc
130
130
  extensions: []
131
-
132
131
  extra_rdoc_files: []
133
-
134
- files:
132
+ files:
135
133
  - CHANGELOG
136
134
  - Gemfile
137
135
  - Rakefile
@@ -141,8 +139,7 @@ files:
141
139
  - lib/epc/client/base_client.rb
142
140
  - lib/epc/client/http_client.rb
143
141
  - lib/epc/client/json_client.rb
144
- - lib/epc/command/archive_project_command.rb
145
- - lib/epc/command/archive_solution_command.rb
142
+ - lib/epc/command/archive_command.rb
146
143
  - lib/epc/command/attach_library_command.rb
147
144
  - lib/epc/command/attach_libraryset_command.rb
148
145
  - lib/epc/command/attach_runtime_command.rb
@@ -150,95 +147,105 @@ files:
150
147
  - lib/epc/command/bind_service_command.rb
151
148
  - lib/epc/command/build_command.rb
152
149
  - lib/epc/command/config/create_config_command.rb
150
+ - lib/epc/command/config/delete_config_command.rb
151
+ - lib/epc/command/config/list_configs_command.rb
152
+ - lib/epc/command/config/update_config_command.rb
153
153
  - lib/epc/command/copy_deployment_command.rb
154
154
  - lib/epc/command/create_command.rb
155
155
  - lib/epc/command/create_dependency_command.rb
156
- - lib/epc/command/define_service_command.rb
157
- - lib/epc/command/delete_config_command.rb
158
- - lib/epc/command/delete_dependency_command.rb
159
- - lib/epc/command/delete_group_command.rb
160
- - lib/epc/command/delete_library_command.rb
161
- - lib/epc/command/delete_librarylanguage_command.rb
162
- - lib/epc/command/delete_libraryset_command.rb
163
- - lib/epc/command/delete_project_command.rb
164
- - lib/epc/command/delete_role_command.rb
165
- - lib/epc/command/delete_serviceversion_command.rb
166
- - lib/epc/command/delete_solution_command.rb
167
- - lib/epc/command/delete_user_command.rb
156
+ - lib/epc/command/delete_command.rb
157
+ - lib/epc/command/dependency/delete_dependency_command.rb
168
158
  - lib/epc/command/deploy_command.rb
169
159
  - lib/epc/command/deployment/create_deployment_command.rb
160
+ - lib/epc/command/deployment/list_deployments_command.rb
161
+ - lib/epc/command/deployment/show_deployment_command.rb
162
+ - lib/epc/command/deployment/update_deployment_command.rb
163
+ - lib/epc/command/deploymentstage/list_deploymentstages_command.rb
170
164
  - lib/epc/command/detach_library_command.rb
171
165
  - lib/epc/command/detach_libraryset_command.rb
172
166
  - lib/epc/command/group/create_group_command.rb
167
+ - lib/epc/command/group/delete_group_command.rb
168
+ - lib/epc/command/group/list_groups_command.rb
169
+ - lib/epc/command/group/show_group_command.rb
170
+ - lib/epc/command/group/update_group_command.rb
173
171
  - lib/epc/command/info_command.rb
174
172
  - lib/epc/command/library/create_library_command.rb
173
+ - lib/epc/command/library/delete_library_command.rb
174
+ - lib/epc/command/library/list_libraries_command.rb
175
175
  - lib/epc/command/librarylanguage/create_librarylanguage_command.rb
176
+ - lib/epc/command/librarylanguage/delete_librarylanguage_command.rb
177
+ - lib/epc/command/librarylanguage/list_librarylanguages_command.rb
178
+ - lib/epc/command/librarylanguage/update_librarylanguage_command.rb
176
179
  - lib/epc/command/libraryset/create_libraryset_command.rb
177
- - lib/epc/command/list_approvals_command.rb
178
- - lib/epc/command/list_attachedlibraries_command.rb
179
- - lib/epc/command/list_boundservices_command.rb
180
- - lib/epc/command/list_config_command.rb
181
- - lib/epc/command/list_dependencies_command.rb
182
- - lib/epc/command/list_deployments_command.rb
183
- - lib/epc/command/list_groups_command.rb
184
- - lib/epc/command/list_libraries_command.rb
185
- - lib/epc/command/list_librarylanguages_command.rb
186
- - lib/epc/command/list_librarysets_command.rb
187
- - lib/epc/command/list_objectroles_command.rb
180
+ - lib/epc/command/libraryset/delete_libraryset_command.rb
181
+ - lib/epc/command/libraryset/list_librarysets_command.rb
182
+ - lib/epc/command/libraryset/show_libraryset_command.rb
183
+ - lib/epc/command/libraryset/update_libraryset_command.rb
184
+ - lib/epc/command/list_command.rb
185
+ - lib/epc/command/list_metrics_command.rb
188
186
  - lib/epc/command/list_objecttypes_command.rb
189
- - lib/epc/command/list_permissiongroups_command.rb
190
- - lib/epc/command/list_projects_command.rb
191
- - lib/epc/command/list_projecttypes_command.rb
192
- - lib/epc/command/list_rolepermissions_command.rb
193
- - lib/epc/command/list_roles_command.rb
194
- - lib/epc/command/list_runtimes_command.rb
195
- - lib/epc/command/list_service_types_command.rb
196
- - lib/epc/command/list_servicedefinitions_command.rb
197
- - lib/epc/command/list_serviceversions_command.rb
198
- - lib/epc/command/list_solutions_command.rb
199
- - lib/epc/command/list_stages_command.rb
200
- - lib/epc/command/list_users_command.rb
201
187
  - lib/epc/command/list_versions_command.rb
202
188
  - lib/epc/command/login_command.rb
203
189
  - lib/epc/command/logout_command.rb
204
190
  - lib/epc/command/objectrole/create_objectrole_command.rb
191
+ - lib/epc/command/objectrole/list_objectroles_command.rb
192
+ - lib/epc/command/objectrole/update_objectrole_command.rb
193
+ - lib/epc/command/permission/list_permissions_command.rb
194
+ - lib/epc/command/permissiongroup/list_permissiongroups_command.rb
195
+ - lib/epc/command/plugin/create_plugin_command.rb
196
+ - lib/epc/command/plugin/delete_plugin_command.rb
197
+ - lib/epc/command/plugin/list_plugins_command.rb
198
+ - lib/epc/command/plugin/show_plugin_command.rb
199
+ - lib/epc/command/plugin/update_plugin_command.rb
200
+ - lib/epc/command/project/archive_project_command.rb
205
201
  - lib/epc/command/project/create_project_command.rb
202
+ - lib/epc/command/project/delete_project_command.rb
203
+ - lib/epc/command/project/list_projects_command.rb
204
+ - lib/epc/command/project/show_project_command.rb
205
+ - lib/epc/command/project/unarchive_project_command.rb
206
+ - lib/epc/command/project/update_project_command.rb
207
+ - lib/epc/command/projecttype/list_projecttypes_command.rb
208
+ - lib/epc/command/projecttype/show_projecttype_command.rb
206
209
  - lib/epc/command/pull_command.rb
207
210
  - lib/epc/command/push_command.rb
208
211
  - lib/epc/command/refresh_solution_command.rb
209
212
  - lib/epc/command/renew_command.rb
210
213
  - lib/epc/command/request_passwordchange_command.rb
211
214
  - lib/epc/command/role/create_role_command.rb
215
+ - lib/epc/command/role/delete_role_command.rb
216
+ - lib/epc/command/role/list_roles_command.rb
217
+ - lib/epc/command/role/show_role_command.rb
218
+ - lib/epc/command/role/update_role_command.rb
219
+ - lib/epc/command/runtime/list_runtimes_command.rb
220
+ - lib/epc/command/servicedefinition/create_servicedefinition_command.rb
221
+ - lib/epc/command/servicedefinition/list_servicedefinitions_command.rb
222
+ - lib/epc/command/servicetype/list_servicetypes_command.rb
212
223
  - lib/epc/command/serviceversion/create_serviceversion_command.rb
213
- - lib/epc/command/show_deployment_command.rb
214
- - lib/epc/command/show_group_command.rb
215
- - lib/epc/command/show_libraryset_command.rb
216
- - lib/epc/command/show_project_command.rb
217
- - lib/epc/command/show_projecttype_command.rb
218
- - lib/epc/command/show_role_command.rb
219
- - lib/epc/command/show_solution_command.rb
220
- - lib/epc/command/show_user_command.rb
224
+ - lib/epc/command/serviceversion/delete_serviceversion_command.rb
225
+ - lib/epc/command/serviceversion/list_serviceversions_command.rb
226
+ - lib/epc/command/show_command.rb
227
+ - lib/epc/command/show_instances_command.rb
228
+ - lib/epc/command/show_metrics_command.rb
229
+ - lib/epc/command/solution/archive_solution_command.rb
221
230
  - lib/epc/command/solution/create_solution_command.rb
231
+ - lib/epc/command/solution/delete_solution_command.rb
222
232
  - lib/epc/command/solution/list_solutions_command.rb
233
+ - lib/epc/command/solution/show_solution_command.rb
234
+ - lib/epc/command/solution/unarchive_solution_command.rb
223
235
  - lib/epc/command/solution/update_solution_command.rb
224
236
  - lib/epc/command/submit_deployment_command.rb
225
237
  - lib/epc/command/target_command.rb
226
- - lib/epc/command/unarchive_project_command.rb
227
- - lib/epc/command/unarchive_solution_command.rb
238
+ - lib/epc/command/unarchive_command.rb
228
239
  - lib/epc/command/unbind_service_command.rb
229
240
  - lib/epc/command/undefine_service_command.rb
230
241
  - lib/epc/command/undeploy_command.rb
231
- - lib/epc/command/update_config_command.rb
232
- - lib/epc/command/update_deploymentproject_command.rb
233
- - lib/epc/command/update_group_command.rb
234
- - lib/epc/command/update_librarylanguage_command.rb
235
- - lib/epc/command/update_libraryset_command.rb
236
- - lib/epc/command/update_project_command.rb
237
- - lib/epc/command/update_role_command.rb
242
+ - lib/epc/command/update_command.rb
238
243
  - lib/epc/command/update_rolepermissions_command.rb
239
- - lib/epc/command/update_solution_command.rb
240
- - lib/epc/command/update_user_command.rb
241
244
  - lib/epc/command/user/create_user_command.rb
245
+ - lib/epc/command/user/delete_user_command.rb
246
+ - lib/epc/command/user/list_users_command.rb
247
+ - lib/epc/command/user/show_user_command.rb
248
+ - lib/epc/command/user/update_user_command.rb
242
249
  - lib/epc/command/vote_deployment_command.rb
243
250
  - lib/epc/config.rb
244
251
  - lib/epc/error/basic_error.rb
@@ -250,6 +257,7 @@ files:
250
257
  - lib/epc/runner.rb
251
258
  - lib/epc/tabular_outputter.rb
252
259
  - lib/epc/version.rb
260
+ - lib/epc/vertical_bar.rb
253
261
  - lib/fixnum.rb
254
262
  - lib/object.rb
255
263
  - test/command/archive_project_command_test.rb
@@ -269,18 +277,19 @@ files:
269
277
  - test/command/create_librarylanguage_command_test.rb
270
278
  - test/command/create_libraryset_command_test.rb
271
279
  - test/command/create_objectrole_command_test.rb
280
+ - test/command/create_plugin_command_test.rb
272
281
  - test/command/create_project_command_test.rb
273
282
  - test/command/create_role_command_test.rb
283
+ - test/command/create_servicedefinition_command_test.rb
274
284
  - test/command/create_serviceversion_command_test.rb
275
285
  - test/command/create_solution_command_test.rb
276
286
  - test/command/create_user_command_test.rb
277
- - test/command/define_service_command_test.rb
278
287
  - test/command/delete_config_command_test.rb
279
288
  - test/command/delete_dependency_command_test.rb
280
- - test/command/delete_group_command_test.rb
281
289
  - test/command/delete_library_command_test.rb
282
290
  - test/command/delete_librarylanguage_command_test.rb
283
291
  - test/command/delete_libraryset_command_test.rb
292
+ - test/command/delete_plugin_command_test.rb
284
293
  - test/command/delete_project_command_test.rb
285
294
  - test/command/delete_role_command_test.rb
286
295
  - test/command/delete_serviceversion_command_test.rb
@@ -289,21 +298,20 @@ files:
289
298
  - test/command/deploy_command_test.rb
290
299
  - test/command/detach_library_command_test.rb
291
300
  - test/command/info_command_test.rb
292
- - test/command/list_approvals_command_test.rb
293
- - test/command/list_boundservices_command_test.rb
294
301
  - test/command/list_config_command_test.rb
295
- - test/command/list_dependencies_command_test.rb
296
302
  - test/command/list_deployments_command_test.rb
297
303
  - test/command/list_deploymentstages_command_test.rb
298
304
  - test/command/list_libraries_command_test.rb
299
305
  - test/command/list_librarylanguages_command_test.rb
300
306
  - test/command/list_librarysets_command_test.rb
307
+ - test/command/list_metrics_command_test.rb
301
308
  - test/command/list_objectroles_command_test.rb
302
309
  - test/command/list_objecttypes_command_test.rb
303
310
  - test/command/list_permissiongroups_command_test.rb
311
+ - test/command/list_permissions_command_test.rb
312
+ - test/command/list_plugins_command_test.rb
304
313
  - test/command/list_projects_command_test.rb
305
314
  - test/command/list_projecttypes_command_test.rb
306
- - test/command/list_rolepermissions_command_test.rb
307
315
  - test/command/list_roles_command_test.rb
308
316
  - test/command/list_runtimes_command_test.rb
309
317
  - test/command/list_service_types_command_test.rb
@@ -319,7 +327,10 @@ files:
319
327
  - test/command/renew_command_test.rb
320
328
  - test/command/request_passwordchange_command_test.rb
321
329
  - test/command/show_group_command_test.rb
330
+ - test/command/show_instances_command_test.rb
322
331
  - test/command/show_libraryset_command_test.rb
332
+ - test/command/show_metrics_command_test.rb
333
+ - test/command/show_plugin_command_test.rb
323
334
  - test/command/show_project_command_test.rb
324
335
  - test/command/show_projecttype_command_test.rb
325
336
  - test/command/show_role_command_test.rb
@@ -332,13 +343,13 @@ files:
332
343
  - test/command/unbind_service_command_test.rb
333
344
  - test/command/undefine_service_command_test.rb
334
345
  - test/command/update_config_command_test.rb
335
- - test/command/update_deploymentproject_command_test.rb
346
+ - test/command/update_deployment_command_test.rb
336
347
  - test/command/update_group_command_test.rb
337
348
  - test/command/update_librarylanguage_command_test.rb
338
349
  - test/command/update_libraryset_command_test.rb
350
+ - test/command/update_plugin_command_test.rb
339
351
  - test/command/update_project_command_test.rb
340
352
  - test/command/update_role_command_test.rb
341
- - test/command/update_rolepermissions_command_test.rb
342
353
  - test/command/update_solution_command_test.rb
343
354
  - test/command/update_user_command_test.rb
344
355
  - test/command/vote_deployment_command_test.rb
@@ -348,32 +359,29 @@ files:
348
359
  - test/test_helper.rb
349
360
  homepage: http://www.agilemethods.com
350
361
  licenses: []
351
-
352
362
  post_install_message:
353
363
  rdoc_options: []
354
-
355
- require_paths:
364
+ require_paths:
356
365
  - lib
357
- required_ruby_version: !ruby/object:Gem::Requirement
366
+ required_ruby_version: !ruby/object:Gem::Requirement
358
367
  none: false
359
- requirements:
360
- - - ">="
361
- - !ruby/object:Gem::Version
362
- version: "0"
363
- required_rubygems_version: !ruby/object:Gem::Requirement
368
+ requirements:
369
+ - - ! '>='
370
+ - !ruby/object:Gem::Version
371
+ version: '0'
372
+ required_rubygems_version: !ruby/object:Gem::Requirement
364
373
  none: false
365
- requirements:
366
- - - ">="
367
- - !ruby/object:Gem::Version
368
- version: "0"
374
+ requirements:
375
+ - - ! '>='
376
+ - !ruby/object:Gem::Version
377
+ version: '0'
369
378
  requirements: []
370
-
371
379
  rubyforge_project:
372
380
  rubygems_version: 1.8.8
373
381
  signing_key:
374
382
  specification_version: 3
375
383
  summary: AgileMethods command line tool to interface with the ePaaS system
376
- test_files:
384
+ test_files:
377
385
  - test/command/archive_project_command_test.rb
378
386
  - test/command/archive_solution_command_test.rb
379
387
  - test/command/attach_library_command_test.rb
@@ -391,18 +399,19 @@ test_files:
391
399
  - test/command/create_librarylanguage_command_test.rb
392
400
  - test/command/create_libraryset_command_test.rb
393
401
  - test/command/create_objectrole_command_test.rb
402
+ - test/command/create_plugin_command_test.rb
394
403
  - test/command/create_project_command_test.rb
395
404
  - test/command/create_role_command_test.rb
405
+ - test/command/create_servicedefinition_command_test.rb
396
406
  - test/command/create_serviceversion_command_test.rb
397
407
  - test/command/create_solution_command_test.rb
398
408
  - test/command/create_user_command_test.rb
399
- - test/command/define_service_command_test.rb
400
409
  - test/command/delete_config_command_test.rb
401
410
  - test/command/delete_dependency_command_test.rb
402
- - test/command/delete_group_command_test.rb
403
411
  - test/command/delete_library_command_test.rb
404
412
  - test/command/delete_librarylanguage_command_test.rb
405
413
  - test/command/delete_libraryset_command_test.rb
414
+ - test/command/delete_plugin_command_test.rb
406
415
  - test/command/delete_project_command_test.rb
407
416
  - test/command/delete_role_command_test.rb
408
417
  - test/command/delete_serviceversion_command_test.rb
@@ -411,21 +420,20 @@ test_files:
411
420
  - test/command/deploy_command_test.rb
412
421
  - test/command/detach_library_command_test.rb
413
422
  - test/command/info_command_test.rb
414
- - test/command/list_approvals_command_test.rb
415
- - test/command/list_boundservices_command_test.rb
416
423
  - test/command/list_config_command_test.rb
417
- - test/command/list_dependencies_command_test.rb
418
424
  - test/command/list_deployments_command_test.rb
419
425
  - test/command/list_deploymentstages_command_test.rb
420
426
  - test/command/list_libraries_command_test.rb
421
427
  - test/command/list_librarylanguages_command_test.rb
422
428
  - test/command/list_librarysets_command_test.rb
429
+ - test/command/list_metrics_command_test.rb
423
430
  - test/command/list_objectroles_command_test.rb
424
431
  - test/command/list_objecttypes_command_test.rb
425
432
  - test/command/list_permissiongroups_command_test.rb
433
+ - test/command/list_permissions_command_test.rb
434
+ - test/command/list_plugins_command_test.rb
426
435
  - test/command/list_projects_command_test.rb
427
436
  - test/command/list_projecttypes_command_test.rb
428
- - test/command/list_rolepermissions_command_test.rb
429
437
  - test/command/list_roles_command_test.rb
430
438
  - test/command/list_runtimes_command_test.rb
431
439
  - test/command/list_service_types_command_test.rb
@@ -441,7 +449,10 @@ test_files:
441
449
  - test/command/renew_command_test.rb
442
450
  - test/command/request_passwordchange_command_test.rb
443
451
  - test/command/show_group_command_test.rb
452
+ - test/command/show_instances_command_test.rb
444
453
  - test/command/show_libraryset_command_test.rb
454
+ - test/command/show_metrics_command_test.rb
455
+ - test/command/show_plugin_command_test.rb
445
456
  - test/command/show_project_command_test.rb
446
457
  - test/command/show_projecttype_command_test.rb
447
458
  - test/command/show_role_command_test.rb
@@ -454,13 +465,13 @@ test_files:
454
465
  - test/command/unbind_service_command_test.rb
455
466
  - test/command/undefine_service_command_test.rb
456
467
  - test/command/update_config_command_test.rb
457
- - test/command/update_deploymentproject_command_test.rb
468
+ - test/command/update_deployment_command_test.rb
458
469
  - test/command/update_group_command_test.rb
459
470
  - test/command/update_librarylanguage_command_test.rb
460
471
  - test/command/update_libraryset_command_test.rb
472
+ - test/command/update_plugin_command_test.rb
461
473
  - test/command/update_project_command_test.rb
462
474
  - test/command/update_role_command_test.rb
463
- - test/command/update_rolepermissions_command_test.rb
464
475
  - test/command/update_solution_command_test.rb
465
476
  - test/command/update_user_command_test.rb
466
477
  - test/command/vote_deployment_command_test.rb
@@ -468,3 +479,4 @@ test_files:
468
479
  - test/successful_test.rb
469
480
  - test/test_files/pom.xml
470
481
  - test/test_helper.rb
482
+ has_rdoc: