openshift-origin-controller 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of openshift-origin-controller might be problematic. Click here for more details.
- 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,42 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
app_dir = File.join(File.join("app", "**"), "*")
|
4
|
+
config_dir = File.join(File.join("config", "**"), "*")
|
5
|
+
$:.push File.expand_path("../lib", __FILE__)
|
6
|
+
lib_dir = File.join(File.join("lib", "**"), "*")
|
7
|
+
test_dir = File.join(File.join("test", "**"), "*")
|
8
|
+
bin_dir = File.join("bin", "*")
|
9
|
+
spec_file = "rubygem-openshift-origin-controller.spec"
|
10
|
+
|
11
|
+
Gem::Specification.new do |s|
|
12
|
+
s.name = "openshift-origin-controller"
|
13
|
+
s.version = `rpm -q --define 'rhel 7' --qf "%{version}\n" --specfile #{spec_file}`.split[0]
|
14
|
+
s.license = `rpm -q --define 'rhel 7' --qf "%{license}\n" --specfile #{spec_file}`.split[0]
|
15
|
+
s.authors = ["Krishna Raman"]
|
16
|
+
s.email = ["kraman@gmail.com"]
|
17
|
+
s.homepage = `rpm -q --define 'rhel 7' --qf "%{url}\n" --specfile #{spec_file}`.split[0]
|
18
|
+
s.summary = `rpm -q --define 'rhel 7' --qf "%{description}\n" --specfile #{spec_file}`.split[0]
|
19
|
+
s.description = `rpm -q --define 'rhel 7' --qf "%{description}\n" --specfile #{spec_file}`.split[0]
|
20
|
+
|
21
|
+
s.rubyforge_project = "openshift-origin-controller"
|
22
|
+
|
23
|
+
s.files = Dir[lib_dir] + Dir[app_dir] + Dir[config_dir]
|
24
|
+
s.test_files = Dir[test_dir]
|
25
|
+
s.executables = Dir[bin_dir]
|
26
|
+
s.files += %w(README.md Rakefile Gemfile rubygem-openshift-origin-controller.spec openshift-origin-controller.gemspec LICENSE COPYRIGHT)
|
27
|
+
s.require_paths = ["lib"]
|
28
|
+
|
29
|
+
s.add_dependency "activesupport", "~> 3.2.8"
|
30
|
+
s.add_dependency "mongo"
|
31
|
+
s.add_dependency "openshift-origin-common"
|
32
|
+
s.add_dependency('state_machine')
|
33
|
+
s.add_dependency('dnsruby')
|
34
|
+
s.add_development_dependency('rake', '>= 0.8.7', '<= 0.9.2.2')
|
35
|
+
s.add_development_dependency('rspec')
|
36
|
+
s.add_development_dependency('bundler')
|
37
|
+
s.add_development_dependency('mocha')
|
38
|
+
s.add_development_dependency('cucumber')
|
39
|
+
s.add_development_dependency('dnsruby')
|
40
|
+
s.add_development_dependency('open4')
|
41
|
+
s.add_development_dependency("json", "1.4.6")
|
42
|
+
end
|
@@ -0,0 +1,274 @@
|
|
1
|
+
%if 0%{?fedora}%{?rhel} <= 6
|
2
|
+
%global scl ruby193
|
3
|
+
%global scl_prefix ruby193-
|
4
|
+
%endif
|
5
|
+
%{!?scl:%global pkg_name %{name}}
|
6
|
+
%{?scl:%scl_package rubygem-%{gem_name}}
|
7
|
+
%global gem_name openshift-origin-controller
|
8
|
+
%global rubyabi 1.9.1
|
9
|
+
|
10
|
+
Summary: Cloud Development Controller
|
11
|
+
Name: rubygem-%{gem_name}
|
12
|
+
Version: 1.3.2
|
13
|
+
Release: 1%{?dist}
|
14
|
+
Group: Development/Languages
|
15
|
+
License: ASL 2.0
|
16
|
+
URL: http://openshift.redhat.com
|
17
|
+
Source0: rubygem-%{gem_name}-%{version}.tar.gz
|
18
|
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
19
|
+
Requires: %{?scl:%scl_prefix}ruby(abi) = %{rubyabi}
|
20
|
+
Requires: %{?scl:%scl_prefix}ruby
|
21
|
+
Requires: %{?scl:%scl_prefix}rubygems
|
22
|
+
Requires: %{?scl:%scl_prefix}rubygem(state_machine)
|
23
|
+
Requires: rubygem(openshift-origin-common)
|
24
|
+
%if 0%{?fedora}%{?rhel} <= 6
|
25
|
+
BuildRequires: ruby193-build
|
26
|
+
BuildRequires: scl-utils-build
|
27
|
+
%endif
|
28
|
+
BuildRequires: %{?scl:%scl_prefix}ruby(abi) = %{rubyabi}
|
29
|
+
BuildRequires: %{?scl:%scl_prefix}ruby
|
30
|
+
BuildRequires: %{?scl:%scl_prefix}rubygems
|
31
|
+
BuildRequires: %{?scl:%scl_prefix}rubygems-devel
|
32
|
+
BuildArch: noarch
|
33
|
+
Provides: rubygem(%{gem_name}) = %version
|
34
|
+
Obsoletes: rubygem-stickshift-controller
|
35
|
+
|
36
|
+
%description
|
37
|
+
This contains the Cloud Development Controller packaged as a rubygem.
|
38
|
+
|
39
|
+
%package doc
|
40
|
+
Summary: Cloud Development Controller docs
|
41
|
+
|
42
|
+
%description doc
|
43
|
+
Cloud Development Controller ri documentation
|
44
|
+
|
45
|
+
%prep
|
46
|
+
%setup -q
|
47
|
+
|
48
|
+
%build
|
49
|
+
%{?scl:scl enable %scl - << \EOF}
|
50
|
+
mkdir -p .%{gem_dir}
|
51
|
+
# Create the gem as gem install only works on a gem file
|
52
|
+
gem build %{gem_name}.gemspec
|
53
|
+
|
54
|
+
gem install -V \
|
55
|
+
--local \
|
56
|
+
--install-dir ./%{gem_dir} \
|
57
|
+
--bindir ./%{_bindir} \
|
58
|
+
--force \
|
59
|
+
--rdoc \
|
60
|
+
%{gem_name}-%{version}.gem
|
61
|
+
%{?scl:EOF}
|
62
|
+
|
63
|
+
%install
|
64
|
+
mkdir -p %{buildroot}%{gem_dir}
|
65
|
+
cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/
|
66
|
+
mkdir -p %{buildroot}/etc/openshift/
|
67
|
+
|
68
|
+
|
69
|
+
%files
|
70
|
+
%doc %{gem_instdir}/Gemfile
|
71
|
+
%doc %{gem_instdir}/LICENSE
|
72
|
+
%doc %{gem_instdir}/README.md
|
73
|
+
%doc %{gem_instdir}/COPYRIGHT
|
74
|
+
%{gem_instdir}
|
75
|
+
%{gem_cache}
|
76
|
+
%{gem_spec}
|
77
|
+
|
78
|
+
%files doc
|
79
|
+
%{gem_dir}/doc/%{gem_name}-%{version}
|
80
|
+
|
81
|
+
%changelog
|
82
|
+
* Tue Dec 18 2012 Adam Miller <admiller@redhat.com> 1.3.2-1
|
83
|
+
- - oo-setup-broker fixes: - Open dns ports for access to DNS server from
|
84
|
+
outside the VM - Turn on SELinux booleans only if they are off (Speeds up
|
85
|
+
re-install) - Added console SELinux booleans - oo-setup-node fixes: -
|
86
|
+
Setup mcollective to use broker IPs - Updates abstract cartridges to set
|
87
|
+
proper order for php-5.4 and postgres-9.1 cartridges - Updated broker to add
|
88
|
+
fedora 17 cartridges - Fixed facts cron job (kraman@gmail.com)
|
89
|
+
|
90
|
+
* Wed Dec 12 2012 Adam Miller <admiller@redhat.com> 1.3.1-1
|
91
|
+
- bump_minor_versions for sprint 22 (admiller@redhat.com)
|
92
|
+
|
93
|
+
* Wed Dec 12 2012 Adam Miller <admiller@redhat.com> 1.2.10-1
|
94
|
+
- Merge pull request #986 from BanzaiMan/dev/hasari/us2975
|
95
|
+
(dmcphers@redhat.com)
|
96
|
+
- 'rhc cartridge add' output format is different (asari.ruby@gmail.com)
|
97
|
+
- The pertinent line changed the output format. (asari.ruby@gmail.com)
|
98
|
+
- Remove cartridge from the command line. (asari.ruby@gmail.com)
|
99
|
+
- Fixed cucmber errors by increasing retry attempts and timeout margins
|
100
|
+
(nhr@redhat.com)
|
101
|
+
- Fix 'rhc domain update' command usage. (asari.ruby@gmail.com)
|
102
|
+
- Upload ssh key before creating app. (asari.ruby@gmail.com)
|
103
|
+
- --state, not --status. (asari.ruby@gmail.com)
|
104
|
+
- 'rhc app create' does not clone repo if dns option is not set.
|
105
|
+
(asari.ruby@gmail.com)
|
106
|
+
- Log timing correctly. (asari.ruby@gmail.com)
|
107
|
+
- Oops. '$' was missing. (asari.ruby@gmail.com)
|
108
|
+
- One more deprecated command that slipped through. (asari.ruby@gmail.com)
|
109
|
+
- Tweak flags further to avoid warnings. (asari.ruby@gmail.com)
|
110
|
+
- Properly invoke 'rhc domain destroy'. (asari.ruby@gmail.com)
|
111
|
+
- First pass at US2795. (asari.ruby@gmail.com)
|
112
|
+
- fix for resultio append (abhgupta@redhat.com)
|
113
|
+
|
114
|
+
* Tue Dec 11 2012 Adam Miller <admiller@redhat.com> 1.2.9-1
|
115
|
+
- fixfor bug#883007 (rchopra@redhat.com)
|
116
|
+
- Merge pull request #1029 from bdecoste/master (openshift+bot@redhat.com)
|
117
|
+
- Merge pull request #1048 from lnader/master (openshift+bot@redhat.com)
|
118
|
+
- Bug 883151 - Broker should return valid error response (lnader@redhat.com)
|
119
|
+
- removed ews2.0 and sy xslt (bdecoste@gmail.com)
|
120
|
+
- remove ews2 tests (bdecoste@gmail.com)
|
121
|
+
- ews2 and bugs (bdecoste@gmail.com)
|
122
|
+
|
123
|
+
* Mon Dec 10 2012 Adam Miller <admiller@redhat.com> 1.2.8-1
|
124
|
+
- Merge pull request #1042 from lnader/master (openshift+bot@redhat.com)
|
125
|
+
- Fix for Bug 885177 (jhonce@redhat.com)
|
126
|
+
- bug fix (lnader@redhat.com)
|
127
|
+
- US3025: Retrieve cartridge info with app (lnader@redhat.com)
|
128
|
+
- Needed a narrower test, \w catches characters invalid in DNS.
|
129
|
+
(rmillner@redhat.com)
|
130
|
+
- Proper host name validation. (rmillner@redhat.com)
|
131
|
+
|
132
|
+
* Fri Dec 07 2012 Adam Miller <admiller@redhat.com> 1.2.7-1
|
133
|
+
- Merge pull request #1035 from abhgupta/abhgupta-dev
|
134
|
+
(openshift+bot@redhat.com)
|
135
|
+
- fix for bugs 883554 and 883752 (abhgupta@redhat.com)
|
136
|
+
|
137
|
+
* Fri Dec 07 2012 Adam Miller <admiller@redhat.com> 1.2.6-1
|
138
|
+
- add debugging to help with issues found in field (dmcphers@redhat.com)
|
139
|
+
|
140
|
+
* Thu Dec 06 2012 Adam Miller <admiller@redhat.com> 1.2.5-1
|
141
|
+
- fix for bug#883007 (rchopra@redhat.com)
|
142
|
+
- fix for bug#883740 - additional storage is reset on scale up/down
|
143
|
+
(rchopra@redhat.com)
|
144
|
+
|
145
|
+
* Wed Dec 05 2012 Adam Miller <admiller@redhat.com> 1.2.4-1
|
146
|
+
- create :default_gear_capabilities conf key for setting default gear
|
147
|
+
capabilities a user has at creation (lmeyer@redhat.com)
|
148
|
+
- Merge pull request #1012 from brenton/dead_code1 (openshift+bot@redhat.com)
|
149
|
+
- Merge pull request #1014 from rajatchopra/master (openshift+bot@redhat.com)
|
150
|
+
- fix bug#883553 - additional_storage param is now additional_gear_storage
|
151
|
+
(rchopra@redhat.com)
|
152
|
+
- Removing some dead code (bleanhar@redhat.com)
|
153
|
+
- updated gemspecs so they work with scl rpm spec files. (tdawson@redhat.com)
|
154
|
+
|
155
|
+
* Tue Dec 04 2012 Adam Miller <admiller@redhat.com> 1.2.3-1
|
156
|
+
- Merge pull request #995 from abhgupta/abhgupta-dev (openshift+bot@redhat.com)
|
157
|
+
- more mco 2.2 changes (dmcphers@redhat.com)
|
158
|
+
- more changes for US3078 (abhgupta@redhat.com)
|
159
|
+
- Move add/remove alias to the node API. (rmillner@redhat.com)
|
160
|
+
- Merge pull request #1001 from pmorie/sooth_ops (openshift+bot@redhat.com)
|
161
|
+
- Remove 'framework' message from Application constructor (pmorie@gmail.com)
|
162
|
+
- fixing mongo connection issues for build (dmcphers@redhat.com)
|
163
|
+
|
164
|
+
* Thu Nov 29 2012 Adam Miller <admiller@redhat.com> 1.2.2-1
|
165
|
+
- changes for US3078 (abhgupta@redhat.com)
|
166
|
+
- Remove unused phpmoadmin cartridge (jhonce@redhat.com)
|
167
|
+
- Bug 880370 (dmcphers@redhat.com)
|
168
|
+
- add oo-ruby (dmcphers@redhat.com)
|
169
|
+
- Merge pull request #945 from smarterclayton/improve_invalid_cart_message
|
170
|
+
(openshift+bot@redhat.com)
|
171
|
+
- Improve the invalid cart message to read more naturally for users, and to
|
172
|
+
better reflect what the user has passed. (ccoleman@redhat.com)
|
173
|
+
- Merge pull request #956 from danmcp/master (openshift+bot@redhat.com)
|
174
|
+
- Merge pull request #954 from abhgupta/abhgupta-dev (openshift+bot@redhat.com)
|
175
|
+
- Merge pull request #953 from rajatchopra/master (dmcphers@redhat.com)
|
176
|
+
- Add method to get the active gears (dmcphers@redhat.com)
|
177
|
+
- Fix for bug 875442 (abhgupta@redhat.com)
|
178
|
+
- reform the get_all_gears call and add capability to reserve a specific uid
|
179
|
+
from a district (rchopra@redhat.com)
|
180
|
+
- Merge pull request #915 from Miciah/devenv-fixes-1 (openshift+bot@redhat.com)
|
181
|
+
- Fix tests to work with remote-user auth (miciah.masters@gmail.com)
|
182
|
+
|
183
|
+
* Sat Nov 17 2012 Adam Miller <admiller@redhat.com> 1.2.1-1
|
184
|
+
- bump_minor_versions for sprint 21 (admiller@redhat.com)
|
185
|
+
|
186
|
+
* Fri Nov 16 2012 Adam Miller <admiller@redhat.com> 1.1.10-1
|
187
|
+
- Bug 877340 (dmcphers@redhat.com)
|
188
|
+
- Merge pull request #913 from
|
189
|
+
smarterclayton/better_gear_limit_message_on_create (openshift+bot@redhat.com)
|
190
|
+
- Bug 876796 (dmcphers@redhat.com)
|
191
|
+
- fix typo (dmcphers@redhat.com)
|
192
|
+
- Return a better error message when the gear limit on app creation is reached.
|
193
|
+
(ccoleman@redhat.com)
|
194
|
+
|
195
|
+
* Thu Nov 15 2012 Adam Miller <admiller@redhat.com> 1.1.9-1
|
196
|
+
- fix broker extended tests (dmcphers@redhat.com)
|
197
|
+
- more ruby1.9 changes (dmcphers@redhat.com)
|
198
|
+
- Merge pull request #911 from rajatchopra/master (openshift+bot@redhat.com)
|
199
|
+
- Merge pull request #910 from jwhonce/dev/bz876687 (openshift+bot@redhat.com)
|
200
|
+
- fix for bug#875258 (rchopra@redhat.com)
|
201
|
+
- Merge pull request #907 from danmcp/master (dmcphers@redhat.com)
|
202
|
+
- remove spurious output (jhonce@redhat.com)
|
203
|
+
- Merge pull request #909 from pravisankar/dev/ravi/us3043_bugs
|
204
|
+
(dmcphers@redhat.com)
|
205
|
+
- Merge pull request #904 from bdecoste/master (openshift+bot@redhat.com)
|
206
|
+
- Bug 876459 (dmcphers@redhat.com)
|
207
|
+
- Fix for bug# 876516 (rpenta@redhat.com)
|
208
|
+
- Fix bug# 876124: caused due to ruby 1.8 to 1.9 upgrade (rpenta@redhat.com)
|
209
|
+
- switchyard tests (bdecoste@gmail.com)
|
210
|
+
|
211
|
+
* Wed Nov 14 2012 Adam Miller <admiller@redhat.com> 1.1.8-1
|
212
|
+
- Merge pull request #906 from ironcladlou/db-test-fixes (dmcphers@redhat.com)
|
213
|
+
- Fix typo resulting in undefined stepdef (ironcladlou@gmail.com)
|
214
|
+
|
215
|
+
* Wed Nov 14 2012 Adam Miller <admiller@redhat.com> 1.1.7-1
|
216
|
+
- Compare retcode as an int rather than string (ironcladlou@gmail.com)
|
217
|
+
- Merge pull request #895 from smarterclayton/us3046_quickstarts_and_app_types
|
218
|
+
(openshift+bot@redhat.com)
|
219
|
+
- Merge remote-tracking branch 'origin/master' into
|
220
|
+
us3046_quickstarts_and_app_types (ccoleman@redhat.com)
|
221
|
+
- Merge remote-tracking branch 'origin/master' into
|
222
|
+
us3046_quickstarts_and_app_types (ccoleman@redhat.com)
|
223
|
+
- Quickstart URLs aren't spec compliant (ccoleman@redhat.com)
|
224
|
+
- Relativize base URL (ccoleman@redhat.com)
|
225
|
+
- Support COMMUNITY_QUICKSTARTS_URL parameter for serving hardcoded quickstarts
|
226
|
+
vs. public quickstarts, and test that these values are returned.
|
227
|
+
(ccoleman@redhat.com)
|
228
|
+
- US3046: Allow quickstarts to show up in the UI (ccoleman@redhat.com)
|
229
|
+
|
230
|
+
* Wed Nov 14 2012 Adam Miller <admiller@redhat.com> 1.1.6-1
|
231
|
+
- fix testdescriptor generator (dmcphers@redhat.com)
|
232
|
+
- get the broker working again (dmcphers@redhat.com)
|
233
|
+
- Move trap-user.feature and trap-user-extended.feature to origin-server
|
234
|
+
(pmorie@gmail.com)
|
235
|
+
- Test support and nodejs test fixes for Ruby 1.9 (ironcladlou@gmail.com)
|
236
|
+
- fixing tests (dmcphers@redhat.com)
|
237
|
+
- Remove hard-coded ruby references (ironcladlou@gmail.com)
|
238
|
+
- add config to gemspec (dmcphers@redhat.com)
|
239
|
+
- Moving plugins to Rails 3.2.8 engine (kraman@gmail.com)
|
240
|
+
- Ruby 1.9 compatibility fixes (ironcladlou@gmail.com)
|
241
|
+
- getting specs up to 1.9 sclized (dmcphers@redhat.com)
|
242
|
+
- Merge pull request #894 from jwhonce/master (openshift+bot@redhat.com)
|
243
|
+
- Merge pull request #888 from pravisankar/dev/ravi/bug/876124
|
244
|
+
(dmcphers@redhat.com)
|
245
|
+
- Fix for Bug# 876124 (rpenta@redhat.com)
|
246
|
+
- Move idler tests to origin-server (jhonce@redhat.com)
|
247
|
+
- specifying rake gem version range (abhgupta@redhat.com)
|
248
|
+
|
249
|
+
* Tue Nov 13 2012 Adam Miller <admiller@redhat.com> 1.1.5-1
|
250
|
+
- specifying mocha gem version and fixing tests (abhgupta@redhat.com)
|
251
|
+
|
252
|
+
* Mon Nov 12 2012 Adam Miller <admiller@redhat.com> 1.1.4-1
|
253
|
+
- Merge pull request #859 from lnader/master (openshift+bot@redhat.com)
|
254
|
+
- US3043: store initial_git_url (lnader@redhat.com)
|
255
|
+
- US3043: Allow applications to be created from adhoc application templates
|
256
|
+
(lnader@redhat.com)
|
257
|
+
|
258
|
+
* Thu Nov 08 2012 Adam Miller <admiller@redhat.com> 1.1.3-1
|
259
|
+
- Merge pull request #845 from brenton/BZ873992-origin
|
260
|
+
(openshift+bot@redhat.com)
|
261
|
+
- Merge pull request #844 from jwhonce/dev/bz873810 (openshift+bot@redhat.com)
|
262
|
+
- Bug 873992 - [onpremise][Client]Should delete all the prompts about
|
263
|
+
mongodb-2.2 cartridge. (bleanhar@redhat.com)
|
264
|
+
- Merge pull request #839 from pravisankar/dev/ravi/fix-env-controller-auth
|
265
|
+
(openshift+bot@redhat.com)
|
266
|
+
- Disable auth for environment controller (rpenta@redhat.com)
|
267
|
+
- Fix for Bug 873810 (jhonce@redhat.com)
|
268
|
+
- fixing origin tests (abhgupta@redhat.com)
|
269
|
+
|
270
|
+
* Thu Nov 01 2012 Adam Miller <admiller@redhat.com> 1.1.2-1
|
271
|
+
- Merge pull request #815 from pravisankar/dev/ravi/fix_nameserver_resolver
|
272
|
+
(openshift+bot@redhat.com)
|
273
|
+
- Fix name server cache: query up the chain to find dns resolver nameservers
|
274
|
+
(rpenta@redhat.com)
|
@@ -0,0 +1,25 @@
|
|
1
|
+
@broker_api
|
2
|
+
@broker_api1
|
3
|
+
Feature: Application estimate
|
4
|
+
As an OpenShift user
|
5
|
+
Given an application descriptor, I should be able to estimate gear usage and
|
6
|
+
list of components that will reside on each gear before creating the application.
|
7
|
+
|
8
|
+
Scenario: Estimate application gear usage
|
9
|
+
Given a new user
|
10
|
+
And I accept "JSON"
|
11
|
+
When I provide application descriptor with name 'TestApp1' and dependencies:'php-5.3,mysql-5.1' and groups:''
|
12
|
+
Then the response should be "200"
|
13
|
+
|
14
|
+
Scenario: Estimate application gear usage when groups are explicitly specified
|
15
|
+
Given a new user
|
16
|
+
And I accept "JSON"
|
17
|
+
When I provide application descriptor with name 'TestApp2' and dependencies:'php-5.3,mysql-5.1' and groups:'php-5.3;mysql-5.1'
|
18
|
+
Then the response should be "200"
|
19
|
+
And should get 1 gears
|
20
|
+
And should get 1 gear with 'php-5.3,mysql-5.1' components
|
21
|
+
#FIXME: once group override is enabled, this scenario will fail and
|
22
|
+
# the correct expected result is given below
|
23
|
+
# And should get 2 gears
|
24
|
+
# And should get 1 gear with 'php-5.3' component
|
25
|
+
# And should get 1 gear with 'mysql-5.1' component
|
@@ -0,0 +1,28 @@
|
|
1
|
+
@runtime
|
2
|
+
@runtime1
|
3
|
+
Feature: 10gen-mms-agent Embedded Cartridge
|
4
|
+
|
5
|
+
Scenario: Add Remove 10gen-mms-agent to one application
|
6
|
+
Given a new perl-5.10 type application
|
7
|
+
And I embed a mongodb-2.2 cartridge into the application
|
8
|
+
And an agent settings.py file is created
|
9
|
+
And I embed a 10gen-mms-agent-0.1 cartridge into the application
|
10
|
+
|
11
|
+
Then 1 process named python will be running
|
12
|
+
And the embedded 10gen-mms-agent-0.1 cartridge subdirectory named mms-agent will exist
|
13
|
+
And the embedded 10gen-mms-agent-0.1 cartridge log files will exist
|
14
|
+
And the embedded 10gen-mms-agent-0.1 cartridge control script will not exist
|
15
|
+
|
16
|
+
When I stop the 10gen-mms-agent-0.1 cartridge
|
17
|
+
Then 0 processes named python will be running
|
18
|
+
|
19
|
+
When I start the 10gen-mms-agent-0.1 cartridge
|
20
|
+
Then 1 processes named python will be running
|
21
|
+
|
22
|
+
When I restart the 10gen-mms-agent-0.1 cartridge
|
23
|
+
Then 1 processes named python will be running
|
24
|
+
|
25
|
+
When I destroy the application
|
26
|
+
Then 0 processes named python will be running
|
27
|
+
And the embedded 10gen-mms-agent-0.1 cartridge subdirectory named mms-agent will not exist
|
28
|
+
And the embedded 10gen-mms-agent-0.1 cartridge log files will not exist
|
@@ -0,0 +1,32 @@
|
|
1
|
+
@runtime
|
2
|
+
@runtime1
|
3
|
+
Feature: cron Embedded Cartridge
|
4
|
+
|
5
|
+
Scenario: Add Remove cron to one application
|
6
|
+
# Change back the perl-5.10 when refactor is done
|
7
|
+
Given a new php-5.3 type application
|
8
|
+
And I embed a cron-1.4 cartridge into the application
|
9
|
+
And cron is running
|
10
|
+
|
11
|
+
Then the embedded cron-1.4 cartridge directory will exist
|
12
|
+
And the embedded cron-1.4 cartridge subdirectory named log will exist
|
13
|
+
And the embedded cron-1.4 cartridge subdirectory named run will exist
|
14
|
+
And cron jobs will be enabled
|
15
|
+
|
16
|
+
When I stop the cron-1.4 cartridge
|
17
|
+
Then cron jobs will not be enabled
|
18
|
+
And cron is stopped
|
19
|
+
|
20
|
+
When I start the cron-1.4 cartridge
|
21
|
+
Then cron jobs will be enabled
|
22
|
+
And cron is running
|
23
|
+
|
24
|
+
When I restart the cron-1.4 cartridge
|
25
|
+
Then cron jobs will be enabled
|
26
|
+
|
27
|
+
When I destroy the application
|
28
|
+
Then cron is stopped
|
29
|
+
And the embedded cron-1.4 cartridge directory will not exist
|
30
|
+
And the embedded cron-1.4 cartridge subdirectory named log will not exist
|
31
|
+
And the embedded cron-1.4 cartridge control script will not exist
|
32
|
+
And the embedded cron-1.4 cartridge subdirectory named run will not exist
|
@@ -0,0 +1,31 @@
|
|
1
|
+
@runtime
|
2
|
+
@runtime3
|
3
|
+
@not-origin
|
4
|
+
Feature: HAProxy Application Sub-Cartridge
|
5
|
+
|
6
|
+
Scenario Outline: Create Delete one application with haproxy
|
7
|
+
Given a new <type> type application
|
8
|
+
Then a <proc_name> process will be running
|
9
|
+
|
10
|
+
When I embed a haproxy-1.4 cartridge into the application
|
11
|
+
Then 1 process named haproxy will be running
|
12
|
+
And the embedded haproxy-1.4 cartridge directory will exist
|
13
|
+
And the haproxy configuration file will exist
|
14
|
+
And the haproxy PATH override will exist
|
15
|
+
|
16
|
+
When I destroy the application
|
17
|
+
Then 0 processes named haproxy will be running
|
18
|
+
And a <proc_name> process will not be running
|
19
|
+
And the embedded haproxy-1.4 cartridge directory will not exist
|
20
|
+
And the haproxy configuration file will not exist
|
21
|
+
|
22
|
+
Scenarios: Create Delete Application With haproxy Scenarios
|
23
|
+
| type | proc_name |
|
24
|
+
| php-5.3 | httpd |
|
25
|
+
| perl-5.10 | httpd |
|
26
|
+
| python-2.6 | httpd |
|
27
|
+
| ruby-1.8 | httpd |
|
28
|
+
| ruby-1.9 | httpd |
|
29
|
+
| nodejs-0.6 | node |
|
30
|
+
| jbossas-7 | java |
|
31
|
+
| jbosseap-6.0 | java |
|
@@ -0,0 +1,12 @@
|
|
1
|
+
@jenkins
|
2
|
+
@runtime_extended1
|
3
|
+
@not-origin
|
4
|
+
Feature: Jenkins Application
|
5
|
+
Scenario: Create and Deploy a DIY and Jenkins Application
|
6
|
+
Given the libra client tools
|
7
|
+
And an accepted node
|
8
|
+
|
9
|
+
When I configure a hello_world diy application with jenkins enabled
|
10
|
+
And I push an update to the diy application
|
11
|
+
Then the application will be updated
|
12
|
+
Then I deconfigure the diy application with jenkins enabled
|