Project

General

Profile

Revision ff467024

Added by Thomas McKay almost 6 years ago

vcr - full re-record

View differences:

test/fixtures/vcr_cassettes/setup/setup_content_views/setup.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: get
5
    uri: https://admin:changeme@satlap.example.com/api/status
5
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/content_views?nondefault=true&per_page=999999
6 6
    body:
7 7
      encoding: US-ASCII
8 8
      string: ''
9 9
    headers:
10
      Accept-Encoding:
11
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12 10
      Accept:
13
      - "*/*"
11
      - application/json;version=2
12
      Accept-Encoding:
13
      - gzip, deflate
14 14
      User-Agent:
15
      - Ruby
15
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
16
      Content-Type:
17
      - application/json
18
      Accept-Language:
19
      - en
16 20
      Host:
17 21
      - satlap.example.com
18 22
  response:
......
21 25
      message: OK
22 26
    headers:
23 27
      Date:
24
      - Mon, 19 Dec 2016 16:43:50 GMT
28
      - Mon, 19 Dec 2016 16:43:51 GMT
25 29
      Server:
26 30
      - Apache/2.4.6 (Red Hat Enterprise Linux)
27 31
      X-Frame-Options:
......
39 43
      Cache-Control:
40 44
      - max-age=0, private, must-revalidate
41 45
      X-Request-Id:
42
      - 16d3d194-b1a7-445d-8626-87e494c7cf5b
46
      - 34322e3a-ec7b-43df-bfbe-b8f6a20bb512
43 47
      X-Runtime:
44
      - '0.046121'
48
      - '0.056925'
45 49
      X-Powered-By:
46 50
      - Phusion Passenger 4.0.18
47 51
      Set-Cookie:
48
      - _session_id=28c54f68938892bdc6c36bf9a5ec72d3; path=/; secure; HttpOnly
52
      - _session_id=4614c90932934a4178d9d3436607dc4f; path=/; secure; HttpOnly
49 53
      Etag:
50
      - '"6ec0375dc2b106a955e67a8139b7d9c5"'
54
      - '"cf301b4117cad49bd4d896be95b62228-gzip"'
51 55
      Status:
52 56
      - 200 OK
57
      Vary:
58
      - Accept-Encoding
53 59
      Content-Length:
54
      - '66'
60
      - '923'
55 61
      Content-Type:
56 62
      - application/json; charset=utf-8
57 63
    body:
58
      encoding: UTF-8
59
      string: '{"result":"ok","status":200,"version":"1.11.0.61","api_version":2}'
64
      encoding: ASCII-8BIT
65
      string: '{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
66
        Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
67
        Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:58
68
        UTC","updated_at":"2016-12-13 10:58:59 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-13
69
        10:58:59 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-13
70
        10:58:59 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
71

  
72
'
60 73
    http_version: 
61 74
  recorded_at: Mon, 19 Dec 2016 16:43:34 GMT
62 75
- request:
63 76
    method: get
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
77
    uri: https://admin:changeme@devel.example.com:50083/api/status
65 78
    body:
66 79
      encoding: US-ASCII
67 80
      string: ''
......
73 86
      User-Agent:
74 87
      - Ruby
75 88
      Host:
76
      - satlap.example.com
89
      - devel.example.com:50083
77 90
  response:
78 91
    status:
79 92
      code: 200
80 93
      message: OK
81 94
    headers:
82 95
      Date:
83
      - Mon, 19 Dec 2016 16:43:51 GMT
96
      - Mon, 27 Mar 2017 18:36:45 GMT
84 97
      Server:
85 98
      - Apache/2.4.6 (Red Hat Enterprise Linux)
86 99
      X-Frame-Options:
......
90 103
      X-Content-Type-Options:
91 104
      - nosniff
92 105
      Foreman-Version:
93
      - 1.11.0.61
106
      - 1.11.0.54
