[GSoC] Hawkular Android Client: Weekly Report
by Artur Dryomov
Hi everyone,
This year I am working on the Hawkular Android application as part of the
Google Summer of Code 2015 program.
The last week I spent of familiarization with the project and its key
terms. With the help of public Hawkular servers, the Docker image and
snapshots I looked at the API and experimented a bit to understand how
things actually work. As a result I’ve created a wiki page [1] with the
brief overview of key Hawkular terms. In the process I’ve opened a very
first Hawkular issue regarding Docker image [2]. As a result of better
understanding what is what I’ve created a very rough mockup of the UI [3]
which I’ve also sent to the design team. Hopefully after a review of
functions and design I can proceed with the development itself. There is
some source code already [4] but mostly it is just a basic project
structure, it is almost useless to the end user at this point.
I would like to start the development process this week. Of course it will
require a better understanding of what actually should be done — I’ve tried
to clarify this with creating the mockup. I think a basic authentication
plus resources fetching is a good bet to work on even without clear
requirements, so it can be started right away. Probably I should prepare a
script to fill a Hawkular instance with some sample information — in Python
or just plain cURL. If anyone has something like that — that will be a
great help. I was advised to look at the test scenario [5] as a departure
point but maybe someone of you have a similar thing locally.
Regards,
Artur.
[1]: https://github.com/hawkular/android-client/wiki/Overview
[2]: https://issues.jboss.org/browse/HAWKULAR-268
[3]: https://github.com/hawkular/android-client/wiki/Design
[4]: https://github.com/hawkular/android-client
[5]:
https://github.com/hawkular/hawkular/blob/65f2573987890b1ffd4460e3449fb02...
8 years, 10 months
OAuth Documentation
by Artur Dryomov
Hi everyone,
Is there any documentation regarding the OAuth authentication method to the
Hawkular server? At moment I am using the basic authentication method and
it works well, but probably OAuth is a better thing to do.
Thanks,
Artur.
8 years, 10 months
Release instructions
by Heiko W.Rupp
Hey,
Triggered by https://github.com/hawkular/hawkular-accounts/pull/30/files
Can we please agree on one maven profile for all Hawkular components that
is used to create a release?
I think that otherwise people less versed in a certain component that need to
craft a release will just miss the right profiles.
-Pdistribution certainly sounds like a good candidate.
Heiko
8 years, 10 months
Hawkular Metrics 0.3.4 - Release & Beyond
by Stefan Negrea
Hello Everybody,
I am happy to announce release 0.3.4 of Hawkular Metrics. The release is anchored by stability improvements and Docker + Kubernetes work.
Here are the release highlights:
1) InfluxDB Compatibility Layer
- pretty printing of query results with the 'pretty' query parameter
- absolute moment operands in queries (ex: select * from test where time > 1501560s and time < 4560546h)
- various fixes which allow to integrate nicely with Grafana (declaring Hawkular Metrics as an InfluxDB 0.8 datasource)
2) RxJavaMigration
- big refactoring to use RxJava instead of Guava's ListenableFuture
- RxJava provides a much richer API for building asynchronous programs
3) Server Start-up
- the server no longer requires Cassandra to be started first
- any client requests will get back a 503 response code if the server has not fully initialized due to Cassandra being down at start up time
4) Docker and Kubernetes
- all project docker images are now available in Docker Hub! Get them here:
https://registry.hub.docker.com/u/hawkular/hawkular-metrics/
https://registry.hub.docker.com/u/hawkular/hawkular-cassandra/
- improved replication controller support now means that both the Hawkular-Metrics and Cassandra images can be scaled up or down
- various other smaller improvements, including better support for when containers startup
5) REST API (IMPORTANT!)
- tenantId header was renamed to Hawkular-Tenant
- tenantId header fallback was removed
- GET {id}/tags only returns the tags, not the whole definition anymore
- GET {id} returns the metric definition (see HWKMETRICS-110 [1] for known issue)
6) UI Explorer
- was removed from the project
- discussions are underway to find a new home for the functionality and code (probably hawkular-ui-components)
- npm is no longer required to compile the project
7) Task Queue
- a generic task queue was designed and developed as part of this release
- provides functionality for scheduling and executing background tasks or jobs
- task execution is
scalable - automatically distributed among Hawkular Metrics servers
durable - Tasks are persisted
fault tolerant - Tasks are rescheduled for future execution when there is a failure
- it will serve as the foundation for
computing/storing aggregated metrics (i.e., rollups)
deleting metrics
changing data retention
- this functionality will be basis for any background task based design for the project
Github Release:
https://github.com/hawkular/hawkular-metrics/releases/tag/0.3.4
JBoss Nexus Maven artifacts:
http://origin-repository.jboss.org/nexus/content/repositories/public/org/...
Jira release tracker:
https://issues.jboss.org/browse/HWKMETRICS/fixforversion/12327259/
Hawkular Metrics 0.3.5 and Beyond
1) Gauge Aggregates - Long-term storage of numeric metrics at the expense of losing some fidelity. With task queue released in 0.3.4, the expectation is to start the actual implementation 0.3.5.
2) Update REST testing - while the current set of tests is a good gauge for regressions, the overall coverage is still low. The plan for 0.3.5 is to increase coverage.
3) Improved Docker and Kubernetes support - this is a long term goal for the project
4) RXJava - the initial transition from Guava was done in 0.3.4. Future releases will build upon this foundation.
A big "Thank you" goes to John Sanda, Thomas Segismont, Mike Thompson, Matt Wringe, Michael Burman, and Heiko Rupp for their project contributions. Special mentions go to Jeeva Kandasamy and Jirka Kremser for their project help.
[1] https://issues.jboss.org/browse/HWKMETRICS-110
Thank you,
Stefan Negrea
Software Engineer
8 years, 10 months