clojure-europe

For people in Europe... or elsewhere... UGT https://indieweb.org/Universal_Greeting_Time
djm 2021-01-12T07:39:20.023Z

We have some scripts for settings up realms in Keycloak using their API... but the IT person who wrote them left, and the one who's left prefers to do things manually :harold:

djm 2021-01-12T07:39:41.023400Z

Several times we have had issues because of something he missed

djm 2021-01-12T07:41:14.024900Z

(We have a lot of custom code deployed to Keycloak, so our setup is quite involved... at some point we even had to add some code to check that all of the configuration has been done correctly, which was fun)

dharrigan 2021-01-12T07:45:52.025100Z

Morning Peeps!

kardan 2021-01-12T07:51:04.027900Z

@djm_uk I don’t remember how, but you can export a json and then use that to configure. We do that in our Dockerfile https://github.com/akvo/akvo-dockerfiles/tree/master/keycloak-dev This is however a dev configuration.

ordnungswidrig 2021-01-12T07:51:07.028Z

🌅

djm 2021-01-12T07:53:56.028100Z

Sure, you can export the json, and you can import json to create a realm. The API basically involves sending parts of that json to create/update stuff.

👍 1
kardan 2021-01-12T07:56:58.028400Z

So no news then 🙂

javahippie 2021-01-12T08:06:12.028700Z

Morgen!

thomas 2021-01-12T08:40:56.028900Z

morning

2021-01-12T09:02:24.029100Z

morning

jasonbell 2021-01-12T09:13:38.029300Z

Morning

slipset 2021-01-12T09:19:36.029500Z

Morning

javahippie 2021-01-12T09:35:50.030500Z

What do you use for APM? In my current (Java) project there is Instana, and it’s nice, very heavy and expensive. Any experience with Datadog, Honeycomb, etc.?

ordnungswidrig 2021-01-12T09:40:58.030900Z

I have limited experience with datadog and what I like is the snappiness of the interface.

javahippie 2021-01-13T09:17:25.044500Z

Have googled a little bit yesterday, and started experimenting with honeycomb. It’s really straightforward, I guess I will write a blog post about the integration soon

javahippie 2021-01-13T09:19:32.044700Z

With the LibHoney Java lib, this is for now all that’s needed to send events, which should be easily integrated into a Ring Middleware. Creating spans over HTTP and Database Calls is next

ordnungswidrig 2021-01-13T09:19:59.045100Z

That looks simple enough. What about opentracing etc?

javahippie 2021-01-13T09:20:35.045300Z

They also support OpenTelemetry, which would make it easier to switch to another provider later. But after reading docs about the OpenTelemetry Java lib, I was not looking forward to this:

ordnungswidrig 2021-01-13T09:21:04.046300Z

hehe. looks like the AWS java sdk style

ordnungswidrig 2021-01-13T09:21:11.046500Z

(Or maybe “modern” java?)

😢 1
javahippie 2021-01-13T09:21:11.046700Z

Will give it a shot when I have more peace of mind for it 😁

💡 1
ordnungswidrig 2021-01-12T09:42:55.031200Z

Browser update

ordnungswidrig 2021-01-12T09:42:57.031400Z

😛

ordnungswidrig 2021-01-12T09:43:16.031600Z

I actually went down the rabbit hole and actually read the spec. That helped me a lot.

ordnungswidrig 2021-01-12T09:43:27.031800Z

But I share your experience

thomas 2021-01-12T09:54:18.032Z

aah yes, that it probably why it stopped working

ordnungswidrig 2021-01-12T10:02:55.032200Z

There should be something like a CORS-advisor in the dev console that would guide how what to change.

ordnungswidrig 2021-01-12T10:03:39.032400Z

It gets worse once you start using CSP more other security features because then you have more think that can prevent your app from working.

ordnungswidrig 2021-01-12T10:03:55.032600Z

All of this features are valid and required, though, the web is a dangerous place.

javahippie 2021-01-12T10:05:16.032800Z

How did you like the integration into the application?

thomas 2021-01-12T10:06:17.033Z

I know it is a good thing, just a pain to use though.

thomas 2021-01-12T10:08:27.033200Z

and strangely enough when I press resend in FF it all works fine, no problems.

ordnungswidrig 2021-01-12T10:12:06.033400Z

I was not involved with that and from what I remember it was agents on EC2 instances and enabling some “AWS plugins” 🙂

ordnungswidrig 2021-01-12T10:12:14.033600Z

I can ask how smooth it was

javahippie 2021-01-12T10:14:44.033800Z

Thanks for the offer, but I believe I will have to try out different services first hand, anyways 😉

javahippie 2021-01-12T10:15:09.034Z

So, no need to bother any colleagues

raymcdermott 2021-01-12T10:38:02.034400Z

Morning

orestis 2021-01-12T10:39:43.034500Z

@javahippie I’m also interested in this. So far we’re just doing ad-hoc logging and parsing via AWS CloudWatch to get metrics, but at some point we’ll need something like honeycomb… It would be nice to stay inside AWS though.

javahippie 2021-01-12T10:41:48.034700Z

If money and admin-power was no issue, I’d stick with Instana. Analyzed Prod Performance issues with it the last two weeks, and it’s really good. For the project it’s Spring Boot with default Java, so the app is started with a Java Agent and everything works magically. You can self host it in AWS, if I understand correctly https://aws.amazon.com/marketplace/seller-profile?id=332ba99c-d105-4c5e-aa4f-e2d5f40a897d

simongray 2021-01-12T11:06:37.035100Z

morning

orestis 2021-01-12T11:58:40.035300Z

I’m using a single monolith so sometimes I get lost with all the features these provide that are aimed to microservices…

thomas 2021-01-12T12:24:04.035500Z

it works again on FF. I needed to make some changes on the API gateway.

pez 2021-01-12T12:28:25.036500Z

Morning. Almost forgot to mention here: Achievement Unlocked!

🍻 2
👏 1
🎉 6
🏆 1
dharrigan 2021-01-12T12:30:42.037Z

A great endorsement!

plexus 2021-01-12T12:40:41.037200Z

Morning!

borkdude 2021-01-12T12:59:33.037900Z

morning!

2021-01-12T14:25:27.038500Z

@pez that is a capture to put on the repo

❤️ 1
ordnungswidrig 2021-01-12T14:26:07.038700Z

hmmmm

simongray 2021-01-12T14:46:43.039300Z

“Now where did I drop my keys…?”

pez 2021-01-12T14:50:50.039500Z

Ah, of course!

ordnungswidrig 2021-01-12T14:54:53.039900Z

Here? 😱

🙂 1
ordnungswidrig 2021-01-12T15:56:04.040500Z

magic.

pez 2021-01-12T17:12:57.040800Z

Boom! https://calva.io

pez 2021-01-12T17:51:57.041100Z

Turned out Alex didn’t want me to use it like that. Oh, well. I’m just happy he likes Calva.

2021-01-12T21:01:54.041300Z

Ah well