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_lifecycle_environments/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/environments?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:52 GMT
28
      - Mon, 19 Dec 2016 16:43:53 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
      - 80c0cdcc-2f3e-469d-9df8-3871de2f6fc0
46
      - 015d1e44-8030-469e-af10-9f542f61d5c5
43 47
      X-Runtime:
44
      - '0.036130'
48
      - '0.122878'
45 49
      X-Powered-By:
46 50
      - Phusion Passenger 4.0.18
47 51
      Set-Cookie:
48
      - _session_id=eec3d8d6bd865b285279b19800f7ae29; path=/; secure; HttpOnly
52
      - _session_id=4d4d090af1d8f87d31778808cbf4b36a; path=/; secure; HttpOnly
53
      Etag:
54
      - '"e887f85e97779657bd7cf336d1f5761c-gzip"'
55
      Status:
56
      - 200 OK
57
      Vary:
58
      - Accept-Encoding
59
      Content-Length:
60
      - '3019'
61
      Content-Type:
62
      - application/json; charset=utf-8
63
    body:
64
      encoding: ASCII-8BIT
65
      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,
66
        manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
67
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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,
68
        manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
69
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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
70
        Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:26
71
        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}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development,
72
        automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
73
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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,
74
        no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
75
        10:59:05 UTC","updated_at":"2016-12-13 10:59:05 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
76

  
77
'
78
    http_version: 
79
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
80
- request:
81
    method: get
82
    uri: https://admin:changeme@devel.example.com:50083/api/status
83
    body:
84
      encoding: US-ASCII
85
      string: ''
86
    headers:
87
      Accept-Encoding:
88
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
89
      Accept:
90
      - "*/*"
91
      User-Agent:
92
      - Ruby
93
      Host:
94
      - devel.example.com:50083
95
  response:
96
    status:
97
      code: 200
98
      message: OK
99
    headers:
100
      Date:
101
      - Mon, 27 Mar 2017 18:36:47 GMT
102
      Server:
103
      - Apache/2.4.6 (Red Hat Enterprise Linux)
104
      X-Frame-Options:
105
      - SAMEORIGIN
106
      X-Xss-Protection:
107
      - 1; mode=block
108
      X-Content-Type-Options:
109
      - nosniff
110
      Foreman-Version:
111
      - 1.11.0.54
112
      Foreman-Api-Version:
113
      - '2'
114
      Apipie-Checksum:
115
      - e1df2e8d43e22495b02a53b48e3b5298
116
      Cache-Control:
117
      - max-age=0, private, must-revalidate
118
      X-Request-Id:
119
      - 1bb3a464-3c6d-442f-aa53-03e06009ec8c
120
      X-Runtime:
121
      - '0.066794'
122
      X-Powered-By:
123
      - Phusion Passenger 4.0.18
49 124
      Etag:
50
      - '"6ec0375dc2b106a955e67a8139b7d9c5"'
125
      - '"8e3341d0a4cc328651f7391aed11fef8"'
51 126
      Status:
52 127
      - 200 OK
53 128
      Content-Length:
54 129
      - '66'
55 130
      Content-Type:
56 131
      - application/json; charset=utf-8
132
      Set-Cookie:
133
      - _session_id=5e5cce3cf228ea737f4a14939eb9a5b4; path=/; secure; HttpOnly
57 134
    body:
58 135
      encoding: UTF-8
59
      string: '{"result":"ok","status":200,"version":"1.11.0.61","api_version":2}'
136
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
60 137
    http_version: 
61
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
138
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
62 139
- request:
63 140
    method: get
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
141
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
65 142
    body:
66 143
      encoding: US-ASCII
67 144
      string: ''
......
73 150
      User-Agent:
74 151
      - Ruby
75 152
      Host:
76
      - satlap.example.com
153
      - devel.example.com:50083
77 154
  response:
78 155
    status:
79 156
      code: 200
80 157
      message: OK
81 158
    headers:
82 159
      Date:
83
      - Mon, 19 Dec 2016 16:43:53 GMT
160
      - Mon, 27 Mar 2017 18:36:47 GMT
84 161
      Server:
85 162
      - Apache/2.4.6 (Red Hat Enterprise Linux)
86 163
      X-Frame-Options:
......
90 167
      X-Content-Type-Options:
91 168
      - nosniff
92 169
      Foreman-Version:
93
      - 1.11.0.61
170
      - 1.11.0.54
94 171
      Foreman-Api-Version:
95 172
      - '2'
96 173
      Apipie-Checksum:
97
      - 9793fd9909c89b81479655ed560c4340
174
      - e1df2e8d43e22495b02a53b48e3b5298
98 175
      Cache-Control:
99 176
      - max-age=0, private, must-revalidate
100 177
      X-Request-Id:
101
      - 09e9a674-b4a3-4da6-9b54-4658af8575e2
178
      - ddc669ba-f0dc-4999-a2fa-130d70c70bfb
102 179
      X-Runtime:
103
      - '0.032727'
180
      - '0.070412'
104 181
      X-Powered-By:
105 182
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=aa63fe14fbe332622a4b476613b87e9b; path=/; secure; HttpOnly
108 183
      Etag:
109
      - '"973c5d3fa1e5326b7762aec3d6a31dde-gzip"'
184
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
110 185
      Status:
111 186
      - 200 OK
112 187
      Vary:
113 188
      - Accept-Encoding
114 189
      Content-Length:
115
      - '1339'
190
      - '1338'
116 191
      Content-Type:
117 192
      - application/json; charset=utf-8
193
      Set-Cookie:
194
      - _session_id=52e5b63103e493faa817cc5597551851; path=/; secure; HttpOnly
118 195
    body:
119 196
      encoding: ASCII-8BIT
120 197
      string: !binary |-
......
133 210
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
134 211
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
135 212
        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==
213
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
214
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
215
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
216
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
217
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
218
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
219
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
220
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
221
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
222
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
223
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
224
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
225
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
226
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
227
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
228
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
229
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
230
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
231
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
232
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
233
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
234
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
235
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
236
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
237
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
238
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
239
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
240
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
241
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
242
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
243
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
244
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
245
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
246
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
247
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
248
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
249
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
250
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
251
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
252
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
253
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
254
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
255
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
256
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
257
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
258
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
259
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
260
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
261
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
262
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
263
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
264
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
265
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
266
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
267
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
268
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
269
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
270
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
271
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
195 272
    http_version: 
196
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
273
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
197 274
- request:
198 275
    method: get
199
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999
276
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999
200 277
    body:
201 278
      encoding: US-ASCII
202 279
      string: ''
......
212 289
      Accept-Language:
213 290
      - en
214 291
      Host:
215
      - satlap.example.com
292
      - devel.example.com:50083
216 293
  response:
217 294
    status:
218 295
      code: 200
219 296
      message: OK
220 297
    headers:
221 298
      Date:
222
      - Mon, 19 Dec 2016 16:43:53 GMT
299
      - Mon, 27 Mar 2017 18:36:47 GMT
223 300
      Server:
224 301
      - Apache/2.4.6 (Red Hat Enterprise Linux)
225 302
      X-Frame-Options:
......
229 306
      X-Content-Type-Options:
230 307
      - nosniff
231 308
      Foreman-Version:
232
      - 1.11.0.61
309
      - 1.11.0.54
233 310
      Foreman-Api-Version:
234 311
      - '2'
235 312
      Apipie-Checksum:
236
      - 9793fd9909c89b81479655ed560c4340
313
      - e1df2e8d43e22495b02a53b48e3b5298
237 314
      Cache-Control:
238 315
      - max-age=0, private, must-revalidate
239 316
      X-Request-Id:
240
      - 7391ba7f-3589-4d2a-8499-586b7768aeea
317
      - b6870e6e-5fa9-4083-afd2-979e4c98b5b5
241 318
      X-Runtime:
242
      - '0.035075'
319
      - '0.062782'
243 320
      X-Powered-By:
244 321
      - Phusion Passenger 4.0.18
245
      Set-Cookie:
246
      - _session_id=49a070a4ec16d46e839c1dabe03764bb; path=/; secure; HttpOnly
247 322
      Etag:
248
      - '"a2edb9ed86b265d10050420802c8221d-gzip"'
323
      - '"aab500919765758afb9a043020d6d047-gzip"'
249 324
      Status:
250 325
      - 200 OK
251 326
      Vary:
......
254 329
      - '563'
255 330
      Content-Type:
256 331
      - application/json; charset=utf-8
332
      Set-Cookie:
333
      - _session_id=6901bbbee0f4bdaebf4997cda7f63a26; path=/; secure; HttpOnly
257 334
    body:
258 335
      encoding: ASCII-8BIT
259 336
      string: |
......
267 344
            "by": null,
268 345
            "order": null
269 346
          },
270
          "results": [{"label":"Default_Organization","created_at":"2016-12-07 03:03:54 UTC","updated_at":"2016-12-07 03:03:58 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-19 16:43:52 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
347
          "results": [{"label":"Default_Organization","created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:08 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:36:47 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
271 348
        }
272 349
    http_version: 
273
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
350
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
274 351
- request:
275 352
    method: get
276
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
353
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
277 354
    body:
278 355
      encoding: US-ASCII
279 356
      string: ''
......
289 366
      Accept-Language:
290 367
      - en
291 368
      Host:
292
      - satlap.example.com
369
      - devel.example.com:50083
293 370
  response:
294 371
    status:
295 372
      code: 200
296 373
      message: OK
297 374
    headers:
298 375
      Date:
299
      - Mon, 19 Dec 2016 16:43:53 GMT
376
      - Mon, 27 Mar 2017 18:36:48 GMT
300 377
      Server:
301 378
      - Apache/2.4.6 (Red Hat Enterprise Linux)
302 379
      X-Frame-Options:
......
306 383
      X-Content-Type-Options:
307 384
      - nosniff
308 385
      Foreman-Version:
309
      - 1.11.0.61
386
      - 1.11.0.54
310 387
      Foreman-Api-Version:
311 388
      - '2'
312 389
      Apipie-Checksum:
313
      - 9793fd9909c89b81479655ed560c4340
390
      - e1df2e8d43e22495b02a53b48e3b5298
314 391
      Cache-Control:
315 392
      - max-age=0, private, must-revalidate
316 393
      X-Request-Id:
317
      - 464610f6-5f80-43fe-93d9-7eff22a837ff
394
      - bbf1f20c-2c3b-4edf-8b88-6b533d55cc19
318 395
      X-Runtime:
319
      - '0.044173'
396
      - '0.044328'
320 397
      X-Powered-By:
321 398
      - Phusion Passenger 4.0.18
322
      Set-Cookie:
323
      - _session_id=92960df2f39f2bdf150b2007ec354c20; path=/; secure; HttpOnly
324 399
      Etag:
325
      - '"cf1795d5d45b3509444fd7c241acabca-gzip"'
400
      - '"dd83f8b04a13378559001fbdafb31121-gzip"'
326 401
      Status:
327 402
      - 200 OK
328 403
      Vary:
......
331 406
      - '379'
332 407
      Content-Type:
333 408
      - application/json; charset=utf-8
409
      Set-Cookie:
410
      - _session_id=aa7c1003ff11c5aa51a372cb137d100c; path=/; secure; HttpOnly
334 411
    body:
335 412
      encoding: ASCII-8BIT
336 413
      string: |
......
344 421
            "by": null,
345 422
            "order": null
346 423
          },
347
          "results": [{"label":"Default_Organization","created_at":"2016-12-07 03:03:54 UTC","updated_at":"2016-12-07 03:03:58 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null}]
424
          "results": [{"label":"Default_Organization","created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:08 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null}]
348 425
        }
349 426
    http_version: 
350
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
427
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
351 428
- request:
352 429
    method: get
353
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/1/environments?per_page=999999
430
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/1/environments?per_page=999999
354 431
    body:
355 432
      encoding: US-ASCII
356 433
      string: ''
......
366 443
      Accept-Language:
367 444
      - en
368 445
      Host:
369
      - satlap.example.com
446
      - devel.example.com:50083
370 447
  response:
371 448
    status:
372 449
      code: 200
373 450
      message: OK
374 451
    headers:
375 452
      Date:
376
      - Mon, 19 Dec 2016 16:43:53 GMT
453
      - Mon, 27 Mar 2017 18:36:48 GMT
377 454
      Server:
378 455
      - Apache/2.4.6 (Red Hat Enterprise Linux)
379 456
      X-Frame-Options:
......
383 460
      X-Content-Type-Options:
384 461
      - nosniff
385 462
      Foreman-Version:
386
      - 1.11.0.61
463
      - 1.11.0.54
387 464
      Foreman-Api-Version:
388 465
      - '2'
389 466
      Apipie-Checksum:
390
      - 9793fd9909c89b81479655ed560c4340
467
      - e1df2e8d43e22495b02a53b48e3b5298
391 468
      Cache-Control:
392 469
      - max-age=0, private, must-revalidate
393 470
      X-Request-Id:
394
      - 558397a6-865c-4e9f-9a4c-2af607b2be57
471
      - c8a618f9-18af-499a-b3c6-751bf2059885
395 472
      X-Runtime:
396
      - '0.070241'
473
      - '0.075581'
397 474
      X-Powered-By:
398 475
      - Phusion Passenger 4.0.18
399
      Set-Cookie:
400
      - _session_id=38663fa773f96bca1bc11c0a15ecc601; path=/; secure; HttpOnly
401 476
      Etag:
402
      - '"dea9a4734480635e355080dedccadc78-gzip"'
477
      - '"914f529cfb1b3ee52c27873553682753-gzip"'
403 478
      Status:
404 479
      - 200 OK
405 480
      Vary:
406 481
      - Accept-Encoding
407 482
      Content-Length:
408
      - '798'
483
      - '1320'
409 484
      Content-Type:
410 485
      - application/json; charset=utf-8
486
      Set-Cookie:
487
      - _session_id=f3ff3226160df177a2417e85deaa1872; path=/; secure; HttpOnly
411 488
    body:
412 489
      encoding: ASCII-8BIT
413
      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
414
        Organization","label":"Default_Organization","id":1},"created_at":"2016-12-07
415
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","prior":null,"successor":null,"counts":{"content_hosts":5,"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":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}]}
490
      string: '{"total":2,"subtotal":2,"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
491
        Organization","label":"Default_Organization","id":1},"created_at":"2016-12-01
492
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","prior":null,"successor":null,"counts":{"content_hosts":10,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":2,"ostree_repositories":0,"products":2},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":7,"name":"Development","label":"devel","description":null,"organization":{"name":"Default
493
        Organization","label":"Default_Organization","id":1},"created_at":"2017-01-17
494
        12:03:32 UTC","updated_at":"2017-01-17 12:03:32 UTC","prior":{"name":"Library","id":1},"successor":null,"counts":{"content_hosts":0,"content_views":1},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
416 495

  
417 496
'
418 497
    http_version: 
419
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
498
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
420 499
- request:
421 500
    method: get
422
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
501
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
423 502
    body:
424 503
      encoding: US-ASCII
425 504
      string: ''
......
435 514
      Accept-Language:
436 515
      - en
437 516
      Host:
438
      - satlap.example.com
517
      - devel.example.com:50083
439 518
  response:
440 519
    status:
441 520
      code: 200
442 521
      message: OK
443 522
    headers:
444 523
      Date:
445
      - Mon, 19 Dec 2016 16:43:53 GMT
524
      - Mon, 27 Mar 2017 18:36:48 GMT
446 525
      Server:
447 526
      - Apache/2.4.6 (Red Hat Enterprise Linux)
448 527
      X-Frame-Options:
......
452 531
      X-Content-Type-Options:
453 532
      - nosniff
454 533
      Foreman-Version:
455
      - 1.11.0.61
534
      - 1.11.0.54
456 535
      Foreman-Api-Version:
457 536
      - '2'
458 537
      Apipie-Checksum:
459
      - 9793fd9909c89b81479655ed560c4340
538
      - e1df2e8d43e22495b02a53b48e3b5298
460 539
      Cache-Control:
461 540
      - max-age=0, private, must-revalidate
462 541
      X-Request-Id:
463
      - 411a6f00-1b80-4c2b-9408-6901c81d9ac4
542
      - 8bf9b187-3482-4f2f-875d-2452fccac5dc
464 543
      X-Runtime:
465
      - '0.040055'
544
      - '0.052501'
466 545
      X-Powered-By:
467 546
      - Phusion Passenger 4.0.18
468
      Set-Cookie:
469
      - _session_id=ba4dddd2c5f8e5e0fd6af55bf6ec966f; path=/; secure; HttpOnly
470 547
      Etag:
471
      - '"2efbcb26df2a96409c8d5677eb07a4f9-gzip"'
548
      - '"cc153799f6cfeaf424c73e789502a1a8-gzip"'
472 549
      Status:
473 550
      - 200 OK
474 551
      Vary:
......
477 554
      - '388'
478 555
      Content-Type:
479 556
      - application/json; charset=utf-8
557
      Set-Cookie:
558
      - _session_id=53f150a1534d816b186581c817d5f51d; path=/; secure; HttpOnly
480 559
    body:
481 560
      encoding: ASCII-8BIT
482 561
      string: |
......
490 569
            "by": null,
491 570
            "order": null
492 571
          },
493
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-19 16:43:52 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
572
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:36:47 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
494 573
        }
495 574
    http_version: 
496
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
575
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
497 576
- request:
498 577
    method: get
499
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/environments?per_page=999999
578
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/environments?per_page=999999
500 579
    body:
501 580
      encoding: US-ASCII
502 581
      string: ''
......
512 591
      Accept-Language:
513 592
      - en
514 593
      Host:
515
      - satlap.example.com
594
      - devel.example.com:50083
516 595
  response:
517 596
    status:
518 597
      code: 200
519 598
      message: OK
520 599
    headers:
521 600
      Date:
522
      - Mon, 19 Dec 2016 16:43:53 GMT
601
      - Mon, 27 Mar 2017 18:36:48 GMT
523 602
      Server:
524 603
      - Apache/2.4.6 (Red Hat Enterprise Linux)
525 604
      X-Frame-Options:
......
529 608
      X-Content-Type-Options:
530 609
      - nosniff
531 610
      Foreman-Version:
532
      - 1.11.0.61
611
      - 1.11.0.54
533 612
      Foreman-Api-Version:
534 613
      - '2'
535 614
      Apipie-Checksum:
536
      - 9793fd9909c89b81479655ed560c4340
615
      - e1df2e8d43e22495b02a53b48e3b5298
537 616
      Cache-Control:
538 617
      - max-age=0, private, must-revalidate
539 618
      X-Request-Id:
540
      - 015d1e44-8030-469e-af10-9f542f61d5c5
619
      - 05b54fb2-326b-4b72-8580-5ab2025ed10e
541 620
      X-Runtime:
542
      - '0.122878'
621
      - '0.127120'
543 622
      X-Powered-By:
544 623
      - Phusion Passenger 4.0.18
545
      Set-Cookie:
546
      - _session_id=4d4d090af1d8f87d31778808cbf4b36a; path=/; secure; HttpOnly
547 624
      Etag:
548
      - '"e887f85e97779657bd7cf336d1f5761c-gzip"'
625
      - '"45596627ffb1b49933df35abb855f9e6-gzip"'
549 626
      Status:
550 627
      - 200 OK
551 628
      Vary:
......
554 631
      - '3019'
555 632
      Content-Type:
556 633
      - application/json; charset=utf-8
634
      Set-Cookie:
635
      - _session_id=7ad666f44702c3472043cf1ebba4c28f; path=/; secure; HttpOnly
557 636
    body:
558 637
      encoding: ASCII-8BIT
559 638
      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,
560
        manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
561
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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,
562
        manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
563
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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
564
        Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:26
565
        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}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development,
566
        automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
567
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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,
568
        no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
569
        10:59:05 UTC","updated_at":"2016-12-13 10:59:05 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
639
        manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
640
        19:37:22 UTC","updated_at":"2016-12-01 19:37:22 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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,
641
        manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
642
        19:37:23 UTC","updated_at":"2016-12-01 19:37:23 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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
643
        Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:35:26
644
        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}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development,
645
        automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
646
        19:37:22 UTC","updated_at":"2016-12-01 19:37:22 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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,
647
        no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
648
        19:37:23 UTC","updated_at":"2016-12-01 19:37:23 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
570 649

  
571 650
'
572 651
    http_version: 
573
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
652
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
574 653
- request:
575 654
    method: put
576
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/3
655
    uri: https://admin:changeme@devel.example.com:50083/katello/api/environments/3
577 656
    body:
578 657
      encoding: UTF-8
579 658
      string: '{"description":"Development, automated promotes from Library"}'
......
591 670
      Content-Length:
592 671
      - '62'
593 672
      Host:
594
      - satlap.example.com
673
      - devel.example.com:50083
595 674
  response:
596 675
    status:
597 676
      code: 200
598 677
      message: OK
599 678
    headers:
600 679
      Date:
601
      - Mon, 19 Dec 2016 16:43:53 GMT
680
      - Mon, 27 Mar 2017 18:36:48 GMT
602 681
      Server:
603 682
      - Apache/2.4.6 (Red Hat Enterprise Linux)
604 683
      X-Frame-Options:
......
608 687
      X-Content-Type-Options:
609 688
      - nosniff
610 689
      Foreman-Version:
611
      - 1.11.0.61
690
      - 1.11.0.54
612 691
      Foreman-Api-Version:
613 692
      - '2'
614 693
      Apipie-Checksum:
615
      - 9793fd9909c89b81479655ed560c4340
694
      - e1df2e8d43e22495b02a53b48e3b5298
616 695
      Cache-Control:
617 696
      - max-age=0, private, must-revalidate
618 697
      X-Request-Id:
619
      - bfc5cc77-ed56-4431-882a-634e987999b0
698
      - 2372dd54-8fca-4855-96c9-ee385102dd5d
620 699
      X-Runtime:
621
      - '0.079122'
700
      - '0.066424'
622 701
      X-Powered-By:
623 702
      - Phusion Passenger 4.0.18
624
      Set-Cookie:
625
      - _session_id=88b1a53121e22fdcd4e425eaec3cba9c; path=/; secure; HttpOnly
626
      - request_method=PUT; path=/
627 703
      Etag:
628
      - '"d1a1078fbc4e19de0bbdbdaef3661e1a-gzip"'
704
      - '"f275bd408b9f4e25f6583ec0e001ee8b-gzip"'
629 705
      Status:
630 706
      - 200 OK
631 707
      Vary:
......
634 710
      - '574'
635 711
      Content-Type:
636 712
      - application/json; charset=utf-8
713
      Set-Cookie:
714
      - _session_id=7fdc78bb4cca46ae1fbfe2e142f58643; path=/; secure; HttpOnly
715
      - request_method=PUT; path=/
637 716
    body:
638 717
      encoding: ASCII-8BIT
639 718
      string: '  {"library":false,"id":3,"name":"Development","label":"Development","description":"Development,
640
        automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
641
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
719
        automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
720
        19:37:22 UTC","updated_at":"2016-12-01 19:37:22 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
642 721

  
643 722
'
644 723
    http_version: 
645
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
724
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
646 725
- request:
647 726
    method: put
648
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/4
727
    uri: https://admin:changeme@devel.example.com:50083/katello/api/environments/4
649 728
    body:
650 729
      encoding: UTF-8
651 730
      string: '{"description":"Test, manual promotions from Development"}'
......
663 742
      Content-Length:
664 743
      - '58'
665 744
      Host:
666
      - satlap.example.com
745
      - devel.example.com:50083
667 746
  response:
668 747
    status:
669 748
      code: 200
670 749
      message: OK
671 750
    headers:
672 751
      Date:
673
      - Mon, 19 Dec 2016 16:43:53 GMT
752
      - Mon, 27 Mar 2017 18:36:48 GMT
674 753
      Server:
675 754
      - Apache/2.4.6 (Red Hat Enterprise Linux)
676 755
      X-Frame-Options:
......
680 759
      X-Content-Type-Options:
681 760
      - nosniff
682 761
      Foreman-Version:
683
      - 1.11.0.61
762
      - 1.11.0.54
684 763
      Foreman-Api-Version:
685 764
      - '2'
686 765
      Apipie-Checksum:
687
      - 9793fd9909c89b81479655ed560c4340
766
      - e1df2e8d43e22495b02a53b48e3b5298
688 767
      Cache-Control:
689 768
      - max-age=0, private, must-revalidate
690 769
      X-Request-Id:
691
      - 467029bb-25ac-4492-b2a4-be04954ef6c7
770
      - 96839725-b405-4ff5-8982-1142356f017f
692 771
      X-Runtime:
693
      - '0.075993'
772
      - '0.059944'
694 773
      X-Powered-By:
695 774
      - Phusion Passenger 4.0.18
696
      Set-Cookie:
697
      - _session_id=58a3dc40c90be94a4aa6b6097cf3ec6a; path=/; secure; HttpOnly
698
      - request_method=PUT; path=/
699 775
      Etag:
700
      - '"095ce7eb223d0860918635d47fe54db6-gzip"'
776
      - '"63ea07a3cc4b5f26525304087f7628bc-gzip"'
701 777
      Status:
702 778
      - 200 OK
703 779
      Vary:
......
706 782
      - '566'
707 783
      Content-Type:
708 784
      - application/json; charset=utf-8
785
      Set-Cookie:
786
      - _session_id=cbce49fd409b920a5f5502a119f696b1; path=/; secure; HttpOnly
787
      - request_method=PUT; path=/
709 788
    body:
710 789
      encoding: ASCII-8BIT
711 790
      string: '  {"library":false,"id":4,"name":"Test","label":"Test","description":"Test,
712
        manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
713
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
791
        manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
792
        19:37:22 UTC","updated_at":"2016-12-01 19:37:22 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
714 793

  
715 794
'
716 795
    http_version: 
717
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
796
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
718 797
- request:
719 798
    method: put
720
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/5
799
    uri: https://admin:changeme@devel.example.com:50083/katello/api/environments/5
721 800
    body:
722 801
      encoding: UTF-8
723 802
      string: '{"description":"Production, manual promotions from Test"}'
......
735 814
      Content-Length:
736 815
      - '57'
737 816
      Host:
738
      - satlap.example.com
817
      - devel.example.com:50083
739 818
  response:
740 819
    status:
741 820
      code: 200
742 821
      message: OK
743 822
    headers:
744 823
      Date:
745
      - Mon, 19 Dec 2016 16:43:53 GMT
824
      - Mon, 27 Mar 2017 18:36:48 GMT
746 825
      Server:
747 826
      - Apache/2.4.6 (Red Hat Enterprise Linux)
748 827
      X-Frame-Options:
......
752 831
      X-Content-Type-Options:
753 832
      - nosniff
754 833
      Foreman-Version:
755
      - 1.11.0.61
834
      - 1.11.0.54
756 835
      Foreman-Api-Version:
757 836
      - '2'
758 837
      Apipie-Checksum:
759
      - 9793fd9909c89b81479655ed560c4340
838
      - e1df2e8d43e22495b02a53b48e3b5298
760 839
      Cache-Control:
761 840
      - max-age=0, private, must-revalidate
762 841
      X-Request-Id:
763
      - 3d6b34ed-07ec-47ac-866e-a747ee9db82f
842
      - 2ad14514-4390-41f2-b823-a0b14dda2fe9
764 843
      X-Runtime:
765
      - '0.057818'
844
      - '0.070601'
766 845
      X-Powered-By:
767 846
      - Phusion Passenger 4.0.18
768
      Set-Cookie:
769
      - _session_id=408486eac872a6898300f9cf53c580b9; path=/; secure; HttpOnly
770
      - request_method=PUT; path=/
771 847
      Etag:
772
      - '"d9e82a863d78d6025d4d5021820435c0-gzip"'
848
      - '"e2f99b9aa7d433e0b934da408b62bc90-gzip"'
773 849
      Status:
774 850
      - 200 OK
775 851
      Vary:
......
778 854
      - '567'
779 855
      Content-Type:
780 856
      - application/json; charset=utf-8
857
      Set-Cookie:
858
      - _session_id=b81c324d1e0ec9e082388a7791a49784; path=/; secure; HttpOnly
859
      - request_method=PUT; path=/
781 860
    body:
782 861
      encoding: ASCII-8BIT
783 862
      string: '  {"library":false,"id":5,"name":"Production","label":"Production","description":"Production,
784
        manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
785
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
863
        manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
864
        19:37:23 UTC","updated_at":"2016-12-01 19:37:23 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
786 865

  
787 866
'
788 867
    http_version: 
789
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
868
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
790 869
- request:
791 870
    method: put
792
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/6
871
    uri: https://admin:changeme@devel.example.com:50083/katello/api/environments/6
793 872
    body:
794 873
      encoding: UTF-8
795 874
      string: '{"description":"Archive, no longer in Production"}'
......
807 886
      Content-Length:
808 887
      - '50'
809 888
      Host:
810
      - satlap.example.com
889
      - devel.example.com:50083
811 890
  response:
812 891
    status:
813 892
      code: 200
814 893
      message: OK
815 894
    headers:
816 895
      Date:
817
      - Mon, 19 Dec 2016 16:43:53 GMT
896
      - Mon, 27 Mar 2017 18:36:48 GMT
818 897
      Server:
819 898
      - Apache/2.4.6 (Red Hat Enterprise Linux)
820 899
      X-Frame-Options:
......
824 903
      X-Content-Type-Options:
825 904
      - nosniff
826 905
      Foreman-Version:
827
      - 1.11.0.61
906
      - 1.11.0.54
828 907
      Foreman-Api-Version:
829 908
      - '2'
830 909
      Apipie-Checksum:
831
      - 9793fd9909c89b81479655ed560c4340
910
      - e1df2e8d43e22495b02a53b48e3b5298
832 911
      Cache-Control:
833 912
      - max-age=0, private, must-revalidate
834 913
      X-Request-Id:
835
      - 08292adb-5729-4497-b9c5-48280ab260fa
914
      - 66bec73b-2a67-427d-a9ed-0ba49e199f2e
836 915
      X-Runtime:
837
      - '0.060624'
916
      - '0.100912'
838 917
      X-Powered-By:
839 918
      - Phusion Passenger 4.0.18
840
      Set-Cookie:
841
      - _session_id=5a612c13854d2a046d530447c607fff8; path=/; secure; HttpOnly
842
      - request_method=PUT; path=/
843 919
      Etag:
844
      - '"90a71dc83ec9d8ba5266f84ed30a5993-gzip"'
920
      - '"4bc633f4490534509b38911c23fd8949-gzip"'
845 921
      Status:
846 922
      - 200 OK
847 923
      Vary:
......
850 926
      - '538'
851 927
      Content-Type:
852 928
      - application/json; charset=utf-8
929
      Set-Cookie:
930
      - _session_id=55513b48247796d2b5336bafdd5dfa78; path=/; secure; HttpOnly
931
      - request_method=PUT; path=/
853 932
    body:
854 933
      encoding: ASCII-8BIT
855 934
      string: '  {"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive,
856
        no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
857
        10:59:05 UTC","updated_at":"2016-12-13 10:59:05 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}
935
        no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
936
        19:37:23 UTC","updated_at":"2016-12-01 19:37:23 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}
858 937

  
859 938
'
860 939
    http_version: 
861
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
940
  recorded_at: Mon, 27 Mar 2017 18:36:55 GMT
862 941
recorded_with: VCR 3.0.3

Also available in: Unified diff