deadwood 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. data/README.md +65 -3
  2. data/Rakefile +2 -4
  3. data/lib/deadwood/active_resource_oauth_client.rb +16 -8
  4. data/lib/deadwood/model/activation_key.rb +24 -8
  5. data/lib/deadwood/model/base.rb +16 -9
  6. data/lib/deadwood/model/changeset.rb +18 -10
  7. data/lib/deadwood/model/consumer.rb +16 -8
  8. data/lib/deadwood/model/crl.rb +16 -8
  9. data/lib/deadwood/model/entitlement.rb +16 -8
  10. data/lib/deadwood/model/environment.rb +22 -20
  11. data/lib/deadwood/model/errata.rb +16 -8
  12. data/lib/deadwood/model/gpg_key.rb +21 -16
  13. data/lib/deadwood/model/organization.rb +16 -8
  14. data/lib/deadwood/model/pool.rb +16 -8
  15. data/lib/deadwood/model/product.rb +22 -13
  16. data/lib/deadwood/model/provider.rb +18 -9
  17. data/lib/deadwood/model/repository.rb +16 -8
  18. data/lib/deadwood/model/role.rb +21 -14
  19. data/lib/deadwood/model/status.rb +16 -8
  20. data/lib/deadwood/model/subscription.rb +16 -8
  21. data/lib/deadwood/model/system.rb +18 -9
  22. data/lib/deadwood/model/system_group.rb +22 -13
  23. data/lib/deadwood/model/task.rb +16 -8
  24. data/lib/deadwood/model/template.rb +18 -9
  25. data/lib/deadwood/model/user.rb +16 -8
  26. data/lib/deadwood/model/version.rb +16 -8
  27. data/rake/rpmtask.rb +16 -13
  28. data/spec/models/activation_key_spec.rb +48 -8
  29. data/spec/models/base_spec.rb +16 -8
  30. data/spec/models/changeset_spec.rb +16 -8
  31. data/spec/models/crl_spec.rb +16 -8
  32. data/spec/models/environment_spec.rb +16 -8
  33. data/spec/models/gpg_key_spec.rb +16 -8
  34. data/spec/models/organization_spec.rb +16 -8
  35. data/spec/models/product_spec.rb +16 -8
  36. data/spec/models/provider_spec.rb +16 -8
  37. data/spec/models/repository_spec.rb +16 -8
  38. data/spec/models/role_spec.rb +16 -8
  39. data/spec/models/system_group_spec.rb +16 -8
  40. data/spec/models/task_spec.rb +16 -8
  41. data/spec/models/template_spec.rb +16 -8
  42. data/spec/models/user_spec.rb +16 -8
  43. data/spec/spec_helper.rb +15 -21
  44. data/spec/vcr/cassettes/create_activation_key.yml +91 -91
  45. data/spec/vcr/cassettes/create_changeset.yml +93 -93
  46. data/spec/vcr/cassettes/create_find_all_environment.yml +45 -45
  47. data/spec/vcr/cassettes/create_find_by_id_activation_key.yml +214 -0
  48. data/spec/vcr/cassettes/create_find_single_environment.yml +49 -49
  49. data/spec/vcr/cassettes/create_gpg_key.yml +64 -64
  50. data/spec/vcr/cassettes/create_provider_for_default_org.yml +63 -63
  51. data/spec/vcr/cassettes/create_repository.yml +98 -98
  52. data/spec/vcr/cassettes/create_role.yml +46 -46
  53. data/spec/vcr/cassettes/create_system.yml +59 -59
  54. data/spec/vcr/cassettes/create_template.yml +86 -86
  55. data/spec/vcr/cassettes/create_update_activation_key.yml +345 -0
  56. data/spec/vcr/cassettes/create_user.yml +48 -48
  57. data/spec/vcr/cassettes/create_user_role.yml +103 -103
  58. data/spec/vcr/cassettes/find_ACME_Corporation.yml +14 -14
  59. data/spec/vcr/cassettes/find_admin.yml +14 -14
  60. data/spec/vcr/cassettes/find_crl.yml +22 -22
  61. data/spec/vcr/cassettes/find_template.yml +13 -13
  62. data/spec/vcr/cassettes/find_users.yml +13 -13
  63. data/spec/vcr/cassettes/organization_1_exists.yml +28 -28
  64. data/spec/vcr/cassettes/organization_create.yml +46 -46
  65. data/spec/vcr/cassettes/organization_default_exists.yml +14 -14
  66. data/spec/vcr/cassettes/organization_exists.yml +13 -13
  67. data/spec/vcr/cassettes/organization_update.yml +44 -44
  68. data/spec/vcr/cassettes/provider_1_exists.yml +14 -14
  69. data/spec/vcr/cassettes/providers_all_exists.yml +15 -15
  70. data/spec/vcr/cassettes/read_products.yml +92 -92
  71. data/spec/vcr/cassettes/update_environment_name_description.yml +83 -83
  72. data/spec/vcr/cassettes/update_provider_for_org.yml +64 -64
  73. data/spec/vcr/cassettes/update_role.yml +67 -67
  74. data/spec/vcr/cassettes/update_user.yml +48 -48
  75. data/spec/vcr_setup.rb +16 -23
  76. metadata +8 -32
@@ -4,45 +4,45 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://10.11.230.105/katello/api/roles?description=test%20role%20description&name=test_role_name
6
6
  body:
7
- string: "{\"role\":{\"description\":\"test role description\",\"name\":\"test_role_name\"}}"
7
+ string: "{\"role\":{\"name\":\"test_role_name\",\"description\":\"test role description\"}}"
8
8
  headers:
9
- Content-Length:
10
- - "72"
11
9
  Content-Type:
12
10
  - application/json
13
- Http-Katello-User:
14
- - admin
11
+ Content-Length:
12
+ - "72"
15
13
  User-Agent:
16
14
  - OAuth gem v0.4.6
17
15
  Authorization:
18
- - OAuth oauth_body_hash="bVLqKzkzB1fNRnO07OkLDyh5Ars%3D", oauth_consumer_key="cloud_forms", oauth_nonce="TEeutN3MuaMZeOSxVuAAYQsVjxmNaG7r86NJVcy00", oauth_signature="6F0yMTAj4pyoN16Bs2MTP8N3hXI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
16
+ - OAuth oauth_body_hash="nXWLLsK4lEwHyDf8IykUdry02q4%3D", oauth_consumer_key="cloud_forms", oauth_nonce="hXYg4x14MhLUgBfqjAIcqerGpzMsm2TvyFA3uOxoR5I", oauth_signature="lAO38lFE3%2BAD551vs%2F3dswG3rs0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
19
17
  Accept:
20
18
  - "*/*"
19
+ Http-Katello-User:
20
+ - admin
21
21
  response:
22
22
  status:
23
23
  code: 200
24
24
  message: OK
25
25
  headers:
26
- X-Candlepin-Version:
27
- - katello/0.2.44-1.el6
28
26
  Content-Type:
29
27
  - application/json; charset=utf-8
30
- Cache-Control:
31
- - max-age=0, private, must-revalidate
32
- Etag:
33
- - "\"d0b1650818c2bde6b140db53bc5e88af\""
34
28
  Server:
35
29
  - thin 1.2.11 codename Bat-Shit Crazy
36
- X-Runtime:
37
- - "0.048058"
38
30
  Transfer-Encoding:
39
31
  - chunked
32
+ Date:
33
+ - Wed, 22 Aug 2012 14:23:30 GMT
40
34
  X-Ua-Compatible:
41
35
  - IE=Edge,chrome=1
42
- Date:
43
- - Mon, 20 Aug 2012 18:22:19 GMT
36
+ Cache-Control:
37
+ - max-age=0, private, must-revalidate
38
+ X-Runtime:
39
+ - "0.161282"
40
+ Etag:
41
+ - "\"20c00ba24b254d549b72d48060b820f3\""
42
+ X-Candlepin-Version:
43
+ - katello/0.2.44-1.el6
44
44
  body:
45
- string: "{\"id\":54,\"updated_at\":\"2012-08-20T18:22:19Z\",\"name\":\"test_role_name\",\"description\":\"test role description\",\"locked\":false,\"created_at\":\"2012-08-20T18:22:19Z\"}"
45
+ string: "{\"id\":66,\"updated_at\":\"2012-08-22T14:23:30Z\",\"name\":\"test_role_name\",\"description\":\"test role description\",\"locked\":false,\"created_at\":\"2012-08-22T14:23:30Z\"}"
46
46
  http_version:
47
47
  recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
48
48
  - request:
@@ -51,80 +51,80 @@ http_interactions:
51
51
  body:
52
52
  string: ""
53
53
  headers:
54
- Http-Katello-User:
55
- - admin
56
54
  User-Agent:
57
55
  - OAuth gem v0.4.6
58
56
  Authorization:
59
- - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="24SSyBGeBAIDx9TNYNkTvg7GG4QttkhbTkB0UYb5E", oauth_signature="vyP9DOJUOtUYVMHbbrWHD%2BMdHdc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
57
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="p77LzI5mljWPl4Tw8SAtnzxHgfG8fT0cQh4E5q0U2k", oauth_signature="6M9bkBgaWrZdwhmtjgvy%2Bxbupk4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
60
58
  Accept:
61
59
  - application/json
60
+ Http-Katello-User:
61
+ - admin
62
62
  response:
63
63
  status:
64
64
  code: 200
65
65
  message: OK
66
66
  headers:
67
- X-Candlepin-Version:
68
- - katello/0.2.44-1.el6
69
67
  Content-Type:
70
68
  - application/json; charset=utf-8
71
- Cache-Control:
72
- - max-age=0, private, must-revalidate
73
- Etag:
74
- - "\"49e659492a939edc77c332e29b20a7e5\""
75
69
  Server:
76
70
  - thin 1.2.11 codename Bat-Shit Crazy
77
- X-Runtime:
78
- - "0.022394"
79
71
  Transfer-Encoding:
80
72
  - chunked
73
+ Date:
74
+ - Wed, 22 Aug 2012 14:23:30 GMT
81
75
  X-Ua-Compatible:
82
76
  - IE=Edge,chrome=1
83
- Date:
84
- - Mon, 20 Aug 2012 18:22:19 GMT
77
+ Cache-Control:
78
+ - max-age=0, private, must-revalidate
79
+ X-Runtime:
80
+ - "0.024247"
81
+ Etag:
82
+ - "\"79349f0f8c40fa62fb667894a67efd95\""
83
+ X-Candlepin-Version:
84
+ - katello/0.2.44-1.el6
85
85
  body:
86
- string: "[{\"id\":1,\"updated_at\":\"2012-07-02T18:47:31Z\",\"name\":\"Administrator\",\"description\":\"Super administrator with all access.\",\"locked\":true,\"created_at\":\"2012-07-02T18:47:29Z\"},{\"id\":2,\"updated_at\":\"2012-07-02T18:47:37Z\",\"name\":\"Read Everything\",\"description\":\"Read only role.\",\"locked\":true,\"created_at\":\"2012-07-02T18:47:31Z\"},{\"id\":54,\"updated_at\":\"2012-08-20T18:22:19Z\",\"name\":\"test_role_name\",\"description\":\"test role description\",\"locked\":false,\"created_at\":\"2012-08-20T18:22:19Z\"}]"
86
+ string: "[{\"id\":1,\"updated_at\":\"2012-07-02T18:47:31Z\",\"name\":\"Administrator\",\"description\":\"Super administrator with all access.\",\"locked\":true,\"created_at\":\"2012-07-02T18:47:29Z\"},{\"id\":2,\"updated_at\":\"2012-07-02T18:47:37Z\",\"name\":\"Read Everything\",\"description\":\"Read only role.\",\"locked\":true,\"created_at\":\"2012-07-02T18:47:31Z\"},{\"id\":66,\"updated_at\":\"2012-08-22T14:23:30Z\",\"name\":\"test_role_name\",\"description\":\"test role description\",\"locked\":false,\"created_at\":\"2012-08-22T14:23:30Z\"}]"
87
87
  http_version:
88
88
  recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
89
89
  - request:
90
90
  method: delete
91
- uri: https://10.11.230.105/katello/api/roles/54
91
+ uri: https://10.11.230.105/katello/api/roles/66
92
92
  body:
93
93
  string: ""
94
94
  headers:
95
- Http-Katello-User:
96
- - admin
97
95
  User-Agent:
98
96
  - OAuth gem v0.4.6
99
97
  Authorization:
100
- - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="3lotE4Ry1UKQvUnehBlilKB13MpbaW2KJxdossEoK4k", oauth_signature="VZEzJ8acj48TwhkBJRrt7QGgXSo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
98
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="oE936uk74uKUiwS5S5nzJnRSDE6qpeKuMjaKzaFHs", oauth_signature="3Yoh9CHlg8EaNanNYt%2FS0zDkvzc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
101
99
  Accept:
102
100
  - application/json
101
+ Http-Katello-User:
102
+ - admin
103
103
  response:
104
104
  status:
105
105
  code: 200
106
106
  message: OK
107
107
  headers:
108
- X-Candlepin-Version:
109
- - katello/0.2.44-1.el6
110
108
  Content-Type:
111
109
  - application/json; charset=utf-8
112
- Cache-Control:
113
- - max-age=0, private, must-revalidate
114
- Etag:
115
- - "\"9fa402df940bccba933d6a8d793744b6\""
116
110
  Server:
117
111
  - thin 1.2.11 codename Bat-Shit Crazy
118
- X-Runtime:
119
- - "0.034834"
120
112
  Transfer-Encoding:
121
113
  - chunked
114
+ Date:
115
+ - Wed, 22 Aug 2012 14:23:30 GMT
122
116
  X-Ua-Compatible:
123
117
  - IE=Edge,chrome=1
124
- Date:
125
- - Mon, 20 Aug 2012 18:22:19 GMT
118
+ Cache-Control:
119
+ - max-age=0, private, must-revalidate
120
+ X-Runtime:
121
+ - "0.034828"
122
+ Etag:
123
+ - "\"0baee48e0215838ff2e70ff97453aa1f\""
124
+ X-Candlepin-Version:
125
+ - katello/0.2.44-1.el6
126
126
  body:
127
- string: Deleted role '54'
127
+ string: Deleted role '66'
128
128
  http_version:
129
129
  recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
130
130
  recorded_with: VCR 2.2.4
@@ -4,45 +4,45 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/system_groups?description=Test%20system%20group%20description&max_systems=-1&name=Test_System_Group&organization_id=ACME_Corporation
6
6
  body:
7
- string: "{\"system_group\":{\"max_systems\":-1,\"description\":\"Test system group description\",\"name\":\"Test_System_Group\"}}"
7
+ string: "{\"system_group\":{\"max_systems\":-1,\"name\":\"Test_System_Group\",\"description\":\"Test system group description\"}}"
8
8
  headers:
9
- Content-Length:
10
- - "108"
11
9
  Content-Type:
12
10
  - application/json
13
- Http-Katello-User:
14
- - admin
11
+ Content-Length:
12
+ - "108"
15
13
  User-Agent:
16
14
  - OAuth gem v0.4.6
17
15
  Authorization:
18
- - OAuth oauth_body_hash="mSCph1oN%2FsPAwxOTZOdsvV%2Fq%2FK0%3D", oauth_consumer_key="cloud_forms", oauth_nonce="TCaFEJSwBHPrMGZrY5w3sFGqZpXqS5PU3031EJvRY", oauth_signature="uIXOr3XPtcS9k422a9J%2BP4x62%2F4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
16
+ - OAuth oauth_body_hash="p%2FKn%2FDbJSKwa8qIhM9%2FVmaBpMw0%3D", oauth_consumer_key="cloud_forms", oauth_nonce="68KV6YH7d4gSfaZ3LCityFy0TLL4uddkcbrhgSywQ", oauth_signature="x0s778UECFnb8Ex01SEl2Am2z5E%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
19
17
  Accept:
