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_locations/setup.yml
1 1
---
2 2
http_interactions:
3 3
- request:
4
    method: put
5
    uri: https://admin:changeme@satlap.example.com/api/locations/3
6
    body:
7
      encoding: UTF-8
8
      string: '{"location":{"parent_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
      - '31'
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:54 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
      - a86d0333-5075-40b3-a508-f8d2cafa1336
49
      X-Runtime:
50
      - '0.269079'
51
      X-Powered-By:
52
      - Phusion Passenger 4.0.18
53
      Set-Cookie:
54
      - _session_id=825387be7828917adeb40994ef62198e; path=/; secure; HttpOnly
55
      - request_method=PUT; path=/
56
      Etag:
57
      - '"e328282a98e7b8b6424f589161ffcda4-gzip"'
58
      Status:
59
      - 200 OK
60
      Vary:
61
      - Accept-Encoding
62
      Content-Length:
63
      - '13345'
64
      Content-Type:
65
      - application/json; charset=utf-8
66
    body:
67
      encoding: ASCII-8BIT
68
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
69
        10:58:23 UTC","updated_at":"2016-12-19 16:43:54 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":3,"name":"Testing","title":"Testing","users":[],"smart_proxies":[],"subnets":[{"id":1,"name":"Test
70
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
71
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
72
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
73
        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
74
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
75
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
76
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
77
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
78
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
79
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
80
        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
81
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
82
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
83
        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
84
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
85
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
86
        (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
87
        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
88
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
89
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
90
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
91
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
92
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
93
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
94
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
95
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
96
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
97
        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
98
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
99
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
100
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
101
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
102
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
103
        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
104
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
105
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
106
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
107
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
108
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
109
        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
110
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
111
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
112
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
113
        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
114
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
115
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
116
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
117
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
118
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
119
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
120
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
121
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
122
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
123
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
124
        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
125
        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
126
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
127
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
128
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
129
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
130
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
131
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
132
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
133
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
134
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
135
        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
136
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
137
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
138
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
139
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
140
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
141
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
142
        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
143
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
144
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
145
        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
146
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
147
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
148
        (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
149
        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
150
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
151
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
152
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
153
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
154
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
155
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
156
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
157
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
158
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
159
        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
160
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
161
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
162
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
163
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
164
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
165
        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
166
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
167
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
168
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
169
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
170
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
171
        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
172
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
173
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
174
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
175
        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
176
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
177
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
178
    http_version: 
179
  recorded_at: Mon, 19 Dec 2016 16:43:38 GMT
180
- request:
4 181
    method: get
5
    uri: https://admin:changeme@satlap.example.com/api/status
182
    uri: https://admin:changeme@devel.example.com:50083/api/status
6 183
    body:
7 184
      encoding: US-ASCII
8 185
      string: ''
......
14 191
      User-Agent:
15 192
      - Ruby
16 193
      Host:
17
      - satlap.example.com
194
      - devel.example.com:50083
18 195
  response:
19 196
    status:
20 197
      code: 200
21 198
      message: OK
22 199
    headers:
23 200
      Date:
24
      - Mon, 19 Dec 2016 16:43:54 GMT
201
      - Mon, 27 Mar 2017 18:36:48 GMT
25 202
      Server:
26 203
      - Apache/2.4.6 (Red Hat Enterprise Linux)
27 204
      X-Frame-Options:
......
31 208
      X-Content-Type-Options:
32 209
      - nosniff
33 210
      Foreman-Version:
34
      - 1.11.0.61
211
      - 1.11.0.54
35 212
      Foreman-Api-Version:
36 213
      - '2'
37 214
      Apipie-Checksum:
38
      - 9793fd9909c89b81479655ed560c4340
215
      - e1df2e8d43e22495b02a53b48e3b5298
39 216
      Cache-Control:
40 217
      - max-age=0, private, must-revalidate
41 218
      X-Request-Id:
42
      - 9e06abe3-744d-4563-be1d-977239bd6869
219
      - e65b8d4b-689f-49e7-8377-ef4b05007e1c
43 220
      X-Runtime:
44
      - '0.043884'
221
      - '0.056134'
45 222
      X-Powered-By:
46 223
      - Phusion Passenger 4.0.18
47
      Set-Cookie:
48
      - _session_id=cee7f022899ee225acef9f58c9424993; path=/; secure; HttpOnly
49 224
      Etag:
50
      - '"6ec0375dc2b106a955e67a8139b7d9c5"'
225
      - '"8e3341d0a4cc328651f7391aed11fef8"'
51 226
      Status:
52 227
      - 200 OK
53 228
      Content-Length:
54 229
      - '66'
55 230
      Content-Type:
56 231
      - application/json; charset=utf-8
232
      Set-Cookie:
233
      - _session_id=700372fefc777a74100470e7dcf4012e; path=/; secure; HttpOnly
57 234
    body:
58 235
      encoding: UTF-8
59
      string: '{"result":"ok","status":200,"version":"1.11.0.61","api_version":2}'
236
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
60 237
    http_version: 
61
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
238
  recorded_at: Mon, 27 Mar 2017 18:36:55 GMT
62 239
- request:
63 240
    method: get
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
241
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
65 242
    body:
66 243
      encoding: US-ASCII
67 244
      string: ''
......
73 250
      User-Agent:
74 251
      - Ruby
75 252
      Host:
76
      - satlap.example.com
253
      - devel.example.com:50083
77 254
  response:
78 255
    status:
79 256
      code: 200
80 257
      message: OK
81 258
    headers:
82 259
      Date:
83
      - Mon, 19 Dec 2016 16:43:54 GMT
260
      - Mon, 27 Mar 2017 18:36:48 GMT
84 261
      Server:
85 262
      - Apache/2.4.6 (Red Hat Enterprise Linux)
86 263
      X-Frame-Options:
......
90 267
      X-Content-Type-Options:
91 268
      - nosniff
92 269
      Foreman-Version:
93
      - 1.11.0.61
270
      - 1.11.0.54
94 271
      Foreman-Api-Version:
95 272
      - '2'
96 273
      Apipie-Checksum:
97
      - 9793fd9909c89b81479655ed560c4340
274
      - e1df2e8d43e22495b02a53b48e3b5298
98 275
      Cache-Control:
99 276
      - max-age=0, private, must-revalidate
100 277
      X-Request-Id:
101
      - 3676a58b-0652-4e2e-a9af-c7c6e46b94d0
278
      - 520f6d96-9fb1-4d99-ae6b-6c3bd8bbfbe8
102 279
      X-Runtime:
103
      - '0.038263'
280
      - '0.045782'
104 281
      X-Powered-By:
105 282
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=93fcb4082190fd544affe07b9c886e32; path=/; secure; HttpOnly
108 283
      Etag:
109
      - '"973c5d3fa1e5326b7762aec3d6a31dde-gzip"'
284
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
110 285
      Status:
111 286
      - 200 OK
112 287
      Vary:
113 288
      - Accept-Encoding
114 289
      Content-Length:
115
      - '1339'
290
      - '1338'
116 291
      Content-Type:
117 292
      - application/json; charset=utf-8
293
      Set-Cookie:
294
      - _session_id=5e1152dcfab46e5b9017f0dce9b2170d; path=/; secure; HttpOnly
118 295
    body:
119 296
      encoding: ASCII-8BIT
120 297
      string: !binary |-
......
133 310
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
134 311
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
135 312
        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==
313
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
314
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
315
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
316
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
317
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
318
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
319
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
320
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
321
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
322
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
323
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
324
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
325
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
326
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
327
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
328
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
329
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
330
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
331
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
332
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
333
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
334
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
335
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
336
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
337
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
338
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
339
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
340
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
341
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
342
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
343
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
344
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
345
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
346
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
347
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
348
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
349
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
350
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
351
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
352
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
353
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
354
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
355
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
356
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
357
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
358
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
359
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
360
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
361
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
362
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
363
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
364
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
365
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
366
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
367
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
368
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
369
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
370
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
371
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
195 372
    http_version: 
196
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
373
  recorded_at: Mon, 27 Mar 2017 18:36:55 GMT
197 374
- request:
198 375
    method: get
199
    uri: https://admin:changeme@satlap.example.com/api/locations?per_page=999999
376
    uri: https://admin:changeme@devel.example.com:50083/api/locations?per_page=999999
200 377
    body:
201 378
      encoding: US-ASCII
202 379
      string: ''
......
212 389
      Accept-Language:
213 390
      - en
214 391
      Host:
215
      - satlap.example.com
392
      - devel.example.com:50083
216 393
  response:
217 394
    status:
218 395
      code: 200
219 396
      message: OK
220 397
    headers:
221 398
      Date:
222
      - Mon, 19 Dec 2016 16:43:54 GMT
399
      - Mon, 27 Mar 2017 18:36:49 GMT
223 400
      Server:
224 401
      - Apache/2.4.6 (Red Hat Enterprise Linux)
225 402
      X-Frame-Options:
......
229 406
      X-Content-Type-Options:
230 407
      - nosniff
231 408
      Foreman-Version:
232
      - 1.11.0.61
409
      - 1.11.0.54
233 410
      Foreman-Api-Version:
234 411
      - '2'
235 412
      Apipie-Checksum:
236
      - 9793fd9909c89b81479655ed560c4340
413
      - e1df2e8d43e22495b02a53b48e3b5298
237 414
      Cache-Control:
238 415
      - max-age=0, private, must-revalidate
239 416
      X-Request-Id:
240
      - f2646e16-0adb-41e0-899f-fac07bbba9e8
417
      - 573b2832-f140-4007-91cf-5b89d8c987d5
241 418
      X-Runtime:
242
      - '0.046061'
419
      - '0.056347'
243 420
      X-Powered-By:
244 421
      - Phusion Passenger 4.0.18
245
      Set-Cookie:
246
      - _session_id=a510a2caeb9dcff68296c62b234184df; path=/; secure; HttpOnly
247 422
      Etag:
248
      - '"7cf41e79e0eb9c2cafbad18be7b049e0-gzip"'
423
      - '"1c6147e0f9f1ff8e61ce788914380066-gzip"'
249 424
      Status:
250 425
      - 200 OK
251 426
      Vary:
......
254 429
      - '1350'
255 430
      Content-Type:
256 431
      - application/json; charset=utf-8
432
      Set-Cookie:
433
      - _session_id=8ad8b6a9b257f29079c9b95a8bf8ed19; path=/; secure; HttpOnly
257 434
    body:
258 435
      encoding: ASCII-8BIT
259 436
      string: |
......
267 444
            "by": null,
268 445
            "order": null
269 446
          },
270
          "results": [{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-07 03:03:54 UTC","updated_at":"2016-12-07 03:03:54 UTC","id":2,"name":"Default Location","title":"Default Location","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-13 10:58:24 UTC","updated_at":"2016-12-19 16:39:57 UTC","id":4,"name":"Test East","title":"Test East","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-13 10:58:23 UTC","updated_at":"2016-12-19 16:42:45 UTC","id":3,"name":"Testing","title":"Testing","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-13 10:58:24 UTC","updated_at":"2016-12-19 16:39:57 UTC","id":5,"name":"Test North","title":"Test North","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-13 10:58:25 UTC","updated_at":"2016-12-19 16:39:58 UTC","id":6,"name":"Test South","title":"Test South","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-13 10:58:25 UTC","updated_at":"2016-12-19 16:39:58 UTC","id":7,"name":"Test West","title":"Test West","description":null}]
447
          "results": [{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:05 UTC","id":2,"name":"Default Location","title":"Default Location","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:37:24 UTC","updated_at":"2017-03-27 18:28:17 UTC","id":5,"name":"Test East","title":"Test East","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:37:23 UTC","updated_at":"2017-03-27 18:36:07 UTC","id":4,"name":"Testing","title":"Testing","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:37:24 UTC","updated_at":"2017-03-27 18:28:17 UTC","id":6,"name":"Test North","title":"Test North","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:37:24 UTC","updated_at":"2017-03-27 18:28:17 UTC","id":7,"name":"Test South","title":"Test South","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-12-01 19:37:25 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":8,"name":"Test West","title":"Test West","description":null}]
271 448
        }
272 449
    http_version: 
273
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
450
  recorded_at: Mon, 27 Mar 2017 18:36:55 GMT
274 451
- request:
275 452
    method: put
276
    uri: https://admin:changeme@satlap.example.com/api/locations/3
453
    uri: https://admin:changeme@devel.example.com:50083/api/locations/4
277 454
    body:
278 455
      encoding: UTF-8
279 456
      string: '{"location":{"parent_id":null}}'
......
291 468
      Content-Length:
292 469
      - '31'
293 470
      Host:
294
      - satlap.example.com
471
      - devel.example.com:50083
295 472
  response:
296 473
    status:
297 474
      code: 200
298 475
      message: OK
299 476
    headers:
300 477
      Date:
301
      - Mon, 19 Dec 2016 16:43:54 GMT
478
      - Mon, 27 Mar 2017 18:36:49 GMT
302 479
      Server:
303 480
      - Apache/2.4.6 (Red Hat Enterprise Linux)
304 481
      X-Frame-Options:
......
308 485
      X-Content-Type-Options:
309 486
      - nosniff
310 487
      Foreman-Version:
311
      - 1.11.0.61
488
      - 1.11.0.54
312 489
      Foreman-Api-Version:
313 490
      - '2'
314 491
      Apipie-Checksum:
315
      - 9793fd9909c89b81479655ed560c4340
492
      - e1df2e8d43e22495b02a53b48e3b5298
316 493
      Cache-Control:
317 494
      - max-age=0, private, must-revalidate
318 495
      X-Request-Id:
319
      - a86d0333-5075-40b3-a508-f8d2cafa1336
496
      - 97ddf7c4-5724-4473-ae77-5bce78e0116d
320 497
      X-Runtime:
321
      - '0.269079'
498
      - '0.220807'
322 499
      X-Powered-By:
323 500
      - Phusion Passenger 4.0.18
324
      Set-Cookie:
325
      - _session_id=825387be7828917adeb40994ef62198e; path=/; secure; HttpOnly
326
      - request_method=PUT; path=/
327 501
      Etag:
328
      - '"e328282a98e7b8b6424f589161ffcda4-gzip"'
502
      - '"b39a9810b47f2e45ef79325ded1f56e9-gzip"'
329 503
      Status:
330 504
      - 200 OK
331 505
      Vary:
......
334 508
      - '13345'
335 509
      Content-Type:
336 510
      - application/json; charset=utf-8
511
      Set-Cookie:
512
      - _session_id=932a1f81ad2794de55aeb37c77395c21; path=/; secure; HttpOnly
513
      - request_method=PUT; path=/
337 514
    body:
338 515
      encoding: ASCII-8BIT
339
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
340
        10:58:23 UTC","updated_at":"2016-12-19 16:43:54 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":3,"name":"Testing","title":"Testing","users":[],"smart_proxies":[],"subnets":[{"id":1,"name":"Test
516
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-01
517
        19:37:23 UTC","updated_at":"2017-03-27 18:36:49 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":4,"name":"Testing","title":"Testing","users":[],"smart_proxies":[],"subnets":[{"id":1,"name":"Test
341 518
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
342 519
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
343 520
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
......
383 560
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
384 561
        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
385 562
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
386
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
387
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
388
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
389
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
390
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
391
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
392
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
393
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
394
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
395
        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
396
        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
397
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
398
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
399
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
400
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
401
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
402
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
403
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
563
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
564
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
565
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
566
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
567
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
568
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
569
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
570
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
571
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
572
        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
573
        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
574
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
575
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
576
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
577
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
578
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
579
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
580
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
404 581
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
405 582
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
406 583
        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
......
447 624
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
448 625
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
449 626
    http_version: 
450
  recorded_at: Mon, 19 Dec 2016 16:43:38 GMT
627
  recorded_at: Mon, 27 Mar 2017 18:36:55 GMT
451 628
- request:
452 629
    method: put
453
    uri: https://admin:changeme@satlap.example.com/api/locations/4
630
    uri: https://admin:changeme@devel.example.com:50083/api/locations/5
454 631
    body:
455 632
      encoding: UTF-8
456 633
      string: '{"location":{"parent_id":null}}'
......
468 645
      Content-Length:
469 646
      - '31'
470 647
      Host:
471
      - satlap.example.com
648
      - devel.example.com:50083
472 649
  response:
473 650
    status:
474 651
      code: 200
475 652
      message: OK
476 653
    headers:
477 654
      Date:
478
      - Mon, 19 Dec 2016 16:43:54 GMT
655
      - Mon, 27 Mar 2017 18:36:49 GMT
479 656
      Server:
480 657
      - Apache/2.4.6 (Red Hat Enterprise Linux)
481 658
      X-Frame-Options:
......
485 662
      X-Content-Type-Options:
486 663
      - nosniff
487 664
      Foreman-Version:
488
      - 1.11.0.61
665
      - 1.11.0.54
489 666
      Foreman-Api-Version:
490 667
      - '2'
491 668
      Apipie-Checksum:
492
      - 9793fd9909c89b81479655ed560c4340
669
      - e1df2e8d43e22495b02a53b48e3b5298
493 670
      Cache-Control:
494 671
      - max-age=0, private, must-revalidate
495 672
      X-Request-Id:
496
      - cafc7788-9483-4684-b59a-a65ad1fc5ff4
673
      - d862cf5c-cd39-4dad-8aa9-591e92e45da3
497 674
      X-Runtime:
498
      - '0.270754'
675
      - '0.270247'
499 676
      X-Powered-By:
500 677
      - Phusion Passenger 4.0.18
501
      Set-Cookie:
502
      - _session_id=92be87e01dc4203e24bcf6d0164ae974; path=/; secure; HttpOnly
503
      - request_method=PUT; path=/
504 678
      Etag:
505
      - '"b3275c4984148c5d4c531fd4f6605ba2-gzip"'
679
      - '"30cd043df99998a99de12956bfea7ae3-gzip"'
506 680
      Status:
507 681
      - 200 OK
508 682
      Vary:
......
511 685
      - '13283'
512 686
      Content-Type:
513 687
      - application/json; charset=utf-8
688
      Set-Cookie:
689
      - _session_id=326d9eaf8b241646a48b5a22b6f523e4; path=/; secure; HttpOnly
690
      - request_method=PUT; path=/
514 691
    body:
515 692
      encoding: ASCII-8BIT
516
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
517
        10:58:24 UTC","updated_at":"2016-12-19 16:43:54 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":4,"name":"Test
693
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-01
694
        19:37:24 UTC","updated_at":"2017-03-27 18:36:49 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":5,"name":"Test
518 695
        East","title":"Test East","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
519 696
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
520 697
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
......
560 737
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
561 738
        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
562 739
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
563
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
564
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
565
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
566
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
567
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
568
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
569
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
570
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
571
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
572
        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
573
        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
574
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
575
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
576
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
577
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
578
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
579
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
580
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
740
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
741
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
742
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
743
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
744
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
745
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
746
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
747
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
748
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
749
        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
750
        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
751
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
752
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
753
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
754
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
755
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
756
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
757
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
581 758
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
582 759
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
583 760
        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
......
624 801
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
625 802
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
626 803
    http_version: 
627
  recorded_at: Mon, 19 Dec 2016 16:43:38 GMT
804
  recorded_at: Mon, 27 Mar 2017 18:36:55 GMT
628 805
- request:
629 806
    method: put
630
    uri: https://admin:changeme@satlap.example.com/api/locations/5
807
    uri: https://admin:changeme@devel.example.com:50083/api/locations/6
631 808
    body:
632 809
      encoding: UTF-8
633 810
      string: '{"location":{"parent_id":null}}'
......
645 822
      Content-Length:
646 823
      - '31'
647 824
      Host:
648
      - satlap.example.com
825
      - devel.example.com:50083
649 826
  response:
650 827
    status:
651 828
      code: 200
652 829
      message: OK
653 830
    headers:
654 831
      Date:
655
      - Mon, 19 Dec 2016 16:43:54 GMT
832
      - Mon, 27 Mar 2017 18:36:49 GMT
656 833
      Server:
657 834
      - Apache/2.4.6 (Red Hat Enterprise Linux)
658 835
      X-Frame-Options:
......
662 839
      X-Content-Type-Options:
663 840
      - nosniff
664 841
      Foreman-Version:
665
      - 1.11.0.61
842
      - 1.11.0.54
666 843
      Foreman-Api-Version:
667 844
      - '2'
668 845
      Apipie-Checksum:
669
      - 9793fd9909c89b81479655ed560c4340
846
      - e1df2e8d43e22495b02a53b48e3b5298
670 847
      Cache-Control:
671 848
      - max-age=0, private, must-revalidate
672 849
      X-Request-Id:
673
      - 0b307064-b714-401c-a6c0-86014f8e9454
850
      - 3a269ece-dead-4242-ba78-592dc74427c7
674 851
      X-Runtime:
675
      - '0.298311'
852
      - '0.243876'
676 853
      X-Powered-By:
677 854
      - Phusion Passenger 4.0.18
678
      Set-Cookie:
679
      - _session_id=090c2c77565179c1e8812f242ee9aed2; path=/; secure; HttpOnly
680
      - request_method=PUT; path=/
681 855
      Etag:
682
      - '"b1227d67c8f1d9e4242ddd73d689958c-gzip"'
856
      - '"2f53971183988f49552128f372cff2a8-gzip"'
683 857
      Status:
684 858
      - 200 OK
685 859
      Vary:
......
688 862
      - '13285'
689 863
      Content-Type:
690 864
      - application/json; charset=utf-8
865
      Set-Cookie:
866
      - _session_id=00fe5eabac1cc557a85a2f6782e7d472; path=/; secure; HttpOnly
867
      - request_method=PUT; path=/
691 868
    body:
692 869
      encoding: ASCII-8BIT
693
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
694
        10:58:24 UTC","updated_at":"2016-12-19 16:43:54 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":5,"name":"Test
870
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-01
871
        19:37:24 UTC","updated_at":"2017-03-27 18:36:49 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":6,"name":"Test
695 872
        North","title":"Test North","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
696 873
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
697 874
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
......
737 914
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
738 915
        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
739 916
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
740
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
741
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
742
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
743
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
744
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
745
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
746
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
747
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
748
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
749
        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
750
        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
751
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
752
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
753
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
754
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
755
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
756
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
757
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
917
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
918
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
919
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
920
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
921
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
922
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
923
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
924
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
925
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
926
        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
927
        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
928
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
929
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
930
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
931
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
932
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
933
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
934
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
758 935
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
759 936
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
760 937
        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
......
801 978
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
802 979
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
803 980
    http_version: 
804
  recorded_at: Mon, 19 Dec 2016 16:43:38 GMT
981
  recorded_at: Mon, 27 Mar 2017 18:36:56 GMT
805 982
- request:
806 983
    method: put
807
    uri: https://admin:changeme@satlap.example.com/api/locations/6
984
    uri: https://admin:changeme@devel.example.com:50083/api/locations/7
808 985
    body:
809 986
      encoding: UTF-8
810 987
      string: '{"location":{"parent_id":null}}'
......
822 999
      Content-Length:
823 1000
      - '31'
824 1001
      Host:
825
      - satlap.example.com
1002
      - devel.example.com:50083
826 1003
  response:
827 1004
    status:
828 1005
      code: 200
829 1006
      message: OK
830 1007
    headers:
831 1008
      Date:
832
      - Mon, 19 Dec 2016 16:43:55 GMT
1009
      - Mon, 27 Mar 2017 18:36:49 GMT
833 1010
      Server:
834 1011
      - Apache/2.4.6 (Red Hat Enterprise Linux)
835 1012
      X-Frame-Options:
......
839 1016
      X-Content-Type-Options:
840 1017
      - nosniff
841 1018
      Foreman-Version:
842
      - 1.11.0.61
1019
      - 1.11.0.54
843 1020
      Foreman-Api-Version:
844 1021
      - '2'
845 1022
      Apipie-Checksum:
846
      - 9793fd9909c89b81479655ed560c4340
1023
      - e1df2e8d43e22495b02a53b48e3b5298
847 1024
      Cache-Control:
848 1025
      - max-age=0, private, must-revalidate
849 1026
      X-Request-Id:
850
      - 8a230474-88aa-4f8d-a468-98910c673288
1027
      - 7ef27a6a-7edd-48bd-a766-fb102f666509
851 1028
      X-Runtime:
852
      - '0.350845'
1029
      - '0.253552'
853 1030
      X-Powered-By:
854 1031
      - Phusion Passenger 4.0.18
855
      Set-Cookie:
856
      - _session_id=5f0cd6aa8ff003de4f287e3a1e822f4d; path=/; secure; HttpOnly
857
      - request_method=PUT; path=/
858 1032
      Etag:
859
      - '"b7bff135718b23c9b48b783bc3ecd8b7-gzip"'
1033
      - '"909bdd697a73a2a5e1706e829679d921-gzip"'
860 1034
      Status:
861 1035
      - 200 OK
862 1036
      Vary:
......
865 1039
      - '13285'
866 1040
      Content-Type:
867 1041
      - application/json; charset=utf-8
1042
      Set-Cookie:
1043
      - _session_id=75e09d5efbc4ececce7c3e0555eb8cc9; path=/; secure; HttpOnly
1044
      - request_method=PUT; path=/
868 1045
    body:
869 1046
      encoding: ASCII-8BIT
870
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
871
        10:58:25 UTC","updated_at":"2016-12-19 16:43:55 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":6,"name":"Test
1047
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-01
1048
        19:37:24 UTC","updated_at":"2017-03-27 18:36:50 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":7,"name":"Test
872 1049
        South","title":"Test South","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
873 1050
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
874 1051
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
......
914 1091
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
915 1092
        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
916 1093
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
917
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
918
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
919
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
920
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
921
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
922
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
923
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
924
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
925
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
926
        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
927
        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
928
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
929
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
930
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
931
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
932
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
933
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
934
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
1094
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
1095
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
1096
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
1097
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
1098
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1099
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
1100
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
1101
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1102
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
1103
        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
1104
        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
1105
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
1106
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1107
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
1108
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
1109
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1110
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
1111
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
935 1112
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
936 1113
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
937 1114
        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
......
978 1155
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
979 1156
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
980 1157
    http_version: 
981
  recorded_at: Mon, 19 Dec 2016 16:43:39 GMT
1158
  recorded_at: Mon, 27 Mar 2017 18:36:56 GMT
982 1159
- request:
983 1160
    method: put
984
    uri: https://admin:changeme@satlap.example.com/api/locations/7
1161
    uri: https://admin:changeme@devel.example.com:50083/api/locations/8
985 1162
    body:
986 1163
      encoding: UTF-8
987 1164
      string: '{"location":{"parent_id":null}}'
......
999 1176
      Content-Length:
1000 1177
      - '31'
1001 1178
      Host:
1002
      - satlap.example.com
1179
      - devel.example.com:50083
1003 1180
  response:
1004 1181
    status:
1005 1182
      code: 200
1006 1183
      message: OK
1007 1184
    headers:
1008 1185
      Date:
1009
      - Mon, 19 Dec 2016 16:43:55 GMT
1186
      - Mon, 27 Mar 2017 18:36:50 GMT
1010 1187
      Server:
1011 1188
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1012 1189
      X-Frame-Options:
......
1016 1193
      X-Content-Type-Options:
1017 1194
      - nosniff
1018 1195
      Foreman-Version:
1019
      - 1.11.0.61
1196
      - 1.11.0.54
1020 1197
      Foreman-Api-Version:
1021 1198
      - '2'
1022 1199
      Apipie-Checksum:
1023
      - 9793fd9909c89b81479655ed560c4340
1200
      - e1df2e8d43e22495b02a53b48e3b5298
1024 1201
      Cache-Control:
1025 1202
      - max-age=0, private, must-revalidate
1026 1203
      X-Request-Id:
1027
      - f636d660-4cff-4088-97c8-f829f7ba0e19
1204
      - 65d4787f-85c5-48fe-86ee-2f24540a0ce5
1028 1205
      X-Runtime:
1029
      - '0.278466'
1206
      - '0.251343'
1030 1207
      X-Powered-By:
1031 1208
      - Phusion Passenger 4.0.18
1032
      Set-Cookie:
1033
      - _session_id=34e3f1a83565423d9705dc8ae5af693c; path=/; secure; HttpOnly
1034
      - request_method=PUT; path=/
1035 1209
      Etag:
1036
      - '"a7b72b23dd13cf7724ed8a7fbd84ba25-gzip"'
1210
      - '"8c3a1912678af9183bdc57465f81f6f3-gzip"'
1037 1211
      Status:
1038 1212
      - 200 OK
1039 1213
      Vary:
......
1042 1216
      - '13283'
1043 1217
      Content-Type:
1044 1218
      - application/json; charset=utf-8
1219
      Set-Cookie:
1220
      - _session_id=4e747a59f1f59562f42338bd54a14b0e; path=/; secure; HttpOnly
1221
      - request_method=PUT; path=/
1045 1222
    body:
1046 1223
      encoding: ASCII-8BIT
1047
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-13
1048
        10:58:25 UTC","updated_at":"2016-12-19 16:43:55 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":7,"name":"Test
1224
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-12-01
1225
        19:37:25 UTC","updated_at":"2017-03-27 18:36:50 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
1049 1226
        West","title":"Test West","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
1050 1227
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
1051 1228
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
......
1091 1268
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
1092 1269
        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
1093 1270
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
1094
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
1095
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
1096
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
1097
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
1098
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
1099
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
1100
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
1101
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
1102
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
1103
        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
1104
        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
1105
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
1106
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
1107
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
1108
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
1109
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
1110
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
1111
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
1271
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-01
1272
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire
1273
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-01 19:25:07
1274
        UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"AutoYaST entire virtual
1275
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1276
        19:25:07 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-01
1277
        19:25:07 UTC","updated_at":"2016-12-01 19:25:07 UTC","name":"CoreOS default
1278
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-01 19:25:07 UTC","updated_at":"2016-12-01
1279
        19:25:07 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-01
1280
        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
1281
        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
1282
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Junos default
1283
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1284
        19:25:08 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-01
1285
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"NX-OS default
1286
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-01 19:25:08 UTC","updated_at":"2016-12-01
1287
        19:25:08 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-01
1288
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
1112 1289
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
1113 1290
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
1114 1291
        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
......
1155 1332
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
1156 1333
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
1157 1334
    http_version: 
1158
  recorded_at: Mon, 19 Dec 2016 16:43:39 GMT
1335
  recorded_at: Mon, 27 Mar 2017 18:36:56 GMT
1159 1336
recorded_with: VCR 3.0.3

Also available in: Unified diff