From 8a39132cb543f7c001543dff4aecf39613982d37 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 19 Nov 2019 14:51:03 +0100 Subject: [PATCH] Add more cassettes for staged requests --- .../and_none_is_excluded/1_2_9_1_1.yml | 554 +++++++++++++++ .../and_none_is_excluded/1_2_9_1_2.yml | 554 +++++++++++++++ .../and_none_is_excluded/1_2_9_1_3.yml | 554 +++++++++++++++ .../and_none_is_excluded/1_2_9_1_4.yml | 551 +++++++++++++++ .../with_another_package/1_2_9_1_2_1.yml | 632 ++++++++++++++++++ .../with_another_package/1_2_9_1_2_2.yml | 632 ++++++++++++++++++ .../with_another_package/1_2_9_1_2_3.yml | 632 ++++++++++++++++++ .../with_another_package/1_2_9_1_2_4.yml | 632 ++++++++++++++++++ .../with_the_same_package/1_2_9_1_1_1.yml | 481 +++++++++++++ .../with_the_same_package/1_2_9_1_1_2.yml | 481 +++++++++++++ .../1_2_9_2_1_1.yml | 481 +++++++++++++ .../1_2_7_2_1.yml | 481 +++++++++++++ .../1_2_7_2_2.yml | 76 +++ .../1_2_7_2_3.yml | 481 +++++++++++++ .../1_2_7_2_4.yml | 76 +++ .../1_2_10_1.yml | 442 ++++++++++++ .../1_2_10_2.yml | 442 ++++++++++++ .../1_2_10_3.yml | 442 ++++++++++++ .../1_2_10_4.yml | 442 ++++++++++++ 19 files changed, 9066 insertions(+) create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_1.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_2.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_3.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_4.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_1.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_2.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_3.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_4.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_the_same_package/1_2_9_1_1_1.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_the_same_package/1_2_9_1_1_2.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_one_is_excluded_but_the_other_is_not/when_not_providing_the_remove_exclusion_parameter/1_2_9_2_1_1.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_1.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_2.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_3.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_4.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_1.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_2.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_3.yml create mode 100644 src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_4.yml diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_1.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_1.yml new file mode 100644 index 00000000000..a6fbf62c3de --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_1.yml @@ -0,0 +1,554 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:00 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:00 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:00 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:00 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:00 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + The Little Foxes + Aut ex est deleniti. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '157' + body: + encoding: UTF-8 + string: | + + The Little Foxes + Aut ex est deleniti. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:00 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + An Evil Cradling + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '107' + body: + encoding: UTF-8 + string: | + + An Evil Cradling + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:00 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + No Highway + Minima tenetur atque consectetur. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '159' + body: + encoding: UTF-8 + string: | + + No Highway + Minima tenetur atque consectetur. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:00 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:01 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '216' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:01 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_2.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_2.yml new file mode 100644 index 00000000000..1daad23081c --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_2.yml @@ -0,0 +1,554 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:26 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:26 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:26 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:26 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:26 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:26 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + As I Lay Dying + Fuga aspernatur quae in. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '159' + body: + encoding: UTF-8 + string: | + + As I Lay Dying + Fuga aspernatur quae in. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:26 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Endless Night + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '104' + body: + encoding: UTF-8 + string: | + + Endless Night + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:26 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Taming a Sea Horse + Quo temporibus esse consequatur. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '166' + body: + encoding: UTF-8 + string: | + + Taming a Sea Horse + Quo temporibus esse consequatur. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:27 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:27 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:27 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '216' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:27 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:28 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '216' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:31:28 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_3.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_3.yml new file mode 100644 index 00000000000..3267dd5a622 --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_3.yml @@ -0,0 +1,554 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:42 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:42 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:42 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:42 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:42 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:42 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Specimen Days + Molestias ullam veniam eos. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '161' + body: + encoding: UTF-8 + string: | + + Specimen Days + Molestias ullam veniam eos. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:42 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + An Evil Cradling + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '107' + body: + encoding: UTF-8 + string: | + + An Evil Cradling + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:42 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Consider the Lilies + Eum iusto aliquid in. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '156' + body: + encoding: UTF-8 + string: | + + Consider the Lilies + Eum iusto aliquid in. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:42 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:43 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:43 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:43 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:44 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:44 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_4.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_4.yml new file mode 100644 index 00000000000..154b5523f10 --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/1_2_9_1_4.yml @@ -0,0 +1,551 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:17 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:17 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:17 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:17 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:18 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:18 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + A Handful of Dust + Eaque sed quis hic. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '157' + body: + encoding: UTF-8 + string: | + + A Handful of Dust + Eaque sed quis hic. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:18 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Françoise Sagan + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '107' + body: + encoding: ASCII-8BIT + string: !binary |- + PHByb2plY3QgbmFtZT0ic291cmNlX3Byb2plY3QiPgogIDx0aXRsZT5GcmFuw6dvaXNlIFNhZ2FuPC90aXRsZT4KICA8ZGVzY3JpcHRpb24+PC9kZXNjcmlwdGlvbj4KPC9wcm9qZWN0Pgo= + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:18 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Tender Is the Night + Doloremque cupiditate quia qui. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '166' + body: + encoding: UTF-8 + string: | + + Tender Is the Night + Doloremque cupiditate quia qui. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:18 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:18 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:19 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:19 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:19 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:19 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_1.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_1.yml new file mode 100644 index 00000000000..eb6d2ce3d5d --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_1.yml @@ -0,0 +1,632 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 97c0ecde84797bbeefe054be20471634 + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-5" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 885753dbec421426e0a792caa6d5b458 + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-5" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-5" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Down to a Sunless Sea + Dolorum autem dicta iusto. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '168' + body: + encoding: UTF-8 + string: | + + Down to a Sunless Sea + Dolorum autem dicta iusto. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + The Doors of Perception + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '114' + body: + encoding: UTF-8 + string: | + + The Doors of Perception + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + A Farewell to Arms + Qui et eaque quae. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '152' + body: + encoding: UTF-8 + string: | + + A Farewell to Arms + Qui et eaque quae. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/another_target_package/_meta?user=unpermitted_user + body: + encoding: UTF-8 + string: | + + The Violent Bear It Away + Est voluptatem alias quas. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '179' + body: + encoding: UTF-8 + string: | + + The Violent Bear It Away + Est voluptatem alias quas. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:00 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:00 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:00 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '216' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:00 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:00 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/another_target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '139' + body: + encoding: UTF-8 + string: | + <package name="another_target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:00 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/another_target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:01 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_2.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_2.yml new file mode 100644 index 00000000000..2a774e5e214 --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_2.yml @@ -0,0 +1,632 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:56 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 602e8e3284f67812365e97e2880b3ef9 + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:56 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-3" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:56 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 2b5b5658007e8ef89a0cbc4576bcef05 + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:56 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-3" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:56 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-3" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:56 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Where Angels Fear to Tread + Nam magni sit nihil. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '167' + body: + encoding: UTF-8 + string: | + + Where Angels Fear to Tread + Nam magni sit nihil. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:56 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + A Handful of Dust + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '108' + body: + encoding: UTF-8 + string: | + + A Handful of Dust + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:56 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + This Lime Tree Bower + Laudantium eum ut expedita. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '163' + body: + encoding: UTF-8 + string: | + + This Lime Tree Bower + Laudantium eum ut expedita. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:56 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/another_target_package/_meta?user=unpermitted_user + body: + encoding: UTF-8 + string: | + + A Darkling Plain + Non neque rem nesciunt. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '168' + body: + encoding: UTF-8 + string: | + + A Darkling Plain + Non neque rem nesciunt. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:57 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:57 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:57 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '216' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:57 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:57 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/another_target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '139' + body: + encoding: UTF-8 + string: | + <package name="another_target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:57 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/another_target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:57 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_3.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_3.yml new file mode 100644 index 00000000000..1de058c0c1d --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_3.yml @@ -0,0 +1,632 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:57 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 18c157519aff432594c6a090a274aba7 + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:58 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-4" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:58 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + ad46b5f3713410d48ff8bd3925f28689 + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:58 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-4" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:58 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-4" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:58 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + The Torment of Others + Numquam laborum accusamus odio. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + + The Torment of Others + Numquam laborum accusamus odio. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:58 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + An Acceptable Time + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '109' + body: + encoding: UTF-8 + string: | + + An Acceptable Time + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:58 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + The Last Enemy + Quia dolores sit praesentium. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '159' + body: + encoding: UTF-8 + string: | + + The Last Enemy + Quia dolores sit praesentium. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:58 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/another_target_package/_meta?user=unpermitted_user + body: + encoding: UTF-8 + string: | + + Alone on a Wide, Wide Sea + Voluptatem qui dolorum eaque. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '183' + body: + encoding: UTF-8 + string: | + + Alone on a Wide, Wide Sea + Voluptatem qui dolorum eaque. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:58 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:58 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '216' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/another_target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '139' + body: + encoding: UTF-8 + string: | + <package name="another_target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/another_target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:59 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_4.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_4.yml new file mode 100644 index 00000000000..f81a2b052f7 --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_another_package/1_2_9_1_2_4.yml @@ -0,0 +1,632 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + bbd8a431d5c59192abf355e56297dd4a + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-6" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 0651003a3743701befa723c0e0a7c774 + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-6" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:02 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-6" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:02 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + The Moving Finger + Molestiae sapiente delectus impedit. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '174' + body: + encoding: UTF-8 + string: | + + The Moving Finger + Molestiae sapiente delectus impedit. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:02 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + O Pioneers! + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '102' + body: + encoding: UTF-8 + string: | + + O Pioneers! + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:02 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + The World, the Flesh and the Devil + Debitis dolorem vero similique. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '181' + body: + encoding: UTF-8 + string: | + + The World, the Flesh and the Devil + Debitis dolorem vero similique. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:02 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/another_target_package/_meta?user=unpermitted_user + body: + encoding: UTF-8 + string: | + + By Grand Central Station I Sat Down and Wept + Dolorum sed voluptatem qui. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '200' + body: + encoding: UTF-8 + string: | + + By Grand Central Station I Sat Down and Wept + Dolorum sed voluptatem qui. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:02 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:03 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:03 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '216' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:03 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:03 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/another_target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '139' + body: + encoding: UTF-8 + string: | + <package name="another_target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:03 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/another_target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:52:03 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_the_same_package/1_2_9_1_1_1.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_the_same_package/1_2_9_1_1_1.yml new file mode 100644 index 00000000000..d3c0b5e78c2 --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_the_same_package/1_2_9_1_1_1.yml @@ -0,0 +1,481 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:54 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 5aa91688e74e53b49343157a65da71e6 + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:54 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-2" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:54 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 6b66a2ec580136385a4db14d7d083dd7 + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:55 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-2" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:55 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-2" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:55 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Gone with the Wind + Deleniti impedit perspiciatis qui. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + + Gone with the Wind + Deleniti impedit perspiciatis qui. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:55 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + The Moving Toyshop + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '109' + body: + encoding: UTF-8 + string: | + + The Moving Toyshop + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:55 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + The Wings of the Dove + Earum incidunt est debitis. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '164' + body: + encoding: UTF-8 + string: | + + The Wings of the Dove + Earum incidunt est debitis. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:55 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:55 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:55 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '216' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:55 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_the_same_package/1_2_9_1_1_2.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_the_same_package/1_2_9_1_1_2.yml new file mode 100644 index 00000000000..6476737623c --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_none_is_excluded/with_the_same_package/1_2_9_1_1_2.yml @@ -0,0 +1,481 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:53 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:53 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:53 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:53 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:53 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:53 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Time of our Darkness + Provident illo labore adipisci. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '172' + body: + encoding: UTF-8 + string: | + + Time of our Darkness + Provident illo labore adipisci. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:53 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + In a Dry Season + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '106' + body: + encoding: UTF-8 + string: | + + In a Dry Season + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:53 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + Many Waters + Velit explicabo voluptas sint. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '157' + body: + encoding: UTF-8 + string: | + + Many Waters + Velit explicabo voluptas sint. + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:53 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:54 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:54 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '216' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 15:51:54 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_one_is_excluded_but_the_other_is_not/when_not_providing_the_remove_exclusion_parameter/1_2_9_2_1_1.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_one_is_excluded_but_the_other_is_not/when_not_providing_the_remove_exclusion_parameter/1_2_9_2_1_1.yml new file mode 100644 index 00000000000..b5e96bbeb4c --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/when_providing_two_request/and_one_is_excluded_but_the_other_is_not/when_not_providing_the_remove_exclusion_parameter/1_2_9_2_1_1.yml @@ -0,0 +1,481 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:29 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=user_1 + body: + encoding: UTF-8 + string: | + + That Hideous Strength + Necessitatibus esse dolorem assumenda. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '180' + body: + encoding: UTF-8 + string: | + + That Hideous Strength + Necessitatibus esse dolorem assumenda. + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:29 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=user_2 + body: + encoding: UTF-8 + string: | + + For Whom the Bell Tolls + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '114' + body: + encoding: UTF-8 + string: | + + For Whom the Bell Tolls + + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:30 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=user_3 + body: + encoding: UTF-8 + string: | + + Brandy of the Damned + Quibusdam dignissimos ex voluptatem. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '172' + body: + encoding: UTF-8 + string: | + + Brandy of the Damned + Quibusdam dignissimos ex voluptatem. + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:30 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=user_4 + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '170' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + user_4 + + + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:30 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=user_4 + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:30 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=user_4 + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '170' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + user_4 + + + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:30 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=user_4 + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:30 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=user_4 + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:30 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:30 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:30 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '216' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 14:19:31 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_1.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_1.yml new file mode 100644 index 00000000000..b4b9c552e1a --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_1.yml @@ -0,0 +1,481 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:09 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=user_1 + body: + encoding: UTF-8 + string: | + + Ring of Bright Water + A rerum deleniti nostrum. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '166' + body: + encoding: UTF-8 + string: | + + Ring of Bright Water + A rerum deleniti nostrum. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:09 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=user_2 + body: + encoding: UTF-8 + string: | + + This Side of Paradise + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '112' + body: + encoding: UTF-8 + string: | + + This Side of Paradise + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:09 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=user_3 + body: + encoding: UTF-8 + string: | + + An Acceptable Time + Expedita iusto ad necessitatibus. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '167' + body: + encoding: UTF-8 + string: | + + An Acceptable Time + Expedita iusto ad necessitatibus. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:09 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=user_4 + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '170' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + user_4 + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:09 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=user_4 + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:09 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=user_4 + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '170' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + user_4 + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:10 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=user_4 + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:10 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=user_4 + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:10 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:10 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:10 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:10 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_2.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_2.yml new file mode 100644 index 00000000000..bb196b78516 --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_2.yml @@ -0,0 +1,76 @@ +--- +http_interactions: +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:27:54 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:27:54 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_3.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_3.yml new file mode 100644 index 00000000000..d8523cc7aec --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_3.yml @@ -0,0 +1,481 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=user_1 + body: + encoding: UTF-8 + string: | + + Frequent Hearses + Consequatur quia hic nostrum. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '166' + body: + encoding: UTF-8 + string: | + + Frequent Hearses + Consequatur quia hic nostrum. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=user_2 + body: + encoding: UTF-8 + string: | + + For Whom the Bell Tolls + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '114' + body: + encoding: UTF-8 + string: | + + For Whom the Bell Tolls + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=user_3 + body: + encoding: UTF-8 + string: | + + A Glass of Blessings + Eveniet eligendi quibusdam ipsa. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '168' + body: + encoding: UTF-8 + string: | + + A Glass of Blessings + Eveniet eligendi quibusdam ipsa. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=user_4 + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '170' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + user_4 + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=user_4 + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=user_4 + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '170' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + user_4 + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=user_4 + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=user_4 + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '131' + body: + encoding: UTF-8 + string: | + <package name="target_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:25 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:26 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_4.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_4.yml new file mode 100644 index 00000000000..26ff3143b19 --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_an_excluded_request/when_providing_the_remove_exclusion_parameter/1_2_7_2_4.yml @@ -0,0 +1,76 @@ +--- +http_interactions: +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:27:17 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:27:17 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_1.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_1.yml new file mode 100644 index 00000000000..da146906072 --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_1.yml @@ -0,0 +1,442 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:16 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:16 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:16 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:16 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:16 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:17 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + A Catskill Eagle + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '107' + body: + encoding: UTF-8 + string: | + + A Catskill Eagle + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:17 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + The Grapes of Wrath + Sapiente quod at et. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '155' + body: + encoding: UTF-8 + string: | + + The Grapes of Wrath + Sapiente quod at et. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:17 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:17 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/new_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '128' + body: + encoding: UTF-8 + string: | + <package name="new_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:17 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/new_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:17 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_2.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_2.yml new file mode 100644 index 00000000000..ba0b8684337 --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_2.yml @@ -0,0 +1,442 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:50 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:51 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:51 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:51 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:51 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:51 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + A Scanner Darkly + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '107' + body: + encoding: UTF-8 + string: | + + A Scanner Darkly + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:51 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + To a God Unknown + Nihil dolorem molestiae harum. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '162' + body: + encoding: UTF-8 + string: | + + To a God Unknown + Nihil dolorem molestiae harum. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:51 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:51 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/new_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '128' + body: + encoding: UTF-8 + string: | + <package name="new_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:51 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/new_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:28:51 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_3.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_3.yml new file mode 100644 index 00000000000..d46ee306f44 --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_3.yml @@ -0,0 +1,442 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + To a God Unknown + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '107' + body: + encoding: UTF-8 + string: | + + To a God Unknown + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + An Evil Cradling + Necessitatibus et commodi et. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '161' + body: + encoding: UTF-8 + string: | + + An Evil Cradling + Necessitatibus et commodi et. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/new_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '128' + body: + encoding: UTF-8 + string: | + <package name="new_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/new_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:30:01 GMT +recorded_with: VCR 5.0.0 diff --git a/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_4.yml b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_4.yml new file mode 100644 index 00000000000..bdfad96045f --- /dev/null +++ b/src/api/spec/cassettes/Staging_StagedRequestsController/POST_create/with_non-existent_target_package/1_2_10_4.yml @@ -0,0 +1,442 @@ +--- +http_interactions: +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '150' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:43 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 9dcb5cf420daed4d036a384bfeb64efb + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:43 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:A"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:43 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user + body: + encoding: UTF-8 + string: | + + + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '178' + body: + encoding: UTF-8 + string: | + + 55c0e52fdb04d9dffcf1ab79dc2ec54c + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:44 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <group groupid="staging-workflow-managers-1" role="maintainer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '173' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user:Staging:B"> + <title> + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:44 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + <person userid="permitted_user" role="maintainer"/> + <group groupid="staging-workflow-managers-1" role="reviewer"/> + </project> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '215' + body: + encoding: UTF-8 + string: | + <project name="home:permitted_user"> + <title> + + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:44 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + What's Become of Waring + + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '114' + body: + encoding: UTF-8 + string: | + + What's Become of Waring + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:44 GMT +- request: + method: put + uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + The Moving Toyshop + Rerum earum voluptatem doloribus. + + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '167' + body: + encoding: UTF-8 + string: | + + The Moving Toyshop + Rerum earum voluptatem doloribus. + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:44 GMT +- request: + method: get + uri: http://backend:5352/source/source_project/source_package?expand=1 + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '89' + body: + encoding: UTF-8 + string: | + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:44 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/new_package/_meta?user=permitted_user + body: + encoding: UTF-8 + string: | + + + <description/> + </package> + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '128' + body: + encoding: UTF-8 + string: | + <package name="new_package" project="home:permitted_user:Staging:A"> + <title> + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:44 GMT +- request: + method: put + uri: http://backend:5352/source/home:permitted_user:Staging:A/new_package/_link?user=permitted_user + body: + encoding: UTF-8 + string: + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '214' + body: + encoding: UTF-8 + string: | + + d5e16cac42930eeb8421736378202c08 + unknown + + permitted_user + + + + http_version: + recorded_at: Tue, 19 Nov 2019 13:29:44 GMT +recorded_with: VCR 5.0.0