hawkular-client 0.2.1 → 0.2.2

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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGES.rdoc +5 -0
  4. data/README.rdoc +4 -4
  5. data/hawkularclient.gemspec +2 -3
  6. data/lib/hawkular.rb +14 -0
  7. data/lib/inventory/inventory_api.rb +67 -42
  8. data/lib/operations/operations_api.rb +2 -5
  9. data/lib/version.rb +1 -1
  10. data/spec/integration/inventory_spec.rb +119 -73
  11. data/spec/integration/operations_spec.rb +29 -54
  12. data/spec/spec_helper.rb +7 -7
  13. data/spec/vcr/vcr_setup.rb +0 -5
  14. data/spec/vcr_cassettes/Inventory/Should_create_a_nested_resource_and_metric_on_it.yml +731 -0
  15. data/spec/vcr_cassettes/Inventory/{Client_should_listen_on_various_inventory_events.yml → Should_list_children_of_nested_resource.yml} +36 -68
  16. data/spec/vcr_cassettes/Inventory/Should_return_config_data_of_given_nested_resource.yml +58 -0
  17. data/spec/vcr_cassettes/{Operation/Helpers/get_tenant.yml → Inventory/Should_return_config_data_of_given_resource.yml} +13 -6
  18. metadata +42 -87
  19. data/spec/vcr_cassettes/Inventory/Client_should_listen_on_various_inventory_events.json +0 -47
  20. data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +0 -507
  21. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +0 -50
  22. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -50
  23. data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -26
  24. data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +0 -26
  25. data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +0 -26
  26. data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +0 -40
  27. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +0 -26
  28. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +0 -26
  29. data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -26
  30. data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -26
  31. data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -26
  32. data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +0 -26
  33. data/spec/vcr_cassettes/Operation/Operation/should_not_be_possible_to_perform_on_closed_client.json +0 -12
  34. data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +0 -9
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
5
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -31,25 +31,31 @@ http_interactions:
31
31
  Pragma:
32
32
  - no-cache
33
33
  Date:
34
- - Thu, 24 Mar 2016 12:17:10 GMT
34
+ - Thu, 21 Apr 2016 13:32:40 GMT
35
35
  Connection:
36
36
  - keep-alive
37
37
  Content-Type:
38
38
  - application/json
39
39
  Content-Length:
40
- - '105'
40
+ - '431'
41
41
  body:
42
42
  encoding: ASCII-8BIT
43
43
  string: |-
44
44
  {
45
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
46
- "id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
45
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
46
+ "type" : {
47
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Datasource",
48
+ "name" : "Datasource",
49
+ "id" : "Datasource"
50
+ },
51
+ "name" : "ExampleDS",
52
+ "id" : "Local~/subsystem=datasources/data-source=ExampleDS"
47
53
  }
48
54
  http_version:
49
- recorded_at: Thu, 24 Mar 2016 12:17:10 GMT
55
+ recorded_at: Thu, 21 Apr 2016 13:32:40 GMT
50
56
  - request:
51
57
  method: get
52
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
58
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/data?dataType=configuration
53
59
  body:
54
60
  encoding: US-ASCII
55
61
  string: ''
@@ -78,25 +84,33 @@ http_interactions:
78
84
  Pragma:
79
85
  - no-cache
80
86
  Date:
81
- - Thu, 24 Mar 2016 12:17:10 GMT
87
+ - Thu, 21 Apr 2016 13:32:40 GMT
82
88
  Connection:
83
89
  - keep-alive
84
90
  Content-Type:
85
91
  - application/json
86
92
  Content-Length:
87
- - '105'
93
+ - '462'
88
94
  body:
89
95
  encoding: ASCII-8BIT
90
96
  string: |-
91
97
  {
92
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
93
- "id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
98
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration",
99
+ "value" : {
100
+ "Username" : "sa",
101
+ "Driver Name" : "h2",
102
+ "JNDI Name" : "java:jboss/datasources/ExampleDS",
103
+ "Connection URL" : "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE",
104
+ "Enabled" : "true",
105
+ "Password" : "sa"
106
+ },
107
+ "name" : "configuration"
94
108
  }
95
109
  http_version:
96
- recorded_at: Thu, 24 Mar 2016 12:17:10 GMT
110
+ recorded_at: Thu, 21 Apr 2016 13:32:40 GMT
97
111
  - request:
98
112
  method: get
99
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
113
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/children
100
114
  body:
101
115
  encoding: US-ASCII
102
116
  string: ''
@@ -125,67 +139,21 @@ http_interactions:
125
139
  Pragma:
126
140
  - no-cache
127
141
  Date:
128
- - Thu, 24 Mar 2016 12:17:10 GMT
142
+ - Thu, 21 Apr 2016 13:32:40 GMT
143
+ X-Total-Count:
144
+ - "-1"
129
145
  Connection:
130
146
  - keep-alive
131
147
  Content-Type:
132
148
  - application/json
133
149
  Content-Length:
134
- - '105'
150
+ - '3'
151
+ Link:
152
+ - <http://localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/children>;
153
+ rel="current"
135
154
  body:
136
155
  encoding: ASCII-8BIT
137
- string: |-
138
- {
139
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
140
- "id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
141
- }
142
- http_version:
143
- recorded_at: Thu, 24 Mar 2016 12:17:10 GMT
144
- - request:
145
- method: get
146
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
147
- body:
148
- encoding: US-ASCII
149
- string: ''
150
- headers:
151
- Accept:
152
- - application/json
153
- Accept-Encoding:
154
- - gzip, deflate
155
- Content-Type:
156
- - application/json
157
- User-Agent:
158
- - Ruby
159
- response:
160
- status:
161
- code: 200
162
- message: OK
163
- headers:
164
- Expires:
165
- - '0'
166
- Cache-Control:
167
- - no-cache, no-store, must-revalidate
168
- X-Powered-By:
169
- - Undertow/1
170
- Server:
171
- - WildFly/10
172
- Pragma:
173
- - no-cache
174
- Date:
175
- - Thu, 24 Mar 2016 12:17:10 GMT
176
- Connection:
177
- - keep-alive
178
- Content-Type:
179
- - application/json
180
- Content-Length:
181
- - '105'
182
- body:
183
- encoding: ASCII-8BIT
184
- string: |-
185
- {
186
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
187
- "id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
188
- }
156
+ string: "[ ]"
189
157
  http_version:
190
- recorded_at: Thu, 24 Mar 2016 12:17:10 GMT
158
+ recorded_at: Thu, 21 Apr 2016 13:32:40 GMT
191
159
  recorded_with: VCR 3.0.1
@@ -0,0 +1,58 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/data?dataType=configuration
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Expires:
24
+ - '0'
25
+ Cache-Control:
26
+ - no-cache, no-store, must-revalidate
27
+ X-Powered-By:
28
+ - Undertow/1
29
+ Server:
30
+ - WildFly/10
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Thu, 21 Apr 2016 13:38:36 GMT
35
+ Connection:
36
+ - keep-alive
37
+ Content-Type:
38
+ - application/json
39
+ Content-Length:
40
+ - '462'
41
+ body:
42
+ encoding: ASCII-8BIT
43
+ string: |-
44
+ {
45
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration",
46
+ "value" : {
47
+ "Username" : "sa",
48
+ "Driver Name" : "h2",
49
+ "JNDI Name" : "java:jboss/datasources/ExampleDS",
50
+ "Connection URL" : "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE",
51
+ "Enabled" : "true",
52
+ "Password" : "sa"
53
+ },
54
+ "name" : "configuration"
55
+ }
56
+ http_version:
57
+ recorded_at: Thu, 21 Apr 2016 13:38:36 GMT
58
+ recorded_with: VCR 3.0.1
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
5
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/data?dataType=configuration
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -31,20 +31,27 @@ http_interactions:
31
31
  Pragma:
32
32
  - no-cache
33
33
  Date:
34
- - Thu, 24 Mar 2016 01:32:06 GMT
34
+ - Thu, 21 Apr 2016 13:35:31 GMT
35
35
  Connection:
36
36
  - keep-alive
37
37
  Content-Type:
38
38
  - application/json
39
39
  Content-Length:
40
- - '105'
40
+ - '351'
41
41
  body:
42
42
  encoding: ASCII-8BIT
43
43
  string: |-
44
44
  {
45
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
46
- "id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
45
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/d;configuration",
46
+ "value" : {
47
+ "Bound Address" : "127.0.0.1",
48
+ "Version" : "1.0.0.Alpha13-SNAPSHOT",
49
+ "Server State" : "running",
50
+ "Product Name" : "Hawkular",
51
+ "Hostname" : "localhost.localdomain"
52
+ },
53
+ "name" : "configuration"
47
54
  }
48
55
  http_version:
49
- recorded_at: Thu, 24 Mar 2016 01:32:06 GMT
56
+ recorded_at: Thu, 21 Apr 2016 13:35:31 GMT
50
57
  recorded_with: VCR 3.0.1
metadata CHANGED
@@ -1,156 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hawkular-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Libor Zoubek
8
8
  - Heiko W. Rupp
9
- - Jirka Kremser
10
9
  - Federico Simoncelli
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2016-03-24 00:00:00.000000000 Z
13
+ date: 2016-04-22 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: rest-client
18
17
  requirement: !ruby/object:Gem::Requirement
19
18
  requirements:
20
- - - '>='
19
+ - - ">="
21
20
  - !ruby/object:Gem::Version
22
21
  version: '0'
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
26
25
  requirements:
27
- - - '>='
26
+ - - ">="
28
27
  - !ruby/object:Gem::Version
29
28
  version: '0'
30
29
  - !ruby/object:Gem::Dependency
31
30
  name: websocket-client-simple
32
31
  requirement: !ruby/object:Gem::Requirement
33
32
  requirements:
34
- - - ~>
33
+ - - "~>"
35
34
  - !ruby/object:Gem::Version
36
35
  version: 0.3.0
37
36
  type: :runtime
38
37
  prerelease: false
39
38
  version_requirements: !ruby/object:Gem::Requirement
40
39
  requirements:
41
- - - ~>
40
+ - - "~>"
42
41
  - !ruby/object:Gem::Version
43
42
  version: 0.3.0
44
43
  - !ruby/object:Gem::Dependency
45
44
  name: addressable
46
45
  requirement: !ruby/object:Gem::Requirement
47
46
  requirements:
48
- - - '>='
47
+ - - ">="
49
48
  - !ruby/object:Gem::Version
50
49
  version: '0'
51
50
  type: :runtime
52
51
  prerelease: false
53
52
  version_requirements: !ruby/object:Gem::Requirement
54
53
  requirements:
55
- - - '>='
54
+ - - ">="
56
55
  - !ruby/object:Gem::Version
57
56
  version: '0'
58
57
  - !ruby/object:Gem::Dependency
59
58
  name: shoulda
60
59
  requirement: !ruby/object:Gem::Requirement
61
60
  requirements:
62
- - - '>='
61
+ - - ">="
63
62
  - !ruby/object:Gem::Version
64
63
  version: '0'
65
64
  type: :development
66
65
  prerelease: false
67
66
  version_requirements: !ruby/object:Gem::Requirement
68
67
  requirements:
69
- - - '>='
68
+ - - ">="
70
69
  - !ruby/object:Gem::Version
71
70
  version: '0'
72
71
  - !ruby/object:Gem::Dependency
73
72
  name: rspec-rails
74
73
  requirement: !ruby/object:Gem::Requirement
75
74
  requirements:
76
- - - ~>
75
+ - - "~>"
77
76
  - !ruby/object:Gem::Version
78
77
  version: '3.0'
79
78
  type: :development
80
79
  prerelease: false
81
80
  version_requirements: !ruby/object:Gem::Requirement
82
81
  requirements:
83
- - - ~>
82
+ - - "~>"
84
83
  - !ruby/object:Gem::Version
85
84
  version: '3.0'
86
85
  - !ruby/object:Gem::Dependency
87
86
  name: rake
88
87
  requirement: !ruby/object:Gem::Requirement
89
88
  requirements:
90
- - - <
89
+ - - "<"
91
90
  - !ruby/object:Gem::Version
92
91
  version: '11'
93
92
  type: :development
94
93
  prerelease: false
95
94
  version_requirements: !ruby/object:Gem::Requirement
96
95
  requirements:
97
- - - <
96
+ - - "<"
98
97
  - !ruby/object:Gem::Version
99
98
  version: '11'
100
- - !ruby/object:Gem::Dependency
101
- name: simple-websocket-vcr
102
- requirement: !ruby/object:Gem::Requirement
103
- requirements:
104
- - - '='
105
- - !ruby/object:Gem::Version
106
- version: 0.0.4
107
- type: :development
108
- prerelease: false
109
- version_requirements: !ruby/object:Gem::Requirement
110
- requirements:
111
- - - '='
112
- - !ruby/object:Gem::Version
113
- version: 0.0.4
114
99
  - !ruby/object:Gem::Dependency
115
100
  name: yard
116
101
  requirement: !ruby/object:Gem::Requirement
117
102
  requirements:
118
- - - '>='
103
+ - - ">="
119
104
  - !ruby/object:Gem::Version
120
105
  version: '0'
121
106
  type: :development
122
107
  prerelease: false
123
108
  version_requirements: !ruby/object:Gem::Requirement
124
109
  requirements:
125
- - - '>='
110
+ - - ">="
126
111
  - !ruby/object:Gem::Version
127
112
  version: '0'
128
113
  - !ruby/object:Gem::Dependency
129
114
  name: webmock
130
115
  requirement: !ruby/object:Gem::Requirement
131
116
  requirements:
132
- - - '>='
117
+ - - ">="
133
118
  - !ruby/object:Gem::Version
134
119
  version: '0'
135
120
  type: :development
136
121
  prerelease: false
137
122
  version_requirements: !ruby/object:Gem::Requirement
138
123
  requirements:
139
- - - '>='
124
+ - - ">="
140
125
  - !ruby/object:Gem::Version
141
126
  version: '0'
142
127
  - !ruby/object:Gem::Dependency
143
128
  name: vcr
144
129
  requirement: !ruby/object:Gem::Requirement
145
130
  requirements:
146
- - - '>='
131
+ - - ">="
147
132
  - !ruby/object:Gem::Version
148
133
  version: '0'
149
134
  type: :development
150
135
  prerelease: false
151
136
  version_requirements: !ruby/object:Gem::Requirement
152
137
  requirements:
153
- - - '>='
138
+ - - ">="
154
139
  - !ruby/object:Gem::Version
155
140
  version: '0'
156
141
  - !ruby/object:Gem::Dependency
@@ -171,32 +156,30 @@ dependencies:
171
156
  name: coveralls
172
157
  requirement: !ruby/object:Gem::Requirement
173
158
  requirements:
174
- - - '>='
159
+ - - ">="
175
160
  - !ruby/object:Gem::Version
176
161
  version: '0'
177
162
  type: :development
178
163
  prerelease: false
179
164
  version_requirements: !ruby/object:Gem::Requirement
180
165
  requirements:
181
- - - '>='
166
+ - - ">="
182
167
  - !ruby/object:Gem::Version
183
168
  version: '0'
184
- description: |2
185
- A Ruby client for Hawkular
169
+ description: " A Ruby client for Hawkular\n"
186
170
  email:
187
171
  - lzoubek@redhat.com
188
172
  - hrupp@redhat.com
189
- - jkremser@redhat.com
190
173
  executables: []
191
174
  extensions: []
192
175
  extra_rdoc_files:
193
176
  - README.rdoc
194
177
  - CHANGES.rdoc
195
178
  files:
196
- - .coveralls.yml
197
- - .gitignore
198
- - .rubocop.yml
199
- - .travis.yml
179
+ - ".coveralls.yml"
180
+ - ".gitignore"
181
+ - ".rubocop.yml"
182
+ - ".travis.yml"
200
183
  - CHANGES.rdoc
201
184
  - Gemfile
202
185
  - LICENSE
@@ -269,12 +252,10 @@ files:
269
252
  - spec/vcr_cassettes/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml
270
253
  - spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
271
254
  - spec/vcr_cassettes/Gauge_metrics/Should_update_tags_for_gauge_definition.yml
272
- - spec/vcr_cassettes/Inventory/Client_should_listen_on_various_inventory_events.json
273
- - spec/vcr_cassettes/Inventory/Client_should_listen_on_various_inventory_events.yml
274
- - spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml
275
255
  - spec/vcr_cassettes/Inventory/Should_List_datasources_with_no_props.yml
276
256
  - spec/vcr_cassettes/Inventory/Should_create_a_feed.yml
277
257
  - spec/vcr_cassettes/Inventory/Should_create_a_feed_again.yml
258
+ - spec/vcr_cassettes/Inventory/Should_create_a_nested_resource_and_metric_on_it.yml
278
259
  - spec/vcr_cassettes/Inventory/Should_create_a_resource_.yml
279
260
  - spec/vcr_cassettes/Inventory/Should_create_a_resource_with_metric.yml
280
261
  - spec/vcr_cassettes/Inventory/Should_create_a_resourcetype.yml
@@ -285,6 +266,7 @@ files:
285
266
  - spec/vcr_cassettes/Inventory/Should_list_WildFlys_with_props.yml
286
267
  - spec/vcr_cassettes/Inventory/Should_list_all_the_resource_types.yml
287
268
  - spec/vcr_cassettes/Inventory/Should_list_children_of_WildFly.yml
269
+ - spec/vcr_cassettes/Inventory/Should_list_children_of_nested_resource.yml
288
270
  - spec/vcr_cassettes/Inventory/Should_list_feeds.yml
289
271
  - spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml
290
272
  - spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml
@@ -295,25 +277,12 @@ files:
295
277
  - spec/vcr_cassettes/Inventory/Should_list_types_with_bad_feed.yml
296
278
  - spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml
297
279
  - spec/vcr_cassettes/Inventory/Should_not_find_an_unknown_resource.yml
298
- - spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml
299
- - spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml
280
+ - spec/vcr_cassettes/Inventory/Should_return_config_data_of_given_nested_resource.yml
281
+ - spec/vcr_cassettes/Inventory/Should_return_config_data_of_given_resource.yml
300
282
  - spec/vcr_cassettes/Metrics/Status.yml
301
283
  - spec/vcr_cassettes/Mixed_metrics/Should_send_mixed_metric_request.yml
302
284
  - spec/vcr_cassettes/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml
303
285
  - spec/vcr_cassettes/No_Tenant/Should_fail.yml
304
- - spec/vcr_cassettes/Operation/Helpers/get_tenant.yml
305
- - spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json
306
- - spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json
307
- - spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json
308
- - spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json
309
- - spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json
310
- - spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json
311
- - spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json
312
- - spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json
313
- - spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json
314
- - spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json
315
- - spec/vcr_cassettes/Operation/Operation/should_not_be_possible_to_perform_on_closed_client.json
316
- - spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json
317
286
  - spec/vcr_cassettes/Simple/Should_be_Cool.yml
318
287
  - spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml
319
288
  - spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml
@@ -328,27 +297,27 @@ licenses:
328
297
  metadata: {}
329
298
  post_install_message:
330
299
  rdoc_options:
331
- - --title
300
+ - "--title"
332
301
  - hawkular-client
333
- - --main
302
+ - "--main"
334
303
  - README.rdoc
335
- - --line-numbers
336
- - --inline-source
304
+ - "--line-numbers"
305
+ - "--inline-source"
337
306
  require_paths:
338
307
  - lib
339
308
  required_ruby_version: !ruby/object:Gem::Requirement
340
309
  requirements:
341
- - - '>='
310
+ - - ">="
342
311
  - !ruby/object:Gem::Version
343
312
  version: 2.0.0
344
313
  required_rubygems_version: !ruby/object:Gem::Requirement
345
314
  requirements:
346
- - - '>='
315
+ - - ">="
347
316
  - !ruby/object:Gem::Version
348
317
  version: '0'
349
318
  requirements: []
350
319
  rubyforge_project:
351
- rubygems_version: 2.0.17
320
+ rubygems_version: 2.6.3
352
321
  signing_key:
353
322
  specification_version: 4
354
323
  summary: A Ruby client for Hawkular
@@ -408,12 +377,10 @@ test_files:
408
377
  - spec/vcr_cassettes/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml
409
378
  - spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
410
379
  - spec/vcr_cassettes/Gauge_metrics/Should_update_tags_for_gauge_definition.yml
411
- - spec/vcr_cassettes/Inventory/Client_should_listen_on_various_inventory_events.json
412
- - spec/vcr_cassettes/Inventory/Client_should_listen_on_various_inventory_events.yml
413
- - spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml
414
380
  - spec/vcr_cassettes/Inventory/Should_List_datasources_with_no_props.yml
415
381
  - spec/vcr_cassettes/Inventory/Should_create_a_feed.yml
416
382
  - spec/vcr_cassettes/Inventory/Should_create_a_feed_again.yml
383
+ - spec/vcr_cassettes/Inventory/Should_create_a_nested_resource_and_metric_on_it.yml
417
384
  - spec/vcr_cassettes/Inventory/Should_create_a_resource_.yml
418
385
  - spec/vcr_cassettes/Inventory/Should_create_a_resource_with_metric.yml
419
386
  - spec/vcr_cassettes/Inventory/Should_create_a_resourcetype.yml
@@ -424,6 +391,7 @@ test_files:
424
391
  - spec/vcr_cassettes/Inventory/Should_list_WildFlys_with_props.yml
425
392
  - spec/vcr_cassettes/Inventory/Should_list_all_the_resource_types.yml
426
393
  - spec/vcr_cassettes/Inventory/Should_list_children_of_WildFly.yml
394
+ - spec/vcr_cassettes/Inventory/Should_list_children_of_nested_resource.yml
427
395
  - spec/vcr_cassettes/Inventory/Should_list_feeds.yml
428
396
  - spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml
429
397
  - spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml
@@ -434,25 +402,12 @@ test_files:
434
402
  - spec/vcr_cassettes/Inventory/Should_list_types_with_bad_feed.yml
435
403
  - spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml
436
404
  - spec/vcr_cassettes/Inventory/Should_not_find_an_unknown_resource.yml
437
- - spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml
438
- - spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml
405
+ - spec/vcr_cassettes/Inventory/Should_return_config_data_of_given_nested_resource.yml
406
+ - spec/vcr_cassettes/Inventory/Should_return_config_data_of_given_resource.yml
439
407
  - spec/vcr_cassettes/Metrics/Status.yml
440
408
  - spec/vcr_cassettes/Mixed_metrics/Should_send_mixed_metric_request.yml
441
409
  - spec/vcr_cassettes/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml
442
410
  - spec/vcr_cassettes/No_Tenant/Should_fail.yml
443
- - spec/vcr_cassettes/Operation/Helpers/get_tenant.yml
444
- - spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json
445
- - spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json
446
- - spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json
447
- - spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json
448
- - spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json
449
- - spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json
450
- - spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json
451
- - spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json
452
- - spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json
453
- - spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json
454
- - spec/vcr_cassettes/Operation/Operation/should_not_be_possible_to_perform_on_closed_client.json
455
- - spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json
456
411
  - spec/vcr_cassettes/Simple/Should_be_Cool.yml
457
412
  - spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml
458
413
  - spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml