openshift-origin-controller 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/COPYRIGHT +1 -0
- data/Gemfile +4 -0
- data/LICENSE +12 -0
- data/README.md +3 -0
- data/Rakefile +9 -0
- data/app/controllers/app_events_controller.rb +115 -0
- data/app/controllers/application_templates_controller.rb +19 -0
- data/app/controllers/applications_controller.rb +214 -0
- data/app/controllers/base_controller.rb +367 -0
- data/app/controllers/cartridges_controller.rb +48 -0
- data/app/controllers/descriptors_controller.rb +23 -0
- data/app/controllers/dns_resolvable_controller.rb +35 -0
- data/app/controllers/domains_controller.rb +156 -0
- data/app/controllers/emb_cart_controller.rb +276 -0
- data/app/controllers/emb_cart_events_controller.rb +52 -0
- data/app/controllers/environment_controller.rb +11 -0
- data/app/controllers/estimates_controller.rb +71 -0
- data/app/controllers/gear_groups_controller.rb +53 -0
- data/app/controllers/gears_controller.rb +70 -0
- data/app/controllers/keys_controller.rb +96 -0
- data/app/controllers/legacy_broker_controller.rb +510 -0
- data/app/controllers/quickstarts_controller.rb +29 -0
- data/app/controllers/user_controller.rb +38 -0
- data/app/helpers/cartridge_helper.rb +25 -0
- data/app/helpers/legacy_broker_helper.rb +21 -0
- data/app/helpers/user_action_logger.rb +38 -0
- data/app/models/application.rb +1718 -0
- data/app/models/application_template.rb +27 -0
- data/app/models/cartridge_cache.rb +51 -0
- data/app/models/cloud_user.rb +334 -0
- data/app/models/component_instance.rb +228 -0
- data/app/models/connection_endpoint.rb +10 -0
- data/app/models/district.rb +210 -0
- data/app/models/domain.rb +234 -0
- data/app/models/gear.rb +376 -0
- data/app/models/group_instance.rb +306 -0
- data/app/models/key.rb +20 -0
- data/app/models/legacy_reply.rb +15 -0
- data/app/models/legacy_request.rb +126 -0
- data/app/models/link.rb +11 -0
- data/app/models/message.rb +10 -0
- data/app/models/name_server_cache.rb +46 -0
- data/app/models/optional_param.rb +12 -0
- data/app/models/param.rb +13 -0
- data/app/models/remote_job.rb +57 -0
- data/app/models/rest_application.rb +126 -0
- data/app/models/rest_application10.rb +106 -0
- data/app/models/rest_application12.rb +124 -0
- data/app/models/rest_application_estimate.rb +12 -0
- data/app/models/rest_application_template.rb +20 -0
- data/app/models/rest_cartridge10.rb +41 -0
- data/app/models/rest_cartridge11.rb +151 -0
- data/app/models/rest_domain.rb +43 -0
- data/app/models/rest_domain10.rb +42 -0
- data/app/models/rest_estimates.rb +16 -0
- data/app/models/rest_gear.rb +14 -0
- data/app/models/rest_gear_group.rb +26 -0
- data/app/models/rest_key.rb +24 -0
- data/app/models/rest_reply.rb +31 -0
- data/app/models/rest_user.rb +43 -0
- data/app/models/result_io.rb +67 -0
- data/app/models/usage_record.rb +37 -0
- data/app/models/validators/app_validator.rb +30 -0
- data/app/models/validators/key_validator.rb +30 -0
- data/app/models/validators/namespace_validator.rb +18 -0
- data/config/routes.rb +36 -0
- data/lib/controller_engine.rb +7 -0
- data/lib/openshift-origin-controller.rb +14 -0
- data/lib/openshift/application_container_proxy.rb +241 -0
- data/lib/openshift/auth_service.rb +101 -0
- data/lib/openshift/data_store.rb +33 -0
- data/lib/openshift/dns_service.rb +41 -0
- data/lib/openshift/mongo_data_store.rb +671 -0
- data/openshift-origin-controller.gemspec +42 -0
- data/rubygem-openshift-origin-controller.spec +274 -0
- data/test/cucumber/application-estimate.feature +25 -0
- data/test/cucumber/cartridge-10gen-mms-agent.feature +28 -0
- data/test/cucumber/cartridge-cron.feature +32 -0
- data/test/cucumber/cartridge-haproxy.feature +31 -0
- data/test/cucumber/cartridge-jenkins-build.feature +12 -0
- data/test/cucumber/cartridge-jenkins-client.feature +10 -0
- data/test/cucumber/cartridge-lifecycle-diy.feature +21 -0
- data/test/cucumber/cartridge-lifecycle-jbossas.feature +61 -0
- data/test/cucumber/cartridge-lifecycle-jbosseap.feature +61 -0
- data/test/cucumber/cartridge-lifecycle-jbossews10.feature +61 -0
- data/test/cucumber/cartridge-lifecycle-jenkins.feature +41 -0
- data/test/cucumber/cartridge-lifecycle-nodejs.feature +59 -0
- data/test/cucumber/cartridge-lifecycle-perl.feature +40 -0
- data/test/cucumber/cartridge-lifecycle-php.feature +106 -0
- data/test/cucumber/cartridge-lifecycle-python.feature +40 -0
- data/test/cucumber/cartridge-lifecycle-ruby18.feature +49 -0
- data/test/cucumber/cartridge-lifecycle-ruby19.feature +41 -0
- data/test/cucumber/cartridge-mongodb.feature +31 -0
- data/test/cucumber/cartridge-mysql.feature +30 -0
- data/test/cucumber/cartridge-php.feature +14 -0
- data/test/cucumber/cartridge-phpmyadmin.feature +32 -0
- data/test/cucumber/cartridge-postgresql.feature +32 -0
- data/test/cucumber/cartridge-runtime-extended-db.feature +64 -0
- data/test/cucumber/cartridge-runtime-extended-jboss.feature +24 -0
- data/test/cucumber/cartridge-runtime-extended-nodejs.feature +21 -0
- data/test/cucumber/cartridge-runtime-extended-perl.feature +18 -0
- data/test/cucumber/cartridge-runtime-extended-php.feature +19 -0
- data/test/cucumber/cartridge-runtime-extended-python.feature +18 -0
- data/test/cucumber/cartridge-runtime-extended-ruby.feature +22 -0
- data/test/cucumber/cartridge-runtime-standard-diy.feature +6 -0
- data/test/cucumber/cartridge-runtime-standard-jbossas.feature +7 -0
- data/test/cucumber/cartridge-runtime-standard-jbosseap.feature +7 -0
- data/test/cucumber/cartridge-runtime-standard-jbossews10.feature +7 -0
- data/test/cucumber/cartridge-runtime-standard-jenkins.feature +8 -0
- data/test/cucumber/cartridge-runtime-standard-nodejs.feature +7 -0
- data/test/cucumber/cartridge-runtime-standard-perl.feature +6 -0
- data/test/cucumber/cartridge-runtime-standard-php.feature +6 -0
- data/test/cucumber/cartridge-runtime-standard-python.feature +6 -0
- data/test/cucumber/cartridge-runtime-standard-ruby.feature +19 -0
- data/test/cucumber/cartridge-switchyard.feature +36 -0
- data/test/cucumber/descriptor.feature +40 -0
- data/test/cucumber/embedded.feature +44 -0
- data/test/cucumber/idler.feature +75 -0
- data/test/cucumber/misc/descriptor/manifest.yml +22 -0
- data/test/cucumber/misc/php/db_test.php +21 -0
- data/test/cucumber/openshift-node.feature +21 -0
- data/test/cucumber/rest-application-templates.feature +31 -0
- data/test/cucumber/rest-applications.feature +431 -0
- data/test/cucumber/rest-cartridge-types.feature +16 -0
- data/test/cucumber/rest-domains.feature +276 -0
- data/test/cucumber/rest-gears.feature +38 -0
- data/test/cucumber/rest-keys.feature +247 -0
- data/test/cucumber/rest-quickstarts.feature +27 -0
- data/test/cucumber/rest-workflow.feature +64 -0
- data/test/cucumber/step_definitions/api_steps.rb +369 -0
- data/test/cucumber/step_definitions/application-estimate-steps.rb +51 -0
- data/test/cucumber/step_definitions/application_steps.rb +215 -0
- data/test/cucumber/step_definitions/cartridge-10gen-mms-agent_steps.rb +11 -0
- data/test/cucumber/step_definitions/cartridge-cron_steps.rb +51 -0
- data/test/cucumber/step_definitions/cartridge-haproxy_steps.rb +30 -0
- data/test/cucumber/step_definitions/cartridge-jenkins_steps.rb +93 -0
- data/test/cucumber/step_definitions/cartridge-lifecycle-nodejs_steps.rb +30 -0
- data/test/cucumber/step_definitions/cartridge-mongodb_steps.rb +60 -0
- data/test/cucumber/step_definitions/cartridge-mysql_steps.rb +56 -0
- data/test/cucumber/step_definitions/cartridge-php_steps.rb +72 -0
- data/test/cucumber/step_definitions/cartridge-postgresql_steps.rb +59 -0
- data/test/cucumber/step_definitions/cartridge-switchyard_steps.rb +29 -0
- data/test/cucumber/step_definitions/client_steps.rb +12 -0
- data/test/cucumber/step_definitions/descriptor_step.rb +32 -0
- data/test/cucumber/step_definitions/idler_steps.rb +37 -0
- data/test/cucumber/step_definitions/node_steps.rb +203 -0
- data/test/cucumber/step_definitions/runtime_steps.rb +547 -0
- data/test/cucumber/step_definitions/runtime_url_steps.rb +46 -0
- data/test/cucumber/step_definitions/trap-user-extended_steps.rb +14 -0
- data/test/cucumber/step_definitions/trap-user_steps.rb +58 -0
- data/test/cucumber/support/00_setup_helper.rb +106 -0
- data/test/cucumber/support/app_helper.rb +243 -0
- data/test/cucumber/support/assertions.rb +52 -0
- data/test/cucumber/support/command_helper.rb +453 -0
- data/test/cucumber/support/dns_helper.rb +54 -0
- data/test/cucumber/support/env.rb +5 -0
- data/test/cucumber/support/process_helper.rb +44 -0
- data/test/cucumber/support/runtime_support.rb +440 -0
- data/test/cucumber/support/unused.rb +27 -0
- data/test/cucumber/support/user_helper.rb +37 -0
- data/test/cucumber/trap-user-extended.feature +53 -0
- data/test/cucumber/trap-user.feature +34 -0
- data/test/ddns/1.168.192-rev.db.init +13 -0
- data/test/ddns/HOWTO.txt +207 -0
- data/test/ddns/Kexample.com.+157+06142.key +1 -0
- data/test/ddns/Kexample.com.+157+06142.private +7 -0
- data/test/ddns/authconfig.rb +14 -0
- data/test/ddns/example.com.db.init +23 -0
- data/test/ddns/example.com.key +4 -0
- data/test/ddns/named.ca +52 -0
- data/test/ddns/named.conf +48 -0
- data/test/ddns/named.empty +10 -0
- data/test/ddns/named.localhost +10 -0
- data/test/ddns/named.loopback +11 -0
- data/test/ddns/named.rfc1912.zones +42 -0
- data/test/ddns/named.root.key +5 -0
- data/test/ddns/named_service.rb +127 -0
- data/test/unit/bind_dns_service_test.rb +167 -0
- data/test/unit/broker_auth_test.rb +28 -0
- metadata +545 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@runtime
|
|
2
|
+
@runtime1
|
|
3
|
+
@jenkins
|
|
4
|
+
Feature: Jenkins Client Embedded Cartridge
|
|
5
|
+
|
|
6
|
+
# See cartridge-jenkins-build for the success Scenario
|
|
7
|
+
Scenario: Add Jenkins Client to one application without Jenkins server available
|
|
8
|
+
Given a new perl-5.10 type application
|
|
9
|
+
When I fail to embed a jenkins-client-1.4 cartridge into the application
|
|
10
|
+
Then the embedded jenkins-client-1.4 cartridge directory will not exist
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@runtime_extended
|
|
2
|
+
@runtime_extended3
|
|
3
|
+
Feature: Cartridge Lifecycle DIY Verification Tests
|
|
4
|
+
Scenario Outline: Application Creation
|
|
5
|
+
Given the libra client tools
|
|
6
|
+
And an accepted node
|
|
7
|
+
When <app_count> <type> applications are created
|
|
8
|
+
Then the applications should be accessible
|
|
9
|
+
|
|
10
|
+
Scenarios: Application Creation diy Scenarios
|
|
11
|
+
| app_count | type |
|
|
12
|
+
| 1 | diy-0.1 |
|
|
13
|
+
|
|
14
|
+
Scenario Outline: Application Destroying
|
|
15
|
+
Given an existing <type> application
|
|
16
|
+
When the application is destroyed
|
|
17
|
+
Then the application should not be accessible
|
|
18
|
+
|
|
19
|
+
Scenarios: Application Destroying Scenarios
|
|
20
|
+
| type |
|
|
21
|
+
| diy-0.1 |
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@runtime_extended
|
|
2
|
+
@runtime_extended2
|
|
3
|
+
@not-origin
|
|
4
|
+
Feature: Cartridge Lifecycle JBossAS Verification Tests
|
|
5
|
+
Scenario Outline: Application Creation
|
|
6
|
+
Given the libra client tools
|
|
7
|
+
And an accepted node
|
|
8
|
+
When <app_count> <type> applications are created
|
|
9
|
+
Then the applications should be accessible
|
|
10
|
+
|
|
11
|
+
Scenarios: Application Creation Scenarios
|
|
12
|
+
| app_count | type |
|
|
13
|
+
| 1 | jbossas-7 |
|
|
14
|
+
|
|
15
|
+
Scenario Outline: Application Modification
|
|
16
|
+
Given an existing <type> application
|
|
17
|
+
When the application is changed
|
|
18
|
+
Then it should be updated successfully
|
|
19
|
+
And the application should be accessible
|
|
20
|
+
|
|
21
|
+
Scenarios: Application Modification Scenarios
|
|
22
|
+
| type |
|
|
23
|
+
| jbossas-7 |
|
|
24
|
+
|
|
25
|
+
Scenario Outline: Application Restarting
|
|
26
|
+
Given an existing <type> application
|
|
27
|
+
When the application is restarted
|
|
28
|
+
Then the application should be accessible
|
|
29
|
+
|
|
30
|
+
Scenarios: Application Restart Scenarios
|
|
31
|
+
| type |
|
|
32
|
+
| jbossas-7 |
|
|
33
|
+
|
|
34
|
+
Scenario Outline: Application Tidy
|
|
35
|
+
Given an existing <type> application
|
|
36
|
+
When I tidy the application
|
|
37
|
+
Then the application should be accessible
|
|
38
|
+
|
|
39
|
+
Scenarios: Application Tidy Scenarios
|
|
40
|
+
| type |
|
|
41
|
+
| jbossas-7 |
|
|
42
|
+
|
|
43
|
+
Scenario Outline: Application Snapshot
|
|
44
|
+
Given an existing <type> application
|
|
45
|
+
When I snapshot the application
|
|
46
|
+
Then the application should be accessible
|
|
47
|
+
When I restore the application
|
|
48
|
+
Then the application should be accessible
|
|
49
|
+
|
|
50
|
+
Scenarios: Application Snapshot Scenarios
|
|
51
|
+
| type |
|
|
52
|
+
| jbossas-7 |
|
|
53
|
+
|
|
54
|
+
Scenario Outline: Application Destroying
|
|
55
|
+
Given an existing <type> application
|
|
56
|
+
When the application is destroyed
|
|
57
|
+
Then the application should not be accessible
|
|
58
|
+
|
|
59
|
+
Scenarios: Application Destroying Scenarios
|
|
60
|
+
| type |
|
|
61
|
+
| jbossas-7 |
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@runtime_extended
|
|
2
|
+
@runtime_extended2
|
|
3
|
+
@not-origin
|
|
4
|
+
Feature: Cartridge Lifecycle JBossEAP Verification Tests
|
|
5
|
+
Scenario Outline: Application Creation
|
|
6
|
+
Given the libra client tools
|
|
7
|
+
And an accepted node
|
|
8
|
+
When <app_count> <type> applications are created
|
|
9
|
+
Then the applications should be accessible
|
|
10
|
+
|
|
11
|
+
Scenarios: Application Creation Scenarios
|
|
12
|
+
| app_count | type |
|
|
13
|
+
| 1 | jbosseap-6.0 |
|
|
14
|
+
|
|
15
|
+
Scenario Outline: Application Modification
|
|
16
|
+
Given an existing <type> application
|
|
17
|
+
When the application is changed
|
|
18
|
+
Then it should be updated successfully
|
|
19
|
+
And the application should be accessible
|
|
20
|
+
|
|
21
|
+
Scenarios: Application Modification Scenarios
|
|
22
|
+
| type |
|
|
23
|
+
| jbosseap-6.0 |
|
|
24
|
+
|
|
25
|
+
Scenario Outline: Application Restarting
|
|
26
|
+
Given an existing <type> application
|
|
27
|
+
When the application is restarted
|
|
28
|
+
Then the application should be accessible
|
|
29
|
+
|
|
30
|
+
Scenarios: Application Restart Scenarios
|
|
31
|
+
| type |
|
|
32
|
+
| jbosseap-6.0 |
|
|
33
|
+
|
|
34
|
+
Scenario Outline: Application Tidy
|
|
35
|
+
Given an existing <type> application
|
|
36
|
+
When I tidy the application
|
|
37
|
+
Then the application should be accessible
|
|
38
|
+
|
|
39
|
+
Scenarios: Application Tidy Scenarios
|
|
40
|
+
| type |
|
|
41
|
+
| jbosseap-6.0 |
|
|
42
|
+
|
|
43
|
+
Scenario Outline: Application Snapshot
|
|
44
|
+
Given an existing <type> application
|
|
45
|
+
When I snapshot the application
|
|
46
|
+
Then the application should be accessible
|
|
47
|
+
When I restore the application
|
|
48
|
+
Then the application should be accessible
|
|
49
|
+
|
|
50
|
+
Scenarios: Application Snapshot Scenarios
|
|
51
|
+
| type |
|
|
52
|
+
| jbosseap-6.0 |
|
|
53
|
+
|
|
54
|
+
Scenario Outline: Application Destroying
|
|
55
|
+
Given an existing <type> application
|
|
56
|
+
When the application is destroyed
|
|
57
|
+
Then the application should not be accessible
|
|
58
|
+
|
|
59
|
+
Scenarios: Application Destroying Scenarios
|
|
60
|
+
| type |
|
|
61
|
+
| jbosseap-6.0 |
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@runtime_extended
|
|
2
|
+
@runtime_extended2
|
|
3
|
+
@not-origin
|
|
4
|
+
Feature: Cartridge Lifecycle JBossEWS1.0 Verification Tests
|
|
5
|
+
Scenario Outline: Application Creation
|
|
6
|
+
Given the libra client tools
|
|
7
|
+
And an accepted node
|
|
8
|
+
When <app_count> <type> applications are created
|
|
9
|
+
Then the applications should be accessible
|
|
10
|
+
|
|
11
|
+
Scenarios: Application Creation Scenarios
|
|
12
|
+
| app_count | type |
|
|
13
|
+
| 1 | jbossews-1.0 |
|
|
14
|
+
|
|
15
|
+
Scenario Outline: Application Modification
|
|
16
|
+
Given an existing <type> application
|
|
17
|
+
When the application is changed
|
|
18
|
+
Then it should be updated successfully
|
|
19
|
+
And the application should be accessible
|
|
20
|
+
|
|
21
|
+
Scenarios: Application Modification Scenarios
|
|
22
|
+
| type |
|
|
23
|
+
| jbossews-1.0 |
|
|
24
|
+
|
|
25
|
+
Scenario Outline: Application Restarting
|
|
26
|
+
Given an existing <type> application
|
|
27
|
+
When the application is restarted
|
|
28
|
+
Then the application should be accessible
|
|
29
|
+
|
|
30
|
+
Scenarios: Application Restart Scenarios
|
|
31
|
+
| type |
|
|
32
|
+
| jbossews-1.0 |
|
|
33
|
+
|
|
34
|
+
Scenario Outline: Application Tidy
|
|
35
|
+
Given an existing <type> application
|
|
36
|
+
When I tidy the application
|
|
37
|
+
Then the application should be accessible
|
|
38
|
+
|
|
39
|
+
Scenarios: Application Tidy Scenarios
|
|
40
|
+
| type |
|
|
41
|
+
| jbossews-1.0 |
|
|
42
|
+
|
|
43
|
+
Scenario Outline: Application Snapshot
|
|
44
|
+
Given an existing <type> application
|
|
45
|
+
When I snapshot the application
|
|
46
|
+
Then the application should be accessible
|
|
47
|
+
When I restore the application
|
|
48
|
+
Then the application should be accessible
|
|
49
|
+
|
|
50
|
+
Scenarios: Application Snapshot Scenarios
|
|
51
|
+
| type |
|
|
52
|
+
| jbossews-1.0 |
|
|
53
|
+
|
|
54
|
+
Scenario Outline: Application Destroying
|
|
55
|
+
Given an existing <type> application
|
|
56
|
+
When the application is destroyed
|
|
57
|
+
Then the application should not be accessible
|
|
58
|
+
|
|
59
|
+
Scenarios: Application Destroying Scenarios
|
|
60
|
+
| type |
|
|
61
|
+
| jbossews-1.0 |
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@runtime_extended
|
|
2
|
+
@runtime_extended3
|
|
3
|
+
@not-origin
|
|
4
|
+
Feature: Cartridge Lifecycle Jenkins Verification Tests
|
|
5
|
+
Scenario Outline: Application Creation
|
|
6
|
+
Given the libra client tools
|
|
7
|
+
And an accepted node
|
|
8
|
+
When <app_count> <type> applications are created
|
|
9
|
+
Then the applications should be accessible
|
|
10
|
+
|
|
11
|
+
Scenarios: Application Creation Scenarios
|
|
12
|
+
| app_count | type |
|
|
13
|
+
| 1 | jenkins-1.4 |
|
|
14
|
+
|
|
15
|
+
Scenario Outline: Application Restarting
|
|
16
|
+
Given an existing <type> application
|
|
17
|
+
When the application is restarted
|
|
18
|
+
Then the application should be accessible
|
|
19
|
+
|
|
20
|
+
Scenarios: Application Restart Scenarios
|
|
21
|
+
| type |
|
|
22
|
+
| jenkins-1.4 |
|
|
23
|
+
|
|
24
|
+
Scenario Outline: Application Change Namespace
|
|
25
|
+
Given an existing <type> application
|
|
26
|
+
When the application namespace is updated
|
|
27
|
+
Then the application should be accessible
|
|
28
|
+
|
|
29
|
+
Scenarios: Application Change Namespace Scenarios
|
|
30
|
+
| type |
|
|
31
|
+
| jenkins-1.4 |
|
|
32
|
+
|
|
33
|
+
Scenario Outline: Application Destroying
|
|
34
|
+
Given an existing <type> application
|
|
35
|
+
And the application should be accessible
|
|
36
|
+
When the application is destroyed
|
|
37
|
+
Then the application should not be accessible
|
|
38
|
+
|
|
39
|
+
Scenarios: Application Destroying Scenarios
|
|
40
|
+
| type |
|
|
41
|
+
| jenkins-1.4 |
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@runtime_extended
|
|
2
|
+
@runtime_extended3
|
|
3
|
+
@not-origin
|
|
4
|
+
Feature: Cartridge Lifecycle NodeJS Verification Tests
|
|
5
|
+
Scenario Outline: Application Creation
|
|
6
|
+
Given the libra client tools
|
|
7
|
+
And an accepted node
|
|
8
|
+
When <app_count> <type> applications are created
|
|
9
|
+
Then the applications should be accessible
|
|
10
|
+
|
|
11
|
+
Scenarios: Application Creation Scenarios
|
|
12
|
+
| app_count | type |
|
|
13
|
+
| 1 | nodejs-0.6 |
|
|
14
|
+
|
|
15
|
+
Scenario Outline: Application Modification
|
|
16
|
+
Given an existing <type> application
|
|
17
|
+
When the application is changed
|
|
18
|
+
Then it should be updated successfully
|
|
19
|
+
And the application should be accessible
|
|
20
|
+
|
|
21
|
+
Scenarios: Application Modification Scenarios
|
|
22
|
+
| type |
|
|
23
|
+
| nodejs-0.6 |
|
|
24
|
+
|
|
25
|
+
Scenario Outline: Application package.json Dependency Add
|
|
26
|
+
Given an existing <type> application
|
|
27
|
+
When I add dependencies to package.json on node modules <modules>
|
|
28
|
+
Then the application will have the <modules> node modules installed
|
|
29
|
+
|
|
30
|
+
Scenarios: Application package.json Dependency Add Scenarios
|
|
31
|
+
| type | modules |
|
|
32
|
+
| nodejs-0.6 | async socket.io coffee-script |
|
|
33
|
+
|
|
34
|
+
Scenario Outline: Application deplist.txt Dependency Add
|
|
35
|
+
Given an existing <type> application
|
|
36
|
+
When I add dependencies to deplist.txt on node modules <modules>
|
|
37
|
+
Then the application will have the <modules> node modules installed
|
|
38
|
+
|
|
39
|
+
Scenarios: Application deplist.txt Dependency Add Scenarios
|
|
40
|
+
| type | modules |
|
|
41
|
+
| nodejs-0.6 | request optimist coffee-script |
|
|
42
|
+
|
|
43
|
+
Scenario Outline: Application Restarting
|
|
44
|
+
Given an existing <type> application
|
|
45
|
+
When the application is restarted
|
|
46
|
+
Then the application should be accessible
|
|
47
|
+
|
|
48
|
+
Scenarios: Application Restart Scenarios
|
|
49
|
+
| type |
|
|
50
|
+
| nodejs-0.6 |
|
|
51
|
+
|
|
52
|
+
Scenario Outline: Application Destroying
|
|
53
|
+
Given an existing <type> application
|
|
54
|
+
When the application is destroyed
|
|
55
|
+
Then the application should not be accessible
|
|
56
|
+
|
|
57
|
+
Scenarios: Application Destroying Scenarios
|
|
58
|
+
| type |
|
|
59
|
+
| nodejs-0.6 |
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@runtime_extended
|
|
2
|
+
@runtime_extended3
|
|
3
|
+
Feature: Cartridge Lifecycle Perl Verification Tests
|
|
4
|
+
Scenario Outline: Application Creation
|
|
5
|
+
Given the libra client tools
|
|
6
|
+
And an accepted node
|
|
7
|
+
When <app_count> <type> applications are created
|
|
8
|
+
Then the applications should be accessible
|
|
9
|
+
|
|
10
|
+
Scenarios: Application Creation Scenarios
|
|
11
|
+
| app_count | type |
|
|
12
|
+
| 1 | perl-5.10 |
|
|
13
|
+
|
|
14
|
+
Scenario Outline: Application Modification
|
|
15
|
+
Given an existing <type> application
|
|
16
|
+
When the application is changed
|
|
17
|
+
Then it should be updated successfully
|
|
18
|
+
And the application should be accessible
|
|
19
|
+
|
|
20
|
+
Scenarios: Application Modification Scenarios
|
|
21
|
+
| type |
|
|
22
|
+
| perl-5.10 |
|
|
23
|
+
|
|
24
|
+
Scenario Outline: Application Restarting
|
|
25
|
+
Given an existing <type> application
|
|
26
|
+
When the application is restarted
|
|
27
|
+
Then the application should be accessible
|
|
28
|
+
|
|
29
|
+
Scenarios: Application Restart Scenarios
|
|
30
|
+
| type |
|
|
31
|
+
| perl-5.10 |
|
|
32
|
+
|
|
33
|
+
Scenario Outline: Application Destroying
|
|
34
|
+
Given an existing <type> application
|
|
35
|
+
When the application is destroyed
|
|
36
|
+
Then the application should not be accessible
|
|
37
|
+
|
|
38
|
+
Scenarios: Application Destroying Scenarios
|
|
39
|
+
| type |
|
|
40
|
+
| perl-5.10 |
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
@runtime
|
|
2
|
+
@runtime4
|
|
3
|
+
Feature: Cartridge Lifecycle PHP Verification Tests
|
|
4
|
+
Scenario Outline: Application Creation
|
|
5
|
+
Given the libra client tools
|
|
6
|
+
And an accepted node
|
|
7
|
+
When <app_count> <type> applications are created
|
|
8
|
+
Then the applications should be accessible
|
|
9
|
+
|
|
10
|
+
Scenarios: Application Creation Scenarios
|
|
11
|
+
| app_count | type |
|
|
12
|
+
| 1 | php-5.3 |
|
|
13
|
+
|
|
14
|
+
Scenario Outline: Server Alias
|
|
15
|
+
Given an existing <type> application
|
|
16
|
+
When the application is aliased
|
|
17
|
+
Then the application should respond to the alias
|
|
18
|
+
|
|
19
|
+
Scenarios: Server Alias Scenarios
|
|
20
|
+
| type |
|
|
21
|
+
| php-5.3 |
|
|
22
|
+
|
|
23
|
+
Scenario Outline: Application Submodule Addition
|
|
24
|
+
Given an existing <type> application
|
|
25
|
+
When the submodule is added
|
|
26
|
+
Then the submodule should be deployed successfully
|
|
27
|
+
And the application should be accessible
|
|
28
|
+
|
|
29
|
+
Scenarios: Application Submodule Addition Scenarios
|
|
30
|
+
| type |
|
|
31
|
+
| php-5.3 |
|
|
32
|
+
|
|
33
|
+
Scenario Outline: Application Modification
|
|
34
|
+
Given an existing <type> application
|
|
35
|
+
When the application is changed
|
|
36
|
+
Then it should be updated successfully
|
|
37
|
+
And the application should be accessible
|
|
38
|
+
|
|
39
|
+
Scenarios: Application Modification Scenarios
|
|
40
|
+
| type |
|
|
41
|
+
| php-5.3 |
|
|
42
|
+
|
|
43
|
+
Scenario Outline: Application Stopping
|
|
44
|
+
Given an existing <type> application
|
|
45
|
+
When the application is stopped
|
|
46
|
+
Then the application should not be accessible
|
|
47
|
+
|
|
48
|
+
Scenarios: Application Stopping Scenarios
|
|
49
|
+
| type |
|
|
50
|
+
| php-5.3 |
|
|
51
|
+
|
|
52
|
+
Scenario Outline: Application Starting
|
|
53
|
+
Given an existing <type> application
|
|
54
|
+
When the application is started
|
|
55
|
+
Then the application should be accessible
|
|
56
|
+
|
|
57
|
+
Scenarios: Application Starting Scenarios
|
|
58
|
+
| type |
|
|
59
|
+
| php-5.3 |
|
|
60
|
+
|
|
61
|
+
Scenario Outline: Application Restarting
|
|
62
|
+
Given an existing <type> application
|
|
63
|
+
When the application is restarted
|
|
64
|
+
Then the application should be accessible
|
|
65
|
+
|
|
66
|
+
Scenarios: Application Restart Scenarios
|
|
67
|
+
| type |
|
|
68
|
+
| php-5.3 |
|
|
69
|
+
|
|
70
|
+
Scenario Outline: Application Tidy
|
|
71
|
+
Given an existing <type> application
|
|
72
|
+
When I tidy the application
|
|
73
|
+
Then the application should be accessible
|
|
74
|
+
|
|
75
|
+
Scenarios: Application Tidy Scenarios
|
|
76
|
+
| type |
|
|
77
|
+
| php-5.3 |
|
|
78
|
+
|
|
79
|
+
Scenario Outline: Application Snapshot
|
|
80
|
+
Given an existing <type> application
|
|
81
|
+
When I snapshot the application
|
|
82
|
+
Then the application should be accessible
|
|
83
|
+
When I restore the application
|
|
84
|
+
Then the application should be accessible
|
|
85
|
+
|
|
86
|
+
Scenarios: Application Snapshot Scenarios
|
|
87
|
+
| type |
|
|
88
|
+
| php-5.3 |
|
|
89
|
+
|
|
90
|
+
Scenario Outline: Application Change Namespace
|
|
91
|
+
Given an existing <type> application
|
|
92
|
+
When the application namespace is updated
|
|
93
|
+
Then the application should be accessible
|
|
94
|
+
|
|
95
|
+
Scenarios: Application Change Namespace Scenarios
|
|
96
|
+
| type |
|
|
97
|
+
| php-5.3 |
|
|
98
|
+
|
|
99
|
+
Scenario Outline: Application Destroying
|
|
100
|
+
Given an existing <type> application
|
|
101
|
+
When the application is destroyed
|
|
102
|
+
Then the application should not be accessible
|
|
103
|
+
|
|
104
|
+
Scenarios: Application Destroying Scenarios
|
|
105
|
+
| type |
|
|
106
|
+
| php-5.3 |
|