Project

General

Profile

« Previous | Next » 

Revision 2bf1b05c

Added by Thomas McKay over 7 years ago

recorded test=setup/setup

View differences:

test/fixtures/vcr_cassettes/setup/setup_lifecycle_environments/setup.yml
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:01 GMT
- Wed, 12 Oct 2016 14:11:17 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- b7e3fa2e-ea60-4d4d-9e31-78fa63b0e09a
- ee4b72b9-79e5-4892-8a66-abedf4f26e2d
X-Runtime:
- '0.077533'
- '0.080491'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '81'
Set-Cookie:
- _session_id=cd53e2b248f23d5524d4eca1ea365e80; path=/; HttpOnly
- _session_id=74624686ed03d5f10e30fa17158cf3e3; path=/; HttpOnly
body:
encoding: UTF-8
string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
recorded_at: Wed, 12 Oct 2016 14:11:16 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
......
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:01 GMT
- Wed, 12 Oct 2016 14:11:17 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 6fe9b8e9-734c-4b75-a21b-1405201a5e36
- dc3702e7-3a94-4faa-a6c7-6069099acdda
X-Runtime:
- '0.066910'
- '0.088390'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '565'
Set-Cookie:
- _session_id=499842f3e9d5af9201a461c725e2fb8b; path=/; HttpOnly
- _session_id=f3337d78c8271026577afb9e71c69534; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: !binary |-
......
ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999
......
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:01 GMT
- Wed, 12 Oct 2016 14:11:17 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- bbb73429-e6d3-43cd-930b-9792ae8da2d9
- e381be4f-f306-464c-a248-16dbda38576b
X-Runtime:
- '0.097848'
- '0.068006'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '563'
Set-Cookie:
- _session_id=6b97a2745f991c1af2fb4e42c863e982; path=/; HttpOnly
- _session_id=ad895a8b295f809b0a8f2d0c06281eaf; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
......
"results": [{"label":"Default_Organization","created_at":"2016-09-30 14:47:05 UTC","updated_at":"2016-09-30 14:47:05 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
}
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
......
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:01 GMT
- Wed, 12 Oct 2016 14:11:17 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 613ef529-c747-4fb4-bd2c-b3298099f145
- 660c6e97-6f66-445b-9ecf-74c75797f90e
X-Runtime:
- '0.076197'
- '0.073548'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '379'
Set-Cookie:
- _session_id=525c5c3629dfb06965ed10c2bb5f948b; path=/; HttpOnly
- _session_id=b5fda92bc66430a58ba8b79c2fc64f25; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
......
"results": [{"label":"Default_Organization","created_at":"2016-09-30 14:47:05 UTC","updated_at":"2016-09-30 14:47:05 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null}]
}
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/1/environments?per_page=999999
......
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:01 GMT
- Wed, 12 Oct 2016 14:11:17 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- daaf22ac-7df1-4848-a5ab-f7fe3044ec6e
- 0e89a494-4a9c-4ef5-a3a8-fce10ff0ead8
X-Runtime:
- '0.116359'
- '0.117210'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '835'
Set-Cookie:
- _session_id=ccd0313be6fa498a1900cc2d493efd52; path=/; HttpOnly
- _session_id=7850c5ce3e54977df148931ac300d31c; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":true,"id":1,"name":"Library","label":"Library","description":null,"organization":{"name":"Default Organization","label":"Default_Organization","id":1},"created_at":"2016-09-30 14:47:10 UTC","updated_at":"2016-09-30 14:47:10 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"content_views":0,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":0,"ostree_repositories":0,"products":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}]}
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:02 GMT
- Wed, 12 Oct 2016 14:11:17 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 17a6f097-181f-4247-9e9f-f46e0878c3ad
- c6707ccc-8b0f-49bc-b043-ae4bb53186d7
X-Runtime:
- '1.122352'
- '0.065042'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '388'
Set-Cookie:
- _session_id=e8c751c2a1af15e004e3eb8fa1ed4ddc; path=/; HttpOnly
- _session_id=7ea1b9154e9b6e82a2512395c707ddfb; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
......
"results": [{"label":"testcorp","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
}
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:03 GMT
recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8/environments?per_page=999999
......
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:02 GMT
- Wed, 12 Oct 2016 14:11:18 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- ac4feda4-8bec-4802-aacf-91df1ceb4dd8
- 4b30de91-6c12-4311-b578-9f42b81345d8
X-Runtime:
- '0.231396'
- '1.235855'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '3204'
Set-Cookie:
- _session_id=e7c180600b1439b876aa82e526d0efce; path=/; HttpOnly
- _session_id=aa7847f701881964cc023e45f0e5a7fc; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
{"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":5,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:24 UTC","updated_at":"2016-09-30 15:12:24 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":2,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":0,"ostree_repositories":0,"products":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:25 UTC","updated_at":"2016-09-30 15:12:25 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:03 GMT
recorded_at: Wed, 12 Oct 2016 14:11:18 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/3
......
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:03 GMT
- Wed, 12 Oct 2016 14:11:18 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 3fd571eb-fb8c-4e90-b28a-cc2ffbba2ffc
- 635da03b-f082-4922-bf18-e0b48838dab4
X-Runtime:
- '0.125180'
- '0.117025'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '611'
Set-Cookie:
- _session_id=b6e82945ae694ceff2c812dbdfd35d3a; path=/; HttpOnly
- _session_id=0e526bd0fd5a28e58047faa076c9ce59; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |2
{"library":false,"id":3,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
recorded_at: Wed, 12 Oct 2016 14:11:18 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/4
......
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:03 GMT
- Wed, 12 Oct 2016 14:11:19 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 54692a73-ee6b-4426-b146-1fbe0cb1a1ed
- 37dd30c9-a3cb-4a12-b410-2672d5c0fe5c
X-Runtime:
- '0.135760'
- '0.111166'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '603'
Set-Cookie:
- _session_id=5b5cb341d49abbdfad753d8e5d7c47c5; path=/; HttpOnly
- _session_id=7903c53863936a22a89aca3740c0a535; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |2
{"library":false,"id":4,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/5
......
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:03 GMT
- Wed, 12 Oct 2016 14:11:19 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- d781dcbe-8bf3-496b-b803-4ec2682f842c
- 96a164b8-2422-4d0c-9f9b-e7ac9aecbb50
X-Runtime:
- '0.125443'
- '0.123978'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '604'
Set-Cookie:
- _session_id=a7673b98f8333b38afd69b48c28ed5fe; path=/; HttpOnly
- _session_id=f270c2f5a85caa8be90f4778f430ee93; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |2
{"library":false,"id":5,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:24 UTC","updated_at":"2016-09-30 15:12:24 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/6
......
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:03 GMT
- Wed, 12 Oct 2016 14:11:19 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 12f9051b-594f-4daa-8ff8-047b411287b7
- 447125ee-8cb2-402e-8720-1eb1f3c074db
X-Runtime:
- '0.114626'
- '0.122287'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
Content-Length:
- '575'
Set-Cookie:
- _session_id=c56ea175b734be72ebb4258fbc15fd2e; path=/; HttpOnly
- _session_id=4ddda0d3f6067d20beb859c5d0f4485c; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |2
{"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:25 UTC","updated_at":"2016-09-30 15:12:25 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
recorded_with: VCR 3.0.3

Also available in: Unified diff