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_organizations/setup.yml
21 21
      message: OK
22 22
    headers:
23 23
      Date:
24
      - Wed, 14 Dec 2016 13:43:45 GMT
24
      - Mon, 19 Dec 2016 16:43:55 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
      - aa1f14d0-6272-4827-a41a-5972efca245e
42
      - 470dacc7-cefd-41ca-9190-c4e6cbec28e6
43 43
      X-Runtime:
44
      - '0.042610'
44
      - '0.042590'
45 45
      X-Powered-By:
46 46
      - Phusion Passenger 4.0.18
47 47
      Set-Cookie:
48
      - _session_id=4f0e36f443ce10faa5dc592cb3e77d3f; path=/; secure; HttpOnly
48
      - _session_id=de496a478b651eec6d4442664faf8c4c; 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:40 GMT
61
  recorded_at: Mon, 19 Dec 2016 16:43:39 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:45 GMT
83
      - Mon, 19 Dec 2016 16:43:56 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
      - ceb7c4ef-3d47-4510-b363-7f86d6c091b6
101
      - c2d7bea0-cf98-4606-97e4-b014f287c605
102 102
      X-Runtime:
103
      - '0.049744'
103
      - '0.040377'
104 104
      X-Powered-By:
105 105
      - Phusion Passenger 4.0.18
106 106
      Set-Cookie:
107
      - _session_id=7a0fe2ffa4d1d5cca47ff3830ef91dd4; path=/; secure; HttpOnly
107
      - _session_id=829d8d095d47b5bd990842c71c47b91a; 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:40 GMT
196
  recorded_at: Mon, 19 Dec 2016 16:43:39 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:45 GMT
222
      - Mon, 19 Dec 2016 16:43:56 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
      - 931b13b2-742d-46d4-a3b6-8911e271c743
240
      - ddd8acf7-53a5-421d-9098-47a7475d2c41
241 241
      X-Runtime:
242
      - '0.033683'
242
      - '0.046426'
243 243
      X-Powered-By:
244 244
      - Phusion Passenger 4.0.18
245 245
      Set-Cookie:
246
      - _session_id=9e96ba22f40cd5d3910c23aa76ed4e00; path=/; secure; HttpOnly
246
      - _session_id=477f3f7a267ed1f229037de5d507d4eb; 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:40 GMT
273
  recorded_at: Mon, 19 Dec 2016 16:43:39 GMT
274 274
- request:
275 275
    method: get
276 276
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
......
296 296
      message: OK
297 297
    headers:
298 298
      Date:
299
      - Wed, 14 Dec 2016 13:43:45 GMT
299
      - Mon, 19 Dec 2016 16:43:56 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
      - a22ec74e-0ca4-49be-9f90-2d245b4a2c4a
317
      - bdf9e578-1d42-4835-9cf6-2d0f8a350608
318 318
      X-Runtime:
319
      - '0.214922'
319
      - '0.276479'
320 320
      X-Powered-By:
321 321
      - Phusion Passenger 4.0.18
322 322
      Set-Cookie:
323
      - _session_id=4ebe7b4c943b7cfc4d6cc481b2d9cd8a; path=/; secure; HttpOnly
323
      - _session_id=b77539f42f114de6502192835de8b1ca; path=/; secure; HttpOnly
324 324
      Etag:
325
      - '"63790d29113a46c3ae6f15fb2434fcb6-gzip"'
325
      - '"006de64ccdfce5ecd50e0750009e0e9d-gzip"'
326 326
      Status:
327 327
      - 200 OK
328 328
      Vary:
......
334 334
    body:
335 335
      encoding: ASCII-8BIT
336 336
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"4028f99158f378890158f7d5665f03ed","key":"testcorp","displayName":"Test
337
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"4028f99158f378890158f8a79a630b86","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
337
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"4028f99159040819015917f7360505fe","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
338 338
        RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAnR41trDH6LJ4Tobp73rsvM7Sl+nMItXNW7HSjhKQg78nFotM\naGRB9XS3z7wzKtunqIHcj38UwGBE01qLIO7aBXJHAeDiZVJdRaq03fcpQU3OywCw\nzjzfIRxYP8u5S1bjE60QXwv+ao0nbEYJ45EBmFybL6NJBcATsvPTadRzy236kk0h\nnOJl+IXXU+29eGjY7GWXjm+QYf//CHN+ngEh8g/sxSafDM6w7ZlPi9HJSaXK363R\n/nuy+4KqYE0MHa/7Iyb+HnyQEn/XTuFLJk3/EKr7gwxOVV2in6CQEeXLNuWek1Xt\nUzBDL/jPNoowFM18kmYBBg5/M3gqMX4eXBVfxQIDAQABAoIBAAeWduecv/rH67F3\nKIMNP7OalWcKvnYMNz+vZcjAssP6Dkwza/w6o0jUWzAoGZx/QSiNJPa1H25u98Px\nQnjTsCnFLBK2JpjYEnMT3Go/znk95be+D8vV+ryhns1t7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IFICATE-----\n","id":"4028f99158f378890158f8a79a630b85","serial":{"id":8920514391689940460,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":8920514391689940460,"created":"2016-12-13T14:48:03.426+0000","updated":"2016-12-13T14:48:03.426+0000"},"created":"2016-12-13T14:48:03.427+0000","updated":"2016-12-13T14:48:03.427+0000"},"type":{"id":"4028f99158d73c980158d7417b9c0005","label":"satellite","manifest":true,"created":"2016-12-07T03:09:02.748+0000","updated":"2016-12-07T03:09:02.748+0000"},"ownerId":"4028f99158f378890158f7d5665f03ed","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-12-13T14:48:03.427+0000","updated":"2016-12-13T14:48:03.427+0000"},"logLevel":null,"autobindDisabled":null,"href":"/owners/testcorp","created":"2016-12-13T10:58:27.551+0000","updated":"2016-12-13T14:48:03.496+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
341
        today for a better tomorrow","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-14
342
        13:43:42 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
340
        CERTIFICATE-----\n","id":"4028f99159040819015917f7360405fd","serial":{"id":1876219475313738186,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":1876219475313738186,"created":"2016-12-19T16:43:14.305+0000","updated":"2016-12-19T16:43:14.305+0000"},"created":"2016-12-19T16:43:14.308+0000","updated":"2016-12-19T16:43:14.308+0000"},"type":{"id":"4028f99158d73c980158d7417b9c0005","label":"satellite","manifest":true,"created":"2016-12-07T03:09:02.748+0000","updated":"2016-12-07T03:09:02.748+0000"},"ownerId":"4028f99158f378890158f7d5665f03ed","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-12-19T16:43:14.309+0000","updated":"2016-12-19T16:43:14.309+0000"},"logLevel":null,"autobindDisabled":null,"href":"/owners/testcorp","created":"2016-12-13T10:58:27.551+0000","updated":"2016-12-19T16:43:14.418+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
341
        today for a better tomorrow","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-19
342
        16:43:52 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
343 343
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat-rhel7.example.com","id":1,"url":"https://sat-rhel7.example.com:9090"}],"subnets":[{"id":1,"name":"Test
344 344
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
345 345
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
......
451 451
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
452 452
        Location","title":"Default Location","description":null}],"parameters":[],"default_content_view_id":2,"library_id":2}'
453 453
    http_version: 
454
  recorded_at: Wed, 14 Dec 2016 13:43:40 GMT
454
  recorded_at: Mon, 19 Dec 2016 16:43:40 GMT
455 455
- request:
456 456
    method: put
457 457
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
......
479 479
      message: OK
480 480
    headers:
481 481
      Date:
482
      - Wed, 14 Dec 2016 13:43:45 GMT
482
      - Mon, 19 Dec 2016 16:43:56 GMT
483 483
      Server:
484 484
      - Apache/2.4.6 (Red Hat Enterprise Linux)
485 485
      X-Frame-Options:
......
489 489
      X-Content-Type-Options:
490 490
      - nosniff
491 491
      Foreman-Version:
492
      - 1.11.0.54
492
      - 1.11.0.61
493 493
      Foreman-Api-Version:
494 494
      - '2'
495 495
      Apipie-Checksum:
496
      - e1df2e8d43e22495b02a53b48e3b5298
496
      - 9793fd9909c89b81479655ed560c4340
497 497
      Cache-Control:
498 498
      - max-age=0, private, must-revalidate
499 499
      X-Request-Id:
500
      - 87c93895-9fc3-4816-92d9-0e490d592a15
500
      - 381ecb46-6b8d-4754-9f43-f537a76b3991
501 501
      X-Runtime:
502
      - '0.301617'
502
      - '0.393603'
503 503
      X-Powered-By:
504 504
      - Phusion Passenger 4.0.18
505 505
      Set-Cookie:
506
      - _session_id=9353e67ae85c2777747e3efb3eb51927; path=/; secure; HttpOnly
506
      - _session_id=2350bfef28e9f718ecf3347766740bae; path=/; secure; HttpOnly
507 507
      - request_method=PUT; path=/
508 508
      Etag:
509
      - '"7e651e39e5572a06297f766dc97ea0b2-gzip"'
509
      - '"f32a12589d7b370edf1df199a9cd119b-gzip"'
510 510
      Status:
511 511
      - 200 OK
512 512
      Vary:
......
518 518
    body:
519 519
      encoding: ASCII-8BIT
520 520
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-12-13
521
        10:58:26 UTC","updated_at":"2016-12-14 13:43:45 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
521
        10:58:26 UTC","updated_at":"2016-12-19 16:43:56 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
522 522
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat-rhel7.example.com","id":1,"url":"https://sat-rhel7.example.com:9090"}],"subnets":[{"id":1,"name":"Test
523 523
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
524 524
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
......
630 630
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
631 631
        Location","title":"Default Location","description":null}],"parameters":[]}'
632 632
    http_version: 
633
  recorded_at: Wed, 14 Dec 2016 13:43:41 GMT
633
  recorded_at: Mon, 19 Dec 2016 16:43:40 GMT
634 634
recorded_with: VCR 3.0.3

Also available in: Unified diff