Project

General

Profile

Revision 4a6b2238

Added by Thomas McKay about 6 years ago

fixes #17735 - export content-hosts count greater than page size

vcr - full re-record

View differences:

test/fixtures/vcr_cassettes/setup/setup_lifecycle_environments/setup.yml
21 21
      message: OK
22 22
    headers:
23 23
      Date:
24
      - Wed, 14 Dec 2016 13:43:42 GMT
24
      - Mon, 19 Dec 2016 16:43:52 GMT
25 25
      Server:
26 26
      - Apache/2.4.6 (Red Hat Enterprise Linux)
27 27
      X-Frame-Options:
......
31 31
      X-Content-Type-Options:
32 32
      - nosniff
33 33
      Foreman-Version:
34
      - 1.11.0.54
34
      - 1.11.0.61
35 35
      Foreman-Api-Version:
36 36
      - '2'
37 37
      Apipie-Checksum:
38
      - e1df2e8d43e22495b02a53b48e3b5298
38
      - 9793fd9909c89b81479655ed560c4340
39 39
      Cache-Control:
40 40
      - max-age=0, private, must-revalidate
41 41
      X-Request-Id:
42
      - 65df5f95-9155-49b7-b03a-e22e745faa2d
42
      - 80c0cdcc-2f3e-469d-9df8-3871de2f6fc0
43 43
      X-Runtime:
44
      - '0.037342'
44
      - '0.036130'
45 45
      X-Powered-By:
46 46
      - Phusion Passenger 4.0.18
47 47
      Set-Cookie:
48
      - _session_id=1fb728cc73474e7103e8a070e4011eb7; path=/; secure; HttpOnly
48
      - _session_id=eec3d8d6bd865b285279b19800f7ae29; path=/; secure; HttpOnly
49 49
      Etag:
50
      - '"8e3341d0a4cc328651f7391aed11fef8"'
50
      - '"6ec0375dc2b106a955e67a8139b7d9c5"'
51 51
      Status:
52 52
      - 200 OK
53 53
      Content-Length:
......
56 56
      - application/json; charset=utf-8
57 57
    body:
58 58
      encoding: UTF-8
59
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
59
      string: '{"result":"ok","status":200,"version":"1.11.0.61","api_version":2}'
60 60
    http_version: 
61
  recorded_at: Wed, 14 Dec 2016 13:43:37 GMT
61
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
62 62
- request:
63 63
    method: get
64 64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
......
80 80
      message: OK
81 81
    headers:
82 82
      Date:
83
      - Wed, 14 Dec 2016 13:43:42 GMT
83
      - Mon, 19 Dec 2016 16:43:53 GMT
84 84
      Server:
85 85
      - Apache/2.4.6 (Red Hat Enterprise Linux)
86 86
      X-Frame-Options:
......
90 90
      X-Content-Type-Options:
91 91
      - nosniff
92 92
      Foreman-Version:
93
      - 1.11.0.54
93
      - 1.11.0.61
94 94
      Foreman-Api-Version:
95 95
      - '2'
96 96
      Apipie-Checksum:
97
      - e1df2e8d43e22495b02a53b48e3b5298
97
      - 9793fd9909c89b81479655ed560c4340
98 98
      Cache-Control:
99 99
      - max-age=0, private, must-revalidate
100 100
      X-Request-Id:
101
      - 38023d7a-cd1a-4a1e-ba3d-02fe3c06d88d
101
      - 09e9a674-b4a3-4da6-9b54-4658af8575e2
102 102
      X-Runtime:
103
      - '0.032349'
103
      - '0.032727'
104 104
      X-Powered-By:
105 105
      - Phusion Passenger 4.0.18
106 106
      Set-Cookie:
107
      - _session_id=b29824c4f39e92b7c6ecedc59f34b863; path=/; secure; HttpOnly
107
      - _session_id=aa63fe14fbe332622a4b476613b87e9b; path=/; secure; HttpOnly
108 108
      Etag:
109
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
109
      - '"973c5d3fa1e5326b7762aec3d6a31dde-gzip"'
110 110
      Status:
111 111
      - 200 OK
112 112
      Vary:
113 113
      - Accept-Encoding
114 114
      Content-Length:
115
      - '1338'
115
      - '1339'
116 116
      Content-Type:
117 117
      - application/json; charset=utf-8
118 118
    body:
......
133 133
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
134 134
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
135 135
        a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
136
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
137
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
138
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
139
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
140
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
141
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
142
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
143
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
144
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
145
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
146
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
147
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
148
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
149
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
150
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
151
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
152
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
153
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
154
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
155
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
156
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
157
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
158
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
159
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
160
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
161
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
162
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
163
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
164
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
165
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
166
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
167
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
168
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
169
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
170
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
171
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
172
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
173
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
174
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
175
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
176
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
177
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
178
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
179
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
180
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
181
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
182
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
183
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
184
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
185
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
186
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
187
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
188
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
189
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
190
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
191
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
192
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
193
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
194
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
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==
195 195
    http_version: 
196
  recorded_at: Wed, 14 Dec 2016 13:43:37 GMT
196
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
197 197
- request:
198 198
    method: get
199 199
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999
......
219 219
      message: OK
220 220
    headers:
221 221
      Date:
222
      - Wed, 14 Dec 2016 13:43:42 GMT
222
      - Mon, 19 Dec 2016 16:43:53 GMT
223 223
      Server:
224 224
      - Apache/2.4.6 (Red Hat Enterprise Linux)
225 225
      X-Frame-Options:
......
229 229
      X-Content-Type-Options:
230 230
      - nosniff
231 231
      Foreman-Version:
232
      - 1.11.0.54
232
      - 1.11.0.61
233 233
      Foreman-Api-Version:
234 234
      - '2'
235 235
      Apipie-Checksum:
236
      - e1df2e8d43e22495b02a53b48e3b5298
236
      - 9793fd9909c89b81479655ed560c4340
237 237
      Cache-Control:
238 238
      - max-age=0, private, must-revalidate
239 239
      X-Request-Id:
240
      - 46d2a9ca-a01f-4db1-a947-e0d5b176b5f3
240
      - 7391ba7f-3589-4d2a-8499-586b7768aeea
241 241
      X-Runtime:
242
      - '0.037002'
242
      - '0.035075'
243 243
      X-Powered-By:
244 244
      - Phusion Passenger 4.0.18
245 245
      Set-Cookie:
246
      - _session_id=29ab141d651ef4e164ac002218d007d2; path=/; secure; HttpOnly
246
      - _session_id=49a070a4ec16d46e839c1dabe03764bb; path=/; secure; HttpOnly
247 247
      Etag:
248
      - '"229d03fccc980ffc544f226761057985-gzip"'
248
      - '"a2edb9ed86b265d10050420802c8221d-gzip"'
249 249
      Status:
250 250
      - 200 OK
251 251
      Vary:
......
267 267
            "by": null,
268 268
            "order": null
269 269
          },
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-14 13:43:42 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
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"}]
271 271
        }
272 272
    http_version: 
273
  recorded_at: Wed, 14 Dec 2016 13:43:38 GMT
273
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
274 274
- request:
275 275
    method: get
276 276
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
......
296 296
      message: OK
297 297
    headers:
298 298
      Date:
299
      - Wed, 14 Dec 2016 13:43:42 GMT
299
      - Mon, 19 Dec 2016 16:43:53 GMT
300 300
      Server:
301 301
      - Apache/2.4.6 (Red Hat Enterprise Linux)
302 302
      X-Frame-Options:
......
306 306
      X-Content-Type-Options:
307 307
      - nosniff
308 308
      Foreman-Version:
309
      - 1.11.0.54
309
      - 1.11.0.61
310 310
      Foreman-Api-Version:
311 311
      - '2'
312 312
      Apipie-Checksum:
313
      - e1df2e8d43e22495b02a53b48e3b5298
313
      - 9793fd9909c89b81479655ed560c4340
314 314
      Cache-Control:
315 315
      - max-age=0, private, must-revalidate
316 316
      X-Request-Id:
317
      - 586dd498-3c3e-45d4-82c6-4d1561d52007
317
      - 464610f6-5f80-43fe-93d9-7eff22a837ff
318 318
      X-Runtime:
319
      - '0.043093'
319
      - '0.044173'
320 320
      X-Powered-By:
321 321
      - Phusion Passenger 4.0.18
322 322
      Set-Cookie:
323
      - _session_id=cc4be374a03b598a502feab3a68746c6; path=/; secure; HttpOnly
323
      - _session_id=92960df2f39f2bdf150b2007ec354c20; path=/; secure; HttpOnly
324 324
      Etag:
325 325
      - '"cf1795d5d45b3509444fd7c241acabca-gzip"'
326 326
      Status:
......
347 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}]
348 348
        }
349 349
    http_version: 
350
  recorded_at: Wed, 14 Dec 2016 13:43:38 GMT
350
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
351 351
- request:
352 352
    method: get
353 353
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/1/environments?per_page=999999
......
373 373
      message: OK
374 374
    headers:
375 375
      Date:
376
      - Wed, 14 Dec 2016 13:43:42 GMT
376
      - Mon, 19 Dec 2016 16:43:53 GMT
377 377
      Server:
378 378
      - Apache/2.4.6 (Red Hat Enterprise Linux)
379 379
      X-Frame-Options:
......
383 383
      X-Content-Type-Options:
384 384
      - nosniff
385 385
      Foreman-Version:
386
      - 1.11.0.54
386
      - 1.11.0.61
387 387
      Foreman-Api-Version:
388 388
      - '2'
389 389
      Apipie-Checksum:
390
      - e1df2e8d43e22495b02a53b48e3b5298
390
      - 9793fd9909c89b81479655ed560c4340
391 391
      Cache-Control:
392 392
      - max-age=0, private, must-revalidate
393 393
      X-Request-Id:
394
      - 5f6efa06-5728-4223-8959-7ebcca496798
394
      - 558397a6-865c-4e9f-9a4c-2af607b2be57
395 395
      X-Runtime:
396
      - '0.061221'
396
      - '0.070241'
397 397
      X-Powered-By:
398 398
      - Phusion Passenger 4.0.18
399 399
      Set-Cookie:
400
      - _session_id=4399ed84039b0df8ee9cfa13b42a003c; path=/; secure; HttpOnly
400
      - _session_id=38663fa773f96bca1bc11c0a15ecc601; path=/; secure; HttpOnly
401 401
      Etag:
402
      - '"503946e1ed737daf3d3adf48e03a0cd9-gzip"'
402
      - '"dea9a4734480635e355080dedccadc78-gzip"'
403 403
      Status:
404 404
      - 200 OK
405 405
      Vary:
......
412 412
      encoding: ASCII-8BIT
413 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 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":2,"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}}]}
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}}]}
416 416

  
417 417
'
418 418
    http_version: 
419
  recorded_at: Wed, 14 Dec 2016 13:43:38 GMT
419
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
420 420
- request:
421 421
    method: get
422 422
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
442 442
      message: OK
443 443
    headers:
444 444
      Date:
445
      - Wed, 14 Dec 2016 13:43:42 GMT
445
      - Mon, 19 Dec 2016 16:43:53 GMT
446 446
      Server:
447 447
      - Apache/2.4.6 (Red Hat Enterprise Linux)
448 448
      X-Frame-Options:
......
452 452
      X-Content-Type-Options:
453 453
      - nosniff
454 454
      Foreman-Version:
455
      - 1.11.0.54
455
      - 1.11.0.61
456 456
      Foreman-Api-Version:
457 457
      - '2'
458 458
      Apipie-Checksum:
459
      - e1df2e8d43e22495b02a53b48e3b5298
459
      - 9793fd9909c89b81479655ed560c4340
460 460
      Cache-Control:
461 461
      - max-age=0, private, must-revalidate
462 462
      X-Request-Id:
463
      - 63a5e7e8-0165-4e77-8be5-98599b7d80f2
463
      - 411a6f00-1b80-4c2b-9408-6901c81d9ac4
464 464
      X-Runtime:
465
      - '0.038184'
465
      - '0.040055'
466 466
      X-Powered-By:
467 467
      - Phusion Passenger 4.0.18
468 468
      Set-Cookie:
469
      - _session_id=3429f4b970e2d2c644946e08b220c203; path=/; secure; HttpOnly
469
      - _session_id=ba4dddd2c5f8e5e0fd6af55bf6ec966f; path=/; secure; HttpOnly
470 470
      Etag:
471
      - '"e806634c71d981d2572033bea87fb981-gzip"'
471
      - '"2efbcb26df2a96409c8d5677eb07a4f9-gzip"'
472 472
      Status:
473 473
      - 200 OK
474 474
      Vary:
......
490 490
            "by": null,
491 491
            "order": null
492 492
          },
493
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-14 13:43:42 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
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"}]
494 494
        }
495 495
    http_version: 
496
  recorded_at: Wed, 14 Dec 2016 13:43:38 GMT
496
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
497 497
- request:
498 498
    method: get
499 499
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/environments?per_page=999999
......
519 519
      message: OK
520 520
    headers:
521 521
      Date:
522
      - Wed, 14 Dec 2016 13:43:42 GMT
522
      - Mon, 19 Dec 2016 16:43:53 GMT
523 523
      Server:
524 524
      - Apache/2.4.6 (Red Hat Enterprise Linux)
525 525
      X-Frame-Options:
......
529 529
      X-Content-Type-Options:
530 530
      - nosniff
531 531
      Foreman-Version:
532
      - 1.11.0.54
532
      - 1.11.0.61
533 533
      Foreman-Api-Version:
534 534
      - '2'
535 535
      Apipie-Checksum:
536
      - e1df2e8d43e22495b02a53b48e3b5298
536
      - 9793fd9909c89b81479655ed560c4340
537 537
      Cache-Control:
538 538
      - max-age=0, private, must-revalidate
539 539
      X-Request-Id:
540
      - c447042b-5316-4ff3-910e-e8ea0a54a1ac
540
      - 015d1e44-8030-469e-af10-9f542f61d5c5
541 541
      X-Runtime:
542
      - '0.105671'
542
      - '0.122878'
543 543
      X-Powered-By:
544 544
      - Phusion Passenger 4.0.18
545 545
      Set-Cookie:
546
      - _session_id=a8b0a7e9765adc6a1b05773758a6c184; path=/; secure; HttpOnly
546
      - _session_id=4d4d090af1d8f87d31778808cbf4b36a; path=/; secure; HttpOnly
547 547
      Etag:
548 548
      - '"e887f85e97779657bd7cf336d1f5761c-gzip"'
549 549
      Status:
......
570 570

  
571 571
'
572 572
    http_version: 
573
  recorded_at: Wed, 14 Dec 2016 13:43:38 GMT
573
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
574 574
- request:
575 575
    method: put
576 576
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/3
......
598 598
      message: OK
599 599
    headers:
600 600
      Date:
601
      - Wed, 14 Dec 2016 13:43:43 GMT
601
      - Mon, 19 Dec 2016 16:43:53 GMT
602 602
      Server:
603 603
      - Apache/2.4.6 (Red Hat Enterprise Linux)
604 604
      X-Frame-Options:
......
608 608
      X-Content-Type-Options:
609 609
      - nosniff
610 610
      Foreman-Version:
611
      - 1.11.0.54
611
      - 1.11.0.61
612 612
      Foreman-Api-Version:
613 613
      - '2'
614 614
      Apipie-Checksum:
615
      - e1df2e8d43e22495b02a53b48e3b5298
615
      - 9793fd9909c89b81479655ed560c4340
616 616
      Cache-Control:
617 617
      - max-age=0, private, must-revalidate
618 618
      X-Request-Id:
619
      - 28673de6-21ba-439a-b491-8e81cfd180be
619
      - bfc5cc77-ed56-4431-882a-634e987999b0
620 620
      X-Runtime:
621
      - '0.067759'
621
      - '0.079122'
622 622
      X-Powered-By:
623 623
      - Phusion Passenger 4.0.18
624 624
      Set-Cookie:
625
      - _session_id=831e54c77c299e9434aac691d2ca170a; path=/; secure; HttpOnly
625
      - _session_id=88b1a53121e22fdcd4e425eaec3cba9c; path=/; secure; HttpOnly
626 626
      - request_method=PUT; path=/
627 627
      Etag:
628 628
      - '"d1a1078fbc4e19de0bbdbdaef3661e1a-gzip"'
......
642 642

  
643 643
'
644 644
    http_version: 
645
  recorded_at: Wed, 14 Dec 2016 13:43:38 GMT
645
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
646 646
- request:
647 647
    method: put
648 648
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/4
......
670 670
      message: OK
671 671
    headers:
672 672
      Date:
673
      - Wed, 14 Dec 2016 13:43:43 GMT
673
      - Mon, 19 Dec 2016 16:43:53 GMT
674 674
      Server:
675 675
      - Apache/2.4.6 (Red Hat Enterprise Linux)
676 676
      X-Frame-Options:
......
680 680
      X-Content-Type-Options:
681 681
      - nosniff
682 682
      Foreman-Version:
683
      - 1.11.0.54
683
      - 1.11.0.61
684 684
      Foreman-Api-Version:
685 685
      - '2'
686 686
      Apipie-Checksum:
687
      - e1df2e8d43e22495b02a53b48e3b5298
687
      - 9793fd9909c89b81479655ed560c4340
688 688
      Cache-Control:
689 689
      - max-age=0, private, must-revalidate
690 690
      X-Request-Id:
691
      - 1534f1f0-05c4-4c6b-9b23-59e62556dc98
691
      - 467029bb-25ac-4492-b2a4-be04954ef6c7
692 692
      X-Runtime:
693
      - '0.056407'
693
      - '0.075993'
694 694
      X-Powered-By:
695 695
      - Phusion Passenger 4.0.18
696 696
      Set-Cookie:
697
      - _session_id=7431560261bfc62ae7d1df858c3ea788; path=/; secure; HttpOnly
697
      - _session_id=58a3dc40c90be94a4aa6b6097cf3ec6a; path=/; secure; HttpOnly
698 698
      - request_method=PUT; path=/
699 699
      Etag:
700 700
      - '"095ce7eb223d0860918635d47fe54db6-gzip"'
......
714 714

  
715 715
'
716 716
    http_version: 
717
  recorded_at: Wed, 14 Dec 2016 13:43:38 GMT
717
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
718 718
- request:
719 719
    method: put
720 720
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/5
......
742 742
      message: OK
743 743
    headers:
744 744
      Date:
745
      - Wed, 14 Dec 2016 13:43:43 GMT
745
      - Mon, 19 Dec 2016 16:43:53 GMT
746 746
      Server:
747 747
      - Apache/2.4.6 (Red Hat Enterprise Linux)
748 748
      X-Frame-Options:
......
752 752
      X-Content-Type-Options:
753 753
      - nosniff
754 754
      Foreman-Version:
755
      - 1.11.0.54
755
      - 1.11.0.61
756 756
      Foreman-Api-Version:
757 757
      - '2'
758 758
      Apipie-Checksum:
759
      - e1df2e8d43e22495b02a53b48e3b5298
759
      - 9793fd9909c89b81479655ed560c4340
760 760
      Cache-Control:
761 761
      - max-age=0, private, must-revalidate
762 762
      X-Request-Id:
763
      - 24354256-bc64-4b96-a7c5-b299a7588674
763
      - 3d6b34ed-07ec-47ac-866e-a747ee9db82f
764 764
      X-Runtime:
765
      - '0.058828'
765
      - '0.057818'
766 766
      X-Powered-By:
767 767
      - Phusion Passenger 4.0.18
768 768
      Set-Cookie:
769
      - _session_id=b393f63670e242f5d320d0acd523b7ac; path=/; secure; HttpOnly
769
      - _session_id=408486eac872a6898300f9cf53c580b9; path=/; secure; HttpOnly
770 770
      - request_method=PUT; path=/
771 771
      Etag:
772 772
      - '"d9e82a863d78d6025d4d5021820435c0-gzip"'
......
786 786

  
787 787
'
788 788
    http_version: 
789
  recorded_at: Wed, 14 Dec 2016 13:43:38 GMT
789
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
790 790
- request:
791 791
    method: put
792 792
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/6
......
814 814
      message: OK
815 815
    headers:
816 816
      Date:
817
      - Wed, 14 Dec 2016 13:43:43 GMT
817
      - Mon, 19 Dec 2016 16:43:53 GMT
818 818
      Server:
819 819
      - Apache/2.4.6 (Red Hat Enterprise Linux)
820 820
      X-Frame-Options:
......
824 824
      X-Content-Type-Options:
825 825
      - nosniff
826 826
      Foreman-Version:
827
      - 1.11.0.54
827
      - 1.11.0.61
828 828
      Foreman-Api-Version:
829 829
      - '2'
830 830
      Apipie-Checksum:
831
      - e1df2e8d43e22495b02a53b48e3b5298
831
      - 9793fd9909c89b81479655ed560c4340
832 832
      Cache-Control:
833 833
      - max-age=0, private, must-revalidate
834 834
      X-Request-Id:
835
      - 535b6e0f-8b53-4c78-8dcc-d2cbcb1d61d6
835
      - 08292adb-5729-4497-b9c5-48280ab260fa
836 836
      X-Runtime:
837
      - '0.059043'
837
      - '0.060624'
838 838
      X-Powered-By:
839 839
      - Phusion Passenger 4.0.18
840 840
      Set-Cookie:
841
      - _session_id=22c083034ea8adf6b47c526eb68beb67; path=/; secure; HttpOnly
841
      - _session_id=5a612c13854d2a046d530447c607fff8; path=/; secure; HttpOnly
842 842
      - request_method=PUT; path=/
843 843
      Etag:
844 844
      - '"90a71dc83ec9d8ba5266f84ed30a5993-gzip"'
......
858 858

  
859 859
'
860 860
    http_version: 
861
  recorded_at: Wed, 14 Dec 2016 13:43:38 GMT
861
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
862 862
recorded_with: VCR 3.0.3

Also available in: Unified diff