Project

General

Profile

Revision f370cc85

Added by Thomas McKay almost 6 years ago

fixes #16501 - subnets import not setting proxies

Changed the vcr recording by adding --reload-cache to all the hammer commands. This hopefully will avoid the intermittent failures due to fetching the v2.json.

View differences:

test/fixtures/vcr_cassettes/setup/setup_subscriptions/setup.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: get
5
    uri: http://admin:changeme@katello:3000/api/status
5
    uri: https://admin:changeme@katello.example.com:50191/api/status
6 6
    body:
7 7
      encoding: US-ASCII
8 8
      string: ''
......
10 10
      Accept-Encoding:
11 11
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12 12
      Accept:
13
      - '*/*'
13
      - "*/*"
14 14
      User-Agent:
15 15
      - Ruby
16 16
  response:
......
18 18
      code: 200
19 19
      message: OK
20 20
    headers:
21
      Date:
22
      - Fri, 09 Sep 2016 20:05:10 GMT
23
      Server:
24
      - Apache/2.4.6 (CentOS)
21 25
      X-Frame-Options:
22 26
      - SAMEORIGIN
23 27
      X-Xss-Protection:
......
25 29
      X-Content-Type-Options:
26 30
      - nosniff
27 31
      Foreman-Version:
28
      - 1.13.0-develop
32
      - 1.14.0-develop
29 33
      Foreman-Api-Version:
30 34
      - '2'
31 35
      Content-Type:
32 36
      - application/json; charset=utf-8
33 37
      Apipie-Checksum:
34
      - e98945ba1db6bdbb4c25ce4988912344
38
      - 9544abef9cf8343005f07ed8c9f1f8e7
35 39
      Etag:
36
      - W/"f536fd8685b76bb26a943d472593c93e"
40
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
37 41
      Cache-Control:
38 42
      - max-age=0, private, must-revalidate
39
      Set-Cookie:
40
      - _session_id=5445fbe40c7aa95490b96a4cbe46aa5b; path=/; HttpOnly
41 43
      X-Request-Id:
42
      - 1009f71c-a680-46be-8063-2a747885ee8d
44
      - 3ef55355-45fc-4eb5-ac63-a0265777a07d
43 45
      X-Runtime:
44
      - '0.313078'
45
      Transfer-Encoding:
46
      - chunked
46
      - '0.228772'
47
      Via:
48
      - 1.1 katello.example.com:50191
49
      Vary:
50
      - Accept-Encoding
51
      Content-Length:
52
      - '81'
53
      Set-Cookie:
54
      - _session_id=cc11e0389bc827b3d7762dd11948938a; path=/; HttpOnly
47 55
    body:
48 56
      encoding: UTF-8
49
      string: '{"result":"ok","status":200,"version":"1.13.0-develop","api_version":2}'
57
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
50 58
    http_version: 
51
  recorded_at: Tue, 16 Aug 2016 19:07:56 GMT
59
  recorded_at: Fri, 09 Sep 2016 20:05:11 GMT
52 60
- request:
53 61
    method: get
54
    uri: http://admin:changeme@katello:3000/api/v2/plugins
62
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
55 63
    body:
56 64
      encoding: US-ASCII
57 65
      string: ''
......
59 67
      Accept-Encoding:
60 68
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
61 69
      Accept:
62
      - '*/*'
70
      - "*/*"
63 71
      User-Agent:
64 72
      - Ruby
65 73
  response:
......
67 75
      code: 200
68 76
      message: OK
69 77
    headers:
78
      Date:
79
      - Fri, 09 Sep 2016 20:05:10 GMT
80
      Server:
81
      - Apache/2.4.6 (CentOS)
70 82
      X-Frame-Options:
71 83
      - SAMEORIGIN
72 84
      X-Xss-Protection:
......
74 86
      X-Content-Type-Options:
75 87
      - nosniff
76 88
      Foreman-Version:
77
      - 1.13.0-develop
89
      - 1.14.0-develop
78 90
      Foreman-Api-Version:
79 91
      - '2'
80 92
      Content-Type:
81 93
      - application/json; charset=utf-8
82 94
      Apipie-Checksum:
83
      - e98945ba1db6bdbb4c25ce4988912344
95
      - 9544abef9cf8343005f07ed8c9f1f8e7
84 96
      Etag:
85
      - W/"dc4a8351c6668134273bfe99879f93b1"
97
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
86 98
      Cache-Control:
87 99
      - max-age=0, private, must-revalidate
88
      Set-Cookie:
89
      - _session_id=994b2faf62d26283376717e80e3ef140; path=/; HttpOnly
90 100
      X-Request-Id:
91
      - 190781af-169d-4640-95a6-5e08ae195067
101
      - 3cbaf96b-4a85-404e-bae7-c62676045358
92 102
      X-Runtime:
93
      - '0.209304'
94
      Transfer-Encoding:
95
      - chunked
103
      - '0.180675'
104
      Via:
105
      - 1.1 katello.example.com:50191
106
      Vary:
107
      - Accept-Encoding
108
      Content-Length:
109
      - '566'
110
      Set-Cookie:
111
      - _session_id=b2c4f4ac74b4565c16cbbe9ec8cbbab6; path=/; HttpOnly
96 112
    body:
97 113
      encoding: ASCII-8BIT
98 114
      string: !binary |-
99
        ewogICJ0b3RhbCI6IDQsCiAgInN1YnRvdGFsIjogNCwKICAicGFnZSI6IDEs
115
        ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
100 116
        CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
101 117
        OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
102 118
        InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
......
111 127
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
112 128
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
113 129
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
114
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjcuMjAifSx7ImlkIjoiZm9yZW1h
115
        bl9kb2NrZXIiLCJuYW1lIjoiZm9yZW1hbl9kb2NrZXIiLCJhdXRob3IiOiJE
116
        YW5pZWwgTG9iYXRvLCBBbW9zIEJlbmFyaSIsImRlc2NyaXB0aW9uIjoiUHJv
117
        dmlzaW9uIGFuZCBtYW5hZ2UgRG9ja2VyIGNvbnRhaW5lcnMgYW5kIGltYWdl
118
        cyBmcm9tIEZvcmVtYW4uIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
119
        Zm9yZW1hbi9mb3JlbWFuLWRvY2tlciIsInZlcnNpb24iOiIzLjAuMCJ9LHsi
120
        aWQiOiJmb3JlbWFuX3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1h
121
        bl9yZW1vdGVfZXhlY3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUg
122
        RXhlY3V0aW9uIHRlYW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5n
123
        aW5nIHJlbW90ZSBleGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRp
124
        bmcgdGhlIGNvbmZpZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCBy
125
        ZW1vdGUgbWFuYWdlbWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBz
126
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1
127
        dGlvbiIsInZlcnNpb24iOiIxLjAuMCJ9LHsiaWQiOiJrYXRlbGxvIiwibmFt
128
        ZSI6ImthdGVsbG8iLCJhdXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNv
129
        bnRlbnQgYW5kIFN1YnNjcmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3Ig
130
        Rm9yZW1hbiIsInVybCI6Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJz
131
        aW9uIjoiMy4yLjAifV0KfQo=
130
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
131
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
132
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
133
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
134
        IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
135
        b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
136
        ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
137
        ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
138
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
139
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
132 140
    http_version: 
133
  recorded_at: Tue, 16 Aug 2016 19:07:56 GMT
141
  recorded_at: Fri, 09 Sep 2016 20:05:11 GMT
134 142
- request:
135 143
    method: get
136
    uri: http://admin:changeme@katello:3000/katello/api/organizations?per_page=999999
144
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999
137 145
    body:
138 146
      encoding: US-ASCII
139 147
      string: ''
......
142 150
      - application/json;version=2
143 151
      Accept-Encoding:
144 152
      - gzip, deflate
153
      User-Agent:
154
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
145 155
      Content-Type:
146 156
      - application/json
147
      User-Agent:
148
      - Ruby
157
      Host:
158
      - katello.example.com:50191
149 159
  response:
150 160
    status:
151 161
      code: 200
152 162
      message: OK
153 163
    headers:
164
      Date:
165
      - Fri, 09 Sep 2016 20:05:11 GMT
166
      Server:
167
      - Apache/2.4.6 (CentOS)
154 168
      X-Frame-Options:
155 169
      - SAMEORIGIN
156 170
      X-Xss-Protection:
......
158 172
      X-Content-Type-Options:
159 173
      - nosniff
160 174
      Foreman-Version:
161
      - 1.13.0-develop
175
      - 1.14.0-develop
162 176
      Foreman-Api-Version:
163 177
      - '2'
164 178
      Content-Type:
165 179
      - application/json; charset=utf-8
166 180
      Apipie-Checksum:
167
      - e98945ba1db6bdbb4c25ce4988912344
181
      - 9544abef9cf8343005f07ed8c9f1f8e7
168 182
      Etag:
169
      - W/"4334603e104dcf3bf9d4222dd9a77b6a"
183
      - W/"6f6e523169508346de19ea518f842d6f-gzip"
170 184
      Cache-Control:
171 185
      - max-age=0, private, must-revalidate
172
      Set-Cookie:
173
      - _session_id=681c0d55e6bbb4adfce557ea81d3789f; path=/; HttpOnly
174 186
      X-Request-Id:
175
      - c18d9b8f-3f91-4dad-a09c-0f97471e7ca7
187
      - 36a9c4ae-6889-4f64-810a-5fd681a19294
176 188
      X-Runtime:
177
      - '0.259700'
178
      Transfer-Encoding:
179
      - chunked
189
      - '0.213060'
190
      Via:
191
      - 1.1 katello.example.com:50191
192
      Vary:
193
      - Accept-Encoding
194
      Content-Length:
195
      - '792'
196
      Set-Cookie:
197
      - _session_id=fad702a15da68e27730188f70803a331; path=/; HttpOnly
180 198
    body:
181
      encoding: UTF-8
199
      encoding: ASCII-8BIT
182 200
      string: |
183 201
        {
184 202
          "total": 3,
......
190 208
            "by": null,
191 209
            "order": null
192 210
          },
193
          "results": [{"label":"Default_Organization","created_at":"2016-08-10 12:38:23 UTC","updated_at":"2016-08-10 12:38:23 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"examplecorp","created_at":"2016-08-10 13:40:47 UTC","updated_at":"2016-08-10 13:40:47 UTC","id":3,"name":"Example Corporation","title":"Example Corporation","description":"The number one example company in the world!"},{"label":"testcorp","created_at":"2016-08-16 12:46:24 UTC","updated_at":"2016-08-16 12:46:24 UTC","id":4,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
211
          "results": [{"label":"Default_Organization","created_at":"2016-09-02 14:00:59 UTC","updated_at":"2016-09-02 14:00:59 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"examplecorp","created_at":"2016-09-02 15:00:24 UTC","updated_at":"2016-09-02 15:00:24 UTC","id":3,"name":"Example Corporation","title":"Example Corporation","description":"The number one example company in the world!"},{"label":"testcorp","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","id":9,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
194 212
        }
195 213
    http_version: 
196
  recorded_at: Tue, 16 Aug 2016 19:07:56 GMT
214
  recorded_at: Fri, 09 Sep 2016 20:05:11 GMT
197 215
- request:
198 216
    method: get
199
    uri: http://admin:changeme@katello:3000/katello/api/organizations/4
217
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
200 218
    body:
201 219
      encoding: US-ASCII
202 220
      string: ''
......
205 223
      - application/json;version=2
206 224
      Accept-Encoding:
207 225
      - gzip, deflate
226
      User-Agent:
227
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
208 228
      Content-Type:
209 229
      - application/json
210
      User-Agent:
211
      - Ruby
230
      Host:
231
      - katello.example.com:50191
212 232
  response:
213 233
    status:
214 234
      code: 200
215 235
      message: OK
216 236
    headers:
237
      Date:
238
      - Fri, 09 Sep 2016 20:05:11 GMT
239
      Server:
240
      - Apache/2.4.6 (CentOS)
217 241
      X-Frame-Options:
218 242
      - SAMEORIGIN
219 243
      X-Xss-Protection:
......
221 245
      X-Content-Type-Options:
222 246
      - nosniff
223 247
      Foreman-Version:
224
      - 1.13.0-develop
248
      - 1.14.0-develop
225 249
      Foreman-Api-Version:
226 250
      - '2'
227 251
      Content-Type:
228 252
      - application/json; charset=utf-8
229 253
      Apipie-Checksum:
230
      - e98945ba1db6bdbb4c25ce4988912344
254
      - 9544abef9cf8343005f07ed8c9f1f8e7
231 255
      Etag:
232
      - W/"b5577d462bb47ed33171b7965924a357"
256
      - W/"253ac9fa8c0d829e51da8f57b05de99d-gzip"
233 257
      Cache-Control:
234 258
      - max-age=0, private, must-revalidate
235
      Set-Cookie:
236
      - _session_id=0b38e2e65c2972c62aa1ad297e9244d4; path=/; HttpOnly
237 259
      X-Request-Id:
238
      - 9750eb67-4bf4-4551-b698-3a0f8efad5d8
260
      - a7658745-c795-40f5-8586-8d18be4d5ad8
239 261
      X-Runtime:
240
      - '3.796441'
241
      Transfer-Encoding:
242
      - chunked
262
      - '2.678480'
263
      Via:
264
      - 1.1 katello.example.com:50191
265
      Vary:
266
      - Accept-Encoding
267
      Content-Length:
268
      - '21851'
269
      Set-Cookie:
270
      - _session_id=cff02b95a46474dc87ba15ab9fc81a30; path=/; HttpOnly
243 271
    body:
244
      encoding: UTF-8
245
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"4028f901567474d4015693638d7c155a","key":"testcorp","displayName":"Test
246
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"4028f901567474d4015693796d1c1562","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
272
      encoding: ASCII-8BIT
273
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808156eb30a60157024c785205e2","key":"testcorp","displayName":"Test
274
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff80808156eb30a6015704818a920660","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
247 275
        RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAnR41trDH6LJ4Tobp73rsvM7Sl+nMItXNW7HSjhKQg78nFotM\naGRB9XS3z7wzKtunqIHcj38UwGBE01qLIO7aBXJHAeDiZVJdRaq03fcpQU3OywCw\nzjzfIRxYP8u5S1bjE60QXwv+ao0nbEYJ45EBmFybL6NJBcATsvPTadRzy236kk0h\nnOJl+IXXU+29eGjY7GWXjm+QYf//CHN+ngEh8g/sxSafDM6w7ZlPi9HJSaXK363R\n/nuy+4KqYE0MHa/7Iyb+HnyQEn/XTuFLJk3/EKr7gwx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wSO0/v/GnmSqLwMamM2viq8un\nef2TQy9Xcuxcp0n7mcDHUUaTpiW1tPc5ikUmCUQ2ZuNTjE6Noa0kSV3AHG3TbSkU\n+qT9B5RSL1YBAEw5xwttvjlju2jaYaYT6xI4LioXIVJ8lEwdrggxmqTj1ArgqP2c\nHAtS6vziTnwbP+sS3g==\n-----END
249
        CERTIFICATE-----\n","id":"4028f901567474d4015693796d151561","serial":{"id":3577432943086335221,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":3577432943086335221,"created":"2016-08-16T13:10:23.762+0000","updated":"2016-08-16T13:10:23.762+0000"},"created":"2016-08-16T13:10:23.765+0000","updated":"2016-08-16T13:10:23.765+0000"},"type":{"id":"4028f901567474d4015674b03e910005","label":"satellite","manifest":true,"created":"2016-08-10T13:42:02.641+0000","updated":"2016-08-10T13:42:02.641+0000"},"ownerId":"4028f901567474d4015693638d7c155a","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-08-16T13:10:23.772+0000","updated":"2016-08-16T13:10:23.772+0000"},"logLevel":null,"href":"/owners/testcorp","created":"2016-08-16T12:46:30.268+0000","updated":"2016-08-16T13:10:23.871+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
250
        today for a better tomorrow","created_at":"2016-08-16 12:46:24 UTC","updated_at":"2016-08-16
251
        12:46:24 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":4,"name":"Test
252
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
253
        default","template_kind_id":4,"template_kind_name":"provision"},{"id":8,"name":"Alterator
254
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":9,"name":"Alterator
255
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
256
        Kickstart default","template_kind_id":4,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
257
        default","template_kind_id":4,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
258
        default iPXE","template_kind_id":3,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
259
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
260
        SLES default","template_kind_id":4,"template_kind_name":"provision"},{"id":45,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":46,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
261
        provision","template_kind_id":4,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
262
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
263
        (mfsBSD) finish","template_kind_id":5,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
264
        (mfsBSD) provision","template_kind_id":4,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
265
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":49,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
266
        default","template_kind_id":6,"template_kind_name":"script"},{"id":50,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
267
        default","template_kind_id":4,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
268
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
269
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":26,"name":"Junos
270
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":24,"name":"Junos
271
        default SLAX","template_kind_id":4,"template_kind_name":"provision"},{"id":25,"name":"Junos
272
        default ZTP config","template_kind_id":8,"template_kind_name":"ZTP"},{"id":77,"name":"Katello
273
        Atomic Kickstart Default","template_kind_id":4,"template_kind_name":"provision"},{"id":73,"name":"Katello
274
        Kickstart Default","template_kind_id":4,"template_kind_name":"provision"},{"id":75,"name":"Katello
275
        Kickstart Default Finish","template_kind_id":5,"template_kind_name":"finish"},{"id":74,"name":"Katello
276
        Kickstart Default User Data","template_kind_id":7,"template_kind_name":"user_data"},{"id":27,"name":"Kickstart
277
        default","template_kind_id":4,"template_kind_name":"provision"},{"id":29,"name":"Kickstart
278
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
279
        default iPXE","template_kind_id":3,"template_kind_name":"iPXE"},{"id":30,"name":"Kickstart
277
        CERTIFICATE-----\n","id":"ff80808156eb30a6015704818a91065f","serial":{"id":8261278538809906032,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":8261278538809906032,"created":"2016-09-07T11:56:21.009+0000","updated":"2016-09-07T11:56:21.009+0000"},"created":"2016-09-07T11:56:21.009+0000","updated":"2016-09-07T11:56:21.009+0000"},"type":{"id":"ff80808156eb30a60156ebcdc4930005","label":"satellite","manifest":true,"created":"2016-09-02T16:49:06.195+0000","updated":"2016-09-02T16:49:06.195+0000"},"ownerId":"ff80808156eb30a60157024c785205e2","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-09-07T11:56:21.010+0000","updated":"2016-09-07T11:56:21.010+0000"},"logLevel":null,"href":"/owners/testcorp","created":"2016-09-07T01:39:08.498+0000","updated":"2016-09-07T11:56:21.159+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
278
        today for a better tomorrow","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07
279
        01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
280
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
281
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
282
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
283
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
284
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
285
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
286
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
287
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
288
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
289
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
290
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
291
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
292
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
293
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
294
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
295
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
296
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
297
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
298
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
299
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
300
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
280 301
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
281
        default user data","template_kind_id":7,"template_kind_name":"user_data"},{"id":51,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Kickstart
282
        RHEL default","template_kind_id":4,"template_kind_name":"provision"},{"id":33,"name":"NX-OS
283
        default POAP setup","template_kind_id":9,"template_kind_name":"POAP"},{"id":34,"name":"Preseed
284
        default","template_kind_id":4,"template_kind_name":"provision"},{"id":35,"name":"Preseed
285
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":37,"name":"Preseed
286
        default iPXE","template_kind_id":3,"template_kind_name":"iPXE"},{"id":36,"name":"Preseed
287
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":38,"name":"Preseed
288
        default user data","template_kind_id":7,"template_kind_name":"user_data"},{"id":52,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
289
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
290
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
291
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
292
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
293
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":55,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":1,"name":"PXELinux
294
        global default","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":56,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":76,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":39,"name":"UserData
295
        default","template_kind_id":7,"template_kind_name":"user_data"},{"id":40,"name":"WAIK
296
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":41,"name":"XenServer
297
        default answerfile","template_kind_id":4,"template_kind_name":"provision"},{"id":42,"name":"XenServer
298
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":43,"name":"XenServer
299
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-08-10
300
        12:38:25 UTC","updated_at":"2016-08-10 12:38:25 UTC","name":"AutoYaST entire
301
        SCSI disk","id":60},{"os_family":"Suse","created_at":"2016-08-10 12:38:25
302
        UTC","updated_at":"2016-08-10 12:38:25 UTC","name":"AutoYaST entire virtual
303
        disk","id":61},{"os_family":"Suse","created_at":"2016-08-10 12:38:25 UTC","updated_at":"2016-08-10
304
        12:38:25 UTC","name":"AutoYaST LVM","id":62},{"os_family":"Coreos","created_at":"2016-08-10
305
        12:38:25 UTC","updated_at":"2016-08-10 12:38:25 UTC","name":"CoreOS default
306
        fake","id":63},{"os_family":"Freebsd","created_at":"2016-08-10 12:38:25 UTC","updated_at":"2016-08-10
307
        12:38:25 UTC","name":"FreeBSD","id":64},{"os_family":"Solaris","created_at":"2016-08-10
308
        12:38:25 UTC","updated_at":"2016-08-10 12:38:25 UTC","name":"Jumpstart default","id":65},{"os_family":"Solaris","created_at":"2016-08-10
309
        12:38:25 UTC","updated_at":"2016-08-10 12:38:25 UTC","name":"Jumpstart mirrored","id":66},{"os_family":"Junos","created_at":"2016-08-10
310
        12:38:25 UTC","updated_at":"2016-08-10 12:38:25 UTC","name":"Junos default
311
        fake","id":67},{"os_family":"Redhat","created_at":"2016-08-10 12:38:25 UTC","updated_at":"2016-08-10
312
        12:38:25 UTC","name":"Kickstart default","id":68},{"os_family":"NXOS","created_at":"2016-08-10
313
        12:38:25 UTC","updated_at":"2016-08-10 12:38:25 UTC","name":"NX-OS default
314
        fake","id":69},{"os_family":"Debian","created_at":"2016-08-10 12:38:25 UTC","updated_at":"2016-08-10
315
        12:38:25 UTC","name":"Preseed custom LVM","id":71},{"os_family":"Debian","created_at":"2016-08-10
316
        12:38:25 UTC","updated_at":"2016-08-10 12:38:25 UTC","name":"Preseed default","id":70},{"os_family":"Xenserver","created_at":"2016-08-10
317
        12:38:25 UTC","updated_at":"2016-08-10 12:38:25 UTC","name":"XenServer default","id":72}],"provisioning_templates":[{"id":7,"name":"Alterator
318
        default","template_kind_id":4,"template_kind_name":"provision"},{"id":8,"name":"Alterator
319
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":9,"name":"Alterator
320
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
321
        Kickstart default","template_kind_id":4,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
322
        default","template_kind_id":4,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
323
        default iPXE","template_kind_id":3,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
324
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
325
        SLES default","template_kind_id":4,"template_kind_name":"provision"},{"id":45,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":46,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
326
        provision","template_kind_id":4,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
327
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
328
        (mfsBSD) finish","template_kind_id":5,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
329
        (mfsBSD) provision","template_kind_id":4,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
330
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":49,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
331
        default","template_kind_id":6,"template_kind_name":"script"},{"id":50,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
332
        default","template_kind_id":4,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
333
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
334
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":26,"name":"Junos
335
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":24,"name":"Junos
336
        default SLAX","template_kind_id":4,"template_kind_name":"provision"},{"id":25,"name":"Junos
337
        default ZTP config","template_kind_id":8,"template_kind_name":"ZTP"},{"id":77,"name":"Katello
338
        Atomic Kickstart Default","template_kind_id":4,"template_kind_name":"provision"},{"id":73,"name":"Katello
339
        Kickstart Default","template_kind_id":4,"template_kind_name":"provision"},{"id":75,"name":"Katello
340
        Kickstart Default Finish","template_kind_id":5,"template_kind_name":"finish"},{"id":74,"name":"Katello
341
        Kickstart Default User Data","template_kind_id":7,"template_kind_name":"user_data"},{"id":27,"name":"Kickstart
342
        default","template_kind_id":4,"template_kind_name":"provision"},{"id":29,"name":"Kickstart
343
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
344
        default iPXE","template_kind_id":3,"template_kind_name":"iPXE"},{"id":30,"name":"Kickstart
302
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
303
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
304
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
305
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
306
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
307
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
308
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
309
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
310
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
311
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
312
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
313
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
314
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
315
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
316
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
317
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
318
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
319
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
320
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
321
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
322
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
323
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
324
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
325
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
326
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
327
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
328
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
329
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
330
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
331
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
332
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
333
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
334
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"XenServer default","id":85},{"os_family":"Debian","created_at":"2016-09-02
335
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
336
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
337
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
338
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
339
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
340
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
341
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
342
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
343
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
344
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Jumpstart default","id":78},{"os_family":"Freebsd","created_at":"2016-09-02
345
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"FreeBSD","id":77},{"os_family":"Coreos","created_at":"2016-09-02
346
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
347
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
348
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
349
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
350
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
351
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
352
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
353
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
354
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
355
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
356
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
357
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
358
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
359
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
360
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
361
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
362
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
363
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
364
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
365
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
366
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
367
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
368
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
369
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
370
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
345 371
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
346
        default user data","template_kind_id":7,"template_kind_name":"user_data"},{"id":51,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Kickstart
347
        RHEL default","template_kind_id":4,"template_kind_name":"provision"},{"id":33,"name":"NX-OS
348
        default POAP setup","template_kind_id":9,"template_kind_name":"POAP"},{"id":34,"name":"Preseed
349
        default","template_kind_id":4,"template_kind_name":"provision"},{"id":35,"name":"Preseed
350
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":37,"name":"Preseed
351
        default iPXE","template_kind_id":3,"template_kind_name":"iPXE"},{"id":36,"name":"Preseed
352
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":38,"name":"Preseed
353
        default user data","template_kind_id":7,"template_kind_name":"user_data"},{"id":52,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
354
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
355
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
356
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
357
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
358
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":55,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":1,"name":"PXELinux
359
        global default","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":56,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":76,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":39,"name":"UserData
360
        default","template_kind_id":7,"template_kind_name":"user_data"},{"id":40,"name":"WAIK
361
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":41,"name":"XenServer
362
        default answerfile","template_kind_id":4,"template_kind_name":"provision"},{"id":42,"name":"XenServer
363
        default finish","template_kind_id":5,"template_kind_name":"finish"},{"id":43,"name":"XenServer
364
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":4,"library_id":7}'
372
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
373
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
374
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
375
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
376
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
377
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
378
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
379
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
380
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
381
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
382
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
383
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
384
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
385
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
386
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
387
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
388
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
389
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
390
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
391
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
392
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
393
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
394
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
395
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
396
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
397
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
398
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
399
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
400
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
401
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
402
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
403
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":4,"library_id":7}'
365 404
    http_version: 
366
  recorded_at: Tue, 16 Aug 2016 19:08:00 GMT
405
  recorded_at: Fri, 09 Sep 2016 20:05:15 GMT
367 406
- request:
368 407
    method: get
369
    uri: http://admin:changeme@katello:3000/katello/api/organizations/4/subscriptions?per_page=999999
408
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/subscriptions?per_page=999999
370 409
    body:
371 410
      encoding: US-ASCII
372 411
      string: ''
......
375 414
      - application/json;version=2
376 415
      Accept-Encoding:
377 416
      - gzip, deflate
417
      User-Agent:
418
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
378 419
      Content-Type:
379 420
      - application/json
380
      User-Agent:
381
      - Ruby
421
      Host:
422
      - katello.example.com:50191
382 423
  response:
383 424
    status:
384 425
      code: 200
385 426
      message: OK
386 427
    headers:
428
      Date:
429
      - Fri, 09 Sep 2016 20:05:15 GMT
430
      Server:
431
      - Apache/2.4.6 (CentOS)
387 432
      X-Frame-Options:
388 433
      - SAMEORIGIN
389 434
      X-Xss-Protection:
......
391 436
      X-Content-Type-Options:
392 437
      - nosniff
393 438
      Foreman-Version:
394
      - 1.13.0-develop
439
      - 1.14.0-develop
395 440
      Foreman-Api-Version:
396 441
      - '2'
397 442
      Content-Type:
398 443
      - application/json; charset=utf-8
399 444
      Apipie-Checksum:
400
      - e98945ba1db6bdbb4c25ce4988912344
445
      - 9544abef9cf8343005f07ed8c9f1f8e7
401 446
      Etag:
402
      - W/"5814c3d87ac21748ae8ed264bdad9c12"
447
      - W/"22309c664532ad9ee442f845849cabec-gzip"
403 448
      Cache-Control:
404 449
      - max-age=0, private, must-revalidate
405
      Set-Cookie:
406
      - _session_id=e229838a42f85b4e2bd8a18ac52a4941; path=/; HttpOnly
407 450
      X-Request-Id:
408
      - a4bf898b-7ca6-4129-969b-c17deba5bc79
451
      - 0340cdbc-5b24-48d6-bc96-6d2b46b3fbf6
409 452
      X-Runtime:
410
      - '1.993998'
411
      Transfer-Encoding:
412
      - chunked
453
      - '1.671569'
454
      Via:
455
      - 1.1 katello.example.com:50191
456
      Vary:
457
      - Accept-Encoding
458
      Content-Length:
459
      - '1348'
460
      Set-Cookie:
461
      - _session_id=80c84314f0e7501692eeefdddec0d899; path=/; HttpOnly
413 462
    body:
414
      encoding: UTF-8
463
      encoding: ASCII-8BIT
415 464
      string: |
416
        {"organization":{},"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":79,"cp_id":"4028f901567474d40156937974d915e3","subscription_id":59,"name":"Red Hat Enterprise Linux for Virtual Datacenters, Standard","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999110,"support_level":"Standard","product_id":"RH00002","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters, Standard","unmapped_guest":false,"virt_only":false},{"id":81,"cp_id":"4028f901567474d40156937975bd1635","subscription_id":60,"name":"Red Hat Enterprise Linux for Virtual Datacenters, Premium","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999116,"support_level":"Premium","product_id":"RH00001","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters, Premium","unmapped_guest":false,"virt_only":false}]}
465
        {"organization":{},"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":19,"cp_id":"ff80808156eb30a6015704818e8706e1","subscription_id":11,"name":"Red Hat Enterprise Linux for Virtual Datacenters, Standard","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999110,"support_level":"Standard","product_id":"RH00002","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters, Standard","unmapped_guest":false,"virt_only":false},{"id":21,"cp_id":"ff80808156eb30a6015704818f330733","subscription_id":12,"name":"Red Hat Enterprise Linux for Virtual Datacenters, Premium","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999116,"support_level":"Premium","product_id":"RH00001","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters, Premium","unmapped_guest":false,"virt_only":false}]}
417 466
    http_version: 
418
  recorded_at: Tue, 16 Aug 2016 19:08:02 GMT
467
  recorded_at: Fri, 09 Sep 2016 20:05:17 GMT
419 468
recorded_with: VCR 3.0.3

Also available in: Unified diff