Project

General

Profile

Download (62.6 KB) Statistics
| Branch: | Tag: | Revision:

hammer-cli-csv / test / fixtures / vcr_cassettes / setup / setup_subscriptions / setup.yml @ f5d21adb

1 c06f1783 Tom McKay
---
2
http_interactions:
3
- request:
4
    method: get
5 f5d21adb Tom McKay
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
6 c06f1783 Tom McKay
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11 f5d21adb Tom McKay
      - application/json;version=2
12
      Accept-Encoding:
13
      - gzip, deflate
14 c06f1783 Tom McKay
      User-Agent:
15 f5d21adb Tom McKay
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
16
      Content-Type:
17
      - application/json
18
      Host:
19
      - katello.example.com:50191
20 c06f1783 Tom McKay
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25 f370cc85 Tom McKay
      Date:
26 f5d21adb Tom McKay
      - Mon, 12 Sep 2016 15:40:24 GMT
27 f370cc85 Tom McKay
      Server:
28
      - Apache/2.4.6 (CentOS)
29 c06f1783 Tom McKay
      X-Frame-Options:
30
      - SAMEORIGIN
31
      X-Xss-Protection:
32
      - 1; mode=block
33
      X-Content-Type-Options:
34
      - nosniff
35
      Foreman-Version:
36 f370cc85 Tom McKay
      - 1.14.0-develop
37 c06f1783 Tom McKay
      Foreman-Api-Version:
38
      - '2'
39
      Content-Type:
40
      - application/json; charset=utf-8
41
      Apipie-Checksum:
42 f370cc85 Tom McKay
      - 9544abef9cf8343005f07ed8c9f1f8e7
43 c06f1783 Tom McKay
      Etag:
44 f5d21adb Tom McKay
      - W/"253ac9fa8c0d829e51da8f57b05de99d-gzip"
45 c06f1783 Tom McKay
      Cache-Control:
46
      - max-age=0, private, must-revalidate
47
      X-Request-Id:
48 f5d21adb Tom McKay
      - fd352d8f-a41f-4caa-bc21-dfe57de89f31
49 c06f1783 Tom McKay
      X-Runtime:
50 f5d21adb Tom McKay
      - '2.694657'
51 f370cc85 Tom McKay
      Via:
52
      - 1.1 katello.example.com:50191
53
      Vary:
54
      - Accept-Encoding
55
      Content-Length:
56 f5d21adb Tom McKay
      - '21851'
57 f370cc85 Tom McKay
      Set-Cookie:
58 f5d21adb Tom McKay
      - _session_id=5f61dc21f88e42483446199bbc08c9c4; path=/; HttpOnly
59 c06f1783 Tom McKay
    body:
60 f5d21adb Tom McKay
      encoding: ASCII-8BIT
61
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808156eb30a60157024c785205e2","key":"testcorp","displayName":"Test
62
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff80808156eb30a6015704818a920660","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
63
        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+y1BpfeYA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XJhdGlvbnMgQXV0aG9yaXR5MSQwIgYJKoZIhvcN\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
65
        CERTIFICATE-----\n","id":"ff80808156eb30a6015704818a91065f","serial":{"id":8261278538809906032,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":8261278538809906032,"created":"2016-09-07T11:56:21.009+0000","updated":"2016-09-07T11:56:21.009+0000"},"created":"2016-09-07T11:56:21.009+0000","updated":"2016-09-07T11:56:21.009+0000"},"type":{"id":"ff80808156eb30a60156ebcdc4930005","label":"satellite","manifest":true,"created":"2016-09-02T16:49:06.195+0000","updated":"2016-09-02T16:49:06.195+0000"},"ownerId":"ff80808156eb30a60157024c785205e2","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-09-07T11:56:21.010+0000","updated":"2016-09-07T11:56:21.010+0000"},"logLevel":null,"href":"/owners/testcorp","created":"2016-09-07T01:39:08.498+0000","updated":"2016-09-07T11:56:21.159+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
66
        today for a better tomorrow","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07
67
        01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
