Project

General

Profile

Revision 1327c177

Added by Thomas McKay about 6 years ago

vcr - full recording

View differences:

test/fixtures/vcr_cassettes/setup/setup_domains/setup.yml
1 1
---
2 2
http_interactions:
3 3
- request:
4
    method: put
5
    uri: https://admin:changeme@katello.example.com:50191/api/domains/2
6
    body:
7
      encoding: UTF-8
8
      string: '{"domain":{"name":"test.com","fullname":"","dns_id":null}}'
9
    headers:
10
      Accept:
11
      - application/json;version=2
12
      Accept-Encoding:
13
      - gzip, deflate
14
      User-Agent:
15
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
16
      Content-Type:
17
      - application/json
18
      Content-Length:
19
      - '58'
20
      Host:
21
      - katello.example.com:50191
22
  response:
23
    status:
24
      code: 200
25
      message: OK
26
    headers:
27
      Date:
28
      - Mon, 12 Sep 2016 15:39:32 GMT
29
      Server:
30
      - Apache/2.4.6 (CentOS)
31
      X-Frame-Options:
32
      - SAMEORIGIN
33
      X-Xss-Protection:
34
      - 1; mode=block
35
      X-Content-Type-Options:
36
      - nosniff
37
      Foreman-Version:
38
      - 1.14.0-develop
39
      Foreman-Api-Version:
40
      - '2'
41
      Content-Type:
42
      - application/json; charset=utf-8
43
      Apipie-Checksum:
44
      - 9544abef9cf8343005f07ed8c9f1f8e7
45
      Etag:
46
      - W/"b9b26295f2fd09bab4028c79b20d4966-gzip"
47
      Cache-Control:
48
      - max-age=0, private, must-revalidate
49
      X-Request-Id:
50
      - 909555a8-8cd8-4f2b-bb7c-b04940b82c8f
51
      X-Runtime:
52
      - '1.378997'
53
      Via:
54
      - 1.1 katello.example.com:50191
55
      Vary:
56
      - Accept-Encoding
57
      Content-Length:
58
      - '390'
59
      Set-Cookie:
60
      - _session_id=29b657694fbc5aaf220d8e06df3380bf; path=/; HttpOnly
61
      - request_method=PUT; path=/
62
    body:
63
      encoding: ASCII-8BIT
64
      string: '{"fullname":"","dns_id":null,"created_at":"2016-09-09 18:53:19 UTC","updated_at":"2016-09-09
65
        18:53:19 UTC","id":2,"name":"test.com","subnets":[{"id":5,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"interfaces":[],"parameters":[],"locations":[],"organizations":[{"id":9,"name":"Test
66
        Corporation","title":"Test Corporation","description":"Testing today for a
67
        better tomorrow"}]}'
68
    http_version: 
69
  recorded_at: Mon, 12 Sep 2016 15:39:34 GMT
70
- request:
71
    method: get
72
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
73
    body:
74
      encoding: US-ASCII
75
      string: ''
76
    headers:
77
      Accept:
78
      - application/json;version=2
79
      Accept-Encoding:
80
      - gzip, deflate
81
      User-Agent:
82
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
83
      Content-Type:
84
      - application/json
85
      Host:
86
      - katello.example.com:50191
87
  response:
88
    status:
89
      code: 200
90
      message: OK
91
    headers:
92
      Date:
93
      - Mon, 12 Sep 2016 15:39:34 GMT
94
      Server:
95
      - Apache/2.4.6 (CentOS)
96
      X-Frame-Options:
97
      - SAMEORIGIN
98
      X-Xss-Protection:
99
      - 1; mode=block
100
      X-Content-Type-Options:
101
      - nosniff
102
      Foreman-Version:
103
      - 1.14.0-develop
104
      Foreman-Api-Version:
105
      - '2'
106
      Content-Type:
107
      - application/json; charset=utf-8
108
      Apipie-Checksum:
109
      - 9544abef9cf8343005f07ed8c9f1f8e7
110
      Etag:
111
      - W/"253ac9fa8c0d829e51da8f57b05de99d-gzip"
112
      Cache-Control:
113
      - max-age=0, private, must-revalidate
114
      X-Request-Id:
115
      - 085912c6-6f37-4f27-afa8-dca3ad27bb51
116
      X-Runtime:
117
      - '3.727742'
118
      Via:
119
      - 1.1 katello.example.com:50191
120
      Vary:
121
      - Accept-Encoding
122
      Content-Length:
123
      - '21851'
124
      Set-Cookie:
125
      - _session_id=315c320c5f487c797ed8fccd68597716; path=/; HttpOnly
126
    body:
127
      encoding: ASCII-8BIT
128
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808156eb30a60157024c785205e2","key":"testcorp","displayName":"Test
129
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff80808156eb30a6015704818a920660","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
130
        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\n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+QhU5fe2ggPaJFfynY2AVOc\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
132
        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
133
        today for a better tomorrow","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07
134
        01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
135
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
136
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
137
        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
138
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
139
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
140
        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
141
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
142
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
143
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
144
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
145
        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
146
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
147
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
148
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
149
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
150
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
151
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
152
        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
153
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
154
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
155
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
156
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
157
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
158
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
159
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
160
        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
161
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
162
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
163
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
164
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
165
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
166
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
167
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
168
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
169
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
170
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
171
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
172
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
173
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
174
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
175
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
176
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
177
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
178
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
179
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
180
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
181
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
182
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
183
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
184
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
185
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
186
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
187
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
188
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
189
        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
190
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
191
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
192
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
193
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
194
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
195
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
196
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
197
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
198
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
199
        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
200
        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
201
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
202
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
203
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
204
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
205
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
206
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
207
        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
208
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
209
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
210
        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
211
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
212
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
213
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
214
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
215
        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
216
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
217
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
218
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
219
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
220
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
221
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
222
        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
223
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
224
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
225
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
226
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
227
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
228
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
229
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
230
        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
231
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
232
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
233
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
234
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
235
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
236
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
237
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
238
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
239
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
240
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
241
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
242
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
243
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
244
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
245
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
246
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
247
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
248
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
249
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
250
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
251
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
252
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
253
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
254
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
255
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
256
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
257
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
258
        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}'
259
    http_version: 
260
  recorded_at: Mon, 12 Sep 2016 15:39:38 GMT
261
- request:
262
    method: put
263
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
264
    body:
265
      encoding: UTF-8
266
      string: '{"organization":{"domain_ids":[2]}}'
267
    headers:
268
      Accept:
269
      - application/json;version=2
270
      Accept-Encoding:
271
      - gzip, deflate
272
      User-Agent:
273
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
274
      Content-Type:
275
      - application/json
276
      Content-Length:
277
      - '35'
278
      Host:
279
      - katello.example.com:50191
280
  response:
281
    status:
282
      code: 200
283
      message: OK
284
    headers:
285
      Date:
286
      - Mon, 12 Sep 2016 15:39:37 GMT
287
      Server:
288
      - Apache/2.4.6 (CentOS)
289
      X-Frame-Options:
290
      - SAMEORIGIN
291
      X-Xss-Protection:
292
      - 1; mode=block
293
      X-Content-Type-Options:
294
      - nosniff
295
      Foreman-Version:
296
      - 1.14.0-develop
297
      Foreman-Api-Version:
298
      - '2'
299
      Content-Type:
300
      - application/json; charset=utf-8
301
      Apipie-Checksum:
302
      - 9544abef9cf8343005f07ed8c9f1f8e7
303
      Etag:
304
      - W/"629f8d491c90ac79b4b7bedb2e2e8c86-gzip"
305
      Cache-Control:
306
      - max-age=0, private, must-revalidate
307
      X-Request-Id:
308
      - 71738a95-2c5b-468e-b8fd-30eb93400f88
309
      X-Runtime:
310
      - '3.968352'
311
      Via:
312
      - 1.1 katello.example.com:50191
313
      Vary:
314
      - Accept-Encoding
315
      Content-Length:
316
      - '16675'
317
      Set-Cookie:
318
      - _session_id=2d678ac0516ada3f953508dabf5a300b; path=/; HttpOnly
319
      - request_method=PUT; path=/
320
    body:
321
      encoding: ASCII-8BIT
322
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-09-07
323
        01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
324
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
325
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
326
        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
327
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
328
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
329
        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
330
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
331
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
332
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
333
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
334
        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
335
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
336
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
337
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
338
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
339
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
340
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
341
        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
342
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
343
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
344
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
345
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
346
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
347
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
348
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
349
        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
350
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
351
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
352
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
353
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
354
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
355
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
356
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
357
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
358
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
359
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
360
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
361
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
362
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
363
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
364
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
365
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
366
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
367
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
368
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
369
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
370
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
371
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
372
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
373
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
374
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
375
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
376
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
377
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
378
        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
379
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
380
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
381
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
382
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
383
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
384
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
385
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
386
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
387
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
388
        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
389
        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
390
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
391
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
392
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
393
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
394
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
395
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
396
        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
397
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
398
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
399
        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
400
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
401
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
402
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
403
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
404
        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
405
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
406
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
407
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
408
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
409
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
410
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
411
        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
412
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
413
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
414
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
415
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
416
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
417
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
418
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
419
        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
420
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
421
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
422
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
423
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
424
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
425
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
426
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
427
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
428
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
429
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
430
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
431
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
432
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
433
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
434
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
435
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
436
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
437
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
438
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
439
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
440
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
441
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
442
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
443
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
444
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
445
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
446
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
447
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
448
    http_version: 
449
  recorded_at: Mon, 12 Sep 2016 15:39:42 GMT
450
- request:
451 4
    method: get
452
    uri: http://admin:changeme@centos7-devel.example.com:3000/katello/api/organizations/8
453
    body:
454
      encoding: US-ASCII
455
      string: ''
456
    headers:
457
      Accept:
458
      - application/json;version=2
459
      Accept-Encoding:
460
      - gzip, deflate
461
      User-Agent:
462
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.0p0
463
      Content-Type:
464
      - application/json
465
      Accept-Language:
466
      - en
467
      Host:
468
      - centos7-devel.example.com:3000
469
  response:
470
    status:
471
      code: 200
472
      message: OK
473
    headers:
474
      Foreman-Version:
475
      - 1.14.0-develop
476
      Foreman-Api-Version:
477
      - '2'
478
      Content-Type:
479
      - application/json; charset=utf-8
480
      Apipie-Checksum:
481
      - 974492cde78991fdc7ad9dfcc73ff358
482
      Etag:
483
      - W/"66962977598a5d2b053057a768553ca9"
484
      Cache-Control:
485
      - max-age=0, private, must-revalidate
486
      Set-Cookie:
487
      - _session_id=7cd4c44a6bd4d961f401a1264e176c4a; path=/; HttpOnly
488
      X-Request-Id:
489
      - 68fa45e6-d5be-486e-9054-82ffc7c6c337
490
      X-Runtime:
491
      - '0.568706'
492
      Content-Security-Policy:
493
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
494
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
495
        ''self''; style-src ''unsafe-inline'' ''self'''
496
      X-Content-Type-Options:
497
      - nosniff
498
      X-Download-Options:
499
      - noopen
500
      X-Frame-Options:
501
      - sameorigin
502
      X-Permitted-Cross-Domain-Policies:
503
      - none
504
      X-Xss-Protection:
505
      - 1; mode=block
506
      Transfer-Encoding:
507
      - chunked
508
    body:
509
      encoding: UTF-8
510
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff808081587c237501587c261f80000c","key":"testcorp","displayName":"Test
511
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff808081587c237501588c806ca41751","uuid":"2127548b-cf37-42a8-a85f-47dd6ede8c2d","name":"TestCorp","idCert":{"key":"-----BEGIN
512
        RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEA08SZrUmSYDnqe5V1tiqZWnD0AopWmP1H3c96/+5mcP0sTgkH\nyy3CxxADn8SIRc2xzgqpRlD993TSJzkuKXe15uekAT63iD135R3zA7RyqvHmw8Gk\nD1hQTDjrMOk1JUPAm2g4fvQhlO8+x4P+qRTP3WYbAdMrpge8ryTgZeeQ71MUV5k/\nPWsm79Di5M3YX/JTHruHeIEaTzW5TF+oRlQscFLXVEo70Ve1llLF7KYjor/WCHfj\n1v6ze/dVN+6YdxgW2JQpIRLPjQuZTO218jqufsMfLvguaGA+QC9qT7fxzt1zl6ra\nRiZkehBJJXcsApJfXvtLkHTd1ciiVOmfjQc7swIDAQABAoIBAFTSKGO6VkDosbzy\nboWapnYNTA9AbdM1j/WOR0v/p1SWc4qGH3MITz4AchMqWxLqgs9ugcLCahcV2Z8Q\nTicZ5ego3A4LmuOdC0rgJhhTzKIf5jh+dUIYM4F0QvACWOEmNB2LLyXajyDiexjb\nC8OZrHCXlzWx6YfFDZRxhtgKWokg2Mj0NmkiQjycJES6hXeRpQbIxqj3uAPxLfHH\nHVmbIljoOfzdjvp22gQOReknIG6U4g+xtl9kE3MUcR2JXvyxioPHn3r/dh8Qvu+3\n89EB5XYBphMBTHoD7vB3xAbzdH59LRypC2HHvB5ODZdU+Yf9yOFtuoXlOMw0WFwb\nCAKUlWECgYEA+a2vvi7onoHJBXucaLCpwndbntWy4jJ46nqx0tpp6oSM5AvdX41R\nZT7kI67QFiUWluad/EabLh+N29vQES8m7HbZwtgU/K+1sg0yI4mFV2Ie+NBkubZF\nlwtvQ2TNzvE3sQ0yhCEObdk5Ku7mPtE/bmvh7QvqC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cZMiQtskoaRWG8XbWQFNH7\nGUzHtKf9Lec35UR0gLL4Fiuwq/igEzkb2yTgR1vWdelhxBQ9mOugQVQze7aTOCQb\n2GQEdkt9PGXGPHrc3hCitnEHB1btk7SJFo5kOiR0WhdRz6CioOIVBEaxHdLEFnqG\nAK+D+pm/mprwBLNvl9T3493to0G3s1bvSnl86G16c/QYqsfG3BJI/KCAsIHUjzm4\naPPrBp6kae1KYQt62ZcGQtL8+wNuXjpAUEUUytC2pmFXhnBHNIxjKFy3gWdDX7u3\nILptIoWoG3zvfeO0CeaB0wgqrc7F819pzU1yOJAqFL7hMupI52T3kkbKEQO1kqgQ\nsuZrwgKzcVRoJPumNDHAvUQRih948dBQkCFxMC0dMP05j+EKSdiJ6OCAVgtzeRWS\nDtDBmHdQK0XccJFUrpSh3IimVc+G7kgRrUByZBOv1nxI3mkXUKiVWhUEnGZSpgoW\nMUTJRIp5MIZFGM4Mxhb94GoowOyTm0vaaVdlSjyUIG/8gLJdRDxYEryRM+2dxJ8O\nFa9DHlDWixZaGM5O3Ib2PIaNajkSl+MVhhlK5yC0b0LUc35zenSVYWbwc4E6/3NF\ndU7VYPPRw1GY8iul5Q==\n-----END
514
        CERTIFICATE-----\n","id":"ff808081587c237501588c806ca31750","serial":{"id":627796024140478799,"revoked":false,"collected":false,"expiration":"2017-11-11T14:28:34.000+0000","serial":627796024140478799,"created":"2016-11-22T14:46:16.482+0000","updated":"2016-11-22T14:46:16.482+0000"},"created":"2016-11-22T14:46:16.483+0000","updated":"2016-11-22T14:46:16.483+0000"},"type":{"id":"ff808081587c2375015887a15e6c0087","label":"satellite","manifest":true,"created":"2016-11-21T16:04:09.452+0000","updated":"2016-11-21T16:04:09.452+0000"},"ownerId":"ff808081587c237501587c261f80000c","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-11-22T14:46:16.484+0000","updated":"2016-11-22T14:46:16.484+0000"},"logLevel":null,"href":"/owners/testcorp","created":"2016-11-19T10:33:43.040+0000","updated":"2016-11-22T14:46:16.895+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
515
        today for a better tomorrow","created_at":"2016-11-19 10:33:41 UTC","updated_at":"2016-11-19
516
        10:33:41 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
517
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"centos7-devel.example.com","id":1,"url":"http://centos7-devel.example.com:8000"}],"subnets":[{"id":1,"name":"Test
518
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":89,"name":"Katello
519
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
520
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
521
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
522
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","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
523
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
524
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
525
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
526
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
527
        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
528
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
529
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
530
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
531
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
532
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
533
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
534
        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
535
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
536
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
537
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
538
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
539
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
540
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
541
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
542
        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
543
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
544
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
545
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
546
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
547
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
548
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
549
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
550
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
551
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
552
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
553
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
554
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
555
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
556
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
557
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
558
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
559
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
560
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
561
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
562
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
563
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
564
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
565
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
566
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
567
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
568
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
569
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
570
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-11-19
571
        10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"XenServer default","id":84},{"os_family":"Debian","created_at":"2016-11-19
572
        10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"Preseed custom
573
        LVM","id":83},{"os_family":"Debian","created_at":"2016-11-19 10:33:03 UTC","updated_at":"2016-11-19
574
        10:33:03 UTC","name":"Preseed default","id":82},{"os_family":"NXOS","created_at":"2016-11-19
575
        10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"NX-OS default
576
        fake","id":81},{"os_family":"Redhat","created_at":"2016-11-19 10:33:03 UTC","updated_at":"2016-11-19
577
        10:33:03 UTC","name":"Kickstart default","id":80},{"os_family":"Junos","created_at":"2016-11-19
578
        10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"Junos default
579
        fake","id":79},{"os_family":"Solaris","created_at":"2016-11-19 10:33:03 UTC","updated_at":"2016-11-19
580
        10:33:03 UTC","name":"Jumpstart mirrored","id":78},{"os_family":"Solaris","created_at":"2016-11-19
581
        10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"Jumpstart default","id":77},{"os_family":"Freebsd","created_at":"2016-11-19
582
        10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"FreeBSD","id":76},{"os_family":"Coreos","created_at":"2016-11-19
583
        10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"CoreOS default
584
        fake","id":75},{"os_family":"Suse","created_at":"2016-11-19 10:33:02 UTC","updated_at":"2016-11-19
585
        10:33:02 UTC","name":"AutoYaST LVM","id":74},{"os_family":"Suse","created_at":"2016-11-19
586
        10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"AutoYaST entire
587
        virtual disk","id":73},{"os_family":"Suse","created_at":"2016-11-19 10:33:02
588
        UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"AutoYaST entire SCSI disk","id":72}],"provisioning_templates":[{"id":89,"name":"Katello
589
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
590
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
591
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
592
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","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
593
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
594
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
595
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
596
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
597
        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
598
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
599
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
600
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
601
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
602
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
603
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
604
        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
605
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
606
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
607
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
608
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
609
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
610
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
611
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
612
        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
613
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
614
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
615
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
616
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
617
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
618
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
619
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
620
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
621
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
622
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
623
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
624
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
625
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
626
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
627
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
628
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
629
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
630
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
631
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
632
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
633
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
634
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
635
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
636
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
637
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
638
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
639
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
640
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":2,"library_id":2}'
641
    http_version: 
642
  recorded_at: Tue, 22 Nov 2016 10:46:34 GMT
643
- request:
644
    method: put
645
    uri: http://admin:changeme@centos7-devel.example.com:3000/katello/api/organizations/8
646
    body:
647
      encoding: UTF-8
648
      string: '{"organization":{"domain_ids":[1]}}'
649
    headers:
650
      Accept:
651
      - application/json;version=2
652
      Accept-Encoding:
653
      - gzip, deflate
654
      User-Agent:
655
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.0p0
656
      Content-Type:
657
      - application/json
658
      Accept-Language:
659
      - en
660
      Content-Length:
661
      - '35'
662
      Host:
663
      - centos7-devel.example.com:3000
664
  response:
665
    status:
666
      code: 200
667
      message: OK
668
    headers:
669
      Foreman-Version:
670
      - 1.14.0-develop
671
      Foreman-Api-Version:
672
      - '2'
673
      Content-Type:
674
      - application/json; charset=utf-8
675
      Apipie-Checksum:
676
      - 974492cde78991fdc7ad9dfcc73ff358
677
      Etag:
678
      - W/"5093ad251c349d64762eb225e4de57c4"
679
      Cache-Control:
680
      - max-age=0, private, must-revalidate
681
      Set-Cookie:
682
      - _session_id=71e670b5bebf1e66da51b75f8e64ba8d; path=/; HttpOnly
683
      - request_method=PUT; path=/
684
      X-Request-Id:
685
      - 0028aad9-d53a-4c6b-9ee6-5e946c33089d
686
      X-Runtime:
687
      - '0.429242'
688
      Content-Security-Policy:
689
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
690
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
691
        ''self''; style-src ''unsafe-inline'' ''self'''
692
      X-Content-Type-Options:
693
      - nosniff
694
      X-Download-Options:
695
      - noopen
696
      X-Frame-Options:
697
      - sameorigin
698
      X-Permitted-Cross-Domain-Policies:
699
      - none
700
      X-Xss-Protection:
701
      - 1; mode=block
702
      Transfer-Encoding:
703
      - chunked
704
    body:
705
      encoding: UTF-8
706
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-11-19
707
        10:33:41 UTC","updated_at":"2016-11-19 10:33:41 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
708
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"centos7-devel.example.com","id":1,"url":"http://centos7-devel.example.com:8000"}],"subnets":[{"id":1,"name":"Test
709
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":89,"name":"Katello
710
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
711
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
712
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
713
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","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
714
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
715
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
716
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
717
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
718
        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
719
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
720
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
721
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
722
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
723
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
724
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
725
        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
726
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
727
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
728
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
729
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
730
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
731
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
732
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
733
        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
734
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
735
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
736
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
737
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
738
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
739
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
740
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
741
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
742
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
743
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
744
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
745
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
746
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
747
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
748
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
749
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
750
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
751
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
752
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
753
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
754
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
755
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
756
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
757
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
758
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
759
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
760
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
761
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-11-19
762
        10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"XenServer default","id":84},{"os_family":"Debian","created_at":"2016-11-19
763
        10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"Preseed custom
764
        LVM","id":83},{"os_family":"Debian","created_at":"2016-11-19 10:33:03 UTC","updated_at":"2016-11-19
765
        10:33:03 UTC","name":"Preseed default","id":82},{"os_family":"NXOS","created_at":"2016-11-19
766
        10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"NX-OS default
767
        fake","id":81},{"os_family":"Redhat","created_at":"2016-11-19 10:33:03 UTC","updated_at":"2016-11-19
768
        10:33:03 UTC","name":"Kickstart default","id":80},{"os_family":"Junos","created_at":"2016-11-19
769
        10:33:03 UTC","updated_at":"2016-11-19 10:33:03 UTC","name":"Junos default
770
        fake","id":79},{"os_family":"Solaris","created_at":"2016-11-19 10:33:03 UTC","updated_at":"2016-11-19
771
        10:33:03 UTC","name":"Jumpstart mirrored","id":78},{"os_family":"Solaris","created_at":"2016-11-19
772
        10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"Jumpstart default","id":77},{"os_family":"Freebsd","created_at":"2016-11-19
773
        10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"FreeBSD","id":76},{"os_family":"Coreos","created_at":"2016-11-19
774
        10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"CoreOS default
775
        fake","id":75},{"os_family":"Suse","created_at":"2016-11-19 10:33:02 UTC","updated_at":"2016-11-19
776
        10:33:02 UTC","name":"AutoYaST LVM","id":74},{"os_family":"Suse","created_at":"2016-11-19
777
        10:33:02 UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"AutoYaST entire
778
        virtual disk","id":73},{"os_family":"Suse","created_at":"2016-11-19 10:33:02
779
        UTC","updated_at":"2016-11-19 10:33:02 UTC","name":"AutoYaST entire SCSI disk","id":72}],"provisioning_templates":[{"id":89,"name":"Katello
780
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
781
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
782
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
783
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","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
784
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
785
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
786
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
787
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
788
        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
789
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
790
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
791
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
792
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
793
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
794
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
795
        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
796
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
797
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
798
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
799
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
800
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
801
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
802
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
803
        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
804
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
805
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
806
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
807
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
808
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
809
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
810
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
811
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
812
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
813
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
814
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
815
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
816
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
817
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
818
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
819
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
820
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
821
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
822
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
823
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
824
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
825
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
826
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
827
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
828
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
829
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
830
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
831
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
832
    http_version: 
833
  recorded_at: Tue, 22 Nov 2016 10:46:36 GMT
834
- request:
835
    method: get
836
    uri: https://admin:changeme@katello.example.com:50083/api/status
5
    uri: https://admin:changeme@satlap.example.com/api/status
837 6
    body:
838 7
      encoding: US-ASCII
839 8
      string: ''
......
844 13
      - "*/*"
845 14
      User-Agent:
846 15
      - Ruby
16
      Host:
17
      - satlap.example.com
847 18
  response:
848 19
    status:
849 20
      code: 200
850 21
      message: OK
851 22
    headers:
852 23
      Date:
853
      - Thu, 01 Dec 2016 19:45:34 GMT
24
      - Tue, 13 Dec 2016 14:48:39 GMT
854 25
      Server:
855 26
      - Apache/2.4.6 (Red Hat Enterprise Linux)
856 27
      X-Frame-Options:
......
868 39
      Cache-Control:
869 40
      - max-age=0, private, must-revalidate
870 41
      X-Request-Id:
871
      - 7f9da0e2-df4d-44b6-89e6-7f6fa0d2afc3
42
      - 4aee9de9-46a4-4c47-870a-c7e64a7bc74b
872 43
      X-Runtime:
873
      - '0.054779'
44
      - '0.035978'
874 45
      X-Powered-By:
875 46
      - Phusion Passenger 4.0.18
47
      Set-Cookie:
48
      - _session_id=98de882bc33e872853da9d907a536a5d; path=/; secure; HttpOnly
876 49
      Etag:
877 50
      - '"8e3341d0a4cc328651f7391aed11fef8"'
878 51
      Status:
......
881 54
      - '66'
882 55
      Content-Type:
883 56
      - application/json; charset=utf-8
884
      Set-Cookie:
885
      - _session_id=2f761b04ec55e90edef82d244c872382; path=/; secure; HttpOnly
886 57
    body:
887 58
      encoding: UTF-8
888 59
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
889 60
    http_version: 
890
  recorded_at: Thu, 01 Dec 2016 19:45:41 GMT
61
  recorded_at: Tue, 13 Dec 2016 14:48:36 GMT
891 62
- request:
892 63
    method: get
893
    uri: https://admin:changeme@katello.example.com:50083/api/v2/plugins
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
894 65
    body:
895 66
      encoding: US-ASCII
896 67
      string: ''
......
901 72
      - "*/*"
902 73
      User-Agent:
903 74
      - Ruby
75
      Host:
76
      - satlap.example.com
904 77
  response:
905 78
    status:
906 79
      code: 200
907 80
      message: OK
908 81
    headers:
909 82
      Date:
910
      - Thu, 01 Dec 2016 19:45:34 GMT
83
      - Tue, 13 Dec 2016 14:48:39 GMT
911 84
      Server:
912 85
      - Apache/2.4.6 (Red Hat Enterprise Linux)
913 86
      X-Frame-Options:
......
925 98
      Cache-Control:
926 99
      - max-age=0, private, must-revalidate
927 100
      X-Request-Id:
928
      - 11ba3714-d43a-4171-8328-67c418b4977e
101
      - 895347e1-2ef8-48b9-a6c9-2604ad47d7be
929 102
      X-Runtime:
930
      - '0.038970'
103
      - '0.033046'
931 104
      X-Powered-By:
932 105
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=85775b81115543395a607b1c84734db7; path=/; secure; HttpOnly
933 108
      Etag:
934 109
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
935 110
      Status:
......
940 115
      - '1338'
941 116
      Content-Type:
942 117
      - application/json; charset=utf-8
943
      Set-Cookie:
944
      - _session_id=08b37db7971ecf927ab15b7785dd8f63; path=/; secure; HttpOnly
945 118
    body:
946 119
      encoding: ASCII-8BIT
947 120
      string: !binary |-
......
1020 193
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
1021 194
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
1022 195
    http_version: 
1023
  recorded_at: Thu, 01 Dec 2016 19:45:41 GMT
196
  recorded_at: Tue, 13 Dec 2016 14:48:36 GMT
1024 197
- request:
1025 198
    method: get
1026
    uri: https://admin:changeme@katello.example.com:50083/api/domains?per_page=999999
199
    uri: https://admin:changeme@satlap.example.com/api/domains?per_page=999999
1027 200
    body:
1028 201
      encoding: US-ASCII
1029 202
      string: ''
......
1039 212
      Accept-Language:
1040 213
      - en
1041 214
      Host:
1042
      - katello.example.com:50083
215
      - satlap.example.com
1043 216
  response:
1044 217
    status:
1045 218
      code: 200
1046 219
      message: OK
1047 220
    headers:
1048 221
      Date:
1049
      - Thu, 01 Dec 2016 19:45:34 GMT
222
      - Tue, 13 Dec 2016 14:48:39 GMT
1050 223
      Server:
1051 224
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1052 225
      X-Frame-Options:
......
1064 237
      Cache-Control:
1065 238
      - max-age=0, private, must-revalidate
1066 239
      X-Request-Id:
1067
      - da310a56-de8a-4e85-a4eb-e6bc595fe7b8
240
      - 3d0f4552-ee6a-4946-bdf7-7351ffb428cd
1068 241
      X-Runtime:
1069
      - '0.123730'
242
      - '0.049929'
1070 243
      X-Powered-By:
1071 244
      - Phusion Passenger 4.0.18
245
      Set-Cookie:
246
      - _session_id=678a564a74cdeb7d266c3ce34a114692; path=/; secure; HttpOnly
1072 247
      Etag:
1073
      - '"f0b6d9743b4ff3e7cb56d9a60cd98424-gzip"'
248
      - '"ad08fff5266de368c5b0dee0fd22ec96-gzip"'
1074 249
      Status:
1075 250
      - 200 OK
1076 251
      Vary:
1077 252
      - Accept-Encoding
1078 253
      Content-Length:
1079
      - '287'
254
      - '425'
1080 255
      Content-Type:
1081 256
      - application/json; charset=utf-8
1082
      Set-Cookie:
1083
      - _session_id=dbe8af365a475c8b408d7badffd22de2; path=/; secure; HttpOnly
1084 257
    body:
1085 258
      encoding: ASCII-8BIT
1086 259
      string: |
1087 260
        {
1088
          "total": 1,
1089
          "subtotal": 1,
261
          "total": 2,
262
          "subtotal": 2,
1090 263
          "page": 1,
1091 264
          "per_page": 999999,
1092 265
          "search": null,
......
1094 267
            "by": null,
1095 268
            "order": null
1096 269
          },
1097
          "results": [{"fullname":"","dns_id":null,"created_at":"2016-12-01 19:37:20 UTC","updated_at":"2016-12-01 19:37:20 UTC","id":1,"name":"test.com"}]
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"}]
1098 271
        }
1099 272
    http_version: 
1100
  recorded_at: Thu, 01 Dec 2016 19:45:42 GMT
273
  recorded_at: Tue, 13 Dec 2016 14:48:36 GMT
1101 274
- request:
1102 275
    method: put
1103
    uri: https://admin:changeme@katello.example.com:50083/api/domains/1
276
    uri: https://admin:changeme@satlap.example.com/api/domains/2
1104 277
    body:
1105 278
      encoding: UTF-8
1106 279
      string: '{"domain":{"name":"test.com","fullname":"","dns_id":null}}'
......
1118 291
      Content-Length:
1119 292
      - '58'
1120 293
      Host:
1121
      - katello.example.com:50083
294
      - satlap.example.com
1122 295
  response:
1123 296
    status:
1124 297
      code: 200
1125 298
      message: OK
1126 299
    headers:
1127 300
      Date:
1128
      - Thu, 01 Dec 2016 19:45:34 GMT
301
      - Tue, 13 Dec 2016 14:48:39 GMT
1129 302
      Server:
1130 303
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1131 304
      X-Frame-Options:
......
1143 316
      Cache-Control:
1144 317
      - max-age=0, private, must-revalidate
1145 318
      X-Request-Id:
1146
      - 9cdc0de0-297a-43a3-bfdc-3dfa7c45b17e
319
      - 78782135-3f40-475a-81e7-f854285693db
1147 320
      X-Runtime:
1148
      - '0.061780'
321
      - '0.083546'
1149 322
      X-Powered-By:
1150 323
      - Phusion Passenger 4.0.18
324
      Set-Cookie:
325
      - _session_id=3c7d990f77d263052d82cfb705be1503; path=/; secure; HttpOnly
326
      - request_method=PUT; path=/
1151 327
      Etag:
1152
      - '"8f34b2d7b2f9f8b20f6fe4c437613471-gzip"'
328
      - '"c4e5a74bd8e14093c1644355a0aa2140-gzip"'
1153 329
      Status:
1154 330
      - 200 OK
1155 331
      Vary:
1156 332
      - Accept-Encoding
1157 333
      Content-Length:
1158
      - '324'
334
      - '390'
1159 335
      Content-Type:
1160 336
      - application/json; charset=utf-8
1161
      Set-Cookie:
1162
      - _session_id=c38944f3f6137279e2a8c9a2e605d201; path=/; secure; HttpOnly
1163
      - request_method=PUT; path=/
1164 337
    body:
1165 338
      encoding: ASCII-8BIT
1166
      string: '{"fullname":"","dns_id":null,"created_at":"2016-12-01 19:37:20 UTC","updated_at":"2016-12-01
1167
        19:37:20 UTC","id":1,"name":"test.com","subnets":[],"parameters":[],"interfaces":[],"locations":[],"organizations":[{"id":3,"name":"Test
339
      string: '{"fullname":"","dns_id":null,"created_at":"2016-12-13 10:58:23 UTC","updated_at":"2016-12-13
340
        10:58:23 UTC","id":2,"name":"test.com","subnets":[{"id":1,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"parameters":[],"interfaces":[],"locations":[],"organizations":[{"id":8,"name":"Test
1168 341
        Corporation","title":"Test Corporation","description":"Testing today for a
1169 342
        better tomorrow"}]}'
1170 343
    http_version: 
1171
  recorded_at: Thu, 01 Dec 2016 19:45:42 GMT
344
  recorded_at: Tue, 13 Dec 2016 14:48:36 GMT
1172 345
- request:
1173 346
    method: get
1174
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
347
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
1175 348
    body:
1176 349
      encoding: US-ASCII
1177 350
      string: ''
......
1187 360
      Accept-Language:
1188 361
      - en
1189 362
      Host:
1190
      - katello.example.com:50083
363
      - satlap.example.com
1191 364
  response:
1192 365
    status:
1193 366
      code: 200
1194 367
      message: OK
1195 368
    headers:
1196 369
      Date:
1197
      - Thu, 01 Dec 2016 19:45:34 GMT
370
      - Tue, 13 Dec 2016 14:48:39 GMT
1198 371
      Server:
1199 372
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1200 373
      X-Frame-Options:
......
1212 385
      Cache-Control:
1213 386
      - max-age=0, private, must-revalidate
1214 387
      X-Request-Id:
1215
      - 3c825ee8-5f25-46e7-b203-feaa2744a591
388
      - af4faeb7-ba6b-413a-90ff-c77a2838dd06
1216 389
      X-Runtime:
1217
      - '0.038102'
390
      - '0.034617'
1218 391
      X-Powered-By:
1219 392
      - Phusion Passenger 4.0.18
393
      Set-Cookie:
394
      - _session_id=9ef9e8d67c0add61d935ee96097f4992; path=/; secure; HttpOnly
1220 395
      Etag:
1221
      - '"4b72bc9eba2b7aa56139df896711afca-gzip"'
396
      - '"679e32140c09b4b1376234e361ab87b0-gzip"'
1222 397
      Status:
1223 398
      - 200 OK
1224 399
      Vary:
......
1227 402
      - '388'
1228 403
      Content-Type:
1229 404
      - application/json; charset=utf-8
1230
      Set-Cookie:
1231
      - _session_id=c841c633cea922c43730ad93122d8b69; path=/; secure; HttpOnly
1232 405
    body:
1233 406
      encoding: ASCII-8BIT
1234 407
      string: |
......
1242 415
            "by": null,
1243 416
            "order": null
1244 417
          },
1245
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2016-12-01 19:43:58 UTC","id":3,"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-13 14:47:54 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
1246 419
        }
1247 420
    http_version: 
1248
  recorded_at: Thu, 01 Dec 2016 19:45:42 GMT
421
  recorded_at: Tue, 13 Dec 2016 14:48:36 GMT
1249 422
- request:
1250 423
    method: get
1251
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations/3
424
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
1252 425
    body:
1253 426
      encoding: US-ASCII
1254 427
      string: ''
......
1264 437
      Accept-Language:
1265 438
      - en
1266 439
      Host:
1267
      - katello.example.com:50083
440
      - satlap.example.com
1268 441
  response:
1269 442
    status:
1270 443
      code: 200
1271 444
      message: OK
1272 445
    headers:
1273 446
      Date:
1274
      - Thu, 01 Dec 2016 19:45:34 GMT
447
      - Tue, 13 Dec 2016 14:48:39 GMT
1275 448
      Server:
1276 449
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1277 450
      X-Frame-Options:
......
1289 462
      Cache-Control:
1290 463
      - max-age=0, private, must-revalidate
1291 464
      X-Request-Id:
1292
      - da67df86-f4be-4b2e-9e7b-18727ff3c449
465
      - 30f97f11-1bb2-4b38-af8c-5e03024c23f1
1293 466
      X-Runtime:
1294
      - '0.315358'
467
      - '0.246648'
1295 468
      X-Powered-By:
1296 469
      - Phusion Passenger 4.0.18
470
      Set-Cookie:
471
      - _session_id=69bea9d104506f368f92bc326ac31bdf; path=/; secure; HttpOnly
1297 472
      Etag:
1298
      - '"e1e9881301981955d79d2559da4a16eb-gzip"'
473
      - '"02425a44ce14fa387a0d6ce61f0e8702-gzip"'
1299 474
      Status:
1300 475
      - 200 OK
1301 476
      Vary:
1302 477
      - Accept-Encoding
1303 478
      Content-Length:
1304
      - '18672'
479
      - '18746'
1305 480
      Content-Type:
1306 481
      - application/json; charset=utf-8
1307
      Set-Cookie:
1308
      - _session_id=fbb29e67ca085b74e9805dc53da3ccc5; path=/; secure; HttpOnly
1309 482
    body:
1310 483
      encoding: ASCII-8BIT
1311
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
1312
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff80808158bbd8b50158bbe4a22303fc","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
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
1313 486
        RSA PRIVATE KEY-----\nMIIEowIBAAKCA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JFehwjAigx6TnGK+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
1315
        CERTIFICATE-----\n","id":"ff80808158bbd8b50158bbe4a22103fb","serial":{"id":6004071080938870125,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":6004071080938870125,"created":"2016-12-01T19:37:52.929+0000","updated":"2016-12-01T19:37:52.929+0000"},"created":"2016-12-01T19:37:52.929+0000","updated":"2016-12-01T19:37:52.929+0000"},"type":{"id":"ff80808158bbd8b50158bbe1c9960003","label":"satellite","manifest":true,"created":"2016-12-01T19:34:46.422+0000","updated":"2016-12-01T19:34:46.422+0000"},"ownerId":"ff80808158bbd8b50158bbe26aef03c2","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-12-01T19:37:52.931+0000","updated":"2016-12-01T19:37:52.931+0000"},"logLevel":null,"autobindDisabled":null,"href":"/owners/testcorp","created":"2016-12-01T19:35:27.727+0000","updated":"2016-12-01T19:37:53.037+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
1316
        today for a better tomorrow","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2016-12-01
1317
        19:43:58 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":3,"name":"Test
1318
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat62.example.com","id":1,"url":"https://sat62.example.com:9090"}],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
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-13
490
        14:47:54 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
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
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
1319 493
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
1320 494
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
1321 495
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
......
1360 534
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
1361 535
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
1362 536
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
1363
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
1364
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
1365
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
1366
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
1367
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1368
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
1369
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
1370
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1371
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
1372
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-01
1373
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-01
1374
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
1375
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1376
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
1377
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
1378
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1379
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
1380
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
537
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
538
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
539
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
540
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
541
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
542
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
543
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
544
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
545
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
546
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-07
547
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-07
548
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
549
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
550
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
551
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
552
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
553
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
554
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
1381 555
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
1382 556
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
1383 557
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
......
1422 596
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
1423 597
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
1424 598
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
1425
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
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
1426 600
        Location","title":"Default Location","description":null}],"parameters":[],"default_content_view_id":2,"library_id":2}'
1427 601
    http_version: 
1428
  recorded_at: Thu, 01 Dec 2016 19:45:42 GMT
602
  recorded_at: Tue, 13 Dec 2016 14:48:37 GMT
1429 603
- request:
1430 604
    method: put
1431
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations/3
605
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
1432 606
    body:
1433 607
      encoding: UTF-8
1434
      string: '{"organization":{"domain_ids":[1]}}'
608
      string: '{"organization":{"domain_ids":[2]}}'
1435 609
    headers:
1436 610
      Accept:
1437 611
      - application/json;version=2
......
1446 620
      Content-Length:
1447 621
      - '35'
1448 622
      Host:
1449
      - katello.example.com:50083
623
      - satlap.example.com
1450 624
  response:
1451 625
    status:
1452 626
      code: 200
1453 627
      message: OK
1454 628
    headers:
1455 629
      Date:
1456
      - Thu, 01 Dec 2016 19:45:34 GMT
630
      - Tue, 13 Dec 2016 14:48:39 GMT
1457 631
      Server:
1458 632
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1459 633
      X-Frame-Options:
......
1471 645
      Cache-Control:
1472 646
      - max-age=0, private, must-revalidate
1473 647
      X-Request-Id:
1474
      - ee2ec802-286a-44bd-a3f1-4bb7dfe19d27
648
      - a4b4e445-e979-42f5-b5c0-a01545159834
1475 649
      X-Runtime:
1476
      - '0.366175'
650
      - '0.295935'
1477 651
      X-Powered-By:
1478 652
      - Phusion Passenger 4.0.18
653
      Set-Cookie:
654
      - _session_id=e2db396e9354aeb01a5ffc59d08ca094; path=/; secure; HttpOnly
655
      - request_method=PUT; path=/
1479 656
      Etag:
1480
      - '"0180c0b4d00823ad65041c96c0707f10-gzip"'
657
      - '"c210fe19d223128583909b5a172926ed-gzip"'
1481 658
      Status:
1482 659
      - 200 OK
1483 660
      Vary:
1484 661
      - Accept-Encoding
1485 662
      Content-Length:
1486
      - '13472'
663
      - '13546'
1487 664
      Content-Type:
1488 665
      - application/json; charset=utf-8
1489
      Set-Cookie:
1490
      - _session_id=6b13b36e1f77389c3a30d918234ba27c; path=/; secure; HttpOnly
1491
      - request_method=PUT; path=/
1492 666
    body:
1493 667
      encoding: ASCII-8BIT
1494
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-12-01
1495
        19:35:26 UTC","updated_at":"2016-12-01 19:45:35 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":3,"name":"Test
1496
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat62.example.com","id":1,"url":"https://sat62.example.com:9090"}],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
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-13 14:48:39 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
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
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
1497 672
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
1498 673
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
1499 674
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
......
1538 713
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
1539 714
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
1540 715
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
1541
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
1542
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
1543
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
1544
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
1545
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1546
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
1547
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
1548
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1549
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
1550
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-01
1551
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-01
1552
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
1553
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1554
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
1555
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
1556
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1557
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
1558
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
716
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
717
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
718
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
719
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
720
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
721
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
722
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
723
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
724
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
725
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-07
726
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-07
727
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
728
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
729
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
730
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
731
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
732
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
733
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
1559 734
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
1560 735
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
1561 736
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
......
1600 775
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
1601 776
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
1602 777
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
1603
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
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
1604 779
        Location","title":"Default Location","description":null}],"parameters":[]}'
1605 780
    http_version: 
1606
  recorded_at: Thu, 01 Dec 2016 19:45:42 GMT
781
  recorded_at: Tue, 13 Dec 2016 14:48:37 GMT
1607 782
recorded_with: VCR 3.0.3

Also available in: Unified diff