94 107
      Foreman-Api-Version:
95 108
      - '2'
96 109
      Apipie-Checksum:
97
      - 9793fd9909c89b81479655ed560c4340
110
      - e1df2e8d43e22495b02a53b48e3b5298
98 111
      Cache-Control:
99 112
      - max-age=0, private, must-revalidate
100 113
      X-Request-Id:
101
      - 9b4e98dc-2cfc-48bd-9f2e-7bfbd5366c00
114
      - d5874210-3c0d-41f2-b551-9be8aef88b1c
102 115
      X-Runtime:
103
      - '0.036413'
116
      - '0.070972'
104 117
      X-Powered-By:
105 118
      - Phusion Passenger 4.0.18
119
      Etag:
120
      - '"8e3341d0a4cc328651f7391aed11fef8"'
121
      Status:
122
      - 200 OK
123
      Content-Length:
124
      - '66'
125
      Content-Type:
126
      - application/json; charset=utf-8
106 127
      Set-Cookie:
107
      - _session_id=9fa25e2c06257d9bed6f3990a09a71ae; path=/; secure; HttpOnly
128
      - _session_id=885c286486591c3dff376af2f158c439; path=/; secure; HttpOnly
129
    body:
130
      encoding: UTF-8
131
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
132
    http_version: 
133
  recorded_at: Mon, 27 Mar 2017 18:36:51 GMT
134
- request:
135
    method: get
136
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
137
    body:
138
      encoding: US-ASCII
139
      string: ''
140
    headers:
141
      Accept-Encoding:
142
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
143
      Accept:
144
      - "*/*"
145
      User-Agent:
146
      - Ruby
147
      Host:
148
      - devel.example.com:50083
149
  response:
150
    status:
151
      code: 200
152
      message: OK
153
    headers:
154
      Date:
155
      - Mon, 27 Mar 2017 18:36:45 GMT
156
      Server:
157
      - Apache/2.4.6 (Red Hat Enterprise Linux)
158
      X-Frame-Options:
159
      - SAMEORIGIN
160
      X-Xss-Protection:
161
      - 1; mode=block
162
      X-Content-Type-Options:
163
      - nosniff
164
      Foreman-Version:
165
      - 1.11.0.54
166
      Foreman-Api-Version:
167
      - '2'
168
      Apipie-Checksum:
169
      - e1df2e8d43e22495b02a53b48e3b5298
170
      Cache-Control:
171
      - max-age=0, private, must-revalidate
172
      X-Request-Id:
173
      - 2588521e-9652-4879-a254-bf7c400eb659
174
      X-Runtime:
175
      - '0.073816'
176
      X-Powered-By:
177
      - Phusion Passenger 4.0.18
108 178
      Etag:
109
      - '"973c5d3fa1e5326b7762aec3d6a31dde-gzip"'
179
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
110 180
      Status:
111 181
      - 200 OK
112 182
      Vary:
113 183
      - Accept-Encoding
114 184
      Content-Length:
115
      - '1339'
185
      - '1338'
116 186
      Content-Type:
117 187
      - application/json; charset=utf-8
188
      Set-Cookie:
189
      - _session_id=d41279cf108bb3d69f1ecff27766d5ce; path=/; secure; HttpOnly
118 190
    body:
119 191
      encoding: ASCII-8BIT
120 192
      string: !binary |-
......
133 205
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
134 206
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
135 207
        a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
136
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC4xMSJ9LHsiaWQiOiJm
137
        b3JlbWFuX2Jvb3RkaXNrIiwibmFtZSI6ImZvcmVtYW5fYm9vdGRpc2siLCJh
138
        dXRob3IiOiJEb21pbmljIENsZWFsIiwiZGVzY3JpcHRpb24iOiJQbHVnaW4g
139
        Zm9yIEZvcmVtYW4gdGhhdCBjcmVhdGVzIGlQWEUtYmFzZWQgYm9vdCBkaXNr
140
        cyB0byBwcm92aXNpb24gaG9zdHMgd2l0aG91dCB0aGUgbmVlZCBmb3IgUFhF
141
        IGluZnJhc3RydWN0dXJlLiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
142
        ZWZvcmVtYW4vZm9yZW1hbl9ib290ZGlzayIsInZlcnNpb24iOiI2LjEuMC4z
143
        In0seyJpZCI6ImZvcmVtYW5fZGlzY292ZXJ5IiwibmFtZSI6ImZvcmVtYW5f
144
        ZGlzY292ZXJ5IiwiYXV0aG9yIjoiQW1vcyBCZW5hcmksQnJ5YW4gS2Vhcm5l
145
        eSxDaGFpcm1hblR1YmVBbXAsRGFuaWVsIExvYmF0byBHYXJjw61hLERvbWlu
146
        aWMgQ2xlYWwsRXJpYyBELiBIZWxtcyxGcmFuayBXYWxsLEdyZWcgU3V0Y2xp
147
        ZmZlLEltcmkgWnZpayxKb3NlcGggTWl0Y2hlbGwgTWFnZW4sTHVrYXMgWmFw
148
        bGV0YWwsTHVrw6HFoSBaYXBsZXRhbCxNYXJlayBIdWxhbixNYXJ0aW4gQmHE
149
        jW92c2vDvSxNYXR0IEphcnZpcyxNaWNoYWVsIE1vbGwsTmljayxPaGFkIExl
150
        dnksT3JpIFJhYmluLFBldHIgQ2hhbHVwYSxQaGlyaW5jZSBQaGlsaXAsU2N1
151
        YmFmbG95ZCxTaGxvbWkgWmFkb2ssU3RlcGhlbiBCZW5qYW1pbixZYW5uIEPD
152
        qXphcmQiLCJkZXNjcmlwdGlvbiI6Ik1hYVMgRGlzY292ZXJ5IFBsdWdpbiBl
153
        bmdpbmUgZm9yIEZvcmVtYW4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90
154
        aGVmb3JlbWFuL2ZvcmVtYW5fZGlzY292ZXJ5IiwidmVyc2lvbiI6IjUuMC4w
155
        LjkifSx7ImlkIjoiZm9yZW1hbl9kb2NrZXIiLCJuYW1lIjoiZm9yZW1hbl9k
156
        b2NrZXIiLCJhdXRob3IiOiJEYW5pZWwgTG9iYXRvLCBBbW9zIEJlbmFyaSIs
157
        ImRlc2NyaXB0aW9uIjoiUHJvdmlzaW9uIGFuZCBtYW5hZ2UgRG9ja2VyIGNv
158
        bnRhaW5lcnMgYW5kIGltYWdlcyBmcm9tIEZvcmVtYW4uIiwidXJsIjoiaHR0
159
        cDovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9mb3JlbWFuLWRvY2tlciIsInZl
160
        cnNpb24iOiIyLjAuMS4xMSJ9LHsiaWQiOiJmb3JlbWFuX2hvb2tzIiwibmFt
161
        ZSI6ImZvcmVtYW5faG9va3MiLCJhdXRob3IiOiJEb21pbmljIENsZWFsIiwi
162
        ZGVzY3JpcHRpb24iOiJQbHVnaW4gZW5naW5lIGZvciBGb3JlbWFuIHRoYXQg
163
        ZW5hYmxlcyBydW5uaW5nIGN1c3RvbSBob29rIHNjcmlwdHMgb24gRm9yZW1h
164
        biBldmVudHMiLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVmb3JlbWFu
165
        L2ZvcmVtYW5faG9va3MiLCJ2ZXJzaW9uIjoiMC4zLjExIn0seyJpZCI6ImZv
166
        cmVtYW5fb3BlbnNjYXAiLCJuYW1lIjoiZm9yZW1hbl9vcGVuc2NhcCIsImF1
167
        dGhvciI6IsWgaW1vbiBMdWthxaHDrWssU2hsb21pIFphZG9rLE1hcmVrIEh1
168
        bGFuLE9uZHJlaiBQcmF6YWsiLCJkZXNjcmlwdGlvbiI6IkZvcmVtYW4gcGx1
169
        Zy1pbiBmb3IgbWFuYWdpbmcgc2VjdXJpdHkgY29tcGxpYW5jZSByZXBvcnRz
170
        IiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL09wZW5TQ0FQL2ZvcmVtYW5f
171
        b3BlbnNjYXAiLCJ2ZXJzaW9uIjoiMC41LjMuMTgifSx7ImlkIjoiZm9yZW1h
172
        bl9yZW1vdGVfZXhlY3V0aW9uIiwibmFtZSI6ImZvcmVtYW5fcmVtb3RlX2V4
173
        ZWN1dGlvbiIsImF1dGhvciI6IkZvcmVtYW4gUmVtb3RlIEV4ZWN1dGlvbiB0
174
        ZWFtIiwiZGVzY3JpcHRpb24iOiJBIHBsdWdpbiBicmluZ2luZyByZW1vdGUg
175
        ZXhlY3V0aW9uIHRvIHRoZSBGb3JlbWFuLCBjb21wbGV0aW5nIHRoZSBjb25m
176
        aWcgbWFuYWdlbWVudCBmdW5jdGlvbmFsaXR5IHdpdGggcmVtb3RlIG1hbmFn
177
        ZW1lbnQgZnVuY3Rpb25hbGl0eS4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5j
178
        b20vdGhlZm9yZW1hbi9mb3JlbWFuX3JlbW90ZV9leGVjdXRpb24iLCJ2ZXJz
179
        aW9uIjoiMC4zLjAuMTIifSx7ImlkIjoiZm9yZW1hbl90aGVtZV9zYXRlbGxp
180
        dGUiLCJuYW1lIjoiZm9yZW1hbl90aGVtZV9zYXRlbGxpdGUiLCJhdXRob3Ii
181
        OiJBbG9uIEdvbGRib2ltLCBTaGltb24gU3RlaW4iLCJkZXNjcmlwdGlvbiI6
182
        IlRoaXMgaXMgYSBwbHVnaW4gdGhhdCBlbmFibGVzIGJ1aWxkaW5nIGEgdGhl
183
        bWUgZm9yIEZvcmVtYW4uIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL2Fs
184
        b25nb2xkYm9pbS9mb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsInZlcnNpb24i
185
        OiIwLjEuMzYifSx7ImlkIjoia2F0ZWxsbyIsIm5hbWUiOiJrYXRlbGxvIiwi
186
        YXV0aG9yIjoiTi9BIiwiZGVzY3JpcHRpb24iOiJDb250ZW50IGFuZCBTdWJz
187
        Y3JpcHRpb24gTWFuYWdlbWVudCBwbHVnaW4gZm9yIEZvcmVtYW4iLCJ1cmwi
188
        OiJodHRwOi8vd3d3LmthdGVsbG8ub3JnIiwidmVyc2lvbiI6IjMuMC4wLjkw
189
        In0seyJpZCI6InJlZGhhdF9hY2Nlc3MiLCJuYW1lIjoicmVkaGF0X2FjY2Vz
190
        cyIsImF1dGhvciI6IkxpbmRhbmkgUGhpcmkiLCJkZXNjcmlwdGlvbiI6IlRo
191
        aXMgcGx1Z2luIGFkZHMgUmVkIEhhdCBBY2Nlc3Mga25vd2xlZGdlIGJhc2Ug
192
        c2VhcmNoLCBjYXNlIG1hbmFnZW1lbnQgYW5kIGRpYWdub3N0aWNzIHRvIEZv
193
        cmVtYW4iLCJ1cmwiOiJodHRwOi8vd3d3LmxwaGlyaS5yZWRoYXQuY29tIiwi
194
        dmVyc2lvbiI6IjEuMC4xMyJ9XQp9Cg==
208
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
209
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
210
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
211
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
212
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
213
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
214
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
215
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
216
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
217
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
218
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
219
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
220
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
221
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
222
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
223
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
224
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
225
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
226
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
227
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
228
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
229
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
230
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
231
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
232
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
233
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
234
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
235
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
236
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
237
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
238
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
239
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
240
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
241
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
242
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
243
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
244
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
245
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
246
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
247
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
248
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
249
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
250
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
251
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
252
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
253
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
254
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
255
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
256
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
257
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
258
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
259
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
260
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
261
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
262
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
263
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
264
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
265
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
266
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
195 267
    http_version: 
196
  recorded_at: Mon, 19 Dec 2016 16:43:34 GMT
268
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
197 269
- request:
198 270
    method: get
199
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
271
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
200 272
    body:
201 273
      encoding: US-ASCII
202 274
      string: ''
......
212 284
      Accept-Language:
213 285
      - en
214 286
      Host:
215
      - satlap.example.com
287
      - devel.example.com:50083
216 288
  response:
217 289
    status:
218 290
      code: 200
219 291
      message: OK
220 292
    headers:
221 293
      Date:
222
      - Mon, 19 Dec 2016 16:43:51 GMT
294
      - Mon, 27 Mar 2017 18:36:45 GMT
223 295
      Server:
224 296
      - Apache/2.4.6 (Red Hat Enterprise Linux)
225 297
      X-Frame-Options:
......
229 301
      X-Content-Type-Options:
230 302
      - nosniff
231 303
      Foreman-Version:
232
      - 1.11.0.61
304
      - 1.11.0.54
233 305
      Foreman-Api-Version:
234 306
      - '2'
235 307
      Apipie-Checksum:
236
      - 9793fd9909c89b81479655ed560c4340
308
      - e1df2e8d43e22495b02a53b48e3b5298
237 309
      Cache-Control:
238 310
      - max-age=0, private, must-revalidate
239 311
      X-Request-Id:
240
      - d2ece62f-632f-41e8-8b96-7709e4bdf121
312
      - 3b7813cb-0037-4b09-8182-2617163d5f8d
241 313
      X-Runtime:
242
      - '0.041197'
314
      - '0.078826'
243 315
      X-Powered-By:
244 316
      - Phusion Passenger 4.0.18
245
      Set-Cookie:
246
      - _session_id=7d9801c381839acc4b2a33e692782ef7; path=/; secure; HttpOnly
247 317
      Etag:
248
      - '"f1bc20326d93260c86807cfd4749cd80-gzip"'
318
      - '"889d59438c9dbada3bd3c0b258f7a13e-gzip"'
249 319
      Status:
250 320
      - 200 OK
251 321
      Vary:
......
254 324
      - '388'
255 325
      Content-Type:
256 326
      - application/json; charset=utf-8
327
      Set-Cookie:
328
      - _session_id=14fe151c9515f4a07228866acad8b166; path=/; secure; HttpOnly
257 329
    body:
258 330
      encoding: ASCII-8BIT
259 331
      string: |
......
267 339
            "by": null,
268 340
            "order": null
269 341
          },
270
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-19 16:42:44 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
342
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:36:07 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
271 343
        }
272 344
    http_version: 
273
  recorded_at: Mon, 19 Dec 2016 16:43:34 GMT
345
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
274 346
- request:
275 347
    method: get
276
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/content_views?nondefault=true&per_page=999999
348
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/content_views?nondefault=true&per_page=999999
277 349
    body:
278 350
      encoding: US-ASCII
279 351
      string: ''
......
289 361
      Accept-Language:
290 362
      - en
291 363
      Host:
292
      - satlap.example.com
364
      - devel.example.com:50083
293 365
  response:
294 366
    status:
295 367
      code: 200
296 368
      message: OK
297 369
    headers:
298 370
      Date:
299
      - Mon, 19 Dec 2016 16:43:51 GMT
371
      - Mon, 27 Mar 2017 18:36:45 GMT
300 372
      Server:
301 373
      - Apache/2.4.6 (Red Hat Enterprise Linux)
302 374
      X-Frame-Options:
......
306 378
      X-Content-Type-Options:
307 379
      - nosniff
308 380
      Foreman-Version:
309
      - 1.11.0.61
381
      - 1.11.0.54
310 382
      Foreman-Api-Version:
311 383
      - '2'
312 384
      Apipie-Checksum:
313
      - 9793fd9909c89b81479655ed560c4340
385
      - e1df2e8d43e22495b02a53b48e3b5298
314 386
      Cache-Control:
315 387
      - max-age=0, private, must-revalidate
316 388
      X-Request-Id:
317
      - 34322e3a-ec7b-43df-bfbe-b8f6a20bb512
389
      - 74a6315f-4f48-42fb-84f4-5f0ade6d3bcd
318 390
      X-Runtime:
319
      - '0.056925'
391
      - '0.071974'
320 392
      X-Powered-By:
321 393
      - Phusion Passenger 4.0.18
322
      Set-Cookie:
323
      - _session_id=4614c90932934a4178d9d3436607dc4f; path=/; secure; HttpOnly
324 394
      Etag:
325
      - '"cf301b4117cad49bd4d896be95b62228-gzip"'
395
      - '"896e5e5aa5afa1c4f53e099eb4de21b3-gzip"'
326 396
      Status:
327 397
      - 200 OK
328 398
      Vary:
......
331 401
      - '923'
332 402
      Content-Type:
333 403
      - application/json; charset=utf-8
404
      Set-Cookie:
405
      - _session_id=c3251459c49c74cc818b433361102e81; path=/; secure; HttpOnly
334 406
    body:
335 407
      encoding: ASCII-8BIT
336 408
      string: '{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
337 409
        Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
338
        Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:58
339
        UTC","updated_at":"2016-12-13 10:58:59 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-13
340
        10:58:59 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-13
341
        10:58:59 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
410
        Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:37:07
411
        UTC","updated_at":"2016-12-01 19:37:09 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-01
412
        19:37:09 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-01
413
        19:37:09 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
342 414

  
343 415
'
344 416
    http_version: 
345
  recorded_at: Mon, 19 Dec 2016 16:43:34 GMT
417
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
346 418
- request:
347 419
    method: put
348
    uri: https://admin:changeme@satlap.example.com/katello/api/content_views/3
420
    uri: https://admin:changeme@devel.example.com:50083/katello/api/content_views/3
349 421
    body:
350 422
      encoding: UTF-8
351 423
      string: '{"description":null,"repository_ids":[]}'
......
363 435
      Content-Length:
364 436
      - '40'
365 437
      Host:
366
      - satlap.example.com
438
      - devel.example.com:50083
367 439
  response:
368 440
    status:
369 441
      code: 200
370 442
      message: OK
371 443
    headers:
372 444
      Date:
373
      - Mon, 19 Dec 2016 16:43:51 GMT
445
      - Mon, 27 Mar 2017 18:36:46 GMT
374 446
      Server:
375 447
      - Apache/2.4.6 (Red Hat Enterprise Linux)
376 448
      X-Frame-Options:
......
380 452
      X-Content-Type-Options:
381 453
      - nosniff
382 454
      Foreman-Version:
383
      - 1.11.0.61
455
      - 1.11.0.54
384 456
      Foreman-Api-Version:
385 457
      - '2'
386 458
      Apipie-Checksum:
387
      - 9793fd9909c89b81479655ed560c4340
459
      - e1df2e8d43e22495b02a53b48e3b5298
388 460
      Cache-Control:
389 461
      - max-age=0, private, must-revalidate
390 462
      X-Request-Id:
391
      - 59541c0e-5f41-4e99-a3c5-c6e57c0b153a
463
      - 6b9a901e-6239-4238-b914-b497021aae23
392 464
      X-Runtime:
393
      - '0.342193'
465
      - '0.393649'
394 466
      X-Powered-By:
395 467
      - Phusion Passenger 4.0.18
396
      Set-Cookie:
397
      - _session_id=d5c259d096bafe87004f66c0b2d88ebc; path=/; secure; HttpOnly
398
      - request_method=PUT; path=/
399 468
      Etag:
400
      - '"8750b128c6a00d402d732d7e92ceb9a1-gzip"'
469
      - '"0901f076dd287990f028cc77e19dd119-gzip"'
401 470
      Status:
402 471
      - 200 OK
403 472
      Vary:
......
406 475
      - '823'
407 476
      Content-Type:
408 477
      - application/json; charset=utf-8
478
      Set-Cookie:
479
      - _session_id=dd0e5a064be60c1df63482c96e3ce6ae; path=/; secure; HttpOnly
480
      - request_method=PUT; path=/
409 481
    body:
410 482
      encoding: ASCII-8BIT
411 483
      string: '  {"content_host_count":0,"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
412 484
        Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
413
        Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:58
414
        UTC","updated_at":"2016-12-13 10:58:59 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-13
415
        10:58:59 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-13
416
        10:58:59 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}
485
        Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:37:07
486
        UTC","updated_at":"2016-12-01 19:37:09 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-01
487
        19:37:09 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-01
488
        19:37:09 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}
417 489

  
418 490
'
419 491
    http_version: 
420
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
492
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
421 493
- request:
422 494
    method: get
423
    uri: https://admin:changeme@satlap.example.com/katello/api/content_views/3
495
    uri: https://admin:changeme@devel.example.com:50083/katello/api/content_views/3
424 496
    body:
425 497
      encoding: US-ASCII
426 498
      string: ''
......
436 508
      Accept-Language:
437 509
      - en
438 510
      Host:
439
      - satlap.example.com
511
      - devel.example.com:50083
440 512
  response:
441 513
    status:
442 514
      code: 200
443 515
      message: OK
444 516
    headers:
445 517
      Date:
446
      - Mon, 19 Dec 2016 16:43:51 GMT
518
      - Mon, 27 Mar 2017 18:36:46 GMT
447 519
      Server:
448 520
      - Apache/2.4.6 (Red Hat Enterprise Linux)
449 521
      X-Frame-Options:
......
453 525
      X-Content-Type-Options:
454 526
      - nosniff
455 527
      Foreman-Version:
456
      - 1.11.0.61
528
      - 1.11.0.54
457 529
      Foreman-Api-Version:
458 530
      - '2'
459 531
      Apipie-Checksum:
460
      - 9793fd9909c89b81479655ed560c4340
532
      - e1df2e8d43e22495b02a53b48e3b5298
461 533
      Cache-Control:
462 534
      - max-age=0, private, must-revalidate
463 535
      X-Request-Id:
464
      - 3747e7db-d348-410a-b7bd-37dc6e57af30
536
      - 2b3e424f-141c-44f5-9f1e-d7f33d263f71
465 537
      X-Runtime:
466
      - '0.069829'
538
      - '0.090113'
467 539
      X-Powered-By:
468 540
      - Phusion Passenger 4.0.18
469
      Set-Cookie:
470
      - _session_id=0b82caee63e56c5a3b1deca256074a62; path=/; secure; HttpOnly
471 541
      Etag:
472
      - '"8750b128c6a00d402d732d7e92ceb9a1-gzip"'
542
      - '"0901f076dd287990f028cc77e19dd119-gzip"'
473 543
      Status:
474 544
      - 200 OK
475 545
      Vary:
......
478 548
      - '823'
479 549
      Content-Type:
480 550
      - application/json; charset=utf-8
551
      Set-Cookie:
552
      - _session_id=9eefbe97914dd4d2c8f363846f66a4cd; path=/; secure; HttpOnly
481 553
    body:
482 554
      encoding: ASCII-8BIT
483 555
      string: '  {"content_host_count":0,"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
484 556
        Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
485
        Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:58
486
        UTC","updated_at":"2016-12-13 10:58:59 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-13
487
        10:58:59 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-13
488
        10:58:59 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}
557
        Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:37:07
558
        UTC","updated_at":"2016-12-01 19:37:09 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-01
559
        19:37:09 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-01
560
        19:37:09 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}
489 561

  
490 562
'
491 563
    http_version: 
492
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
564
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
493 565
- request:
494 566
    method: get
495
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/2
567
    uri: https://admin:changeme@devel.example.com:50083/katello/api/environments/2
496 568
    body:
497 569
      encoding: US-ASCII
498 570
      string: ''
......
508 580
      Accept-Language:
509 581
      - en
510 582
      Host:
511
      - satlap.example.com
583
      - devel.example.com:50083
512 584
  response:
513 585
    status:
514 586
      code: 200
515 587
      message: OK
516 588
    headers:
517 589
      Date:
518
      - Mon, 19 Dec 2016 16:43:51 GMT
590
      - Mon, 27 Mar 2017 18:36:46 GMT
519 591
      Server:
520 592
      - Apache/2.4.6 (Red Hat Enterprise Linux)
521 593
      X-Frame-Options:
......
525 597
      X-Content-Type-Options:
526 598
      - nosniff
527 599
      Foreman-Version:
528
      - 1.11.0.61
600
      - 1.11.0.54
529 601
      Foreman-Api-Version:
530 602
      - '2'
531 603
      Apipie-Checksum:
532
      - 9793fd9909c89b81479655ed560c4340
604
      - e1df2e8d43e22495b02a53b48e3b5298
533 605
      Cache-Control:
534 606
      - max-age=0, private, must-revalidate
535 607
      X-Request-Id:
536
      - a98efe0e-367f-4b76-bd88-88d75712b9d7
608
      - 964b9fd9-b44e-4285-b7c2-212e6148089b
537 609
      X-Runtime:
538
      - '0.057128'
610
      - '0.085075'
539 611
      X-Powered-By:
540 612
      - Phusion Passenger 4.0.18
541
      Set-Cookie:
542
      - _session_id=f3e497957e2c65b8f1b3d8d5795eb233; path=/; secure; HttpOnly
543 613
      Etag:
544
      - '"e2749250466895341168c2f7edf57bf2-gzip"'
614
      - '"952b44d2217322be0072a1bbbe8f4a63-gzip"'
545 615
      Status:
546 616
      - 200 OK
547 617
      Vary:
......
550 620
      - '659'
551 621
      Content-Type:
552 622
      - application/json; charset=utf-8
623
      Set-Cookie:
624
      - _session_id=45e62cddbe510d24a726e806daade884; path=/; secure; HttpOnly
553 625
    body:
554 626
      encoding: ASCII-8BIT
555 627
      string: '  {"library":true,"id":2,"name":"Library","label":"Library","description":null,"organization":{"name":"Test
556
        Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:26
557
        UTC","updated_at":"2016-12-13 10:58:26 UTC","prior":null,"successor":null,"counts":{"content_hosts":2,"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":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
628
        Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:35:26
629
        UTC","updated_at":"2016-12-01 19:35:26 UTC","prior":null,"successor":null,"counts":{"content_hosts":2,"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":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
558 630

  
559 631
'
560 632
    http_version: 
561
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
633
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
562 634
recorded_with: VCR 3.0.3

Also available in: Unified diff