68
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
69
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
70
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
71
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
72
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
73
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
74
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
75
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
76
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
77
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
78
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
79
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
80
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
81
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
82
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
83
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
84
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
85
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
86
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
87
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
88
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
89
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
90
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
91
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
92
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
93
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
94
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
95
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
96
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
97
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
98
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
99
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
100
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
101
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
102
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
103
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
104
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
105
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
106
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
107
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
108
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
109
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
110
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
111
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
112
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
113
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
114
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
115
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
116
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
117
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
118
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
119
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
120
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
121
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
122
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"XenServer default","id":85},{"os_family":"Debian","created_at":"2016-09-02
123
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
124
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
125
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
126
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
127
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
128
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
129
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
130
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
131
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
132
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Jumpstart default","id":78},{"os_family":"Freebsd","created_at":"2016-09-02
133
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"FreeBSD","id":77},{"os_family":"Coreos","created_at":"2016-09-02
134
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
135
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
136
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
137
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
138
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
139
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
140
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
141
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
142
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
143
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
144
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
145
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
146
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
147
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
148
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
149
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
150
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
151
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
152
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
153
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
154
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
155
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
156
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
157
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
158
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
159
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
160
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
161
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
162
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
163
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
164
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
165
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
166
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
167
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
168
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
169
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
170
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
171
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
172
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
173
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
174
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
175
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
176
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
177
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
178
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
179
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
180
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
181
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
182
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
183
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
184
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
185
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
186
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
187
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
188
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
189
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
190
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
191
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":4,"library_id":7}'
192 c06f1783 Tom McKay
    http_version: 
193 f5d21adb Tom McKay
  recorded_at: Mon, 12 Sep 2016 15:40:27 GMT
194 c06f1783 Tom McKay
- request:
195
    method: get
196 f5d21adb Tom McKay
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/subscriptions?per_page=999999
197 c06f1783 Tom McKay
    body:
198
      encoding: US-ASCII
199
      string: ''
200
    headers:
201
      Accept:
202 f5d21adb Tom McKay
      - application/json;version=2
203
      Accept-Encoding:
204
      - gzip, deflate
205 c06f1783 Tom McKay
      User-Agent:
206 f5d21adb Tom McKay
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
207
      Content-Type:
208
      - application/json
209
      Host:
210
      - katello.example.com:50191
211 c06f1783 Tom McKay
  response:
212
    status:
213
      code: 200
214
      message: OK
215
    headers:
216 f370cc85 Tom McKay
      Date:
217 f5d21adb Tom McKay
      - Mon, 12 Sep 2016 15:40:26 GMT
218 f370cc85 Tom McKay
      Server:
219
      - Apache/2.4.6 (CentOS)
220 c06f1783 Tom McKay
      X-Frame-Options:
221
      - SAMEORIGIN
222
      X-Xss-Protection:
223
      - 1; mode=block
224
      X-Content-Type-Options:
225
      - nosniff
226
      Foreman-Version:
227 f370cc85 Tom McKay
      - 1.14.0-develop
228 c06f1783 Tom McKay
      Foreman-Api-Version:
229
      - '2'
230
      Content-Type:
231
      - application/json; charset=utf-8
232
      Apipie-Checksum:
233 f370cc85 Tom McKay
      - 9544abef9cf8343005f07ed8c9f1f8e7
234 c06f1783 Tom McKay
      Etag:
235 f5d21adb Tom McKay
      - W/"22309c664532ad9ee442f845849cabec-gzip"
236 c06f1783 Tom McKay
      Cache-Control:
237
      - max-age=0, private, must-revalidate
238
      X-Request-Id:
239 f5d21adb Tom McKay
      - 04f4189b-6ce9-45ea-9928-75b72a7acdc6
240 c06f1783 Tom McKay
      X-Runtime:
241 f5d21adb Tom McKay
      - '0.824280'
242 f370cc85 Tom McKay
      Via:
243
      - 1.1 katello.example.com:50191
244
      Vary:
245
      - Accept-Encoding
246
      Content-Length:
247 f5d21adb Tom McKay
      - '1348'
248 f370cc85 Tom McKay
      Set-Cookie:
249 f5d21adb Tom McKay
      - _session_id=31ffa02d4dd6cde01aae36c75fb2bf5c; path=/; HttpOnly
250
    body:
251
      encoding: ASCII-8BIT
252
      string: |
253
        {"organization":{},"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":19,"cp_id":"ff80808156eb30a6015704818e8706e1","subscription_id":11,"name":"Red Hat Enterprise Linux for Virtual Datacenters, Standard","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999110,"support_level":"Standard","product_id":"RH00002","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters, Standard","unmapped_guest":false,"virt_only":false},{"id":21,"cp_id":"ff80808156eb30a6015704818f330733","subscription_id":12,"name":"Red Hat Enterprise Linux for Virtual Datacenters, Premium","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999116,"support_level":"Premium","product_id":"RH00001","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters, Premium","unmapped_guest":false,"virt_only":false}]}
254
    http_version: 
255
  recorded_at: Mon, 12 Sep 2016 15:40:29 GMT
256
- request:
257
    method: get
258
    uri: https://admin:changeme@katello.example.com:50218/api/status
259
    body:
260
      encoding: US-ASCII
261
      string: ''
262
    headers:
263
      Accept-Encoding:
264
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
265
      Accept:
266
      - "*/*"
267
      User-Agent:
268
      - Ruby
269
  response:
270
    status:
271
      code: 200
272
      message: 'OK '
273
    headers:
274
      Date:
275
      - Fri, 30 Sep 2016 15:40:11 GMT
276
      Server:
277
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
278
      Foreman-Version:
279
      - 1.14.0-develop
280
      Foreman-Api-Version:
281
      - '2'
282
      Content-Type:
283
      - application/json; charset=utf-8
284
      Apipie-Checksum:
285
      - 68d37bf606b9a03df6e1e749d6054009
286
      Etag:
287
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
288
      Cache-Control:
289
      - max-age=0, private, must-revalidate
290
      X-Request-Id:
291
      - 6495c008-c2e6-4030-99ca-f874d5abdce7
292
      X-Runtime:
293
      - '0.063115'
294
      Content-Security-Policy:
295
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
296
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
297
        ''self''; style-src ''unsafe-inline'' ''self'''
298
      Strict-Transport-Security:
299
      - max-age=631152000; includeSubdomains
300
      X-Content-Type-Options:
301
      - nosniff
302
      X-Download-Options:
303
      - noopen
304
      X-Frame-Options:
305
      - sameorigin
306
      X-Permitted-Cross-Domain-Policies:
307
      - none
308
      X-Xss-Protection:
309
      - 1; mode=block
310
      Via:
311
      - 1.1 testing.example.com:50218
312
      Vary:
313
      - Accept-Encoding
314
      Content-Length:
315
      - '81'
316
      Set-Cookie:
317
      - _session_id=e0bb9e4d97611f5612401cee55ba54b0; path=/; HttpOnly
318
    body:
319
      encoding: UTF-8
320
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
321
    http_version: 
322
  recorded_at: Fri, 30 Sep 2016 15:40:12 GMT
323
- request:
324
    method: get
325
    uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
326
    body:
327
      encoding: US-ASCII
328
      string: ''
329
    headers:
330
      Accept-Encoding:
331
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
332
      Accept:
333
      - "*/*"
334
      User-Agent:
335
      - Ruby
336
  response:
337
    status:
338
      code: 200
339
      message: 'OK '
340
    headers:
341
      Date:
342
      - Fri, 30 Sep 2016 15:40:11 GMT
343
      Server:
344
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
345
      Foreman-Version:
346
      - 1.14.0-develop
347
      Foreman-Api-Version:
348
      - '2'
349
      Content-Type:
350
      - application/json; charset=utf-8
351
      Apipie-Checksum:
352
      - 68d37bf606b9a03df6e1e749d6054009
353
      Etag:
354
      - W/"8f0162a4d2fd78df40b7f264aee93d64-gzip"
355
      Cache-Control:
356
      - max-age=0, private, must-revalidate
357
      X-Request-Id:
358
      - 68ed4e1f-8060-425b-ba07-722a30ab686a
359
      X-Runtime:
360
      - '0.067810'
361
      Content-Security-Policy:
362
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
363
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
364
        ''self''; style-src ''unsafe-inline'' ''self'''
365
      Strict-Transport-Security:
366
      - max-age=631152000; includeSubdomains
367
      X-Content-Type-Options:
368
      - nosniff
369
      X-Download-Options:
370
      - noopen
371
      X-Frame-Options:
372
      - sameorigin
373
      X-Permitted-Cross-Domain-Policies:
374
      - none
375
      X-Xss-Protection:
376
      - 1; mode=block
377
      Via:
378
      - 1.1 testing.example.com:50218
379
      Vary:
380
      - Accept-Encoding
381
      Content-Length:
382
      - '565'
383
      Set-Cookie:
384
      - _session_id=ea8cf838ed73f23e356c7035169bced5; path=/; HttpOnly
385 c06f1783 Tom McKay
    body:
386
      encoding: ASCII-8BIT
387
      string: !binary |-
388 f370cc85 Tom McKay
        ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
389 c06f1783 Tom McKay
        CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
390
        OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
391
        InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
392
        ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
393
        b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
394
        d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
395
        YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
396
        bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
397
        b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
398
        a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
399
        Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
400
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
401
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
402
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
403 f5d21adb Tom McKay
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMiJ9LHsiaWQiOiJmb3JlbWFu
404 f370cc85 Tom McKay
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
405
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
406
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
407
        IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
408
        b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
409
        ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
410
        ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
411
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
412 f5d21adb Tom McKay
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
413 c06f1783 Tom McKay
    http_version: 
414 f5d21adb Tom McKay
  recorded_at: Fri, 30 Sep 2016 15:40:12 GMT
415 c06f1783 Tom McKay
- request:
416
    method: get
417 f5d21adb Tom McKay
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999
418 c06f1783 Tom McKay
    body:
419
      encoding: US-ASCII
420
      string: ''
421
    headers:
422
      Accept:
423
      - application/json;version=2
424
      Accept-Encoding:
425
      - gzip, deflate
426 f370cc85 Tom McKay
      User-Agent:
427
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
428 c06f1783 Tom McKay
      Content-Type:
429
      - application/json
430 f5d21adb Tom McKay
      Accept-Language:
431
      - en
432 f370cc85 Tom McKay
      Host:
433 f5d21adb Tom McKay
      - katello.example.com:50218
434 c06f1783 Tom McKay
  response:
435
    status:
436
      code: 200
437 f5d21adb Tom McKay
      message: 'OK '
438 c06f1783 Tom McKay
    headers:
439 f370cc85 Tom McKay
      Date:
440 f5d21adb Tom McKay
      - Fri, 30 Sep 2016 15:40:11 GMT
441 f370cc85 Tom McKay
      Server:
442 f5d21adb Tom McKay
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
443 c06f1783 Tom McKay
      Foreman-Version:
444 f370cc85 Tom McKay
      - 1.14.0-develop
445 c06f1783 Tom McKay
      Foreman-Api-Version:
446
      - '2'
447
      Content-Type:
448
      - application/json; charset=utf-8
449
      Apipie-Checksum:
450 f5d21adb Tom McKay
      - 68d37bf606b9a03df6e1e749d6054009
451 c06f1783 Tom McKay
      Etag:
452 f5d21adb Tom McKay
      - W/"758d82fead8e0302548ed1a70bdf6bca-gzip"
453 c06f1783 Tom McKay
      Cache-Control:
454
      - max-age=0, private, must-revalidate
455
      X-Request-Id:
456 f5d21adb Tom McKay
      - 10301bde-4924-4486-b8ef-930c05f14c6d
457 c06f1783 Tom McKay
      X-Runtime:
458 f5d21adb Tom McKay
      - '0.083312'
459
      Content-Security-Policy:
460
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
461
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
462
        ''self''; style-src ''unsafe-inline'' ''self'''
463
      Strict-Transport-Security:
464
      - max-age=631152000; includeSubdomains
465
      X-Content-Type-Options:
466
      - nosniff
467
      X-Download-Options:
468
      - noopen
469
      X-Frame-Options:
470
      - sameorigin
471
      X-Permitted-Cross-Domain-Policies:
472
      - none
473
      X-Xss-Protection:
474
      - 1; mode=block
475 f370cc85 Tom McKay
      Via:
476 f5d21adb Tom McKay
      - 1.1 testing.example.com:50218
477 f370cc85 Tom McKay
      Vary:
478
      - Accept-Encoding
479
      Content-Length:
480 f5d21adb Tom McKay
      - '563'
481 f370cc85 Tom McKay
      Set-Cookie:
482 f5d21adb Tom McKay
      - _session_id=9abf44b82978e6b79fd2bf9d480281f6; path=/; HttpOnly
483 c06f1783 Tom McKay
    body:
484 f370cc85 Tom McKay
      encoding: ASCII-8BIT
485 c06f1783 Tom McKay
      string: |
486
        {
487 f5d21adb Tom McKay
          "total": 2,
488
          "subtotal": 2,
489 c06f1783 Tom McKay
          "page": 1,
490
          "per_page": 999999,
491
          "search": null,
492
          "sort": {
493
            "by": null,
494
            "order": null
495
          },
496 f5d21adb Tom McKay
          "results": [{"label":"Default_Organization","created_at":"2016-09-30 14:47:05 UTC","updated_at":"2016-09-30 14:47:05 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
497 c06f1783 Tom McKay
        }
498
    http_version: 
499 f5d21adb Tom McKay
  recorded_at: Fri, 30 Sep 2016 15:40:12 GMT
500 c06f1783 Tom McKay
- request:
501
    method: get
502 f5d21adb Tom McKay
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
503 c06f1783 Tom McKay
    body:
504
      encoding: US-ASCII
505
      string: ''
506
    headers:
507
      Accept:
508
      - application/json;version=2
509
      Accept-Encoding:
510
      - gzip, deflate
511 f370cc85 Tom McKay
      User-Agent:
512
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
513 c06f1783 Tom McKay
      Content-Type:
514
      - application/json
515 f5d21adb Tom McKay
      Accept-Language:
516
      - en
517 f370cc85 Tom McKay
      Host:
518 f5d21adb Tom McKay
      - katello.example.com:50218
519 c06f1783 Tom McKay
  response:
520
    status:
521
      code: 200
522 f5d21adb Tom McKay
      message: 'OK '
523 c06f1783 Tom McKay
    headers:
524 f370cc85 Tom McKay
      Date:
525 f5d21adb Tom McKay
      - Fri, 30 Sep 2016 15:40:11 GMT
526 f370cc85 Tom McKay
      Server:
527 f5d21adb Tom McKay
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
528 c06f1783 Tom McKay
      Foreman-Version:
529 f370cc85 Tom McKay
      - 1.14.0-develop
530 c06f1783 Tom McKay
      Foreman-Api-Version:
531
      - '2'
532
      Content-Type:
533
      - application/json; charset=utf-8
534
      Apipie-Checksum:
535 f5d21adb Tom McKay
      - 68d37bf606b9a03df6e1e749d6054009
536 c06f1783 Tom McKay
      Etag:
537 f5d21adb Tom McKay
      - W/"6a598bc5d5d61c73496d98f399fce58f-gzip"
538 c06f1783 Tom McKay
      Cache-Control:
539
      - max-age=0, private, must-revalidate
540
      X-Request-Id:
541 f5d21adb Tom McKay
      - f54f61f3-a8c7-426d-b261-f2250e2f66b8
542 c06f1783 Tom McKay
      X-Runtime:
543 f5d21adb Tom McKay
      - '0.369487'
544
      Content-Security-Policy:
545
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
546
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
547
        ''self''; style-src ''unsafe-inline'' ''self'''
548
      Strict-Transport-Security:
549
      - max-age=631152000; includeSubdomains
550
      X-Content-Type-Options:
551
      - nosniff
552
      X-Download-Options:
553
      - noopen
554
      X-Frame-Options:
555
      - sameorigin
556
      X-Permitted-Cross-Domain-Policies:
557
      - none
558
      X-Xss-Protection:
559
      - 1; mode=block
560 f370cc85 Tom McKay
      Via:
561 f5d21adb Tom McKay
      - 1.1 testing.example.com:50218
562 f370cc85 Tom McKay
      Vary:
563
      - Accept-Encoding
564
      Content-Length:
565 f5d21adb Tom McKay
      - '21677'
566 f370cc85 Tom McKay
      Set-Cookie:
567 f5d21adb Tom McKay
      - _session_id=63752383ed17bdcf6fcdfa7f765afbb1; path=/; HttpOnly
568 c06f1783 Tom McKay
    body:
569 f370cc85 Tom McKay
      encoding: ASCII-8BIT
570 f5d21adb Tom McKay
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff808081577b8f0201577ba5d9850003","key":"testcorp","displayName":"Test
571
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff808081577bae9001577bc066890294","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
572 c06f1783 Tom McKay
        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/kxlpTzSLTiBDD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AT8wHQYDVR0OBBYEFI7UL/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
574 f5d21adb Tom McKay
        CERTIFICATE-----\n","id":"ff808081577bae9001577bc066890293","serial":{"id":1063893136250440125,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":1063893136250440125,"created":"2016-09-30T15:39:49.256+0000","updated":"2016-09-30T15:39:49.256+0000"},"created":"2016-09-30T15:39:49.257+0000","updated":"2016-09-30T15:39:49.257+0000"},"type":{"id":"ff808081577bae9001577bb6eb940000","label":"satellite","manifest":true,"created":"2016-09-30T15:29:27.954+0000","updated":"2016-09-30T15:29:27.954+0000"},"ownerId":"ff808081577b8f0201577ba5d9850003","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-09-30T15:39:49.257+0000","updated":"2016-09-30T15:39:49.257+0000"},"logLevel":null,"href":"/owners/testcorp","created":"2016-09-30T15:10:49.221+0000","updated":"2016-09-30T15:39:49.608+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
575
        today for a better tomorrow","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30
576
        15:10:48 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
577
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"testing.example.com","id":1,"url":"https://testing.example.com:9090"}],"subnets":[{"id":1,"name":"Test
578
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":89,"name":"Katello
579
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
580
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
581
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
582
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
583 f370cc85 Tom McKay
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
584
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
585
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
586
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
587
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
588
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
589
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
590
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
591
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
592
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
593
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
594
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
595
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
596
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
597
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
598 c06f1783 Tom McKay
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
599 f370cc85 Tom McKay
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
600
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
601
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
602
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
603
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
604
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
605
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
606
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
607
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
608
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
609
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
610
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
611
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
612
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
613
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
614
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
615
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
616
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
617
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
618
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
619
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
620
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
621
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
622
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
623
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
624
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
625
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
626
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
627
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
628
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
629
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
630 f5d21adb Tom McKay
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-30
631
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"XenServer default","id":84},{"os_family":"Debian","created_at":"2016-09-30
632
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Preseed custom
633
        LVM","id":83},{"os_family":"Debian","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
634
        14:47:09 UTC","name":"Preseed default","id":82},{"os_family":"NXOS","created_at":"2016-09-30
635
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"NX-OS default
636
        fake","id":81},{"os_family":"Redhat","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
637
        14:47:09 UTC","name":"Kickstart default","id":80},{"os_family":"Junos","created_at":"2016-09-30
638
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Junos default
639
        fake","id":79},{"os_family":"Solaris","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
640
        14:47:09 UTC","name":"Jumpstart mirrored","id":78},{"os_family":"Solaris","created_at":"2016-09-30
641
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"Jumpstart default","id":77},{"os_family":"Freebsd","created_at":"2016-09-30
642
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"FreeBSD","id":76},{"os_family":"Coreos","created_at":"2016-09-30
643
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"CoreOS default
644
        fake","id":75},{"os_family":"Suse","created_at":"2016-09-30 14:47:09 UTC","updated_at":"2016-09-30
645
        14:47:09 UTC","name":"AutoYaST LVM","id":74},{"os_family":"Suse","created_at":"2016-09-30
646
        14:47:09 UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"AutoYaST entire
647
        virtual disk","id":73},{"os_family":"Suse","created_at":"2016-09-30 14:47:09
648
        UTC","updated_at":"2016-09-30 14:47:09 UTC","name":"AutoYaST entire SCSI disk","id":72}],"provisioning_templates":[{"id":89,"name":"Katello
649
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
650
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
651
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":85,"name":"Katello
652
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":71,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
653 f370cc85 Tom McKay
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
654
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
655
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
656
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
657
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
658
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
659
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
660
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
661
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
662
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
663
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
664
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
665
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
666
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
667
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
668 c06f1783 Tom McKay
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
669 f370cc85 Tom McKay
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
670
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
671
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
672
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
673
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
674
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
675
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
676
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
677
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
678
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
679
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
680
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
681
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
682
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
683
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
684
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
685
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
686
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
687
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
688
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
689
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
690
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
691
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
692
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
693
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
694
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
695
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
696
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
697
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
698
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
699
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
700 f5d21adb Tom McKay
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":2,"library_id":2}'
701 c06f1783 Tom McKay
    http_version: 
702 f5d21adb Tom McKay
  recorded_at: Fri, 30 Sep 2016 15:40:12 GMT
703 c06f1783 Tom McKay
- request:
704
    method: get
705 f5d21adb Tom McKay
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8/subscriptions?per_page=999999
706 c06f1783 Tom McKay
    body:
707
      encoding: US-ASCII
708
      string: ''
709
    headers:
710
      Accept:
711
      - application/json;version=2
712
      Accept-Encoding:
713
      - gzip, deflate
714 f370cc85 Tom McKay
      User-Agent:
715
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
716 c06f1783 Tom McKay
      Content-Type:
717
      - application/json
718 f5d21adb Tom McKay
      Accept-Language:
719
      - en
720 f370cc85 Tom McKay
      Host:
721 f5d21adb Tom McKay
      - katello.example.com:50218
722 c06f1783 Tom McKay
  response:
723
    status:
724
      code: 200
725 f5d21adb Tom McKay
      message: 'OK '
726 c06f1783 Tom McKay
    headers:
727 f370cc85 Tom McKay
      Date:
728 f5d21adb Tom McKay
      - Fri, 30 Sep 2016 15:40:13 GMT
729 f370cc85 Tom McKay
      Server:
730 f5d21adb Tom McKay
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
731 c06f1783 Tom McKay
      Foreman-Version:
732 f370cc85 Tom McKay
      - 1.14.0-develop
733 c06f1783 Tom McKay
      Foreman-Api-Version:
734
      - '2'
735
      Content-Type:
736
      - application/json; charset=utf-8
737
      Apipie-Checksum:
738 f5d21adb Tom McKay
      - 68d37bf606b9a03df6e1e749d6054009
739 c06f1783 Tom McKay
      Etag:
740 f5d21adb Tom McKay
      - W/"57aba53041e469a8eed527f59d001b40-gzip"
741 c06f1783 Tom McKay
      Cache-Control:
742
      - max-age=0, private, must-revalidate
743
      X-Request-Id:
744 f5d21adb Tom McKay
      - 3476277f-000d-4cde-9981-628275b2687e
745 c06f1783 Tom McKay
      X-Runtime:
746 f5d21adb Tom McKay
      - '1.649381'
747
      Content-Security-Policy:
748
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
749
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
750
        ''self''; style-src ''unsafe-inline'' ''self'''
751
      Strict-Transport-Security:
752
      - max-age=631152000; includeSubdomains
753
      X-Content-Type-Options:
754
      - nosniff
755
      X-Download-Options:
756
      - noopen
757
      X-Frame-Options:
758
      - sameorigin
759
      X-Permitted-Cross-Domain-Policies:
760
      - none
761
      X-Xss-Protection:
762
      - 1; mode=block
763 f370cc85 Tom McKay
      Via:
764 f5d21adb Tom McKay
      - 1.1 testing.example.com:50218
765 f370cc85 Tom McKay
      Vary:
766
      - Accept-Encoding
767
      Content-Length:
768 f5d21adb Tom McKay
      - '1972'
769 f370cc85 Tom McKay
      Set-Cookie:
770 f5d21adb Tom McKay
      - _session_id=49589b6d1414c6d82bfabe4682045e60; path=/; HttpOnly
771 c06f1783 Tom McKay
    body:
772 f370cc85 Tom McKay
      encoding: ASCII-8BIT
773 c06f1783 Tom McKay
      string: |
774 f5d21adb Tom McKay
        {"organization":{},"total":3,"subtotal":3,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":1,"cp_id":"ff808081577bae9001577bb702c100da","subscription_id":1,"name":"Red Hat Enterprise Linux for Virtual Datacenters, Premium","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999116,"support_level":"Premium","product_id":"RH00001","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters, Premium","unmapped_guest":false,"virt_only":false},{"id":4,"cp_id":"ff808081577bae9001577bb703900138","subscription_id":2,"name":"Red Hat Enterprise Linux for Virtual Datacenters, Standard","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999110,"support_level":"Standard","product_id":"RH00002","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters, Standard","unmapped_guest":false,"virt_only":false},{"id":2,"cp_id":"ff808081577bae9001577bb70420018a","subscription_id":3,"name":"Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":200,"quantity":200,"consumed":0,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
775 c06f1783 Tom McKay
    http_version: 
776 f5d21adb Tom McKay
  recorded_at: Fri, 30 Sep 2016 15:40:14 GMT
777 c06f1783 Tom McKay
recorded_with: VCR 3.0.3