epc 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/epc.rb +71 -54
- data/lib/epc/command/archive_command.rb +12 -0
- data/lib/epc/command/attach_libraryset_command.rb +1 -2
- data/lib/epc/command/attach_runtime_command.rb +0 -1
- data/lib/epc/command/base_command.rb +52 -63
- data/lib/epc/command/config/delete_config_command.rb +57 -0
- data/lib/epc/command/{list_config_command.rb → config/list_configs_command.rb} +1 -1
- data/lib/epc/command/config/update_config_command.rb +56 -0
- data/lib/epc/command/create_command.rb +0 -1
- data/lib/epc/command/delete_command.rb +16 -0
- data/lib/epc/command/{delete_dependency_command.rb → dependency/delete_dependency_command.rb} +14 -16
- data/lib/epc/command/deploy_command.rb +1 -2
- data/lib/epc/command/deployment/list_deployments_command.rb +49 -0
- data/lib/epc/command/deployment/show_deployment_command.rb +61 -0
- data/lib/epc/command/{update_deploymentproject_command.rb → deployment/update_deployment_command.rb} +3 -3
- data/lib/epc/command/{list_stages_command.rb → deploymentstage/list_deploymentstages_command.rb} +1 -1
- data/lib/epc/command/group/delete_group_command.rb +25 -0
- data/lib/epc/command/{list_groups_command.rb → group/list_groups_command.rb} +1 -1
- data/lib/epc/command/{show_group_command.rb → group/show_group_command.rb} +2 -9
- data/lib/epc/command/{update_group_command.rb → group/update_group_command.rb} +3 -20
- data/lib/epc/command/library/create_library_command.rb +2 -5
- data/lib/epc/command/library/delete_library_command.rb +23 -0
- data/lib/epc/command/{list_libraries_command.rb → library/list_libraries_command.rb} +1 -1
- data/lib/epc/command/librarylanguage/delete_librarylanguage_command.rb +24 -0
- data/lib/epc/command/{list_librarylanguages_command.rb → librarylanguage/list_librarylanguages_command.rb} +1 -1
- data/lib/epc/command/{update_librarylanguage_command.rb → librarylanguage/update_librarylanguage_command.rb} +6 -10
- data/lib/epc/command/libraryset/create_libraryset_command.rb +1 -6
- data/lib/epc/command/{delete_libraryset_command.rb → libraryset/delete_libraryset_command.rb} +2 -18
- data/lib/epc/command/{list_librarysets_command.rb → libraryset/list_librarysets_command.rb} +1 -1
- data/lib/epc/command/{show_libraryset_command.rb → libraryset/show_libraryset_command.rb} +2 -17
- data/lib/epc/command/{update_libraryset_command.rb → libraryset/update_libraryset_command.rb} +4 -16
- data/lib/epc/command/list_command.rb +22 -0
- data/lib/epc/command/list_metrics_command.rb +25 -0
- data/lib/epc/command/list_objecttypes_command.rb +2 -4
- data/lib/epc/command/list_versions_command.rb +0 -1
- data/lib/epc/command/{list_objectroles_command.rb → objectrole/list_objectroles_command.rb} +3 -3
- data/lib/epc/command/objectrole/update_objectrole_command.rb +14 -0
- data/lib/epc/command/{list_rolepermissions_command.rb → permission/list_permissions_command.rb} +2 -2
- data/lib/epc/command/{list_permissiongroups_command.rb → permissiongroup/list_permissiongroups_command.rb} +1 -1
- data/lib/epc/command/plugin/create_plugin_command.rb +42 -0
- data/lib/epc/command/plugin/delete_plugin_command.rb +26 -0
- data/lib/epc/command/plugin/list_plugins_command.rb +19 -0
- data/lib/epc/command/plugin/show_plugin_command.rb +29 -0
- data/lib/epc/command/plugin/update_plugin_command.rb +53 -0
- data/lib/epc/command/{archive_project_command.rb → project/archive_project_command.rb} +4 -3
- data/lib/epc/command/{delete_project_command.rb → project/delete_project_command.rb} +11 -7
- data/lib/epc/command/{list_projects_command.rb → project/list_projects_command.rb} +8 -9
- data/lib/epc/command/{show_project_command.rb → project/show_project_command.rb} +64 -29
- data/lib/epc/command/{unarchive_project_command.rb → project/unarchive_project_command.rb} +5 -4
- data/lib/epc/command/{update_project_command.rb → project/update_project_command.rb} +11 -5
- data/lib/epc/command/{list_projecttypes_command.rb → projecttype/list_projecttypes_command.rb} +1 -1
- data/lib/epc/command/{show_projecttype_command.rb → projecttype/show_projecttype_command.rb} +4 -3
- data/lib/epc/command/pull_command.rb +33 -35
- data/lib/epc/command/{delete_role_command.rb → role/delete_role_command.rb} +3 -4
- data/lib/epc/command/{list_roles_command.rb → role/list_roles_command.rb} +4 -3
- data/lib/epc/command/{show_role_command.rb → role/show_role_command.rb} +18 -10
- data/lib/epc/command/role/update_role_command.rb +95 -0
- data/lib/epc/command/{list_runtimes_command.rb → runtime/list_runtimes_command.rb} +0 -0
- data/lib/epc/command/servicedefinition/create_servicedefinition_command.rb +23 -0
- data/lib/epc/command/{list_servicedefinitions_command.rb → servicedefinition/list_servicedefinitions_command.rb} +1 -0
- data/lib/epc/command/{list_service_types_command.rb → servicetype/list_servicetypes_command.rb} +0 -0
- data/lib/epc/command/serviceversion/delete_serviceversion_command.rb +24 -0
- data/lib/epc/command/{list_serviceversions_command.rb → serviceversion/list_serviceversions_command.rb} +1 -1
- data/lib/epc/command/show_command.rb +27 -0
- data/lib/epc/command/show_instances_command.rb +33 -0
- data/lib/epc/command/show_metrics_command.rb +55 -0
- data/lib/epc/command/{archive_solution_command.rb → solution/archive_solution_command.rb} +2 -1
- data/lib/epc/command/solution/create_solution_command.rb +0 -1
- data/lib/epc/command/{delete_solution_command.rb → solution/delete_solution_command.rb} +5 -10
- data/lib/epc/command/solution/list_solutions_command.rb +1 -1
- data/lib/epc/command/{show_solution_command.rb → solution/show_solution_command.rb} +12 -7
- data/lib/epc/command/{unarchive_solution_command.rb → solution/unarchive_solution_command.rb} +1 -1
- data/lib/epc/command/solution/update_solution_command.rb +2 -1
- data/lib/epc/command/unarchive_command.rb +12 -0
- data/lib/epc/command/update_command.rb +15 -0
- data/lib/epc/command/update_rolepermissions_command.rb +2 -2
- data/lib/epc/command/{delete_user_command.rb → user/delete_user_command.rb} +4 -12
- data/lib/epc/command/{list_users_command.rb → user/list_users_command.rb} +1 -1
- data/lib/epc/command/{show_user_command.rb → user/show_user_command.rb} +3 -17
- data/lib/epc/command/{update_user_command.rb → user/update_user_command.rb} +2 -4
- data/lib/epc/config.rb +4 -1
- data/lib/epc/help.rb +50 -35
- data/lib/epc/runner.rb +16 -5
- data/lib/epc/version.rb +1 -1
- data/lib/epc/vertical_bar.rb +40 -0
- data/test/command/create_library_command_test.rb +5 -2
- data/test/command/create_libraryset_command_test.rb +1 -1
- data/test/command/create_plugin_command_test.rb +44 -0
- data/test/command/create_servicedefinition_command_test.rb +43 -0
- data/test/command/delete_config_command_test.rb +0 -11
- data/test/command/delete_dependency_command_test.rb +3 -11
- data/test/command/delete_library_command_test.rb +2 -15
- data/test/command/delete_librarylanguage_command_test.rb +2 -24
- data/test/command/delete_libraryset_command_test.rb +2 -24
- data/test/command/delete_plugin_command_test.rb +32 -0
- data/test/command/delete_project_command_test.rb +0 -6
- data/test/command/delete_role_command_test.rb +1 -1
- data/test/command/delete_serviceversion_command_test.rb +0 -22
- data/test/command/delete_solution_command_test.rb +4 -4
- data/test/command/delete_user_command_test.rb +2 -24
- data/test/command/list_config_command_test.rb +3 -3
- data/test/command/list_deployments_command_test.rb +17 -20
- data/test/command/list_deploymentstages_command_test.rb +2 -2
- data/test/command/list_metrics_command_test.rb +40 -0
- data/test/command/{list_rolepermissions_command_test.rb → list_permissions_command_test.rb} +2 -2
- data/test/command/list_plugins_command_test.rb +27 -0
- data/test/command/list_projects_command_test.rb +3 -5
- data/test/command/list_roles_command_test.rb +2 -3
- data/test/command/pull_command_test.rb +13 -9
- data/test/command/show_group_command_test.rb +1 -23
- data/test/command/show_instances_command_test.rb +33 -0
- data/test/command/show_libraryset_command_test.rb +0 -11
- data/test/command/show_metrics_command_test.rb +51 -0
- data/test/command/show_plugin_command_test.rb +28 -0
- data/test/command/show_project_command_test.rb +1 -1
- data/test/command/show_projecttype_command_test.rb +0 -5
- data/test/command/show_role_command_test.rb +1 -1
- data/test/command/show_solution_command_test.rb +1 -1
- data/test/command/show_user_command_test.rb +2 -22
- data/test/command/update_config_command_test.rb +3 -9
- data/test/command/{update_deploymentproject_command_test.rb → update_deployment_command_test.rb} +6 -11
- data/test/command/update_group_command_test.rb +1 -20
- data/test/command/update_librarylanguage_command_test.rb +0 -15
- data/test/command/update_libraryset_command_test.rb +0 -13
- data/test/command/update_plugin_command_test.rb +41 -0
- data/test/command/update_project_command_test.rb +3 -3
- data/test/command/update_role_command_test.rb +2 -1
- data/test/command/update_solution_command_test.rb +3 -9
- data/test/command/update_user_command_test.rb +0 -6
- metadata +177 -165
- data/lib/epc/command/define_service_command.rb +0 -37
- data/lib/epc/command/delete_config_command.rb +0 -63
- data/lib/epc/command/delete_group_command.rb +0 -40
- data/lib/epc/command/delete_library_command.rb +0 -30
- data/lib/epc/command/delete_librarylanguage_command.rb +0 -40
- data/lib/epc/command/delete_serviceversion_command.rb +0 -52
- data/lib/epc/command/list_approvals_command.rb +0 -27
- data/lib/epc/command/list_attachedlibraries_command.rb +0 -42
- data/lib/epc/command/list_boundservices_command.rb +0 -40
- data/lib/epc/command/list_dependencies_command.rb +0 -43
- data/lib/epc/command/list_deployments_command.rb +0 -68
- data/lib/epc/command/list_solutions_command.rb +0 -25
- data/lib/epc/command/show_deployment_command.rb +0 -57
- data/lib/epc/command/update_config_command.rb +0 -62
- data/lib/epc/command/update_role_command.rb +0 -47
- data/lib/epc/command/update_solution_command.rb +0 -45
- data/test/command/define_service_command_test.rb +0 -55
- data/test/command/delete_group_command_test.rb +0 -56
- data/test/command/list_approvals_command_test.rb +0 -41
- data/test/command/list_boundservices_command_test.rb +0 -46
- data/test/command/list_dependencies_command_test.rb +0 -46
- data/test/command/update_rolepermissions_command_test.rb +0 -54
data/test/command/{update_deploymentproject_command_test.rb → update_deployment_command_test.rb}
RENAMED
@@ -1,20 +1,15 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
|
-
class
|
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::
|
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::
|
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::
|
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(:
|
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(:
|
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
|
-
|
14
|
-
|
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
|
-
|
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:
|
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
|
-
|
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
|
-
|
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:
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
125
|
-
|
126
|
-
|
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/
|
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/
|
157
|
-
- lib/epc/command/
|
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/
|
178
|
-
- lib/epc/command/
|
179
|
-
- lib/epc/command/
|
180
|
-
- lib/epc/command/
|
181
|
-
- lib/epc/command/
|
182
|
-
- lib/epc/command/
|
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/
|
214
|
-
- lib/epc/command/
|
215
|
-
- lib/epc/command/
|
216
|
-
- lib/epc/command/
|
217
|
-
- lib/epc/command/
|
218
|
-
- lib/epc/command/
|
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/
|
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/
|
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/
|
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:
|
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:
|
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/
|
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:
|