Hi Dan,
>Um, there isn't. myapp-fixture depends on myapp-dom, but the opposite isn't
>true (it can't
>be, otherwise Maven wouldn't build the project because there would be a cyclic
>dependency
>between modules).
You are right - I got mixed up with myapp-app and myapp-dom.
>Yes, or maybe using
-Ursprüngliche Nachricht-
> Von: Dan Haywood [mailto:d...@haywood-associates.co.uk]
> Gesendet: Freitag, 18. Dezember 2015 10:35
> An: users
> Betreff: Re: Load Data from Files at Startup
>
> 2015-12-09 12:50 GMT+00:00 Rade, Joerg / Kuehne + Nagel / Ham GI-PS <
> joerg.r...@
that
reads in files/resources as they become available?
Integrating with Apache Camel?
Best regards
Jörg
-Ursprüngliche Nachricht-
Von: Dan Haywood [mailto:d...@haywood-associates.co.uk]
Gesendet: Freitag, 18. Dezember 2015 10:35
An: users
Betreff: Re: Load Data from Files at Startup
If you go that route, also make sure that any subscribers have a lower
menuOrder than any seed services, using @DomainServiceLayout#menuOrder.
The reason for this is that, when a seed service creates objects, it will
publish events onto the event bus. If a subscriber is then subsequently
registere
Hi Joerg,
You can also run a fixture when a service is initialised. We do that when
loading seed data in Estatio:
https://github.com/estatio/estatio/blob/1e85e43af7854f74dd3b39f44f6d9432168b3765/estatioapp/fixture/src/main/java/org/estatio/fixture/security/EstatioSecurityModuleSeedService.java#L3
2015-12-09 12:50 GMT+00:00 Rade, Joerg / Kuehne + Nagel / Ham GI-PS <
joerg.r...@kuehne-nagel.com>:
> Hi,
>
> my fixtures have grown into a couple of files the application needs to
> read in when it starts the first time (and possibly later on when the files
> content change).
>
> What is the righ
Hi,
my fixtures have grown into a couple of files the application needs to read in
when it starts the first time (and possibly later on when the files content
change).
What is the right way to do this?
Hook up into the webapp start?
Use events?
Thanks in advance
Jörg
Kühne + Nagel (AG & Co.)