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_domains/setup.yml
21 21
      message: OK
22 22
    headers:
23 23
      Date:
24
      - Wed, 14 Dec 2016 13:43:41 GMT
24
      - Mon, 19 Dec 2016 16:43:51 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
      - 45ace7aa-8c42-4280-a362-e1b3d2afc6e0
42
      - 1b6a939a-9227-4448-85a3-afac7087c4b3
43 43
      X-Runtime:
44
      - '0.036429'
44
      - '0.039954'
45 45
      X-Powered-By:
46 46
      - Phusion Passenger 4.0.18
47 47
      Set-Cookie:
48
      - _session_id=b3c529df8999fbdfff388bfd539ba4ba; path=/; secure; HttpOnly
48
      - _session_id=5e187f237277f8bd597dea74122e76c1; 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:36 GMT
61
  recorded_at: Mon, 19 Dec 2016 16:43:35 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:41 GMT
83
      - Mon, 19 Dec 2016 16:43:51 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
      - 8e8e543f-057a-497c-9c16-3fdc8057e0c3
101
      - 7fdf513e-2efb-4c01-84e4-1bc15eec2c7c
102 102
      X-Runtime:
103
      - '0.029819'
103
      - '0.040129'
104 104
      X-Powered-By:
105 105
      - Phusion Passenger 4.0.18
106 106
      Set-Cookie:
107
      - _session_id=3dd466e9f3d7cfb3c9a7ddefa62e3e3f; path=/; secure; HttpOnly
107
      - _session_id=c653ca351384d8d15919cc8acf6d36cf; 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:35 GMT
197 197
- request:
198 198
    method: get
199 199
    uri: https://admin:changeme@satlap.example.com/api/domains?per_page=999999
......
219 219
      message: OK
220 220
    headers:
221 221
      Date:
222
      - Wed, 14 Dec 2016 13:43:41 GMT
222
      - Mon, 19 Dec 2016 16:43:51 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
      - a2aa27a9-e73f-4b03-8e6b-23e8ac0a35a4
240
      - e7b8c8e8-ab4e-4495-a6ff-8dd13aaa54ea
241 241
      X-Runtime:
242
      - '0.035270'
242
      - '0.042181'
243 243
      X-Powered-By:
244 244
      - Phusion Passenger 4.0.18
245 245
      Set-Cookie:
246
      - _session_id=408863b85270942b8b01f9e0ce1b61a0; path=/; secure; HttpOnly
246
      - _session_id=a24d457318489301703b9f29dcb68577; path=/; secure; HttpOnly
247 247
      Etag:
248 248
      - '"ad08fff5266de368c5b0dee0fd22ec96-gzip"'
249 249
      Status:
......
270 270
          "results": [{"fullname":null,"dns_id":null,"created_at":"2016-12-07 03:11:13 UTC","updated_at":"2016-12-07 03:11:13 UTC","id":1,"name":"example.com"},{"fullname":"","dns_id":null,"created_at":"2016-12-13 10:58:23 UTC","updated_at":"2016-12-13 10:58:23 UTC","id":2,"name":"test.com"}]
271 271
        }
272 272
    http_version: 
273
  recorded_at: Wed, 14 Dec 2016 13:43:37 GMT
273
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
274 274
- request:
275 275
    method: put
276 276
    uri: https://admin:changeme@satlap.example.com/api/domains/2
......
298 298
      message: OK
299 299
    headers:
300 300
      Date:
301
      - Wed, 14 Dec 2016 13:43:41 GMT
301
      - Mon, 19 Dec 2016 16:43:52 GMT
302 302
      Server:
303 303
      - Apache/2.4.6 (Red Hat Enterprise Linux)
304 304
      X-Frame-Options:
......
308 308
      X-Content-Type-Options:
309 309
      - nosniff
310 310
      Foreman-Version:
311
      - 1.11.0.54
311
      - 1.11.0.61
312 312
      Foreman-Api-Version:
313 313
      - '2'
314 314
      Apipie-Checksum:
315
      - e1df2e8d43e22495b02a53b48e3b5298
315
      - 9793fd9909c89b81479655ed560c4340
316 316
      Cache-Control:
317 317
      - max-age=0, private, must-revalidate
318 318
      X-Request-Id:
319
      - cf3cdc7f-81da-47d7-9713-a09a6c2e0433
319
      - 9918dbb3-d98b-4dfa-b66b-54539d6801b2
320 320
      X-Runtime:
321
      - '0.047929'
321
      - '0.063367'
322 322
      X-Powered-By:
323 323
      - Phusion Passenger 4.0.18
324 324
      Set-Cookie:
325
      - _session_id=0f1c7bdc728671c1cce90149d7561143; path=/; secure; HttpOnly
325
      - _session_id=467d53ea331d8a1cbc7c2442d032e945; path=/; secure; HttpOnly
326 326
      - request_method=PUT; path=/
327 327
      Etag:
328 328
      - '"c4e5a74bd8e14093c1644355a0aa2140-gzip"'
......
341 341
        Corporation","title":"Test Corporation","description":"Testing today for a
342 342
        better tomorrow"}]}'
343 343
    http_version: 
344
  recorded_at: Wed, 14 Dec 2016 13:43:37 GMT
344
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
345 345
- request:
346 346
    method: get
347 347
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
367 367
      message: OK
368 368
    headers:
369 369
      Date:
370
      - Wed, 14 Dec 2016 13:43:41 GMT
370
      - Mon, 19 Dec 2016 16:43:52 GMT
371 371
      Server:
372 372
      - Apache/2.4.6 (Red Hat Enterprise Linux)
373 373
      X-Frame-Options:
......
377 377
      X-Content-Type-Options:
378 378
      - nosniff
379 379
      Foreman-Version:
380
      - 1.11.0.54
380
      - 1.11.0.61
381 381
      Foreman-Api-Version:
382 382
      - '2'
383 383
      Apipie-Checksum:
384
      - e1df2e8d43e22495b02a53b48e3b5298
384
      - 9793fd9909c89b81479655ed560c4340
385 385
      Cache-Control:
386 386
      - max-age=0, private, must-revalidate
387 387
      X-Request-Id:
388
      - dbbaf965-f506-4744-8560-8efbb48c4e19
388
      - 03e5fe11-4eb1-4f95-92d8-cc7ae9f8b0e4
389 389
      X-Runtime:
390
      - '0.038308'
390
      - '0.051184'
391 391
      X-Powered-By:
392 392
      - Phusion Passenger 4.0.18
393 393
      Set-Cookie:
394
      - _session_id=60ace7ec4f5db0f583a54b4d172f2219; path=/; secure; HttpOnly
394
      - _session_id=5da3502213037e4e235b39e283477329; path=/; secure; HttpOnly
395 395
      Etag:
396
      - '"ff50897889039cbed3f241cb58454ada-gzip"'
396
      - '"f1bc20326d93260c86807cfd4749cd80-gzip"'
397 397
      Status:
398 398
      - 200 OK
399 399
      Vary:
......
415 415
            "by": null,
416 416
            "order": null
417 417
          },
418
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-14 13:43:13 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
418
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-19 16:42:44 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
419 419
        }
420 420
    http_version: 
421
  recorded_at: Wed, 14 Dec 2016 13:43:37 GMT
421
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
422 422
- request:
423 423
    method: get
424 424
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
......
444 444
      message: OK
445 445
    headers:
446 446
      Date:
447
      - Wed, 14 Dec 2016 13:43:41 GMT
447
      - Mon, 19 Dec 2016 16:43:52 GMT
448 448
      Server:
449 449
      - Apache/2.4.6 (Red Hat Enterprise Linux)
450 450
      X-Frame-Options:
......
454 454
      X-Content-Type-Options:
455 455
      - nosniff
456 456
      Foreman-Version:
457
      - 1.11.0.54
457
      - 1.11.0.61
458 458
      Foreman-Api-Version:
459 459
      - '2'
460 460
      Apipie-Checksum:
461
      - e1df2e8d43e22495b02a53b48e3b5298
461
      - 9793fd9909c89b81479655ed560c4340
462 462
      Cache-Control:
463 463
      - max-age=0, private, must-revalidate
464 464
      X-Request-Id:
465
      - 831bde3b-7ede-479c-afba-417b6ec916c3
465
      - f4188605-12f2-40cb-9fff-99399ecd65a9
466 466
      X-Runtime:
467
      - '0.244903'
467
      - '0.287047'
468 468
      X-Powered-By:
469 469
      - Phusion Passenger 4.0.18
470 470
      Set-Cookie:
471
      - _session_id=76826d502c7be65d3e832a86eea3811c; path=/; secure; HttpOnly
471
      - _session_id=1c6de5ea1b8429040b8af4024ae70407; path=/; secure; HttpOnly
472 472
      Etag:
473
      - '"24c673cef29f9ef4d14063f77909ffb9-gzip"'
473
      - '"c0f22016708fafb7b2a32908bd8c1cde-gzip"'
474 474
      Status:
475 475
      - 200 OK
476 476
      Vary:
......
482 482
    body:
483 483
      encoding: ASCII-8BIT
484 484
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"4028f99158f378890158f7d5665f03ed","key":"testcorp","displayName":"Test
485
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"4028f99158f378890158f8a79a630b86","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
485
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"4028f99159040819015917f7360505fe","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
486 486
        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+ryhns1t7EPsLUk8+WZtsNq6eGXt\nN/sKfLY7+q6hRxyE+y6QQeyBexoe4OnELeeb9KFxpE9H8TV67Ed9jqLbtXsR/8Nq\nWZW7ZYHBuvYuGHgZQWY9wWks3HW1ygC+y1BpfeYA9z85HH+t1x7mG8lOBoe0eV95\nhmHDwQInPPdBB20szGTRB2UjKmFCIGX/EYn/RJZvi/kxlpTzSLTiBDDUKqjAyWC/\ngdRhp/0CgYEA7qh1ng34FXTXYs0otOpCTrjnB17vdJb1SAc2kvWSQiCr9Gr5etGR\nDu7g6EAAvsV8HbQkcBmXyqnVuDhR0Ijt0UaldqGWbpmAcspHMDsy1uDn24qjbZoI\ncC3wQhsy3+8zNRYlbELeJjgzacYRmmtZNc2ML5As5XX8VVji3JqmZUMCgYEAqIjv\nPV4SfqrOv4NFcE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JFfynY2AVOc\nZHbwvHKoQoUUrVlZFkcwhWcL7vvTEJQUONaOOLUgAzGIdfAmBYPWBqbwf80croGh\nY5xBcNqRw3cxfi0joE+LY4brEW5vJF8DnxhEX0eIJtjas+zb3ckeUJgYIyirXdHJ\nqrAANWjUfh9JFehwjAigx6TnGK+pr+zpbKTX9O7lhmvsCf+82NVlZmY342IUE8Ss\npWjhsydl8NT80fGJV/1fwpgyos9EvpjayXh9bYxZhDkiHaUUL/WBInEdyi4xFJgf\nPXnaV+2q48/3oOVZa2Ng/vcaBG5nEZYvK+jTG205t9d9X9Tp46iH/mvyIH8VIF0H\np/OtIoRnGLjliYP0dHp91G4UTTEpg8Cxa77r77qlwASORsFF8MJGMKMJg/YNO7fQ\nCskpqb7UZfSXmvZ5AIZ/Kzncuj1IvZMLhjMr/QAwSO0/v/GnmSqLwMamM2viq8un\nef2TQy9Xcuxcp0n7mcDHUUaTpiW1tPc5ikUmCUQ2ZuNTjE6Noa0kSV3AHG3TbSkU\n+qT9B5RSL1YBAEw5xwttvjlju2jaYaYT6xI4LioXIVJ8lEwdrggxmqTj1ArgqP2c\nHAtS6vziTnwbP+sS3g==\n-----END
488
        CERTIFICATE-----\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
489
        today for a better tomorrow","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-14
490
        13:43:13 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
488
        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
489
        today for a better tomorrow","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-19
490
        16:42:44 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
491 491
        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
492 492
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
493 493
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
......
599 599
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
600 600
        Location","title":"Default Location","description":null}],"parameters":[],"default_content_view_id":2,"library_id":2}'
601 601
    http_version: 
602
  recorded_at: Wed, 14 Dec 2016 13:43:37 GMT
602
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
603 603
- request:
604 604
    method: put
605 605
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
......
627 627
      message: OK
628 628
    headers:
629 629
      Date:
630
      - Wed, 14 Dec 2016 13:43:42 GMT
630
      - Mon, 19 Dec 2016 16:43:52 GMT
631 631
      Server:
632 632
      - Apache/2.4.6 (Red Hat Enterprise Linux)
633 633
      X-Frame-Options:
......
637 637
      X-Content-Type-Options:
638 638
      - nosniff
639 639
      Foreman-Version:
640
      - 1.11.0.54
640
      - 1.11.0.61
641 641
      Foreman-Api-Version:
642 642
      - '2'
643 643
      Apipie-Checksum:
644
      - e1df2e8d43e22495b02a53b48e3b5298
644
      - 9793fd9909c89b81479655ed560c4340
645 645
      Cache-Control:
646 646
      - max-age=0, private, must-revalidate
647 647
      X-Request-Id:
648
      - 7dc961da-3333-4b33-836f-37c4050a8a05
648
      - 292a6db0-04b2-4947-bc83-5d030b06c5b7
649 649
      X-Runtime:
650
      - '0.349783'
650
      - '0.349277'
651 651
      X-Powered-By:
652 652
      - Phusion Passenger 4.0.18
653 653
      Set-Cookie:
654
      - _session_id=7143c52c5e22a94b9dfaf369049e4eb3; path=/; secure; HttpOnly
654
      - _session_id=ad2e4d4bd7553ae28b135e8372851bcd; path=/; secure; HttpOnly
655 655
      - request_method=PUT; path=/
656 656
      Etag:
657
      - '"5f36c5bd2f7d5f1e3e62452eacac1710-gzip"'
657
      - '"4ea0d498f88fab8b3056ca4a6e82c484-gzip"'
658 658
      Status:
659 659
      - 200 OK
660 660
      Vary:
......
666 666
    body:
667 667
      encoding: ASCII-8BIT
668 668
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-12-13
669
        10:58:26 UTC","updated_at":"2016-12-14 13:43:42 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
669
        10:58:26 UTC","updated_at":"2016-12-19 16:43:52 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
670 670
        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
671 671
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
672 672
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
......
778 778
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
779 779
        Location","title":"Default Location","description":null}],"parameters":[]}'
780 780
    http_version: 
781
  recorded_at: Wed, 14 Dec 2016 13:43:37 GMT
781
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
782 782
recorded_with: VCR 3.0.3

Also available in: Unified diff