new_cfoundry 4.8.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.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.gitmodules +3 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +11 -0
- data/Checkfile +2 -0
- data/Gemfile +3 -0
- data/LICENSE +987 -0
- data/NOTICE +10 -0
- data/README.md +9 -0
- data/Rakefile +14 -0
- data/VERSION +1 -0
- data/cfoundry.gemspec +40 -0
- data/config/locales/en.yml +168 -0
- data/lib/cc_api_stub/app_usage_events.rb +11 -0
- data/lib/cc_api_stub/applications.rb +57 -0
- data/lib/cc_api_stub/domains.rb +32 -0
- data/lib/cc_api_stub/events.rb +11 -0
- data/lib/cc_api_stub/frameworks.rb +22 -0
- data/lib/cc_api_stub/helper.rb +148 -0
- data/lib/cc_api_stub/login.rb +21 -0
- data/lib/cc_api_stub/organization_users.rb +27 -0
- data/lib/cc_api_stub/organizations.rb +82 -0
- data/lib/cc_api_stub/routes.rb +26 -0
- data/lib/cc_api_stub/runtimes.rb +22 -0
- data/lib/cc_api_stub/service_bindings.rb +22 -0
- data/lib/cc_api_stub/service_instances.rb +22 -0
- data/lib/cc_api_stub/services.rb +21 -0
- data/lib/cc_api_stub/space_users.rb +27 -0
- data/lib/cc_api_stub/spaces.rb +58 -0
- data/lib/cc_api_stub/users.rb +85 -0
- data/lib/cc_api_stub.rb +20 -0
- data/lib/cfoundry/auth_token.rb +63 -0
- data/lib/cfoundry/baseclient.rb +216 -0
- data/lib/cfoundry/chatty_hash.rb +46 -0
- data/lib/cfoundry/client.rb +42 -0
- data/lib/cfoundry/concerns/login_helpers.rb +14 -0
- data/lib/cfoundry/concerns/proxy_options.rb +17 -0
- data/lib/cfoundry/errors.rb +163 -0
- data/lib/cfoundry/rest_client.rb +317 -0
- data/lib/cfoundry/test_support.rb +3 -0
- data/lib/cfoundry/trace_helpers.rb +64 -0
- data/lib/cfoundry/uaaclient.rb +160 -0
- data/lib/cfoundry/upload_helpers.rb +222 -0
- data/lib/cfoundry/v2/app.rb +303 -0
- data/lib/cfoundry/v2/app_event.rb +13 -0
- data/lib/cfoundry/v2/app_instance.rb +74 -0
- data/lib/cfoundry/v2/app_usage_event.rb +14 -0
- data/lib/cfoundry/v2/base.rb +108 -0
- data/lib/cfoundry/v2/client.rb +104 -0
- data/lib/cfoundry/v2/domain.rb +20 -0
- data/lib/cfoundry/v2/event.rb +17 -0
- data/lib/cfoundry/v2/helper.rb +11 -0
- data/lib/cfoundry/v2/managed_service_instance.rb +12 -0
- data/lib/cfoundry/v2/model.rb +211 -0
- data/lib/cfoundry/v2/model_magic/attribute.rb +49 -0
- data/lib/cfoundry/v2/model_magic/client_extensions.rb +170 -0
- data/lib/cfoundry/v2/model_magic/has_summary.rb +49 -0
- data/lib/cfoundry/v2/model_magic/query_multi_value_helper.rb +21 -0
- data/lib/cfoundry/v2/model_magic/query_value_helper.rb +33 -0
- data/lib/cfoundry/v2/model_magic/queryable_by.rb +39 -0
- data/lib/cfoundry/v2/model_magic/to_many.rb +138 -0
- data/lib/cfoundry/v2/model_magic/to_one.rb +81 -0
- data/lib/cfoundry/v2/model_magic.rb +134 -0
- data/lib/cfoundry/v2/organization.rb +44 -0
- data/lib/cfoundry/v2/quota_definition.rb +12 -0
- data/lib/cfoundry/v2/route.rb +25 -0
- data/lib/cfoundry/v2/service.rb +22 -0
- data/lib/cfoundry/v2/service_auth_token.rb +9 -0
- data/lib/cfoundry/v2/service_binding.rb +10 -0
- data/lib/cfoundry/v2/service_broker.rb +12 -0
- data/lib/cfoundry/v2/service_instance.rb +14 -0
- data/lib/cfoundry/v2/service_plan.rb +16 -0
- data/lib/cfoundry/v2/space.rb +30 -0
- data/lib/cfoundry/v2/stack.rb +10 -0
- data/lib/cfoundry/v2/user.rb +93 -0
- data/lib/cfoundry/v2/user_provided_service_instance.rb +15 -0
- data/lib/cfoundry/validator.rb +41 -0
- data/lib/cfoundry/version.rb +4 -0
- data/lib/cfoundry/zip.rb +56 -0
- data/lib/cfoundry.rb +5 -0
- data/release_notes/release_1_5_3.md +177 -0
- data/release_notes/release_2.3.1.md +14 -0
- data/release_notes/release_2.3.3.md +38 -0
- data/release_notes/release_2.3.4.md +16 -0
- data/release_notes/release_2.3.5.md +14 -0
- data/release_notes/release_2.3.6.md +14 -0
- data/release_notes/release_2.3.6.rc1.md +29 -0
- data/release_notes/release_2.3.6.rc2.md +19 -0
- data/release_notes/release_2.3.7.rc1.md +14 -0
- data/release_notes/release_2.4.0.md +41 -0
- data/release_notes/release_2.4.1.rc1.md +58 -0
- data/release_notes/release_3.0.0.md +21 -0
- data/release_notes/release_3.0.1.md +16 -0
- data/release_notes/release_3.0.2.rc1.md +19 -0
- data/release_notes/release_4.0.0.md +19 -0
- data/release_notes/release_4.0.1.md +14 -0
- data/release_notes/release_4.0.2.rc1.md +14 -0
- data/release_notes/release_4.0.2.rc2.md +11 -0
- data/release_notes/release_4.0.2.rc3.md +11 -0
- data/release_notes/release_4.0.2.rc4.md +19 -0
- data/release_notes/release_4.0.2.rc5.md +14 -0
- data/release_notes/release_4.0.3.md +19 -0
- data/release_notes/release_4.0.4.rc1.md +14 -0
- data/release_notes/release_4.0.4.rc2.md +14 -0
- data/release_notes/release_4.1.0.md +19 -0
- data/release_notes/release_4.2.0.rc.md +24 -0
- data/release_notes/release_4.3.0.md +22 -0
- data/release_notes/release_4.3.1.md +14 -0
- data/release_notes/release_4.3.10.md +14 -0
- data/release_notes/release_4.3.11.md +14 -0
- data/release_notes/release_4.3.12.md +14 -0
- data/release_notes/release_4.3.2.rc1.md +21 -0
- data/release_notes/release_4.3.3.md +24 -0
- data/release_notes/release_4.3.4.md +11 -0
- data/release_notes/release_4.3.4.rc1.md +24 -0
- data/release_notes/release_4.3.5.md +36 -0
- data/release_notes/release_4.3.5.rc1.md +21 -0
- data/release_notes/release_4.3.6.md +14 -0
- data/release_notes/release_4.3.7.md +50 -0
- data/release_notes/release_4.3.8.md +19 -0
- data/release_notes/release_4.3.9.md +14 -0
- data/release_notes/release_4.4.0.md +16 -0
- data/release_notes/release_4.5.1.md +11 -0
- data/release_notes/release_4.5.2.md +14 -0
- data/release_notes/release_4.5.3.md +29 -0
- data/release_notes/release_4.6.0.md +24 -0
- data/release_notes/release_4.6.1.md +14 -0
- data/release_notes/release_4.6.2.md +16 -0
- data/release_notes/release_4.6.3.rc1.md +14 -0
- data/release_notes/release_4.6.3.rc2.md +14 -0
- data/release_notes/release_4.6.3.rc3.md +17 -0
- data/release_notes/release_4.7.0.md +11 -0
- data/release_notes/release_4.7.1.md +14 -0
- data/release_notes/release_4.7.1.rc.1.md +14 -0
- data/release_notes/release_4.7.1.rc1.md +19 -0
- data/script/gpp +3 -0
- data/spec/cc_api_stub/app_usage_events_spec.rb +12 -0
- data/spec/cc_api_stub/applications_spec.rb +69 -0
- data/spec/cc_api_stub/domains_spec.rb +40 -0
- data/spec/cc_api_stub/events_spec.rb +12 -0
- data/spec/cc_api_stub/frameworks_spec.rb +19 -0
- data/spec/cc_api_stub/login_spec.rb +20 -0
- data/spec/cc_api_stub/organization_users_spec.rb +35 -0
- data/spec/cc_api_stub/organizations_spec.rb +118 -0
- data/spec/cc_api_stub/routes_spec.rb +19 -0
- data/spec/cc_api_stub/runtimes_spec.rb +19 -0
- data/spec/cc_api_stub/service_bindings_spec.rb +13 -0
- data/spec/cc_api_stub/service_instances_spec.rb +19 -0
- data/spec/cc_api_stub/services_spec.rb +11 -0
- data/spec/cc_api_stub/space_users_spec.rb +35 -0
- data/spec/cc_api_stub/spaces_spec.rb +38 -0
- data/spec/cc_api_stub/users_spec.rb +107 -0
- data/spec/cfoundry/auth_token_spec.rb +154 -0
- data/spec/cfoundry/baseclient_spec.rb +298 -0
- data/spec/cfoundry/client_spec.rb +13 -0
- data/spec/cfoundry/errors_spec.rb +117 -0
- data/spec/cfoundry/rest_client_spec.rb +349 -0
- data/spec/cfoundry/trace_helpers_spec.rb +91 -0
- data/spec/cfoundry/uaaclient_spec.rb +435 -0
- data/spec/cfoundry/upload_helpers_spec.rb +182 -0
- data/spec/cfoundry/v2/app_event_spec.rb +97 -0
- data/spec/cfoundry/v2/app_instance_spec.rb +31 -0
- data/spec/cfoundry/v2/app_spec.rb +354 -0
- data/spec/cfoundry/v2/app_usage_event_spec.rb +15 -0
- data/spec/cfoundry/v2/base_spec.rb +375 -0
- data/spec/cfoundry/v2/client_spec.rb +121 -0
- data/spec/cfoundry/v2/domain_spec.rb +63 -0
- data/spec/cfoundry/v2/event_spec.rb +15 -0
- data/spec/cfoundry/v2/managed_service_instance_spec.rb +149 -0
- data/spec/cfoundry/v2/model_magic/attribute_spec.rb +123 -0
- data/spec/cfoundry/v2/model_magic/has_summary_spec.rb +17 -0
- data/spec/cfoundry/v2/model_magic/to_many_spec.rb +53 -0
- data/spec/cfoundry/v2/model_magic/to_one_spec.rb +106 -0
- data/spec/cfoundry/v2/model_magic_spec.rb +43 -0
- data/spec/cfoundry/v2/model_spec.rb +434 -0
- data/spec/cfoundry/v2/organization_spec.rb +135 -0
- data/spec/cfoundry/v2/quota_definition_spec.rb +50 -0
- data/spec/cfoundry/v2/route_spec.rb +42 -0
- data/spec/cfoundry/v2/service_plan_spec.rb +53 -0
- data/spec/cfoundry/v2/service_spec.rb +58 -0
- data/spec/cfoundry/v2/space_spec.rb +13 -0
- data/spec/cfoundry/v2/user_provided_service_instance_spec.rb +57 -0
- data/spec/cfoundry/v2/user_spec.rb +206 -0
- data/spec/cfoundry/validator_spec.rb +94 -0
- data/spec/factories/app_events_factory.rb +7 -0
- data/spec/factories/app_usage_events_factory.rb +32 -0
- data/spec/factories/apps_factory.rb +11 -0
- data/spec/factories/clients_factory.rb +7 -0
- data/spec/factories/domains_factory.rb +10 -0
- data/spec/factories/events_factory.rb +50 -0
- data/spec/factories/organizations_factory.rb +12 -0
- data/spec/factories/quota_definitions_factory.rb +8 -0
- data/spec/factories/routes_factory.rb +10 -0
- data/spec/factories/service_instances_factory.rb +10 -0
- data/spec/factories/service_plans_factory.rb +10 -0
- data/spec/factories/services_factory.rb +10 -0
- data/spec/factories/spaces_factory.rb +10 -0
- data/spec/factories/user_provided_service_instances_factory.rb +10 -0
- data/spec/factories/users_factory.rb +10 -0
- data/spec/fixtures/apps/with_cfignore/.cfignore +4 -0
- data/spec/fixtures/apps/with_cfignore/.hidden_file +1 -0
- data/spec/fixtures/apps/with_cfignore/ambiguous_ignored +0 -0
- data/spec/fixtures/apps/with_cfignore/ignored_dir/file_in_ignored_dir.txt +1 -0
- data/spec/fixtures/apps/with_cfignore/ignored_file.txt +1 -0
- data/spec/fixtures/apps/with_cfignore/non_ignored_dir/file_in_non_ignored_dir.txt +1 -0
- data/spec/fixtures/apps/with_cfignore/non_ignored_dir/ignored_file.txt +1 -0
- data/spec/fixtures/apps/with_cfignore/non_ignored_dir/toplevel_ignored.txt +0 -0
- data/spec/fixtures/apps/with_cfignore/non_ignored_file.txt +1 -0
- data/spec/fixtures/apps/with_cfignore/toplevel_ignored.txt +0 -0
- data/spec/fixtures/apps/with_dotfiles/.dotfile +1 -0
- data/spec/fixtures/apps/with_dotfiles/xyz +1 -0
- data/spec/fixtures/apps/with_external_symlink/foo +1 -0
- data/spec/fixtures/apps/with_ignored_external_symlink/.cfignore +1 -0
- data/spec/fixtures/apps/with_ignored_external_symlink/foo +1 -0
- data/spec/fixtures/apps/with_nested_directories/foo/bar/baz/fizz +0 -0
- data/spec/fixtures/apps/with_nested_directories/xyz +0 -0
- data/spec/fixtures/empty_file +0 -0
- data/spec/fixtures/fake_cc_app_usage_events.json +152 -0
- data/spec/fixtures/fake_cc_application.json +20 -0
- data/spec/fixtures/fake_cc_application_summary.json +56 -0
- data/spec/fixtures/fake_cc_created_application.json +11 -0
- data/spec/fixtures/fake_cc_created_domain.json +15 -0
- data/spec/fixtures/fake_cc_created_organization.json +11 -0
- data/spec/fixtures/fake_cc_created_route.json +13 -0
- data/spec/fixtures/fake_cc_created_service_instance.json +11 -0
- data/spec/fixtures/fake_cc_created_space.json +11 -0
- data/spec/fixtures/fake_cc_created_user.json +11 -0
- data/spec/fixtures/fake_cc_domain.json +55 -0
- data/spec/fixtures/fake_cc_domain_spaces.json +27 -0
- data/spec/fixtures/fake_cc_empty_search.json +7 -0
- data/spec/fixtures/fake_cc_events.json +419 -0
- data/spec/fixtures/fake_cc_frameworks.json +20 -0
- data/spec/fixtures/fake_cc_managed_service_instance.json +83 -0
- data/spec/fixtures/fake_cc_organization.json +161 -0
- data/spec/fixtures/fake_cc_organization_domains.json +59 -0
- data/spec/fixtures/fake_cc_organization_search.json +37 -0
- data/spec/fixtures/fake_cc_organization_spaces.json +99 -0
- data/spec/fixtures/fake_cc_organization_summary.json +20 -0
- data/spec/fixtures/fake_cc_organization_users.json +81 -0
- data/spec/fixtures/fake_cc_route.json +16 -0
- data/spec/fixtures/fake_cc_runtimes.json +20 -0
- data/spec/fixtures/fake_cc_service_binding.json +22 -0
- data/spec/fixtures/fake_cc_service_bindings.json +24 -0
- data/spec/fixtures/fake_cc_service_instance.json +83 -0
- data/spec/fixtures/fake_cc_service_instances.json +72 -0
- data/spec/fixtures/fake_cc_services.json +160 -0
- data/spec/fixtures/fake_cc_space.json +45 -0
- data/spec/fixtures/fake_cc_space_apps.json +49 -0
- data/spec/fixtures/fake_cc_space_summary.json +84 -0
- data/spec/fixtures/fake_cc_spaces.json +92 -0
- data/spec/fixtures/fake_cc_stats.json +29 -0
- data/spec/fixtures/fake_cc_user.json +139 -0
- data/spec/fixtures/fake_cc_user_organizations.json +92 -0
- data/spec/fixtures/fake_cc_user_provided_service_instance.json +51 -0
- data/spec/fixtures/fake_cc_user_with_managers.json +85 -0
- data/spec/integration/client_spec.rb +38 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/support/factory_girl.rb +6 -0
- data/spec/support/shared_examples/cc_api_stub_request_examples.rb +79 -0
- data/spec/support/shared_examples/client_login_examples.rb +46 -0
- data/spec/support/shared_examples/model_summary_examples.rb +34 -0
- data/spec/support/test_model_builder.rb +10 -0
- data/vendor/errors/README.md +4 -0
- data/vendor/errors/v1.yml +189 -0
- data/vendor/errors/v2.yml +384 -0
- metadata +693 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* Use /v2/service_instance endpoint to delete user provided services
|
|
8
|
+
|
|
9
|
+
[Finishes #55130032](http://www.pivotaltracker.com/story/55130032)
|
|
10
|
+
* SHA: 5cbd362e9559865ef7108fd527d84918caa80e9d
|
|
11
|
+
* Jeff Schnitzer and Jimmy Da, pair+jschnitzer+jda@pivotallabs.com
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
* Separate checkfiles
|
|
15
|
+
* SHA: 951f3e617149cf3ea397a4ce7523ecb8fb85d7c5
|
|
16
|
+
* Corbin Halliwill and Will Read, pair+challi+will@pivotallabs.com
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
------
|
|
20
|
+
|
|
21
|
+
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* SHA: [d25f5dcbffa9a2b99d63744cb5152b7ee804d45b](git@github.com:cloudfoundry/cfoundry/commit/d25f5dcbffa9a2b99d63744cb5152b7ee804d45b)
|
|
8
|
+
* added quota definition to organization json fixture
|
|
9
|
+
* Aaron Levine and Joseph Palermo, pair+aaron+joseph@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
------
|
|
13
|
+
|
|
14
|
+
_Release Notes generated with [Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* Spaces have many services
|
|
8
|
+
* SHA: 693afacd3494601a055c913a2b1362c95886b441
|
|
9
|
+
* Jimmy Da and Matthew Horan, pair+jda+mhoran@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* Merge pull request #20 from cloudfoundry/async-upload
|
|
13
|
+
|
|
14
|
+
Upload app asynchronously
|
|
15
|
+
|
|
16
|
+
@xoebus / @tildewill
|
|
17
|
+
* SHA: 297679bb73705ccee50a515dbda99130a9ad5011
|
|
18
|
+
* Chris Brown, xoebus@xoeb.us
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
* Upload app asynchronously
|
|
22
|
+
* SHA: afcdc33f29eec22bacdc94e25575a924a367ccd7
|
|
23
|
+
* Maria Shaldibina and Mark Rushakoff, pair+mariash+mrushakoff@pivotallabs.com
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
* Merge pull request #19 from michaelklishin/issue17
|
|
27
|
+
|
|
28
|
+
Add missing attributes to Service and ServicePlan
|
|
29
|
+
* SHA: e9b597586ef39dadc24f2093aac2df42f3747ff9
|
|
30
|
+
* Cloud Foundry Frontend Team, cf-fe-eng@pivotallabs.com
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
* Add missing attributes to Service and ServicePlan
|
|
34
|
+
|
|
35
|
+
This makes it possible to use said models in service
|
|
36
|
+
brokers.
|
|
37
|
+
|
|
38
|
+
Fixes #17.
|
|
39
|
+
* SHA: 42e842f2d793c0b2438df022a60f234ba04d7baf
|
|
40
|
+
* Michael Klishin, mklishin@gopivotal.com
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
* new license files
|
|
44
|
+
* SHA: e6b624f243e780454f692a407c542b6c734dd376
|
|
45
|
+
* Matt Reider, mreider@gmail.com
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
------
|
|
49
|
+
|
|
50
|
+
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* SHA: [a274f025df0565c2d1c4f3999616dffc64698694](git@github.com:cloudfoundry/cfou/commit/a274f025df0565c2d1c4f3999616dffc64698694)
|
|
8
|
+
* New Event model for /v2/events api
|
|
9
|
+
* Caleb Miles and Joseph Palermo, pair+cmiles+joseph@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* SHA: [43f28bb61005e2f0ced6b738eb1068e3a21ece0c](git@github.com:cloudfoundry/cfou/commit/43f28bb61005e2f0ced6b738eb1068e3a21ece0c)
|
|
13
|
+
* Support for complex query params
|
|
14
|
+
* Caleb Miles and Joseph Palermo, pair+cmiles+joseph@pivotallabs.com
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
------
|
|
18
|
+
|
|
19
|
+
_Release Notes generated with [Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* SHA: [cf397164828a7e1ec53389f5fb8adf920e2c4543](git@github.com:cloudfoundry/cfou/commit/cf397164828a7e1ec53389f5fb8adf920e2c4543)
|
|
8
|
+
* [#57422946](http://www.pivotaltracker.com/story/57422946) upload_app now asks for async, but if the server does not support it, it does not try to poll.
|
|
9
|
+
* George Dean and Joseph Palermo, pair+gdean+joseph@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
------
|
|
13
|
+
|
|
14
|
+
_Release Notes generated with [Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* v2 service brokers now auth with username/password rather than token.
|
|
8
|
+
|
|
9
|
+
[#57183050](http://www.pivotaltracker.com/story/57183050)
|
|
10
|
+
* SHA: 623f2b86a39d68512356d78acb836a685508447e
|
|
11
|
+
* Cornelia Davis and Jeff Schnitzer, pair+cdavisafc+jschnitzer@pivotallabs.com
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
------
|
|
15
|
+
|
|
16
|
+
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* SHA: [2736f8ac8e468f27a0acdec8173915cc7daa2fb9](git@github.com:cloudfoundry/cfoundry/commit/2736f8ac8e468f27a0acdec8173915cc7daa2fb9)
|
|
8
|
+
* Added URI escaping when using the next_url from Cloud controller
|
|
9
|
+
* Chris Adams and Sean Brady, pair+cadams+sbrady@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
------
|
|
13
|
+
|
|
14
|
+
_Release Notes generated with [Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* SHA: [3e2c62239ff3e05988a306eeb3eb5cc67d0db701](git@github.com:cloudfoundry/cfou/commit/3e2c62239ff3e05988a306eeb3eb5cc67d0db701)
|
|
8
|
+
* Add method to Organization that removes user from all roles
|
|
9
|
+
* David Sabeti, pair+dsabeti@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* SHA: [9435b54668f3d63d4b7950d705774e626980b507](git@github.com:cloudfoundry/cfou/commit/9435b54668f3d63d4b7950d705774e626980b507)
|
|
13
|
+
* Allow caller to specify which roles to remove a user from in CcApiStub::OrganizationUsers.succeed_to_delete
|
|
14
|
+
* David Sabeti, pair+dsabeti@pivotallabs.com
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
* SHA: [3fb481ffa747d3c9b27d59963e3dbd58ad6c38d1](git@github.com:cloudfoundry/cfou/commit/3fb481ffa747d3c9b27d59963e3dbd58ad6c38d1)
|
|
18
|
+
* Add CcApiStub::Organizations.succeed_to_load_spaces
|
|
19
|
+
* David Sabeti, pair+dsabeti@pivotallabs.com
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* SHA: [6d2bb8e0b4b0ac38f13804d4e35559d24b635791](git@github.com:cloudfoundry/cfou/commit/6d2bb8e0b4b0ac38f13804d4e35559d24b635791)
|
|
23
|
+
* Add space_users to cc_api_stub
|
|
24
|
+
* David Sabeti, pair+dsabeti@pivotallabs.com
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
------
|
|
28
|
+
|
|
29
|
+
_Release Notes generated with [Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* SHA: [4ae28c1afd41e1b3a0e18378c57fdda987a26202](git@github.com:cloudfoundry/cfou/commit/4ae28c1afd41e1b3a0e18378c57fdda987a26202)
|
|
8
|
+
* Add App#percent_running to return the percent of instances running
|
|
9
|
+
* Chris Adams and Colin O'Byrne, pair+cadams+cobyrne@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* SHA: [babc4f05bdaf52b8d9362302970800dcfd6fbc54](git@github.com:cloudfoundry/cfou/commit/babc4f05bdaf52b8d9362302970800dcfd6fbc54)
|
|
13
|
+
* Move responsibility for creating AppInstances out of App and into AppInstance.from_app
|
|
14
|
+
* Chris Adams and Colin O'Byrne, pair+cadams+cobyrne@pivotallabs.com
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
* SHA: [939cafb6dcbef1f510de5f8fe6000c599bbba2a3](git@github.com:cloudfoundry/cfou/commit/939cafb6dcbef1f510de5f8fe6000c599bbba2a3)
|
|
18
|
+
* Pulling app_instance class into its own file. It was formerly a private internal class under App.
|
|
19
|
+
* Charlie Bevis and Colin O'Byrne, pair+cbevis+cobyrne@pivotallabs.com
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
------
|
|
23
|
+
|
|
24
|
+
_Release Notes generated with [Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* SHA: [3e58d2d46dcfa2c15e783570a7e21da198853a5f](git@github.com:cloudfoundry/cfou/commit/3e58d2d46dcfa2c15e783570a7e21da198853a5f)
|
|
8
|
+
* Fix parameter ordering in new instances call
|
|
9
|
+
* Chris Adams and Colin O'Byrne, pair+cadams+cobyrne@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
------
|
|
13
|
+
|
|
14
|
+
_Release Notes generated with [Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* Support queries with multiple comparisons per key
|
|
8
|
+
|
|
9
|
+
Used by console to filter by a bounded timestamp range.
|
|
10
|
+
* SHA: 008025ae6343c251d827a75889afdf222d5e3708
|
|
11
|
+
* Chris Adams and Ian Lesperance, pair+cadams+ilesperance@pivotallabs.com
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
------
|
|
15
|
+
|
|
16
|
+
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* Change fixtures and factory to support new event format
|
|
8
|
+
* SHA: c4f3f216377d84f872e35d68fb62c428ab1610b8
|
|
9
|
+
* Phan Le and Sean Brady, pair+phan+sbrady@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
------
|
|
13
|
+
|
|
14
|
+
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* SHA: [93feba3691edf6b6fed593159f9fb4bac5480568](git@github.com:cloudfoundry/cfou/commit/93feba3691edf6b6fed593159f9fb4bac5480568)
|
|
8
|
+
* Add public flag to service plans
|
|
9
|
+
* David Sabeti, pair+dsabeti@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
------
|
|
13
|
+
|
|
14
|
+
_Release Notes generated with [Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* Assume Cloud Controller returns proper URIs
|
|
8
|
+
|
|
9
|
+
It should be responsible for returning URIs that it can later consume,
|
|
10
|
+
so we shouldn't have to escape anything.
|
|
11
|
+
* SHA: 345f908cf0636a6e4c0caa4a6688624be6cf087e
|
|
12
|
+
* Chris Adams and Ian Lesperance, pair+cadams+ilesperance@pivotallabs.com
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
------
|
|
16
|
+
|
|
17
|
+
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* added app usage events endpoint
|
|
8
|
+
* SHA: 8423581caca68607340943a80c770dd634658abd
|
|
9
|
+
* Joseph Palermo & Sean Brady, pair+jpalermo+sbrady@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
------
|
|
13
|
+
|
|
14
|
+
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* SHA: [cb0ddab5e4ca863272a22bd1ad1bb8b98b689624](git@github.com:cloudfoundry/cfou/commit/cb0ddab5e4ca863272a22bd1ad1bb8b98b689624)
|
|
8
|
+
* UserProvided services instances may have a dashboard url
|
|
9
|
+
* David Sabeti and Nicole Sullivan, pair+dsabeti+nsullivan@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
------
|
|
13
|
+
|
|
14
|
+
_Release Notes generated with [Anchorman](http://github.com/infews/anchorman)_
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
* SHA: [cb09aecc106ced826e0cd9985e70e996eb0d9129](git@github.com:cloudfoundry/cfou/commit/cb09aecc106ced826e0cd9985e70e996eb0d9129)
|
|
8
|
+
* Bumping to version 4.7.1.rc.1.
|
|
9
|
+
* David Sabeti and Nicole Sullivan, pair+dsabeti+nsullivan@pivotallabs.com
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* SHA: [cb0ddab5e4ca863272a22bd1ad1bb8b98b689624](git@github.com:cloudfoundry/cfou/commit/cb0ddab5e4ca863272a22bd1ad1bb8b98b689624)
|
|
13
|
+
* UserProvided services instances may have a dashboard url
|
|
14
|
+
* David Sabeti and Nicole Sullivan, pair+dsabeti+nsullivan@pivotallabs.com
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
------
|
|
18
|
+
|
|
19
|
+
_Release Notes generated with [Anchorman](http://github.com/infews/anchorman)_
|
data/script/gpp
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
require 'net/http'
|
|
3
|
+
require 'uri'
|
|
4
|
+
|
|
5
|
+
describe CcApiStub::AppUsageEvents do
|
|
6
|
+
describe ".succeed_to_load_many" do
|
|
7
|
+
let(:url) { "http://example.com/v2/app_usage_events" }
|
|
8
|
+
subject { CcApiStub::AppUsageEvents.succeed_to_load_many }
|
|
9
|
+
|
|
10
|
+
it_behaves_like "a stubbed get request"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
require 'net/http'
|
|
3
|
+
require 'uri'
|
|
4
|
+
|
|
5
|
+
describe CcApiStub::Applications do
|
|
6
|
+
describe ".succeed_to_load" do
|
|
7
|
+
let(:url) { "http://example.com/v2/apps/234" }
|
|
8
|
+
subject { CcApiStub::Applications.succeed_to_load }
|
|
9
|
+
|
|
10
|
+
it_behaves_like "a stubbed get request"
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
describe ".succeed_to_create" do
|
|
14
|
+
let(:url) { "http://example.com/v2/apps" }
|
|
15
|
+
subject { CcApiStub::Applications.succeed_to_create }
|
|
16
|
+
|
|
17
|
+
it_behaves_like "a stubbed post request"
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
describe ".succeed_to_update" do
|
|
21
|
+
let(:url) { "http://example.com/v2/apps/234" }
|
|
22
|
+
subject { CcApiStub::Applications.succeed_to_update }
|
|
23
|
+
|
|
24
|
+
it_behaves_like "a stubbed put request"
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe ".succeed_to_map_route" do
|
|
28
|
+
let(:url) { "http://example.com/v2/apps/234/routes/123" }
|
|
29
|
+
subject { CcApiStub::Applications.succeed_to_map_route }
|
|
30
|
+
|
|
31
|
+
it_behaves_like "a stubbed put request", :code => 201
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe ".succeed_to_load_stats" do
|
|
35
|
+
let(:url) { "http://example.com/v2/apps/234/stats" }
|
|
36
|
+
subject { CcApiStub::Applications.succeed_to_load_stats }
|
|
37
|
+
|
|
38
|
+
it_behaves_like "a stubbed get request"
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe ".summary_fixture" do
|
|
42
|
+
it "loads a fixture file" do
|
|
43
|
+
expect(CcApiStub::Applications.summary_fixture).to be_a(Hash)
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe "succeed_to_load_summary" do
|
|
48
|
+
let(:url) { "http://example.com/v2/apps/234/summary" }
|
|
49
|
+
|
|
50
|
+
context "with default args" do
|
|
51
|
+
subject { CcApiStub::Applications.succeed_to_load_summary }
|
|
52
|
+
|
|
53
|
+
it_behaves_like "a stubbed get request", :including_json => { "state" => "STARTED" }
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
context "with user set args" do
|
|
57
|
+
subject { CcApiStub::Applications.succeed_to_load_summary(:state => "FLAPPING") }
|
|
58
|
+
|
|
59
|
+
it_behaves_like "a stubbed get request", :including_json => { "state" => "FLAPPING" }
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
describe ".succeed_to_load_service_bindings" do
|
|
64
|
+
let(:url) { "http://example.com/v2/apps/234/service_bindings" }
|
|
65
|
+
subject { CcApiStub::Applications.succeed_to_load_service_bindings }
|
|
66
|
+
|
|
67
|
+
it_behaves_like "a stubbed get request"
|
|
68
|
+
end
|
|
69
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
require 'net/http'
|
|
3
|
+
require 'uri'
|
|
4
|
+
|
|
5
|
+
describe CcApiStub::Domains do
|
|
6
|
+
describe ".succeed_to_create" do
|
|
7
|
+
let(:url) { "http://example.com/v2/domains/" }
|
|
8
|
+
subject { CcApiStub::Domains.succeed_to_create }
|
|
9
|
+
|
|
10
|
+
it_behaves_like "a stubbed post request"
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
describe ".succeed_to_delete" do
|
|
14
|
+
let(:url) { "http://example.com/v2/domains/1234" }
|
|
15
|
+
subject { CcApiStub::Domains.succeed_to_delete }
|
|
16
|
+
|
|
17
|
+
it_behaves_like "a stubbed delete request"
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
describe ".succeed_to_load_spaces" do
|
|
21
|
+
let(:url) { "http://example.com/v2/domains/domain-id-1/spaces?inline-relationship-depth=1" }
|
|
22
|
+
subject { CcApiStub::Domains.succeed_to_load_spaces }
|
|
23
|
+
|
|
24
|
+
it_behaves_like "a stubbed get request"
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe ".succeed_to_add_space" do
|
|
28
|
+
let(:url) { "http://example.com/v2/domains/domain-id-1/spaces/space-id-1" }
|
|
29
|
+
subject { CcApiStub::Domains.succeed_to_add_space }
|
|
30
|
+
|
|
31
|
+
it_behaves_like "a stubbed put request", :code => 201
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe ".succeed_to_update" do
|
|
35
|
+
let(:url) { "http://example.com/v2/domains/domain-id-1" }
|
|
36
|
+
subject { CcApiStub::Domains.succeed_to_update }
|
|
37
|
+
|
|
38
|
+
it_behaves_like "a stubbed put request"
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
require 'net/http'
|
|
3
|
+
require 'uri'
|
|
4
|
+
|
|
5
|
+
describe CcApiStub::Events do
|
|
6
|
+
describe ".succeed_to_load_many" do
|
|
7
|
+
let(:url) { "http://example.com/v2/events" }
|
|
8
|
+
subject { CcApiStub::Events.succeed_to_load_many }
|
|
9
|
+
|
|
10
|
+
it_behaves_like "a stubbed get request"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
require 'net/http'
|
|
3
|
+
require 'uri'
|
|
4
|
+
|
|
5
|
+
describe CcApiStub::Frameworks do
|
|
6
|
+
let(:url) { "http://example.com/v2/frameworks?inline-relations-depth=1" }
|
|
7
|
+
|
|
8
|
+
describe ".succeed_to_load" do
|
|
9
|
+
subject { CcApiStub::Frameworks.succeed_to_load }
|
|
10
|
+
|
|
11
|
+
it_behaves_like "a stubbed get request"
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
describe ".fail_to_load" do
|
|
15
|
+
subject { CcApiStub::Frameworks.fail_to_load }
|
|
16
|
+
|
|
17
|
+
it_behaves_like "a stubbed get request", :code => 500, :ignore_response => true
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
require 'net/http'
|
|
3
|
+
require 'uri'
|
|
4
|
+
|
|
5
|
+
describe CcApiStub::Login do
|
|
6
|
+
describe '.succeeds_to_find_uaa' do
|
|
7
|
+
let(:host) { 'http://example.com:8181' }
|
|
8
|
+
let(:url) { host + "/info" }
|
|
9
|
+
subject { CcApiStub::Login.succeeds_to_find_uaa(host) }
|
|
10
|
+
|
|
11
|
+
it_behaves_like "a stubbed get request", :including_json => {'token_endpoint' => 'https://uaa.localhost'}
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
describe '.succeeds_to_login_as_admin' do
|
|
15
|
+
let(:url) { "http://uaa.localhost/oauth/authorize" }
|
|
16
|
+
subject { CcApiStub::Login::succeeds_to_login_as_admin }
|
|
17
|
+
|
|
18
|
+
it_behaves_like "a stubbed post request", :code => 302, :ignore_response => true
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
require 'net/http'
|
|
3
|
+
require 'uri'
|
|
4
|
+
|
|
5
|
+
describe CcApiStub::OrganizationUsers do
|
|
6
|
+
let(:url) { "http://example.com/v2/organizations/123/users/94087" }
|
|
7
|
+
|
|
8
|
+
describe ".succeed_to_delete" do
|
|
9
|
+
subject { CcApiStub::OrganizationUsers.succeed_to_delete }
|
|
10
|
+
|
|
11
|
+
it_behaves_like "a stubbed delete request"
|
|
12
|
+
|
|
13
|
+
context "when the :roles option is provided" do
|
|
14
|
+
let(:roles) { [:user, :managers, :auditor] }
|
|
15
|
+
it "deletes the user from each specified role" do
|
|
16
|
+
CcApiStub::OrganizationUsers.succeed_to_delete(roles: roles)
|
|
17
|
+
roles.each do |role|
|
|
18
|
+
url = "http://example.com/v2/organizations/123/#{role.to_s.pluralize}/94087"
|
|
19
|
+
uri = URI.parse(url)
|
|
20
|
+
Net::HTTP.start(uri.host, uri.port) do |http|
|
|
21
|
+
request = Net::HTTP::Delete.new(url)
|
|
22
|
+
response = http.request(request)
|
|
23
|
+
check_response(response, code: 200, ignore_response: true)
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe ".fail_to_delete" do
|
|
31
|
+
subject { CcApiStub::OrganizationUsers.fail_to_delete }
|
|
32
|
+
|
|
33
|
+
it_behaves_like "a stubbed delete request", :code => 500, :ignore_response => true
|
|
34
|
+
end
|
|
35
|
+
end
|