• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hawkular / hawkular-client-ruby / 621
97%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2017 03:32PM UTC
Jobs 4
Files 25
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
621

Pull #196

travis-ci

web-flow
Inventory on metrics

Read inventory from String metrics instead of hawkular-inventory
Note, many functions have been removed for the time being, as not used in MIQ. We may add them back later.
WIP: tests not refactored yet, thus failing

Inventory on metrics: compress & chunk

Update some integration tests

Changed chunk algorithm: 1 datapoint per chunk

(instead of 1 metric per chunk)

Re-introduce list_operation_definitions in the API

As well as list_operation_definitions_for_resource. They are used in HawkFx.
Restore two associated tests.

Remove useless (and faulty) code

Should have been "delete if key..." instead of "unless"! Anyway, the "children" node is never located inside "data".

Code style

Temporary rollback tests

... to prepare clean commit that removes obsolete tests

Update cassettes

- Hawkular client
- Inventory
- Metrics (due to some dependency on inventory)
- Operation (due to some dependency on inventory)

Remove obsolete tests

Clean some references to inventory

Temporary use jotak/hawkular-service in compose file

Restore function list_metrics_for_metric_type

Restore associated tests
Make get_config_data_for_resource return empty hash if not found

Update inventory cassettes

Add function get_resource_type

Update cassettes

Fix extracting metric data from json

Allow immutable operations on canonical paths

Also remove CP.to_resource which is same as CP.down

Unescape feed_id when taking it from CP

The same was already done for other fields like resource_type_id, there's no reason why feed_id should differ

Test: use unescaped ids for building CP

Update vcr cassettes

Rollback docker compose
Pull Request #196: Inventory on metrics

283 of 283 new or added lines in 7 files covered. (100.0%)

2667 of 2777 relevant lines covered (96.04%)

113.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
100.0
lib/hawkular/inventory/inventory_api.rb

Coverage Regressions

Lines Coverage ∆ File
17
100.0
lib/hawkular/inventory/entities.rb
9
100.0
spec/integration/inventory_spec.rb
9
100.0
spec/integration/operations_spec.rb
2
100.0
spec/integration/hawkular_client_spec.rb
Jobs
ID Job ID Ran Files Coverage
1 621.1 (2.2, RUN_ON_LIVE_SERVER=1 \ VCR_UPDATE=1 \ SKIP_SSL_WITHOUT_CERTIFICATE_TEST=1 \ SKIP_SECURE_CONTEXT=1 \ SKIP_V8_METRICS=1 \) 25 Apr 2017 03:36PM UTC 0
95.71
Travis Job 621.1
2 621.2 (2.2, RUN_ON_LIVE_SERVER=0 \ SKIP_SSL_WITHOUT_CERTIFICATE_TEST=1) 25 Apr 2017 03:32PM UTC 0
95.64
Travis Job 621.2
3 621.3 (2.3.0, RUN_ON_LIVE_SERVER=1 \ VCR_UPDATE=1 \ SKIP_SSL_WITHOUT_CERTIFICATE_TEST=1 \ SKIP_SECURE_CONTEXT=1 \ SKIP_V8_METRICS=1 \) 25 Apr 2017 03:36PM UTC 0
95.71
Travis Job 621.3
4 621.4 (2.3.0, RUN_ON_LIVE_SERVER=0 \ SKIP_SSL_WITHOUT_CERTIFICATE_TEST=1) 25 Apr 2017 03:32PM UTC 0
95.64
Travis Job 621.4
Source Files on build 621
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #621
  • Pull Request #196
  • PR Base - master (#619)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc