Project

General

Profile

Revision ff467024

Added by Thomas McKay almost 6 years ago

vcr - full re-record

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@satlap.example.com/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.3.1p112
16
      Content-Type:
17
      - application/json
18
      Accept-Language:
19
      - en
20
      Content-Length:
21
      - '58'
22
      Host:
23
      - satlap.example.com
24
  response:
25
    status:
26
      code: 200
27
      message: OK
28
    headers:
29
      Date:
30
      - Mon, 19 Dec 2016 16:43:52 GMT
31
      Server:
32
      - Apache/2.4.6 (Red Hat Enterprise Linux)
33
      X-Frame-Options:
34
      - SAMEORIGIN
35
      X-Xss-Protection:
36
      - 1; mode=block
37
      X-Content-Type-Options:
38
      - nosniff
39
      Foreman-Version:
40
      - 1.11.0.61
41
      Foreman-Api-Version:
42
      - '2'
43
      Apipie-Checksum:
44
      - 9793fd9909c89b81479655ed560c4340
45
      Cache-Control:
46
      - max-age=0, private, must-revalidate
47
      X-Request-Id:
48
      - 9918dbb3-d98b-4dfa-b66b-54539d6801b2
49
      X-Runtime:
50
      - '0.063367'
51
      X-Powered-By:
52
      - Phusion Passenger 4.0.18
53
      Set-Cookie:
54
      - _session_id=467d53ea331d8a1cbc7c2442d032e945; path=/; secure; HttpOnly
55
      - request_method=PUT; path=/
56
      Etag:
57
      - '"c4e5a74bd8e14093c1644355a0aa2140-gzip"'
58
      Status:
59
      - 200 OK
60
      Vary:
61
      - Accept-Encoding
62
      Content-Length:
63
      - '390'
64
      Content-Type:
65
      - application/json; charset=utf-8
66
    body:
67
      encoding: ASCII-8BIT
68
      string: '{"fullname":"","dns_id":null,"created_at":"2016-12-13 10:58:23 UTC","updated_at":"2016-12-13
69
        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
70
        Corporation","title":"Test Corporation","description":"Testing today for a
71
        better tomorrow"}]}'
72
    http_version: 
73
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
74
- request:
75
    method: get
76
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
77
    body:
78
      encoding: US-ASCII
79
      string: ''
80
    headers:
81
      Accept:
82
      - application/json;version=2
83
      Accept-Encoding:
84
      - gzip, deflate
85
      User-Agent:
86
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
87
      Content-Type:
88
      - application/json
89
      Accept-Language:
90
      - en
91
      Host:
92
      - satlap.example.com
93
  response:
94
    status:
95
      code: 200
96
      message: OK
97
    headers:
98
      Date:
99
      - Mon, 19 Dec 2016 16:43:52 GMT
100
      Server:
101
      - Apache/2.4.6 (Red Hat Enterprise Linux)
102
      X-Frame-Options:
103
      - SAMEORIGIN
104
      X-Xss-Protection:
105
      - 1; mode=block
106
      X-Content-Type-Options:
107
      - nosniff
108
      Foreman-Version:
109
      - 1.11.0.61
110
      Foreman-Api-Version:
111
      - '2'
112
      Apipie-Checksum:
113
      - 9793fd9909c89b81479655ed560c4340
114
      Cache-Control:
115
      - max-age=0, private, must-revalidate
116
      X-Request-Id:
117
      - f4188605-12f2-40cb-9fff-99399ecd65a9
118
      X-Runtime:
119
      - '0.287047'
120
      X-Powered-By:
121
      - Phusion Passenger 4.0.18
122
      Set-Cookie:
123
      - _session_id=1c6de5ea1b8429040b8af4024ae70407; path=/; secure; HttpOnly
124
      Etag:
125
      - '"c0f22016708fafb7b2a32908bd8c1cde-gzip"'
126
      Status:
127
      - 200 OK
128
      Vary:
129
      - Accept-Encoding
130
      Content-Length:
131
      - '18746'
132
      Content-Type:
133
      - application/json; charset=utf-8
134
    body:
135
      encoding: ASCII-8BIT
136
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"4028f99158f378890158f7d5665f03ed","key":"testcorp","displayName":"Test
137
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"4028f99159040819015917f7360505fe","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
138
        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\nPV4SfqrOv4NFcEvQf32tyiVxXDH4H/WpjHM2ZcAklE4esQkyBqf/2lHcZPrhoaQm\n8OGrquMytXo2TRGypl0syZ49GFq/FUFQbkl8zZpt3OCMkud6RvBmmftYSVCNoyZc\nySBusvO3SgpZYZwJx3FmeH/2gp0YAldH+tQo0lcCgYEAjhkVdtcgaD4aZER9QULd\n2htzy0q2Tnf3cTyCPPwkamUjnTL4ei0/LmIC3aYGC5BwNwtkSq6iV1PJ4Zb+96gf\n2WQz7q+FbzLMbQyNWGVW/uQIiQpCBmcZMRnZHLMvFnBI0AnwnEYwGReLXSZGoufZ\nxRQurL8uTC104ag741fdTRsCgYAtWaOezMiHQykdCZLO0+fH1qbEJW0qlNuipfU4\nsOvrV1fAfIDvvHy0o9JKCgsXNRcv6r77xI3wDvDfOoKQHHoJIDtkCWuBOTH/4zJk\nauvlW2/Cpr3M7fLOUfQZ7TNljwJ9612+VTbUepZQmxZQGK/c9hvPwwcvQFxsjNX2\nnc5aQwKBgGZIGnz4X92HBVa0pR27q+2sebWCxjpREPoEE4HnPivn6Vgy6j40O3VB\nikaW6laDlWHPzYorQeLcZLoiI6yBn5v3unT4Aq74c/mgjBZbsJs+BC6WILWpeV3s\nlN7WgGVHSbBqaBAkMdIrH6IK8dnjYsHq5yO9xtdYmkVZoHEoah8h\n-----END
139
        RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----\nMIIFqTCCA5GgAwIBAgIIBitiT9Rbj7QwDQYJKoZIhvcNAQEFBQAwgaQxCzAJBgNV\nBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEWMBQGA1UECgwNUmVkIEhh\ndCwgSW5jLjEYMBYGA1UECwwPUmVkIEhhdCBOZXR3b3JrMSQwIgYDVQQDDBtSZWQg\nSGF0IENhbmRsZXBpbiBBdXRob3JpdHkxJDAiBgkqhkiG9w0BCQEWFWNhLXN1cHBv\ncnRAcmVkaGF0LmNvbTAeFw0xNjA4MTYxMjI5MzFaFw0xNzA4MTYxMjI5MzFaMC8x\nLTArBgNVBAMTJGQ0NWFjNzU0LTU2ZTgtNDI1ZS1hNmVmLTIwMjg5NTNmNmYyYzCC\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ0eNbawx+iyeE6G6e967LzO\n0pfpzCLVzVux0o4SkIO/JxaLTGhkQfV0t8+8Myrbp6iB3I9/FMBgRNNaiyDu2gVy\nRwHg4mVSXUWqtN33KUFNzssAsM483yEcWD/LuUtW4xOtEF8L/mqNJ2xGCeORAZhc\nmy+jSQXAE7Lz02nUc8tt+pJNIZziZfiF11PtvXho2Oxll45vkGH//whzfp4BIfIP\n7MUmnwzOsO2ZT4vRyUmlyt+t0f57svuCqmBNDB2v+yMm/h58kBJ/107hSyZN/xCq\n+4MMTlVdop+gkBHlyzblnpNV7VMwQy/4zzaKMBTNfJJmAQYOfzN4KjF+HlwVX8UC\nAwEAAaOCAVEwggFNMBEGCWCGSAGG+EIBAQQEAwIFoDALBgNVHQ8EBAMCBLAwgd4G\nA1UdIwSB1jCB04AUdy6lzTcNqOHT6mHFVmdD6JHHbRyhgbekgbQwgbExCzAJBgNV\nBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEWMBQGA1UECgwNUmVkIEhh\ndCwgSW5jLjEYMBYGA1UECwwPUmVkIEhhdCBOZXR3b3JrMTEwLwYDVQQDDChSZWQg\nSGF0IEVudGl0bGVtZW50IE9wZXJhdGlvbnMgQXV0aG9yaXR5MSQwIgYJKoZIhvcN\nAQkBFhVjYS1zdXBwb3J0QHJlZGhhdC5jb22CAT8wHQYDVR0OBBYEFI7UL/Bk0UoE\n9FSjYlUJle0cykonMBMGA1UdJQQMMAoGCCsGAQUFBwMCMBYGA1UdEQQPMA2GC0NO\nPVRlc3RDb3JwMA0GCSqGSIb3DQEBBQUAA4ICAQBp4djGKuE+NCfYE0Br3IlpKnrm\nCpDF8qs4/r9A/tr+PLLhDnRmzkygSJ7KsIUXYV8oW+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
140
        CERTIFICATE-----\n","id":"4028f99159040819015917f7360405fd","serial":{"id":1876219475313738186,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":1876219475313738186,"created":"2016-12-19T16:43:14.305+0000","updated":"2016-12-19T16:43:14.305+0000"},"created":"2016-12-19T16:43:14.308+0000","updated":"2016-12-19T16:43:14.308+0000"},"type":{"id":"4028f99158d73c980158d7417b9c0005","label":"satellite","manifest":true,"created":"2016-12-07T03:09:02.748+0000","updated":"2016-12-07T03:09:02.748+0000"},"ownerId":"4028f99158f378890158f7d5665f03ed","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-12-19T16:43:14.309+0000","updated":"2016-12-19T16:43:14.309+0000"},"logLevel":null,"autobindDisabled":null,"href":"/owners/testcorp","created":"2016-12-13T10:58:27.551+0000","updated":"2016-12-19T16:43:14.418+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
141
        today for a better tomorrow","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-19
142
        16:42:44 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
143
        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
144
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
145
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
146
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
147
        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
148
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
149
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
150
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
151
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
152
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
153
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
154
        disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
155
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
156
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
157
        Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
158
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
159
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
160
        (mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
161
        default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
162
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
163
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
164
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
165
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
166
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
167
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
168
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
169
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
170
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
171
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
172
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
173
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
174
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
175
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
176
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
177
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
178
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
179
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
180
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
181
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
182
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
183
        global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
184
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
185
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
186
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
187
        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
188
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
189
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
190
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
191
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
192
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
193
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
194
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
195
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
196
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
197
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
198
        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
199
        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
200
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
201
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
202
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
203
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
204
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
205
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
206
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
207
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
208
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
209
        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
210
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
211
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
212
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
213
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
214
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
215
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
216
        disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
217
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
218
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
219
        Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
220
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
221
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
222
        (mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
223
        default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
224
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
225
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
226
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
227
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
228
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
229
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
230
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
231
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
232
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
233
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
234
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
235
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
236
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
237
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
238
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
239
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
240
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
241
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
242
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
243
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
244
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
245
        global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
246
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
247
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
248
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
249
        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
250
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
251
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
252
        Location","title":"Default Location","description":null}],"parameters":[],"default_content_view_id":2,"library_id":2}'
253
    http_version: 
254
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
255
- request:
256
    method: put
257
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
258
    body:
259
      encoding: UTF-8
260
      string: '{"organization":{"domain_ids":[2]}}'
261
    headers:
262
      Accept:
263
      - application/json;version=2
264
      Accept-Encoding:
265
      - gzip, deflate
266
      User-Agent:
267
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
268
      Content-Type:
269
      - application/json
270
      Accept-Language:
271
      - en
272
      Content-Length:
273
      - '35'
274
      Host:
275
      - satlap.example.com
276
  response:
277
    status:
278
      code: 200
279
      message: OK
280
    headers:
281
      Date:
282
      - Mon, 19 Dec 2016 16:43:52 GMT
283
      Server:
284
      - Apache/2.4.6 (Red Hat Enterprise Linux)
285
      X-Frame-Options:
286
      - SAMEORIGIN
287
      X-Xss-Protection:
288
      - 1; mode=block
289
      X-Content-Type-Options:
290
      - nosniff
291
      Foreman-Version:
292
      - 1.11.0.61
293
      Foreman-Api-Version:
294
      - '2'
295
      Apipie-Checksum:
296
      - 9793fd9909c89b81479655ed560c4340
297
      Cache-Control:
298
      - max-age=0, private, must-revalidate
299
      X-Request-Id:
300
      - 292a6db0-04b2-4947-bc83-5d030b06c5b7
301
      X-Runtime:
302
      - '0.349277'
303
      X-Powered-By:
304
      - Phusion Passenger 4.0.18
305
      Set-Cookie:
306
      - _session_id=ad2e4d4bd7553ae28b135e8372851bcd; path=/; secure; HttpOnly
307
      - request_method=PUT; path=/
308
      Etag:
309
      - '"4ea0d498f88fab8b3056ca4a6e82c484-gzip"'
310
      Status:
311
      - 200 OK
312
      Vary:
313
      - Accept-Encoding
314
      Content-Length:
315
      - '13546'
316
      Content-Type:
317
      - application/json; charset=utf-8
318
    body:
319
      encoding: ASCII-8BIT
320
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-12-13
321
        10:58:26 UTC","updated_at":"2016-12-19 16:43:52 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
322
        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
323
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
324
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
325
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
326
        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
327
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
328
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
329
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
330
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
331
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
332
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
333
        disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
334
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
335
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
336
        Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
337
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
338
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
339
        (mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
340
        default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
341
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
342
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
343
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
344
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
345
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
346
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
347
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
348
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
349
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
350
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
351
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
352
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
353
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
354
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
355
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
356
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
357
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
358
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
359
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
360
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
361
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
362
        global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
363
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
364
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
365
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
366
        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
367
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
368
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
369
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
370
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
371
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
372
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
373
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
374
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
375
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
376
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
377
        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
378
        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
379
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
380
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
381
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
382
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
383
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
384
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
385
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
386
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
387
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
388
        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
389
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
390
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
391
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
392
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
393
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
394
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
395
        disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
396
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
397
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
398
        Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
399
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
400
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
401
        (mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
402
        default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
403
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
404
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
405
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
406
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
407
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
408
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
409
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
410
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
411
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
412
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
413
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
414
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
415
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
416
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
417
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
418
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
419
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
420
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
421
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
422
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
423
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
424
        global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
425
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
426
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
427
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
428
        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
429
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
430
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
431
        Location","title":"Default Location","description":null}],"parameters":[]}'
432
    http_version: 
433
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
434
- request:
4 435
    method: get
5
    uri: https://admin:changeme@satlap.example.com/api/status
436
    uri: https://admin:changeme@devel.example.com:50083/api/status
6 437
    body:
7 438
      encoding: US-ASCII
8 439
      string: ''
......
14 445
      User-Agent:
15 446
      - Ruby
16 447
      Host:
17
      - satlap.example.com
448
      - devel.example.com:50083
18 449
  response:
19 450
    status:
20 451
      code: 200
21 452
      message: OK
22 453
    headers:
23 454
      Date:
24
      - Mon, 19 Dec 2016 16:43:51 GMT
455
      - Mon, 27 Mar 2017 18:36:46 GMT
25 456
      Server:
26 457
      - Apache/2.4.6 (Red Hat Enterprise Linux)
27 458
      X-Frame-Options:
......
31 462
      X-Content-Type-Options:
32 463
      - nosniff
33 464
      Foreman-Version:
34
      - 1.11.0.61
465
      - 1.11.0.54
35 466
      Foreman-Api-Version:
36 467
      - '2'
37 468
      Apipie-Checksum:
38
      - 9793fd9909c89b81479655ed560c4340
469
      - e1df2e8d43e22495b02a53b48e3b5298
39 470
      Cache-Control:
40 471
      - max-age=0, private, must-revalidate
41 472
      X-Request-Id:
42
      - 1b6a939a-9227-4448-85a3-afac7087c4b3
473
      - c13c0aa6-f761-48fc-952d-39e4ba55633b
43 474
      X-Runtime:
44
      - '0.039954'
475
      - '0.069668'
45 476
      X-Powered-By:
46 477
      - Phusion Passenger 4.0.18
47
      Set-Cookie:
48
      - _session_id=5e187f237277f8bd597dea74122e76c1; path=/; secure; HttpOnly
49 478
      Etag:
50
      - '"6ec0375dc2b106a955e67a8139b7d9c5"'
479
      - '"8e3341d0a4cc328651f7391aed11fef8"'
51 480
      Status:
52 481
      - 200 OK
53 482
      Content-Length:
54 483
      - '66'
55 484
      Content-Type:
56 485
      - application/json; charset=utf-8
486
      Set-Cookie:
487
      - _session_id=4c9fccbc97d786fb817c4b6bf2570e28; path=/; secure; HttpOnly
57 488
    body:
58 489
      encoding: UTF-8
59
      string: '{"result":"ok","status":200,"version":"1.11.0.61","api_version":2}'
490
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
60 491
    http_version: 
61
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
492
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
62 493
- request:
63 494
    method: get
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
495
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
65 496
    body:
66 497
      encoding: US-ASCII
67 498
      string: ''
......
73 504
      User-Agent:
74 505
      - Ruby
75 506
      Host:
76
      - satlap.example.com
507
      - devel.example.com:50083
77 508
  response:
78 509
    status:
79 510
      code: 200
80 511
      message: OK
81 512
    headers:
82 513
      Date:
83
      - Mon, 19 Dec 2016 16:43:51 GMT
514
      - Mon, 27 Mar 2017 18:36:46 GMT
84 515
      Server:
85 516
      - Apache/2.4.6 (Red Hat Enterprise Linux)
86 517
      X-Frame-Options:
......
90 521
      X-Content-Type-Options:
91 522
      - nosniff
92 523
      Foreman-Version:
93
      - 1.11.0.61
524
      - 1.11.0.54
94 525
      Foreman-Api-Version:
95 526
      - '2'
96 527
      Apipie-Checksum:
97
      - 9793fd9909c89b81479655ed560c4340
528
      - e1df2e8d43e22495b02a53b48e3b5298
98 529
      Cache-Control:
99 530
      - max-age=0, private, must-revalidate
100 531
      X-Request-Id:
101
      - 7fdf513e-2efb-4c01-84e4-1bc15eec2c7c
532
      - 8c5d43ce-6a83-482d-a9b0-eb117d3dafc4
102 533
      X-Runtime:
103
      - '0.040129'
534
      - '0.070312'
104 535
      X-Powered-By:
105 536
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=c653ca351384d8d15919cc8acf6d36cf; path=/; secure; HttpOnly
108 537
      Etag:
109
      - '"973c5d3fa1e5326b7762aec3d6a31dde-gzip"'
538
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
110 539
      Status:
111 540
      - 200 OK
112 541
      Vary:
113 542
      - Accept-Encoding
114 543
      Content-Length:
115
      - '1339'
544
      - '1338'
116 545
      Content-Type:
117 546
      - application/json; charset=utf-8
547
      Set-Cookie:
548
      - _session_id=d3f197cf5dc9dfb82efd4394d400fcc5; path=/; secure; HttpOnly
118 549
    body:
119 550
      encoding: ASCII-8BIT
120 551
      string: !binary |-
......
133 564
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
134 565
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
135 566
        a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
136
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC4xMSJ9LHsiaWQiOiJm
137
        b3JlbWFuX2Jvb3RkaXNrIiwibmFtZSI6ImZvcmVtYW5fYm9vdGRpc2siLCJh
138
        dXRob3IiOiJEb21pbmljIENsZWFsIiwiZGVzY3JpcHRpb24iOiJQbHVnaW4g
139
        Zm9yIEZvcmVtYW4gdGhhdCBjcmVhdGVzIGlQWEUtYmFzZWQgYm9vdCBkaXNr
140
        cyB0byBwcm92aXNpb24gaG9zdHMgd2l0aG91dCB0aGUgbmVlZCBmb3IgUFhF
141
        IGluZnJhc3RydWN0dXJlLiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
142
        ZWZvcmVtYW4vZm9yZW1hbl9ib290ZGlzayIsInZlcnNpb24iOiI2LjEuMC4z
143
        In0seyJpZCI6ImZvcmVtYW5fZGlzY292ZXJ5IiwibmFtZSI6ImZvcmVtYW5f
144
        ZGlzY292ZXJ5IiwiYXV0aG9yIjoiQW1vcyBCZW5hcmksQnJ5YW4gS2Vhcm5l
145
        eSxDaGFpcm1hblR1YmVBbXAsRGFuaWVsIExvYmF0byBHYXJjw61hLERvbWlu
146
        aWMgQ2xlYWwsRXJpYyBELiBIZWxtcyxGcmFuayBXYWxsLEdyZWcgU3V0Y2xp
147
        ZmZlLEltcmkgWnZpayxKb3NlcGggTWl0Y2hlbGwgTWFnZW4sTHVrYXMgWmFw
148
        bGV0YWwsTHVrw6HFoSBaYXBsZXRhbCxNYXJlayBIdWxhbixNYXJ0aW4gQmHE
149
        jW92c2vDvSxNYXR0IEphcnZpcyxNaWNoYWVsIE1vbGwsTmljayxPaGFkIExl
150
        dnksT3JpIFJhYmluLFBldHIgQ2hhbHVwYSxQaGlyaW5jZSBQaGlsaXAsU2N1
151
        YmFmbG95ZCxTaGxvbWkgWmFkb2ssU3RlcGhlbiBCZW5qYW1pbixZYW5uIEPD
152
        qXphcmQiLCJkZXNjcmlwdGlvbiI6Ik1hYVMgRGlzY292ZXJ5IFBsdWdpbiBl
153
        bmdpbmUgZm9yIEZvcmVtYW4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90
154
        aGVmb3JlbWFuL2ZvcmVtYW5fZGlzY292ZXJ5IiwidmVyc2lvbiI6IjUuMC4w
155
        LjkifSx7ImlkIjoiZm9yZW1hbl9kb2NrZXIiLCJuYW1lIjoiZm9yZW1hbl9k
156
        b2NrZXIiLCJhdXRob3IiOiJEYW5pZWwgTG9iYXRvLCBBbW9zIEJlbmFyaSIs
157
        ImRlc2NyaXB0aW9uIjoiUHJvdmlzaW9uIGFuZCBtYW5hZ2UgRG9ja2VyIGNv
158
        bnRhaW5lcnMgYW5kIGltYWdlcyBmcm9tIEZvcmVtYW4uIiwidXJsIjoiaHR0
159
        cDovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9mb3JlbWFuLWRvY2tlciIsInZl
160
        cnNpb24iOiIyLjAuMS4xMSJ9LHsiaWQiOiJmb3JlbWFuX2hvb2tzIiwibmFt
161
        ZSI6ImZvcmVtYW5faG9va3MiLCJhdXRob3IiOiJEb21pbmljIENsZWFsIiwi
162
        ZGVzY3JpcHRpb24iOiJQbHVnaW4gZW5naW5lIGZvciBGb3JlbWFuIHRoYXQg
163
        ZW5hYmxlcyBydW5uaW5nIGN1c3RvbSBob29rIHNjcmlwdHMgb24gRm9yZW1h
164
        biBldmVudHMiLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVmb3JlbWFu
165
        L2ZvcmVtYW5faG9va3MiLCJ2ZXJzaW9uIjoiMC4zLjExIn0seyJpZCI6ImZv
166
        cmVtYW5fb3BlbnNjYXAiLCJuYW1lIjoiZm9yZW1hbl9vcGVuc2NhcCIsImF1
167
        dGhvciI6IsWgaW1vbiBMdWthxaHDrWssU2hsb21pIFphZG9rLE1hcmVrIEh1
168
        bGFuLE9uZHJlaiBQcmF6YWsiLCJkZXNjcmlwdGlvbiI6IkZvcmVtYW4gcGx1
169
        Zy1pbiBmb3IgbWFuYWdpbmcgc2VjdXJpdHkgY29tcGxpYW5jZSByZXBvcnRz
170
        IiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL09wZW5TQ0FQL2ZvcmVtYW5f
171
        b3BlbnNjYXAiLCJ2ZXJzaW9uIjoiMC41LjMuMTgifSx7ImlkIjoiZm9yZW1h
172
        bl9yZW1vdGVfZXhlY3V0aW9uIiwibmFtZSI6ImZvcmVtYW5fcmVtb3RlX2V4
173
        ZWN1dGlvbiIsImF1dGhvciI6IkZvcmVtYW4gUmVtb3RlIEV4ZWN1dGlvbiB0
174
        ZWFtIiwiZGVzY3JpcHRpb24iOiJBIHBsdWdpbiBicmluZ2luZyByZW1vdGUg
175
        ZXhlY3V0aW9uIHRvIHRoZSBGb3JlbWFuLCBjb21wbGV0aW5nIHRoZSBjb25m
176
        aWcgbWFuYWdlbWVudCBmdW5jdGlvbmFsaXR5IHdpdGggcmVtb3RlIG1hbmFn
177
        ZW1lbnQgZnVuY3Rpb25hbGl0eS4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5j
178
        b20vdGhlZm9yZW1hbi9mb3JlbWFuX3JlbW90ZV9leGVjdXRpb24iLCJ2ZXJz
179
        aW9uIjoiMC4zLjAuMTIifSx7ImlkIjoiZm9yZW1hbl90aGVtZV9zYXRlbGxp
180
        dGUiLCJuYW1lIjoiZm9yZW1hbl90aGVtZV9zYXRlbGxpdGUiLCJhdXRob3Ii
181
        OiJBbG9uIEdvbGRib2ltLCBTaGltb24gU3RlaW4iLCJkZXNjcmlwdGlvbiI6
182
        IlRoaXMgaXMgYSBwbHVnaW4gdGhhdCBlbmFibGVzIGJ1aWxkaW5nIGEgdGhl
183
        bWUgZm9yIEZvcmVtYW4uIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL2Fs
184
        b25nb2xkYm9pbS9mb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsInZlcnNpb24i
185
        OiIwLjEuMzYifSx7ImlkIjoia2F0ZWxsbyIsIm5hbWUiOiJrYXRlbGxvIiwi
186
        YXV0aG9yIjoiTi9BIiwiZGVzY3JpcHRpb24iOiJDb250ZW50IGFuZCBTdWJz
187
        Y3JpcHRpb24gTWFuYWdlbWVudCBwbHVnaW4gZm9yIEZvcmVtYW4iLCJ1cmwi
188
        OiJodHRwOi8vd3d3LmthdGVsbG8ub3JnIiwidmVyc2lvbiI6IjMuMC4wLjkw
189
        In0seyJpZCI6InJlZGhhdF9hY2Nlc3MiLCJuYW1lIjoicmVkaGF0X2FjY2Vz
190
        cyIsImF1dGhvciI6IkxpbmRhbmkgUGhpcmkiLCJkZXNjcmlwdGlvbiI6IlRo
191
        aXMgcGx1Z2luIGFkZHMgUmVkIEhhdCBBY2Nlc3Mga25vd2xlZGdlIGJhc2Ug
192
        c2VhcmNoLCBjYXNlIG1hbmFnZW1lbnQgYW5kIGRpYWdub3N0aWNzIHRvIEZv
193
        cmVtYW4iLCJ1cmwiOiJodHRwOi8vd3d3LmxwaGlyaS5yZWRoYXQuY29tIiwi
194
        dmVyc2lvbiI6IjEuMC4xMyJ9XQp9Cg==
567
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
568
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
569
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
570
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
571
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
572
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
573
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
574
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
575
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
576
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
577
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
578
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
579
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
580
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
581
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
582
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
583
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
584
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
585
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
586
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
587
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
588
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
589
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
590
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
591
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
592
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
593
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
594
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
595
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
596
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
597
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
598
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
599
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
600
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
601
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
602
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
603
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
604
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
605
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
606
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
607
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
608
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
609
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
610
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
611
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
612
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
613
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
614
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
615
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
616
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
617
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
618
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
619
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
620
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
621
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
622
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
623
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
624
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
625
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
195 626
    http_version: 
196
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
627
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
197 628
- request:
198 629
    method: get
199
    uri: https://admin:changeme@satlap.example.com/api/domains?per_page=999999
630
    uri: https://admin:changeme@devel.example.com:50083/api/domains?per_page=999999
200 631
    body:
201 632
      encoding: US-ASCII
202 633
      string: ''
......
212 643
      Accept-Language:
213 644
      - en
214 645
      Host:
215
      - satlap.example.com
646
      - devel.example.com:50083
216 647
  response:
217 648
    status:
218 649
      code: 200
219 650
      message: OK
220 651
    headers:
221 652
      Date:
222
      - Mon, 19 Dec 2016 16:43:51 GMT
653
      - Mon, 27 Mar 2017 18:36:46 GMT
223 654
      Server:
224 655
      - Apache/2.4.6 (Red Hat Enterprise Linux)
225 656
      X-Frame-Options:
......
229 660
      X-Content-Type-Options:
230 661
      - nosniff
231 662
      Foreman-Version:
232
      - 1.11.0.61
663
      - 1.11.0.54
233 664
      Foreman-Api-Version:
234 665
      - '2'
235 666
      Apipie-Checksum:
236
      - 9793fd9909c89b81479655ed560c4340
667
      - e1df2e8d43e22495b02a53b48e3b5298
237 668
      Cache-Control:
238 669
      - max-age=0, private, must-revalidate
239 670
      X-Request-Id:
240
      - e7b8c8e8-ab4e-4495-a6ff-8dd13aaa54ea
671
      - eecd66fe-c112-42c3-9f4b-43d23f352214
241 672
      X-Runtime:
242
      - '0.042181'
673
      - '0.053927'
243 674
      X-Powered-By:
244 675
      - Phusion Passenger 4.0.18
245
      Set-Cookie:
246
      - _session_id=a24d457318489301703b9f29dcb68577; path=/; secure; HttpOnly
247 676
      Etag:
248
      - '"ad08fff5266de368c5b0dee0fd22ec96-gzip"'
677
      - '"5a187cdcbd3eaf736ba860036bd24426-gzip"'
249 678
      Status:
250 679
      - 200 OK
251 680
      Vary:
......
254 683
      - '425'
255 684
      Content-Type:
256 685
      - application/json; charset=utf-8
686
      Set-Cookie:
687
      - _session_id=c32d8027aeda4bb149315b1aff479673; path=/; secure; HttpOnly
257 688
    body:
258 689
      encoding: ASCII-8BIT
259 690
      string: |
......
267 698
            "by": null,
268 699
            "order": null
269 700
          },
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"}]
701
          "results": [{"fullname":null,"dns_id":null,"created_at":"2016-12-01 19:52:10 UTC","updated_at":"2016-12-01 19:52:11 UTC","id":2,"name":"example.com"},{"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"}]
271 702
        }
272 703
    http_version: 
273
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
704
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
274 705
- request:
275 706
    method: put
276
    uri: https://admin:changeme@satlap.example.com/api/domains/2
707
    uri: https://admin:changeme@devel.example.com:50083/api/domains/1
277 708
    body:
278 709
      encoding: UTF-8
279 710
      string: '{"domain":{"name":"test.com","fullname":"","dns_id":null}}'
......
291 722
      Content-Length:
292 723
      - '58'
293 724
      Host:
294
      - satlap.example.com
725
      - devel.example.com:50083
295 726
  response:
296 727
    status:
297 728
      code: 200
298 729
      message: OK
299 730
    headers:
300 731
      Date:
301
      - Mon, 19 Dec 2016 16:43:52 GMT
732
      - Mon, 27 Mar 2017 18:36:46 GMT
302 733
      Server:
303 734
      - Apache/2.4.6 (Red Hat Enterprise Linux)
304 735
      X-Frame-Options:
......
308 739
      X-Content-Type-Options:
309 740
      - nosniff
310 741
      Foreman-Version:
311
      - 1.11.0.61
742
      - 1.11.0.54
312 743
      Foreman-Api-Version:
313 744
      - '2'
314 745
      Apipie-Checksum:
315
      - 9793fd9909c89b81479655ed560c4340
746
      - e1df2e8d43e22495b02a53b48e3b5298
316 747
      Cache-Control:
317 748
      - max-age=0, private, must-revalidate
318 749
      X-Request-Id:
319
      - 9918dbb3-d98b-4dfa-b66b-54539d6801b2
750
      - 7aeefae1-05b1-4f0c-972f-abbad351f1bd
320 751
      X-Runtime:
321
      - '0.063367'
752
      - '0.050653'
322 753
      X-Powered-By:
323 754
      - Phusion Passenger 4.0.18
324
      Set-Cookie:
325
      - _session_id=467d53ea331d8a1cbc7c2442d032e945; path=/; secure; HttpOnly
326
      - request_method=PUT; path=/
327 755
      Etag:
328
      - '"c4e5a74bd8e14093c1644355a0aa2140-gzip"'
756
      - '"92b3cab549a587e9a0ad537e5e9c556e-gzip"'
329 757
      Status:
330 758
      - 200 OK
331 759
      Vary:
......
334 762
      - '390'
335 763
      Content-Type:
336 764
      - application/json; charset=utf-8
765
      Set-Cookie:
766
      - _session_id=0d4e2b6edbb7302526dbe08f1d8881d5; path=/; secure; HttpOnly
767
      - request_method=PUT; path=/
337 768
    body:
338 769
      encoding: ASCII-8BIT
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
770
      string: '{"fullname":"","dns_id":null,"created_at":"2016-12-01 19:37:20 UTC","updated_at":"2016-12-01
771
        19:37:20 UTC","id":1,"name":"test.com","subnets":[{"id":1,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"parameters":[],"interfaces":[],"locations":[],"organizations":[{"id":3,"name":"Test
341 772
        Corporation","title":"Test Corporation","description":"Testing today for a
342 773
        better tomorrow"}]}'
343 774
    http_version: 
344
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
775
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
345 776
- request:
346 777
    method: get
347
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
778
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
348 779
    body:
349 780
      encoding: US-ASCII
350 781
      string: ''
......
360 791
      Accept-Language:
361 792
      - en
362 793
      Host:
363
      - satlap.example.com
794
      - devel.example.com:50083
364 795
  response:
365 796
    status:
366 797
      code: 200
367 798
      message: OK
368 799
    headers:
369 800
      Date:
370
      - Mon, 19 Dec 2016 16:43:52 GMT
801
      - Mon, 27 Mar 2017 18:36:47 GMT
371 802
      Server:
372 803
      - Apache/2.4.6 (Red Hat Enterprise Linux)
373 804
      X-Frame-Options:
......
377 808
      X-Content-Type-Options:
378 809
      - nosniff
379 810
      Foreman-Version:
380
      - 1.11.0.61
811
      - 1.11.0.54
381 812
      Foreman-Api-Version:
382 813
      - '2'
383 814
      Apipie-Checksum:
384
      - 9793fd9909c89b81479655ed560c4340
815
      - e1df2e8d43e22495b02a53b48e3b5298
385 816
      Cache-Control:
386 817
      - max-age=0, private, must-revalidate
387 818
      X-Request-Id:
388
      - 03e5fe11-4eb1-4f95-92d8-cc7ae9f8b0e4
819
      - 96d6311c-b1bc-4f37-b20c-afeb72a05093
389 820
      X-Runtime:
390
      - '0.051184'
821
      - '0.040575'
391 822
      X-Powered-By:
392 823
      - Phusion Passenger 4.0.18
393
      Set-Cookie:
394
      - _session_id=5da3502213037e4e235b39e283477329; path=/; secure; HttpOnly
395 824
      Etag:
396
      - '"f1bc20326d93260c86807cfd4749cd80-gzip"'
825
      - '"889d59438c9dbada3bd3c0b258f7a13e-gzip"'
397 826
      Status:
398 827
      - 200 OK
399 828
      Vary:
......
402 831
      - '388'
403 832
      Content-Type:
404 833
      - application/json; charset=utf-8
834
      Set-Cookie:
835
      - _session_id=841f5ee50fd1aab206854da9fe1667ab; path=/; secure; HttpOnly
405 836
    body:
406 837
      encoding: ASCII-8BIT
407 838
      string: |
......
415 846
            "by": null,
416 847
            "order": null
417 848
          },
418
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-19 16:42:44 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
849
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:36:07 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
419 850
        }
420 851
    http_version: 
421
  recorded_at: Mon, 19 Dec 2016 16:43:35 GMT
852
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
422 853
- request:
423 854
    method: get
424
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
855
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3
425 856
    body:
426 857
      encoding: US-ASCII
427 858
      string: ''
......
437 868
      Accept-Language:
438 869
      - en
439 870
      Host:
440
      - satlap.example.com
871
      - devel.example.com:50083
441 872
  response:
442 873
    status:
443 874
      code: 200
444 875
      message: OK
445 876
    headers:
446 877
      Date:
447
      - Mon, 19 Dec 2016 16:43:52 GMT
878
      - Mon, 27 Mar 2017 18:36:47 GMT
448 879
      Server:
449 880
      - Apache/2.4.6 (Red Hat Enterprise Linux)
450 881
      X-Frame-Options:
......
454 885
      X-Content-Type-Options:
455 886
      - nosniff
456 887
      Foreman-Version:
457
      - 1.11.0.61
888
      - 1.11.0.54
458 889
      Foreman-Api-Version:
459 890
      - '2'
460 891
      Apipie-Checksum:
461
      - 9793fd9909c89b81479655ed560c4340
892
      - e1df2e8d43e22495b02a53b48e3b5298
462 893
      Cache-Control:
463 894
      - max-age=0, private, must-revalidate
464 895
      X-Request-Id:
465
      - f4188605-12f2-40cb-9fff-99399ecd65a9
896
      - 5ad11bc3-1d07-41f0-86cb-24999d55cf62
466 897
      X-Runtime:
467
      - '0.287047'
898
      - '0.261658'
468 899
      X-Powered-By:
469 900
      - Phusion Passenger 4.0.18
470
      Set-Cookie:
471
      - _session_id=1c6de5ea1b8429040b8af4024ae70407; path=/; secure; HttpOnly
472 901
      Etag:
473
      - '"c0f22016708fafb7b2a32908bd8c1cde-gzip"'
902
      - '"59f6586e838416a2cf4b717e2a99a0a5-gzip"'
474 903
      Status:
475 904
      - 200 OK
476 905
      Vary:
477 906
      - Accept-Encoding
478 907
      Content-Length:
479
      - '18746'
908
      - '18738'
480 909
      Content-Type:
481 910
      - application/json; charset=utf-8
911
      Set-Cookie:
912
      - _session_id=383528da76af559e88d72b2337de9d08; path=/; secure; HttpOnly
482 913
    body:
483 914
      encoding: ASCII-8BIT
484
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"4028f99158f378890158f7d5665f03ed","key":"testcorp","displayName":"Test
485
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"4028f99159040819015917f7360505fe","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
915
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
916
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff8080815adcc9a9015b110dee040e16","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
486 917
        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\nPV4SfqrOv4NFcEvQf32tyiVxXDH4H/WpjHM2ZcAklE4esQkyBqf/2lHcZPrhoaQm\n8OGrquMytXo2TRGypl0syZ49GFq/FUFQbkl8zZpt3OCMkud6RvBmmftYSVCNoyZc\nySBusvO3SgpZYZwJx3FmeH/2gp0YAldH+tQo0lcCgYEAjhkVdtcgaD4aZER9QULd\n2htzy0q2Tnf3cTyCPPwkamUjnTL4ei0/LmIC3aYGC5BwNwtkSq6iV1PJ4Zb+96gf\n2WQz7q+FbzLMbQyNWGVW/uQIiQpCBmcZMRnZHLMvFnBI0AnwnEYwGReLXSZGoufZ\nxRQurL8uTC104ag741fdTRsCgYAtWaOezMiHQykdCZLO0+fH1qbEJW0qlNuipfU4\nsOvrV1fAfIDvvHy0o9JKCgsXNRcv6r77xI3wDvDfOoKQHHoJIDtkCWuBOTH/4zJk\nauvlW2/Cpr3M7fLOUfQZ7TNljwJ9612+VTbUepZQmxZQGK/c9hvPwwcvQFxsjNX2\nnc5aQwKBgGZIGnz4X92HBVa0pR27q+2sebWCxjpREPoEE4HnPivn6Vgy6j40O3VB\nikaW6laDlWHPzYorQeLcZLoiI6yBn5v3unT4Aq74c/mgjBZbsJs+BC6WILWpeV3s\nlN7WgGVHSbBqaBAkMdIrH6IK8dnjYsHq5yO9xtdYmkVZoHEoah8h\n-----END
487 918
        RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----\nMIIFqTCCA5GgAwIBAgIIBitiT9Rbj7QwDQYJKoZIhvcNAQEFBQAwgaQxCzAJBgNV\nBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEWMBQGA1UECgwNUmVkIEhh\ndCwgSW5jLjEYMBYGA1UECwwPUmVkIEhhdCBOZXR3b3JrMSQwIgYDVQQDDBtSZWQg\nSGF0IENhbmRsZXBpbiBBdXRob3JpdHkxJDAiBgkqhkiG9w0BCQEWFWNhLXN1cHBv\ncnRAcmVkaGF0LmNvbTAeFw0xNjA4MTYxMjI5MzFaFw0xNzA4MTYxMjI5MzFaMC8x\nLTArBgNVBAMTJGQ0NWFjNzU0LTU2ZTgtNDI1ZS1hNmVmLTIwMjg5NTNmNmYyYzCC\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ0eNbawx+iyeE6G6e967LzO\n0pfpzCLVzVux0o4SkIO/JxaLTGhkQfV0t8+8Myrbp6iB3I9/FMBgRNNaiyDu2gVy\nRwHg4mVSXUWqtN33KUFNzssAsM483yEcWD/LuUtW4xOtEF8L/mqNJ2xGCeORAZhc\nmy+jSQXAE7Lz02nUc8tt+pJNIZziZfiF11PtvXho2Oxll45vkGH//whzfp4BIfIP\n7MUmnwzOsO2ZT4vRyUmlyt+t0f57svuCqmBNDB2v+yMm/h58kBJ/107hSyZN/xCq\n+4MMTlVdop+gkBHlyzblnpNV7VMwQy/4zzaKMBTNfJJmAQYOfzN4KjF+HlwVX8UC\nAwEAAaOCAVEwggFNMBEGCWCGSAGG+EIBAQQEAwIFoDALBgNVHQ8EBAMCBLAwgd4G\nA1UdIwSB1jCB04AUdy6lzTcNqOHT6mHFVmdD6JHHbRyhgbekgbQwgbExCzAJBgNV\nBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEWMBQGA1UECgwNUmVkIEhh\ndCwgSW5jLjEYMBYGA1UECwwPUmVkIEhhdCBOZXR3b3JrMTEwLwYDVQQDDChSZWQg\nSGF0IEVudGl0bGVtZW50IE9wZXJhdGlvbnMgQXV0aG9yaXR5MSQwIgYJKoZIhvcN\nAQkBFhVjYS1zdXBwb3J0QHJlZGhhdC5jb22CAT8wHQYDVR0OBBYEFI7UL/Bk0UoE\n9FSjYlUJle0cykonMBMGA1UdJQQMMAoGCCsGAQUFBwMCMBYGA1UdEQQPMA2GC0NO\nPVRlc3RDb3JwMA0GCSqGSIb3DQEBBQUAA4ICAQBp4djGKuE+NCfYE0Br3IlpKnrm\nCpDF8qs4/r9A/tr+PLLhDnRmzkygSJ7KsIUXYV8oW+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
488
        CERTIFICATE-----\n","id":"4028f99159040819015917f7360405fd","serial":{"id":1876219475313738186,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":1876219475313738186,"created":"2016-12-19T16:43:14.305+0000","updated":"2016-12-19T16:43:14.305+0000"},"created":"2016-12-19T16:43:14.308+0000","updated":"2016-12-19T16:43:14.308+0000"},"type":{"id":"4028f99158d73c980158d7417b9c0005","label":"satellite","manifest":true,"created":"2016-12-07T03:09:02.748+0000","updated":"2016-12-07T03:09:02.748+0000"},"ownerId":"4028f99158f378890158f7d5665f03ed","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-12-19T16:43:14.309+0000","updated":"2016-12-19T16:43:14.309+0000"},"logLevel":null,"autobindDisabled":null,"href":"/owners/testcorp","created":"2016-12-13T10:58:27.551+0000","updated":"2016-12-19T16:43:14.418+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
489
        today for a better tomorrow","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-19
490
        16:42:44 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
491
        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
919
        CERTIFICATE-----\n","id":"ff8080815adcc9a9015b110dee030e15","serial":{"id":5127225549835794800,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":5127225549835794800,"created":"2017-03-27T18:36:17.281+0000","updated":"2017-03-27T18:36:17.281+0000"},"created":"2017-03-27T18:36:17.283+0000","updated":"2017-03-27T18:36:17.283+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":"2017-03-27T18:36:17.284+0000","updated":"2017-03-27T18:36:17.284+0000"},"logLevel":null,"autobindDisabled":null,"href":"/owners/testcorp","created":"2016-12-01T19:35:27.727+0000","updated":"2017-03-27T18:36:17.390+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
920
        today for a better tomorrow","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27
921
        18:36:07 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":3,"name":"Test
922
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat62.example.com","id":1,"url":"https://sat62.example.com:9090"}],"subnets":[{"id":1,"name":"Test
492 923
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
493 924
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
494 925
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
......
534 965
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
535 966
        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
536 967
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
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
968
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
969
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
970
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
971
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
972
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
973
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
974
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
975
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
976
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
977
        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
978
        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
979
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
980
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
981
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
982
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
983
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
984
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
985
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
555 986
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
556 987
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
557 988
        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
......
596 1027
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
597 1028
        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
598 1029
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
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
1030
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
600 1031
        Location","title":"Default Location","description":null}],"parameters":[],"default_content_view_id":2,"library_id":2}'
601 1032
    http_version: 
602
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
1033
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
603 1034
- request:
604 1035
    method: put
605
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
1036
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3
606 1037
    body:
607 1038
      encoding: UTF-8
608
      string: '{"organization":{"domain_ids":[2]}}'
1039
      string: '{"organization":{"domain_ids":[1]}}'
609 1040
    headers:
610 1041
      Accept:
611 1042
      - application/json;version=2
......
620 1051
      Content-Length:
621 1052
      - '35'
622 1053
      Host:
623
      - satlap.example.com
1054
      - devel.example.com:50083
624 1055
  response:
625 1056
    status:
626 1057
      code: 200
627 1058
      message: OK
628 1059
    headers:
629 1060
      Date:
630
      - Mon, 19 Dec 2016 16:43:52 GMT
1061
      - Mon, 27 Mar 2017 18:36:47 GMT
631 1062
      Server:
632 1063
      - Apache/2.4.6 (Red Hat Enterprise Linux)
633 1064
      X-Frame-Options:
......
637 1068
      X-Content-Type-Options:
638 1069
      - nosniff
639 1070
      Foreman-Version:
640
      - 1.11.0.61
1071
      - 1.11.0.54
641 1072
      Foreman-Api-Version:
642 1073
      - '2'
643 1074
      Apipie-Checksum:
644
      - 9793fd9909c89b81479655ed560c4340
1075
      - e1df2e8d43e22495b02a53b48e3b5298
645 1076
      Cache-Control:
646 1077
      - max-age=0, private, must-revalidate
647 1078
      X-Request-Id:
648
      - 292a6db0-04b2-4947-bc83-5d030b06c5b7
1079
      - 2fcbe556-db36-42fd-80d0-e8f229577d85
649 1080
      X-Runtime:
650
      - '0.349277'
1081
      - '0.347609'
651 1082
      X-Powered-By:
652 1083
      - Phusion Passenger 4.0.18
653
      Set-Cookie:
654
      - _session_id=ad2e4d4bd7553ae28b135e8372851bcd; path=/; secure; HttpOnly
655
      - request_method=PUT; path=/
656 1084
      Etag:
657
      - '"4ea0d498f88fab8b3056ca4a6e82c484-gzip"'
1085
      - '"5c51c79f2bd94dd094734218d62eaede-gzip"'
658 1086
      Status:
659 1087
      - 200 OK
660 1088
      Vary:
661 1089
      - Accept-Encoding
662 1090
      Content-Length:
663
      - '13546'
1091
      - '13538'
664 1092
      Content-Type:
665 1093
      - application/json; charset=utf-8
1094
      Set-Cookie:
1095
      - _session_id=0115419c7e7a3b8f952230b2143ce039; path=/; secure; HttpOnly
1096
      - request_method=PUT; path=/
666 1097
    body:
667 1098
      encoding: ASCII-8BIT
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-19 16:43:52 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
1099
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-12-01
1100
        19:35:26 UTC","updated_at":"2017-03-27 18:36:47 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":3,"name":"Test
1101
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat62.example.com","id":1,"url":"https://sat62.example.com:9090"}],"subnets":[{"id":1,"name":"Test
671 1102
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
672 1103
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
673 1104
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
......
713 1144
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
714 1145
        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
715 1146
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
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
1147
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
1148
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
1149
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
1150
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
1151
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1152
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
1153
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
1154
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1155
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
1156
        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
1157
        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
1158
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
1159
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1160
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
1161
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
1162
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1163
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
1164
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
734 1165
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
735 1166
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
736 1167
        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
......
775 1206
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
776 1207
        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
777 1208
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
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
1209
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
779 1210
        Location","title":"Default Location","description":null}],"parameters":[]}'
780 1211
    http_version: 
781
  recorded_at: Mon, 19 Dec 2016 16:43:36 GMT
1212
  recorded_at: Mon, 27 Mar 2017 18:36:53 GMT
782 1213
recorded_with: VCR 3.0.3

Also available in: Unified diff