RfD: Installer
by Heiko W.Rupp
Hey,
while the All In One zip works well for demoing, using Hawkular in a
more serious scenario requires a lot of options and settings
* External C*: $CASSANDRA_NODES and -Dhawkular.backend=remote
* Binding to non-localhost: -b a.b.c.d and
-Dkeycloak.server.url=http://a.b.c.d:8080/auth
* Adding jdoe to a dist build:
-Dkeycloak.import=./standalone/configuration/hawkular-realm-for-dev.json
* Using an external RDBMS for keycloack users: "before the server first
boots, the `KeycloakDS` on `…
[View More]standalone.xml` should be changed to point
to an external database." (this applies when using the embedded KC and
not a separate standalone one)
* If not using jdoe above: setting user/password for the internal agent
after a user was created
* Dorking around with standalone.xml to chose up a mail server
* Setting other java opts
all the above involve a huge amount of manual steps and configuration
changes.
I think it is thus time to introduce some sort of installer or config
script that is able to make the changes. I think there is meanwhile even
a cli mode that can apply the changes (to standalone.xml) on a
non-running server. Some options could be set in env variables or
directly applied to the standalone.xml.
If we still need to supply env-variables we may potentially also create
a start script from the installer, which sets the variabls and then
calls standalone.sh
[View Less]
9 years, 1 month
cmdgw release
by John Mazzitelli
I had added some new json schemas a week or two ago, so decided to end the week with a cmdgw release. 0.10.10.Final has been released of command-gateway.
9 years, 2 months
UI Development changes
by mike thompson
NOTE: these changes are only relevant to UI development in typescript.
To follow on to previous messages about the upcoming tslint UI changes. Last time, we discussed upcoming changes (more strict coding standards) to TS development and I sent out the tslint.json file for discussion. That has been implemented now that we have released, and should provide a more consistent development style for all. In addition, the tslint rules will steer away from known typescript issues and allow third party …
[View More]contributions without a ton of PR turnaround (since much of it is automated and can be done at the client machine). Additional rules will be added as we mature our codebase.
If you feel the rules are too strict and need to subvert “The Man”, feel free to do so with:
/* tslint:disable:no-unused-variable */. The rulewill tell you which rule it failed on so its easy to add this clause. The disable rule takes effect until the end of the file or a corresponding tslint:enable command is given.
So if you have done previous UI dev work, expect additional linting rules to fire now. There are now both white-space formatting and syntax rules that are required. While you are free to use any tools to develop,
Pro Tip: Install (https://github.com/vvakame/typescript-formatter <https://github.com/vvakame/typescript-formatter>) via:
npm install -g typescript-formatter
and then you can use at any time:
tsfmt -r
to recursively format all the whitespace in the files according the the tslint.json rules established (this should be run from the ’scripts’ directory).
— Mike
[View Less]
9 years, 2 months
agent error
by John Mazzitelli
I wanted to verify this PR fixes my problem storing metrics:
https://github.com/hawkular/hawkular-metrics/pull/438
So I pulled hawkular-metrics, built, and then built kettle using metrics 0.12.0-SNAPSHOT.
But now it is worse - even using username/password, agent can't store any metric data. I am wondering if the REST API changed in metrics? or if this PR actually broke something. The error makes it seem like the REST calls that did work on 0.11.0 no longer do, but I don't know if its an auth …
[View More]issue or a REST/JSON issue:
16:42:43,703 ERROR [org.hawkular.agent.monitor.storage.MetricsOnlyStorageAdapter] (OkHttp http://127.0.0.1:8080/hawkular/metrics/metrics/data) HAWKMONITOR010010: Failed to store metric data: {"counters":[],"availabilities":[],"gauges":[{"data":[{"value":0.0,"timestamp":1454017363117}],"id":"MI~R~[6f9d3775-410f-4f9a-bd76-cc6e9f2979c2/Local~/subsystem=messaging-activemq/server=default/jms-topic=HawkularAccountsEvents]~MT~JMS Topic Metrics~Message Count"}]}: java.io.IOException: status-code=[400], reason=[Bad Request], url=[http://127.0.0.1:8080/hawkular/metrics/metrics/data]
I see no errors coming from accounts or metrics - this is the only error I get (its from the agent logging the error after attempting to make a REST request to metrics to store data)
[View Less]
9 years, 2 months
bower > 1.7.2 moves the binary to somewhere else
by Juraci Paixão Kröhling
If you don't deal with UI stuff, this will not affect you.
It seems that bower > 1.7.2 have moved the bower's executable to another
location, causing the frontend-maven-plugin to fail at building the UI
for BTM. Hawkular is *not* affected, as long as it keeps using 1.7.2 (as
it's the case so far).
So, before updating Bower to a version higher than 1.7.2, make sure that
the following bug on frontend-maven-plugin is fixed:
https://github.com/eirslett/frontend-maven-plugin/issues/350
- Juca.
9 years, 2 months
UX Pattern work around Labels
by Liz Clayton
Hi,
I brought some of the Hawkular UX Labels work and use cases to PatternFly
<https://www.patternfly.org/>. I wanted to learn more about what other
projects/products were doing with labels. The PF team thought this would be
a good topic to work on as a pattern, so I'm helping with that.
I created a blog post, on PatternFly, with some initial designs and
discussion topics. If anyone has a chance to check it out, I'm particularly
interested in gathering feedback about concerns and open …
[View More]issues.
Here's the blog post:
https://blog.patternfly.org/lets-talk-about-labels/
Thanks!
Liz C.
[View Less]
9 years, 2 months
Metrics protected by accounts: agent should be updated
by Thomas Segismont
Hi,
In Metrics master branch, the Hawkular component artifact is now
protected by Accounts.
This means that the current agent won't be able to send metrics, and
that we can't use the latest version of Metrics as is in Hawkular.
We need to:
- update the agent code (I haven't created any JIRA)
- update Hawkular with new Agent and Metrics srcdep in the same commit
(this is to close HAWKULAR-549)
Regards,
Thomas
9 years, 2 months
Github - Protected Branches
by Stefan Negrea
Hello Everybody,
I did a mistake force push yesterday on the master branch of Metrics and wiped a few commits. I was working on a PR and instead of force pushing the PR I did it on the master. And we did not notice that until late today. This could have partially been avoid by me working on fork. I do not like to work on a fork for the Metrics project because it is a constant churn of branching, getting new code, merging since I actively work on a project. But that by itself would not have …
[View More]avoided this force push at all. I knew about force push protection feature in general but never thought about activating it. Thanks to Juca for mentioning it in the channel.
As a way to avoid mistakes like this in the future, I enabled force push protection for the default branch on all Hawkular org repositories. This should have been enabled from the start.
For the future, I recommend enabling this on all new sub-projects. Also, if you have other important branches in your sub-project please enable force push protection for all of them. You can find this in Settings -> Branches -> Protected Branches - http://snag.gy/GK4ic.jpg (thanks again to Juca for the screenshot).
Thank you,
Stefan Negrea
Software Engineer
[View Less]
9 years, 2 months