|
---
|
|
http_interactions:
|
|
- request:
|
|
method: get
|
|
uri: https://admin:changeme@centos7-devel.example.com/api/status
|
|
body:
|
|
encoding: US-ASCII
|
|
string: ''
|
|
headers:
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
Accept:
|
|
- "*/*"
|
|
User-Agent:
|
|
- Ruby
|
|
Host:
|
|
- centos7-devel.example.com
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Fri, 09 Jun 2017 17:05:59 GMT
|
|
Server:
|
|
- Apache/2.4.6 (CentOS)
|
|
Foreman-Version:
|
|
- 1.16.0-develop
|
|
Foreman-Api-Version:
|
|
- '2'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Apipie-Checksum:
|
|
- 801a7a10d05883b9611f929d3ab6042d
|
|
Etag:
|
|
- W/"daee39b3fc9265eda63ba5b269a33b30-gzip"
|
|
Cache-Control:
|
|
- max-age=0, private, must-revalidate
|
|
X-Request-Id:
|
|
- 0507ffea-6cc2-4ea2-8740-d09d48e82c04
|
|
X-Runtime:
|
|
- '0.136265'
|
|
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''
|
|
''self''; style-src ''unsafe-inline'' ''self'''
|
|
Strict-Transport-Security:
|
|
- max-age=631152000; includeSubdomains
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Download-Options:
|
|
- noopen
|
|
X-Frame-Options:
|
|
- sameorigin
|
|
X-Permitted-Cross-Domain-Policies:
|
|
- none
|
|
X-Xss-Protection:
|
|
- 1; mode=block
|
|
Set-Cookie:
|
|
- _session_id=2c7472dbfa95731bc783abdc9fd580b9; path=/; HttpOnly
|
|
Via:
|
|
- 1.1 centos7-devel.example.com
|
|
Vary:
|
|
- Accept-Encoding
|
|
Content-Length:
|
|
- '81'
|
|
Connection:
|
|
- close
|
|
body:
|
|
encoding: ASCII-8BIT
|
|
string: '{"result":"ok","status":200,"version":"1.16.0-develop","api_version":2}'
|
|
http_version:
|
|
recorded_at: Fri, 09 Jun 2017 17:06:00 GMT
|
|
- request:
|
|
method: get
|
|
uri: https://admin:changeme@centos7-devel.example.com/api/v2/plugins
|
|
body:
|
|
encoding: US-ASCII
|
|
string: ''
|
|
headers:
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
Accept:
|
|
- "*/*"
|
|
User-Agent:
|
|
- Ruby
|
|
Host:
|
|
- centos7-devel.example.com
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Fri, 09 Jun 2017 17:06:00 GMT
|
|
Server:
|
|
- Apache/2.4.6 (CentOS)
|
|
Foreman-Version:
|
|
- 1.16.0-develop
|
|
Foreman-Api-Version:
|
|
- '2'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Apipie-Checksum:
|
|
- 801a7a10d05883b9611f929d3ab6042d
|
|
Etag:
|
|
- W/"95fd6e562dda24aea3ba5cd3ff59001d-gzip"
|
|
Cache-Control:
|
|
- max-age=0, private, must-revalidate
|
|
X-Request-Id:
|
|
- 5a4f4daf-2c59-4019-9edf-513d00a6f902
|
|
X-Runtime:
|
|
- '0.117303'
|
|
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''
|
|
''self''; style-src ''unsafe-inline'' ''self'''
|
|
Strict-Transport-Security:
|
|
- max-age=631152000; includeSubdomains
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Download-Options:
|
|
- noopen
|
|
X-Frame-Options:
|
|
- sameorigin
|
|
X-Permitted-Cross-Domain-Policies:
|
|
- none
|
|
X-Xss-Protection:
|
|
- 1; mode=block
|
|
Set-Cookie:
|
|
- _session_id=0bc8e990f200808d39ca9243abfea39f; path=/; HttpOnly
|
|
Via:
|
|
- 1.1 centos7-devel.example.com
|
|
Vary:
|
|
- Accept-Encoding
|
|
Content-Length:
|
|
- '566'
|
|
Connection:
|
|
- close
|
|
body:
|
|
encoding: ASCII-8BIT
|
|
string: !binary |-
|
|
ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
|
|
CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
|
|
OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
|
|
InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
|
|
ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
|
|
b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
|
|
d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
|
|
YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
|
|
bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
|
|
b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
|
|
a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
|
|
Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
|
|
Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
|
|
c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
|
|
LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
|
|
ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjkuMiJ9LHsiaWQiOiJmb3JlbWFu
|
|
X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
|
|
bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
|
|
aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
|
|
IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
|
|
b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
|
|
ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
|
|
ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
|
|
ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
|
|
YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjUuMCJ9XQp9Cg==
|
|
http_version:
|
|
recorded_at: Fri, 09 Jun 2017 17:06:00 GMT
|
|
- request:
|
|
method: get
|
|
uri: https://admin:changeme@centos7-devel.example.com/api/status
|
|
body:
|
|
encoding: US-ASCII
|
|
string: ''
|
|
headers:
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
Accept:
|
|
- "*/*"
|
|
User-Agent:
|
|
- Ruby
|
|
Host:
|
|
- centos7-devel.example.com
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Fri, 09 Jun 2017 17:06:00 GMT
|
|
Server:
|
|
- Apache/2.4.6 (CentOS)
|
|
Foreman-Version:
|
|
- 1.16.0-develop
|
|
Foreman-Api-Version:
|
|
- '2'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Apipie-Checksum:
|
|
- 801a7a10d05883b9611f929d3ab6042d
|
|
Etag:
|
|
- W/"daee39b3fc9265eda63ba5b269a33b30-gzip"
|
|
Cache-Control:
|
|
- max-age=0, private, must-revalidate
|
|
X-Request-Id:
|
|
- 197fb7dc-ff54-4da3-80f6-7cf54c23e425
|
|
X-Runtime:
|
|
- '0.127474'
|
|
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''
|
|
''self''; style-src ''unsafe-inline'' ''self'''
|
|
Strict-Transport-Security:
|
|
- max-age=631152000; includeSubdomains
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Download-Options:
|
|
- noopen
|
|
X-Frame-Options:
|
|
- sameorigin
|
|
X-Permitted-Cross-Domain-Policies:
|
|
- none
|
|
X-Xss-Protection:
|
|
- 1; mode=block
|
|
Set-Cookie:
|
|
- _session_id=85a6bd1059b79e082ba8a62457e0e5fa; path=/; HttpOnly
|
|
Via:
|
|
- 1.1 centos7-devel.example.com
|
|
Vary:
|
|
- Accept-Encoding
|
|
Content-Length:
|
|
- '81'
|
|
Connection:
|
|
- close
|
|
body:
|
|
encoding: ASCII-8BIT
|
|
string: '{"result":"ok","status":200,"version":"1.16.0-develop","api_version":2}'
|
|
http_version:
|
|
recorded_at: Fri, 09 Jun 2017 17:06:00 GMT
|
|
- request:
|
|
method: get
|
|
uri: https://admin:changeme@centos7-devel.example.com/api/v2/plugins
|
|
body:
|
|
encoding: US-ASCII
|
|
string: ''
|
|
headers:
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
Accept:
|
|
- "*/*"
|
|
User-Agent:
|
|
- Ruby
|
|
Host:
|
|
- centos7-devel.example.com
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Fri, 09 Jun 2017 17:06:00 GMT
|
|
Server:
|
|
- Apache/2.4.6 (CentOS)
|
|
Foreman-Version:
|
|
- 1.16.0-develop
|
|
Foreman-Api-Version:
|
|
- '2'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Apipie-Checksum:
|
|
- 801a7a10d05883b9611f929d3ab6042d
|
|
Etag:
|
|
- W/"95fd6e562dda24aea3ba5cd3ff59001d-gzip"
|
|
Cache-Control:
|
|
- max-age=0, private, must-revalidate
|
|
X-Request-Id:
|
|
- eff3217f-60ff-45b6-b231-1c65fd29de2d
|
|
X-Runtime:
|
|
- '0.117800'
|
|
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''
|
|
''self''; style-src ''unsafe-inline'' ''self'''
|
|
Strict-Transport-Security:
|
|
- max-age=631152000; includeSubdomains
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Download-Options:
|
|
- noopen
|
|
X-Frame-Options:
|
|
- sameorigin
|
|
X-Permitted-Cross-Domain-Policies:
|
|
- none
|
|
X-Xss-Protection:
|
|
- 1; mode=block
|
|
Set-Cookie:
|
|
- _session_id=0f236102c3345efb2303b58f28b9c654; path=/; HttpOnly
|
|
Via:
|
|
- 1.1 centos7-devel.example.com
|
|
Vary:
|
|
- Accept-Encoding
|
|
Content-Length:
|
|
- '566'
|
|
Connection:
|
|
- close
|
|
body:
|
|
encoding: ASCII-8BIT
|
|
string: !binary |-
|
|
ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
|
|
CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
|
|
OiB7CiAgICAiYnkiOiBudWxsLAogICAg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