by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 04:12

    jroper on template

    Updating latest documentation (compare)

  • Jul 07 21:26
    Travis lagom/lagom (master) still failing (8099)
  • Jul 07 20:50
    Travis lagom/lagom (master) still failing (8098)
  • Jul 07 20:42
    Travis lagom/lagom#2940 fixed (8097)
  • Jul 07 19:12
    mergify[bot] unlabeled #2937
  • Jul 07 19:12

    mergify[bot] on master

    Update okio to 2.7.0 Merge pull request #2937 from s… (compare)

  • Jul 07 19:12
    mergify[bot] closed #2937
  • Jul 07 19:12
    ihostage labeled #2937
  • Jul 07 18:36
    ihostage labeled #2940
  • Jul 07 18:36
    ihostage review_requested #2940
  • Jul 07 18:32
    ihostage opened #2940
  • Jul 07 18:11
    ihostage review_requested #2939
  • Jul 07 18:05
    ihostage opened #2939
  • Jul 07 18:05
    ihostage milestoned #2939
  • Jul 07 17:56
    mergify[bot] commented #2872
  • Jul 07 17:55
    ihostage commented #2872
  • Jul 07 17:48
    ihostage commented #83
  • Jul 07 16:05
    Travis lagom/lagom#2937 fixed (8094)
  • Jul 07 14:47
    seglo labeled #2938
  • Jul 07 14:47
    seglo opened #2938
Elijah Rippeth
@erip
I did. Should we wait for that to be contributed before proceeding?
I almost wonder if the resetting of the issues buffer is worthy of being considered a bug?
i.e., allIssues doesn't actually capture all issues of a driver -- it captures all issues of a run
Ignasi Marimon-Clos
@ignasi35
That’s what I remembered… Then my suggestion for a FailFastPersistentEntityTestDriver becomes more interesting. Hmm...
It’s worth discussing on the original issue lagom/lagom#1348 though to get more feedback.
Elijah Rippeth
@erip
See here and here
Oh, I see..
Elijah Rippeth
@erip
These changes are exciting! nice job, all. :clap:
Ivan
@advancedwebdeveloper
Hello people
Elijah Rippeth
@erip
Hello
Jules Ivanic
@guizmaii
Hello
Elijah Rippeth
@erip
eventually consistent greetings. :laughing:
Elijah Rippeth
@erip
Does it make sense to prescribe/recommend a repo structure?

My team has been really fond of something like this:

api
├── MyService.scala
├── domain
│   └── package.scala
├── events
│   └── package.scala
└── commands
    └── package.scala

which is really organizationally nice... not sure if that's how opinionated Lagom wants to be, though.

Similar thing for impl, but we have readsides, entities, etc.
Elijah Rippeth
@erip
Also, after taking the reactive systems courses that Lightbend offered, I've been wondering if it even makes sense to bundle domain in the api. I could seem the domain being a separate logical project.
that way the domain, api, and impl (infrastructure) are separated according to the hexagonal architecture
Elijah Rippeth
@erip
Oops, I also forgot exceptions in the api -- we have those, too. :smile:
Jules Ivanic
@guizmaii

eventually consistent greetings. :laughing:

:smile:

Does it make sense to prescribe/recommend a repo structure?

I have to write a blog post about that

To enforce some rules, we’ve “improved” (for us, at least) the Lagom layout
there’s more than api and impl for each services
then you can enforce that some code are isolated from each other
Elijah Rippeth
@erip
@guizmaii Yeah, I think domain, api, impl makes sense.
Jules Ivanic
@guizmaii
we also have dto (for Data Transfer Object, maybe a better name can be found. It sounds maybe too much JavaEE bullshit), which are our APIs data structures and we have messages which are our data structures transitings via Kafka
and maybe more. I forgot. I don’t work that much on that project these days
api depends on dto and messages but dto and messages don’t know each others
Jules Ivanic
@guizmaii
APIs data structures and data transiting throught Kafka don’t have the same lifrcycle constraints that why they should be strictly separated
Elijah Rippeth
@erip
Maybe I'll just create a g8 template
Ignasi Marimon-Clos
@ignasi35
just caching up with past conversations here. I like where the conversation is going TBH. Any recommendation from real-world use of lagom to help keep the code well organised and clean is worth evaluating. @guizmaii I’m looking forward to your blog post :-)
Jules Ivanic
@guizmaii
:+1:
Elijah Rippeth
@erip
I've definitely got a lot of TODOs recently from lagom, but I'll try to come up with a g8 template that reflects how I organize things. @guizmaii, I'd be happy if you wanted to work on it, too. Once it's in a good place, I can ping you, @ignasi35
Jules Ivanic
@guizmaii

@guizmaii, I'd be happy if you wanted to work on it, too

Ok let me know what you need

Sergey Morgunov
@ihostage
Hello, contributors! :hand:
I found excellent PR lagom/lagom#1187
Of course this feature undocumented. :smile: Have you not plans to remove it?
I very need this HandlerDef for HTTP filter. :pray:
Tim Moore
@TimMoore
@ihostage it won't be removed… it was introduced for cinnamon support. I didn't realize it would be useful for anything else :smile:
Sergey Morgunov
@ihostage
Thank you @TimMoore :+1:
Sergey Morgunov
@ihostage
Renato Cavalcanti
@renatocaval
@ihostage Lagom only allows to bind one service at userland level. The metrics is bound by default internally and because there is only one implementation, and it's not intended to be swapped, we bind it directly. Does it answer your question?
Renato Cavalcanti
@renatocaval
for information, I added the following integrations on this channel:
  • lagom/lagom
  • lagom/lagom.github.io
  • lagom/lagom-recipes
  • lagom/lagom-java-maven-chirper-example
  • lagom/lagom-java-sbt-chirper-example
  • lagom/online-auction-scala
  • lagom/online-auction-java
  • lagom/lagom-scala.g8
  • lagom/lagom-java.g8
  • lagom/akka-grpc-lagom-quickstart-scala
  • lagom/akka-grpc-lagom-quickstart-java
Jules Ivanic
@guizmaii
+1
Renato Cavalcanti
@renatocaval
GitHub activities on those channels will show up here (on right pane)
and not on lagom/lagom (users) as before
we will also get here all Travis activity for those same channels
Sergey Morgunov
@ihostage
:+1:
:point_up: September 24, 2018 4:39 PM @renatocaval Thank you! Now I think that the injecting MetricsService by implementation is normal case.
Ignasi Marimon-Clos
@ignasi35
:point_up: September 24, 2018 3:51 PM I think MetricsService may be removed some time in the future. It’s a service providing per-instance information so it’s weird to read that info via RPC (where you usually want to treat all instances/nodes equally). Instead, metrics should be pushed to an external aggregator to create some form of dashboard.
Sergey Morgunov
@ihostage
@ignasi35 Thank you! We will try to follow the updates MetricsService. Now we do the following. We subscribe to the stream of data from MetricsService and push data to an external MetricRegistry (+ graphite reporter).
Marcos Pereira
@marcospereira
Hum... okay so we had some failures in https://travis-ci.org/lagom/lagom/jobs/432892553. Will submit a pr to fix them now.
Ignasi Marimon-Clos
@ignasi35
@marcospereira I think the cron idea will not work as good in Lagom because of the validateDependecyWhitelist. As soon as Akka bumps a version the cron will be broken until Akka makes the release and Lagom bumps the release and fixes the whitelist.