20
18
  - "*/*"
19
+ Http-Katello-User:
20
+ - admin
21
21
  response:
22
22
  status:
23
23
  code: 200
24
24
  message: OK
25
25
  headers:
26
- X-Candlepin-Version:
27
- - katello/0.2.44-1.el6
28
26
  Content-Type:
29
27
  - application/json; charset=utf-8
30
- Cache-Control:
31
- - max-age=0, private, must-revalidate
32
- Etag:
33
- - "\"50cb030e94f73e61ba7c4465598f0de8\""
34
28
  Server:
35
29
  - thin 1.2.11 codename Bat-Shit Crazy
36
- X-Runtime:
37
- - "0.196273"
38
30
  Transfer-Encoding:
39
31
  - chunked
32
+ Date:
33
+ - Wed, 22 Aug 2012 14:23:18 GMT
40
34
  X-Ua-Compatible:
41
35
  - IE=Edge,chrome=1
42
- Date:
43
- - Mon, 20 Aug 2012 18:22:07 GMT
36
+ Cache-Control:
37
+ - max-age=0, private, must-revalidate
38
+ X-Runtime:
39
+ - "0.186616"
40
+ Etag:
41
+ - "\"b6e880b774c1d1225aaee080abcfd45c\""
42
+ X-Candlepin-Version:
43
+ - katello/0.2.44-1.el6
44
44
  body:
45
- string: "{\"pulp_id\":\"ACME_Corporation-Test_System_Group-926992fa\",\"id\":10,\"organization_id\":1,\"max_systems\":-1,\"updated_at\":\"2012-08-20T18:22:07Z\",\"name\":\"Test_System_Group\",\"description\":\"Test system group description\",\"locked\":false,\"created_at\":\"2012-08-20T18:22:07Z\"}"
45
+ string: "{\"pulp_id\":\"ACME_Corporation-Test_System_Group-ce3433ec\",\"id\":12,\"organization_id\":1,\"max_systems\":-1,\"updated_at\":\"2012-08-22T14:23:18Z\",\"name\":\"Test_System_Group\",\"description\":\"Test system group description\",\"locked\":false,\"created_at\":\"2012-08-22T14:23:18Z\"}"
46
46
  http_version:
47
47
  recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
48
48
  - request:
@@ -51,80 +51,80 @@ http_interactions:
51
51
  body:
52
52
  string: ""
53
53
  headers:
54
- Http-Katello-User:
55
- - admin
56
54
  User-Agent:
57
55
  - OAuth gem v0.4.6
58
56
  Authorization:
59
- - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="Vxd04tMYoKXgDQkEKfAHdl2DIbTxmKYWUdvdKZyvIvU", oauth_signature="7rzoBWjbeoL%2BHKwYQCwxdCEz%2FV8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
57
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="cLAuHtUGqhab5R9bXClrZrjx9WPGVWFbIqhTBgMk", oauth_signature="8QuHdolv6ptXRN2Ow7jSZioZFOI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
60
58
  Accept:
61
59
  - application/json
60
+ Http-Katello-User:
61
+ - admin
62
62
  response:
63
63
  status:
64
64
  code: 200
65
65
  message: OK
66
66
  headers:
67
- X-Candlepin-Version:
68
- - katello/0.2.44-1.el6
69
67
  Content-Type:
70
68
  - application/json; charset=utf-8
71
- Cache-Control:
72
- - max-age=0, private, must-revalidate
73
- Etag:
74
- - "\"a2d2c0c5e4739a34622a11f1245caf1c\""
75
69
  Server:
76
70
  - thin 1.2.11 codename Bat-Shit Crazy
77
- X-Runtime:
78
- - "0.022672"
79
71
  Transfer-Encoding:
80
72
  - chunked
73
+ Date:
74
+ - Wed, 22 Aug 2012 14:23:18 GMT
81
75
  X-Ua-Compatible:
82
76
  - IE=Edge,chrome=1
83
- Date:
84
- - Mon, 20 Aug 2012 18:22:07 GMT
77
+ Cache-Control:
78
+ - max-age=0, private, must-revalidate
79
+ X-Runtime:
80
+ - "0.035533"
81
+ Etag:
82
+ - "\"2675dd13d49640c917bd4d18448d740c\""
83
+ X-Candlepin-Version:
84
+ - katello/0.2.44-1.el6
85
85
  body:
86
- string: "[{\"pulp_id\":\"ACME_Corporation-Test_System_Group-926992fa\",\"id\":10,\"organization_id\":1,\"max_systems\":-1,\"updated_at\":\"2012-08-20T18:22:07Z\",\"name\":\"Test_System_Group\",\"description\":\"Test system group description\",\"locked\":false,\"created_at\":\"2012-08-20T18:22:07Z\"}]"
86
+ string: "[{\"pulp_id\":\"ACME_Corporation-Test_System_Group-ce3433ec\",\"id\":12,\"organization_id\":1,\"max_systems\":-1,\"updated_at\":\"2012-08-22T14:23:18Z\",\"name\":\"Test_System_Group\",\"description\":\"Test system group description\",\"locked\":false,\"created_at\":\"2012-08-22T14:23:18Z\"}]"
87
87
  http_version:
88
88
  recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
89
89
  - request:
90
90
  method: delete
91
- uri: https://10.11.230.105/katello/api/organizations/1/system_groups/10
91
+ uri: https://10.11.230.105/katello/api/organizations/1/system_groups/12
92
92
  body:
93
93
  string: ""
94
94
  headers:
95
- Http-Katello-User:
96
- - admin
97
95
  User-Agent:
98
96
  - OAuth gem v0.4.6
99
97
  Authorization:
100
- - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="yPcqa5A8y73OgUMw2kUdz3meR7D7x78jkvJyLew0", oauth_signature="jbv%2FbALveyPtTYjr%2Bt%2Fbn%2FVYhHY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
98
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="KbfXjX6NqiQalCsCdZKYaBKuLooSBWgZu9SgkLqzFc", oauth_signature="tSRYxc4Bsdv4I5rWxcHIjCLzfoA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
101
99
  Accept:
102
100
  - application/json
101
+ Http-Katello-User:
102
+ - admin
103
103
  response:
104
104
  status:
105
105
  code: 200
106
106
  message: OK
107
107
  headers:
108
- X-Candlepin-Version:
109
- - katello/0.2.44-1.el6
110
108
  Content-Type:
111
109
  - application/json; charset=utf-8
112
- Cache-Control:
113
- - max-age=0, private, must-revalidate
114
- Etag:
115
- - "\"963fd449ce0aee3a0472e80364501f5c\""
116
110
  Server:
117
111
  - thin 1.2.11 codename Bat-Shit Crazy
118
- X-Runtime:
119
- - "0.101426"
120
112
  Transfer-Encoding:
121
113
  - chunked
114
+ Date:
115
+ - Wed, 22 Aug 2012 14:23:18 GMT
122
116
  X-Ua-Compatible:
123
117
  - IE=Edge,chrome=1
124
- Date:
125
- - Mon, 20 Aug 2012 18:22:08 GMT
118
+ Cache-Control:
119
+ - max-age=0, private, must-revalidate
120
+ X-Runtime:
121
+ - "0.262344"
122
+ Etag:
123
+ - "\"02c03bfc88eab577b3807b07052f923f\""
124
+ X-Candlepin-Version:
125
+ - katello/0.2.44-1.el6
126
126
  body:
127
- string: Deleted system group '10'
127
+ string: Deleted system group '12'
128
128
  http_version:
129
129
  recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
130
130
  - request:
@@ -133,37 +133,37 @@ http_interactions:
133
133
  body:
134
134
  string: ""
135
135
  headers:
136
- Http-Katello-User:
137
- - admin
138
136
  User-Agent:
139
137
  - OAuth gem v0.4.6
140
138
  Authorization:
141
- - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="F5DE6QlmEWq3hbXVWUcb1agXD97xmOvkCgpcbL6Okq4", oauth_signature="jujXX8PzTT4%2Fp%2F8CJyDd3z5Q568%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
139
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="rueIV2t6cbPoG8IYBoMRphcWt8TQBtwAlcLmAqe104", oauth_signature="iVGzxLZFG%2Fgv%2BjZViPv2CzDSx7Q%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
142
140
  Accept:
143
141
  - application/json
142
+ Http-Katello-User:
143
+ - admin
144
144
  response:
145
145
  status:
146
146
  code: 200
147
147
  message: OK
148
148
  headers:
149
- X-Candlepin-Version:
150
- - katello/0.2.44-1.el6
151
149
  Content-Type:
152
150
  - application/json; charset=utf-8
153
- Cache-Control:
154
- - max-age=0, private, must-revalidate
155
- Etag:
156
- - "\"d751713988987e9331980363e24189ce\""
157
151
  Server:
158
152
  - thin 1.2.11 codename Bat-Shit Crazy
159
- X-Runtime:
160
- - "0.030373"
161
153
  Transfer-Encoding:
162
154
  - chunked
155
+ Date:
156
+ - Wed, 22 Aug 2012 14:23:18 GMT
163
157
  X-Ua-Compatible:
164
158
  - IE=Edge,chrome=1
165
- Date:
166
- - Mon, 20 Aug 2012 18:22:08 GMT
159
+ Cache-Control:
160
+ - max-age=0, private, must-revalidate
161
+ X-Runtime:
162
+ - "0.029182"
163
+ Etag:
164
+ - "\"d751713988987e9331980363e24189ce\""
165
+ X-Candlepin-Version:
166
+ - katello/0.2.44-1.el6
167
167
  body:
168
168
  string: "[]"
169
169
  http_version:
@@ -6,37 +6,37 @@ http_interactions:
6
6
  body:
7
7
  string: ""
8
8
  headers:
9
- Http-Katello-User:
10
- - admin
11
9
  User-Agent:
12
10
  - OAuth gem v0.4.6
13
11
  Authorization:
14
- - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="6MJxip3kPT7dxA0CJjid1NgSr7VrPQuuQ1FvtB3aAb4", oauth_signature="Y%2BS%2BzOQUe5YkMaK7cywe0pkyPY4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
12
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="ILCPwJonMH9qwnJfwjfk7Zl1BhhnQCFo1TlBUXK8", oauth_signature="tAGskuF5Bmx5zbi%2FMJD%2BrGX8yTg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
15
13
  Accept:
16
14
  - application/json
15
+ Http-Katello-User:
16
+ - admin
17
17
  response:
18
18
  status:
19
19
  code: 200
20
20
  message: OK
21
21
  headers:
22
- X-Candlepin-Version:
23
- - katello/0.2.44-1.el6
24
22
  Content-Type:
25
23
  - application/json; charset=utf-8
26
- Cache-Control:
27
- - max-age=0, private, must-revalidate
28
- Etag:
29
- - "\"47a8ccc71417629ef034ca7f1eabbb05\""
30
24
  Server:
31
25
  - thin 1.2.11 codename Bat-Shit Crazy
32
- X-Runtime:
33
- - "0.026739"
34
26
  Transfer-Encoding:
35
27
  - chunked
28
+ Date:
29
+ - Wed, 22 Aug 2012 14:23:24 GMT
36
30
  X-Ua-Compatible:
37
31
  - IE=Edge,chrome=1
38
- Date:
39
- - Mon, 20 Aug 2012 18:22:13 GMT
32
+ Cache-Control:
33
+ - max-age=0, private, must-revalidate
34
+ X-Runtime:
35
+ - "0.035256"
36
+ Etag:
37
+ - "\"47a8ccc71417629ef034ca7f1eabbb05\""
38
+ X-Candlepin-Version:
39
+ - katello/0.2.44-1.el6
40
40
  body:
41
41
  string: "[{\"library\":true,\"prior\":null,\"id\":1,\"organization\":\"ACME_Corporation\",\"organization_id\":1,\"updated_at\":\"2012-07-02T18:47:39Z\",\"name\":\"Library\",\"description\":null,\"prior_id\":null,\"created_at\":\"2012-07-02T18:47:39Z\"}]"
42
42
  http_version:
@@ -45,86 +45,86 @@ http_interactions:
45
45
  method: post
46
46
  uri: https://10.11.230.105/katello/api/templates?description=test%20description&environment_id=1&name=test_template_name
47
47
  body:
48
- string: "{\"template\":{\"description\":\"test description\",\"name\":\"test_template_name\"}}"
48
+ string: "{\"template\":{\"name\":\"test_template_name\",\"description\":\"test description\"}}"
49
49
  headers:
50
- Content-Length:
51
- - "75"
52
50
  Content-Type:
53
51
  - application/json
54
- Http-Katello-User:
55
- - admin
52
+ Content-Length:
53
+ - "75"
56
54
  User-Agent:
57
55
  - OAuth gem v0.4.6
58
56
  Authorization:
59
- - OAuth oauth_body_hash="VW%2FXoE%2F1MuKUEYJxEQH%2BkobzPQU%3D", oauth_consumer_key="cloud_forms", oauth_nonce="e1mwQ6KBapaoazLoeQ9E2IKEmQYXKfM8lzLB2AITc", oauth_signature="0TPV6LFcrnkQtWhOoNWEYQ0aK3M%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
57
+ - OAuth oauth_body_hash="3x%2FTJXuYytkwsvmQTmeJs%2FgSg7o%3D", oauth_consumer_key="cloud_forms", oauth_nonce="gs3HVpWGbiKlz7dI72CMNKCBkNFG6vffHrlY2vnqC6A", oauth_signature="0WxOYy8NA953yB%2B%2BafWrSj%2FGxMc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
60
58
  Accept:
61
59
  - "*/*"
60
+ Http-Katello-User:
61
+ - admin
62
62
  response:
63
63
  status:
64
64
  code: 200
65
65
  message: OK
66
66
  headers:
67
- X-Candlepin-Version:
68
- - katello/0.2.44-1.el6
69
67
  Content-Type:
70
68
  - application/json; charset=utf-8
71
- Cache-Control:
72
- - max-age=0, private, must-revalidate
73
- Etag:
74
- - "\"6b572d9f485997883661da7210c033c4\""
75
69
  Server:
76
70
  - thin 1.2.11 codename Bat-Shit Crazy
77
- X-Runtime:
78
- - "0.053882"
79
71
  Transfer-Encoding:
80
72
  - chunked
73
+ Date:
74
+ - Wed, 22 Aug 2012 14:23:24 GMT
81
75
  X-Ua-Compatible:
82
76
  - IE=Edge,chrome=1
83
- Date:
84
- - Mon, 20 Aug 2012 18:22:13 GMT
77
+ Cache-Control:
78
+ - max-age=0, private, must-revalidate
79
+ X-Runtime:
80
+ - "0.054909"
81
+ Etag:
82
+ - "\"f8395f4ff1e538cf5a8a148b7b771529\""
83
+ X-Candlepin-Version:
84
+ - katello/0.2.44-1.el6
85
85
  body:
86
- string: "{\"repositories\":[],\"products\":[],\"revision\":1,\"parameters_json\":\"{}\",\"package_groups\":[],\"id\":13,\"updated_at\":\"2012-08-20T18:22:13Z\",\"pg_categories\":[],\"name\":\"test_template_name\",\"description\":\"test description\",\"packages\":[],\"environment_id\":1,\"parameters\":{},\"parent_id\":null,\"created_at\":\"2012-08-20T18:22:13Z\"}"
86
+ string: "{\"repositories\":[],\"products\":[],\"revision\":1,\"parameters_json\":\"{}\",\"package_groups\":[],\"id\":15,\"updated_at\":\"2012-08-22T14:23:24Z\",\"pg_categories\":[],\"name\":\"test_template_name\",\"description\":\"test description\",\"packages\":[],\"environment_id\":1,\"parameters\":{},\"parent_id\":null,\"created_at\":\"2012-08-22T14:23:24Z\"}"
87
87
  http_version:
88
88
  recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
89
89
  - request:
90
90
  method: get
91
- uri: https://10.11.230.105/katello/api/templates/13
91
+ uri: https://10.11.230.105/katello/api/templates/15
92
92
  body:
93
93
  string: ""
94
94
  headers:
95
- Http-Katello-User:
96
- - admin
97
95
  User-Agent:
98
96
  - OAuth gem v0.4.6
99
97
  Authorization:
100
- - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="jhE8nTvFBLUVysdrfbtK8I0w2x1IFSnjsQkKvp7VE", oauth_signature="YX8WC5sUwvBIhvCrF9aHDPAiRng%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
98
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="5gbbp2P0TdsDJBMJx9xjqDLUSAc3VDkzs6a7rQP03U", oauth_signature="inNO75NulEEfRuEj%2BiGK3p6YANU%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
101
99
  Accept:
102
100
  - application/json
101
+ Http-Katello-User:
102
+ - admin
103
103
  response:
104
104
  status:
105
105
  code: 200
106
106
  message: OK
107
107
  headers:
108
- X-Candlepin-Version:
109
- - katello/0.2.44-1.el6
110
108
  Content-Type:
111
109
  - application/json; charset=utf-8
112
- Cache-Control:
113
- - max-age=0, private, must-revalidate
114
- Etag:
115
- - "\"6b572d9f485997883661da7210c033c4\""
116
110
  Server:
117
111
  - thin 1.2.11 codename Bat-Shit Crazy
118
- X-Runtime:
119
- - "0.026131"
120
112
  Transfer-Encoding:
121
113
  - chunked
114
+ Date:
115
+ - Wed, 22 Aug 2012 14:23:24 GMT
122
116
  X-Ua-Compatible:
123
117
  - IE=Edge,chrome=1
124
- Date:
125
- - Mon, 20 Aug 2012 18:22:13 GMT
118
+ Cache-Control:
119
+ - max-age=0, private, must-revalidate
120
+ X-Runtime:
121
+ - "0.029078"
122
+ Etag:
123
+ - "\"f8395f4ff1e538cf5a8a148b7b771529\""
124
+ X-Candlepin-Version:
125
+ - katello/0.2.44-1.el6
126
126
  body:
127
- string: "{\"repositories\":[],\"products\":[],\"revision\":1,\"parameters_json\":\"{}\",\"package_groups\":[],\"id\":13,\"updated_at\":\"2012-08-20T18:22:13Z\",\"pg_categories\":[],\"name\":\"test_template_name\",\"description\":\"test description\",\"packages\":[],\"environment_id\":1,\"parameters\":{},\"parent_id\":null,\"created_at\":\"2012-08-20T18:22:13Z\"}"
127
+ string: "{\"repositories\":[],\"products\":[],\"revision\":1,\"parameters_json\":\"{}\",\"package_groups\":[],\"id\":15,\"updated_at\":\"2012-08-22T14:23:24Z\",\"pg_categories\":[],\"name\":\"test_template_name\",\"description\":\"test description\",\"packages\":[],\"environment_id\":1,\"parameters\":{},\"parent_id\":null,\"created_at\":\"2012-08-22T14:23:24Z\"}"
128
128
  http_version:
129
129
  recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
130
130
  - request:
@@ -133,78 +133,78 @@ http_interactions:
133
133
  body:
134
134
  string: ""
135
135
  headers:
136
- Http-Katello-User:
137
- - admin
138
136
  User-Agent:
139
137
  - OAuth gem v0.4.6
140
138
  Authorization:
141
- - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="21uZlGuqorBJMrWsMvj1bDFBvP1wmtjhTuIDQeqpek", oauth_signature="YH9dzuBCcD8TgI3aG8tbjEyclR4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
139
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="Q8e6oXFvX5DJJXJeEFvYhMAx8oj90pWWedvQwh2AYI", oauth_signature="f5ghOjHuEQYYJVLI58B2lv8lWz4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
142
140
  Accept:
143
141
  - application/json
142
+ Http-Katello-User:
143
+ - admin
144
144
  response:
145
145
  status:
146
146
  code: 200
147
147
  message: OK
148
148
  headers:
149
- X-Candlepin-Version:
150
- - katello/0.2.44-1.el6
151
149
  Content-Type:
152
150
  - application/json; charset=utf-8
153
- Cache-Control:
154
- - max-age=0, private, must-revalidate
155
- Etag:
156
- - "\"ad7cb94d5f7f74d406c2bcdbbe6d2b16\""
157
151
  Server:
158
152
  - thin 1.2.11 codename Bat-Shit Crazy
159
- X-Runtime:
160
- - "0.145221"
161
153
  Transfer-Encoding:
162
154
  - chunked
155
+ Date:
156
+ - Wed, 22 Aug 2012 14:23:24 GMT
163
157
  X-Ua-Compatible:
164
158
  - IE=Edge,chrome=1
165
- Date:
166
- - Mon, 20 Aug 2012 18:22:13 GMT
159
+ Cache-Control:
160
+ - max-age=0, private, must-revalidate
161
+ X-Runtime:
162
+ - "0.026088"
163
+ Etag:
164
+ - "\"6efff4f0487f42da76463339893093fb\""
165
+ X-Candlepin-Version:
166
+ - katello/0.2.44-1.el6
167
167
  body:
168
- string: "[{\"revision\":1,\"parameters_json\":\"{}\",\"id\":13,\"updated_at\":\"2012-08-20T18:22:13Z\",\"name\":\"test_template_name\",\"description\":\"test description\",\"environment_id\":1,\"parent_id\":null,\"created_at\":\"2012-08-20T18:22:13Z\"}]"
168
+ string: "[{\"revision\":1,\"parameters_json\":\"{}\",\"id\":15,\"updated_at\":\"2012-08-22T14:23:24Z\",\"name\":\"test_template_name\",\"description\":\"test description\",\"environment_id\":1,\"parent_id\":null,\"created_at\":\"2012-08-22T14:23:24Z\"}]"
169
169
  http_version:
170
170
  recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
171
171
  - request:
172
172
  method: delete
173
- uri: https://10.11.230.105/katello/api/templates/13
173
+ uri: https://10.11.230.105/katello/api/templates/15
174
174
  body:
175
175
  string: ""
176
176
  headers:
177
- Http-Katello-User:
178
- - admin
179
177
  User-Agent:
180
178
  - OAuth gem v0.4.6
181
179
  Authorization:
182
- - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="swVaPmS9cFwXqymtk0W27ffbml7JC5lnL31HgWrpvw", oauth_signature="ydwqnYPExnkBypX5YpQ%2FBqdLjyM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
180
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="NGG1jYzQ9wJTNxsVZfAsEAabcqiGdcm07OEpRYfs", oauth_signature="StYcXhMuPpV5%2Bi%2Fpm9%2Boi7JbQns%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
183
181
  Accept:
184
182
  - application/json
183
+ Http-Katello-User:
184
+ - admin
185
185
  response:
186
186
  status:
187
187
  code: 200
188
188
  message: OK
189
189
  headers:
190
- X-Candlepin-Version:
191
- - katello/0.2.44-1.el6
192
190
  Content-Type:
193
191
  - application/json; charset=utf-8
194
- Cache-Control:
195
- - max-age=0, private, must-revalidate
196
- Etag:
197
- - "\"9c49bb0262c5bd288a161bd8f8eb2cca\""
198
192
  Server:
199
193
  - thin 1.2.11 codename Bat-Shit Crazy
200
- X-Runtime:
201
- - "0.041612"
202
194
  Transfer-Encoding:
203
195
  - chunked
196
+ Date:
197
+ - Wed, 22 Aug 2012 14:23:24 GMT
204
198
  X-Ua-Compatible:
205
199
  - IE=Edge,chrome=1
206
- Date:
207
- - Mon, 20 Aug 2012 18:22:13 GMT
200
+ Cache-Control:
201
+ - max-age=0, private, must-revalidate
202
+ X-Runtime:
203
+ - "0.037609"
204
+ Etag:
205
+ - "\"9c49bb0262c5bd288a161bd8f8eb2cca\""
206
+ X-Candlepin-Version:
207
+ - katello/0.2.44-1.el6
208
208
  body:
209
209
  string: Deleted system template 'test_template_name'
210
210
  http_version:
@@ -215,37 +215,37 @@ http_interactions:
215
215
  body:
216
216
  string: ""
217
217
  headers:
218
- Http-Katello-User:
219
- - admin
220
218
  User-Agent:
221
219
  - OAuth gem v0.4.6
222
220
  Authorization:
223
- - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="egd9WwbZZu3eqDqKhnrOQROjmNvmZczxHGlmJR4qC30", oauth_signature="wJP7yhO%2FifO7Mi2QipMyOYTCg7M%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
221
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="SaFVq0zHnhkDQ0BFHVjdZNbUmQl6spbSzhVohmoLsk", oauth_signature="Slg26yd3YUvELM%2FgQMsLjvX%2FrPU%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
224
222
  Accept:
225
223
  - application/json
224
+ Http-Katello-User:
225
+ - admin
226
226
  response:
227
227
  status:
228
228
  code: 200
229
229
  message: OK
230
230
  headers:
231
- X-Candlepin-Version:
232
- - katello/0.2.44-1.el6
233
231
  Content-Type:
234
232
  - application/json; charset=utf-8
235
- Cache-Control:
236
- - max-age=0, private, must-revalidate
237
- Etag:
238
- - "\"d751713988987e9331980363e24189ce\""
239
233
  Server:
240
234
  - thin 1.2.11 codename Bat-Shit Crazy
241
- X-Runtime:
242
- - "0.022662"
243
235
  Transfer-Encoding:
244
236
  - chunked
237
+ Date:
238
+ - Wed, 22 Aug 2012 14:23:24 GMT
245
239
  X-Ua-Compatible:
246
240
  - IE=Edge,chrome=1
247
- Date:
248
- - Mon, 20 Aug 2012 18:22:13 GMT
241
+ Cache-Control:
242
+ - max-age=0, private, must-revalidate
243
+ X-Runtime:
244
+ - "0.019700"
245
+ Etag:
246
+ - "\"d751713988987e9331980363e24189ce\""
247
+ X-Candlepin-Version:
248
+ - katello/0.2.44-1.el6
249
249
  body:
250
250
  string: "[]"
251
251
  http_version: