Posts

Showing posts from March 10, 2019

Marist Brothers

Image
Marist Brothers Abbreviation F.M.S. Named after Blessed Virgin Mary Motto Ad Jesum per Mariam ( Latin ) (To Jesus through Mary) Formation January 2, 1817 ; 202 years ago  ( 1817-01-02 ) Founder St. Marcellin Champagnat Founded at Lyons, France Type Lay Religious Congregation of Pontifical Right (for Men) Purpose To educate young neglected people Headquarters Piazzale Marcellino Champagnat 2, C.P. 10250, 00144 Roma, Italy Region Global Membership .mw-parser-output .nobold{font-weight:normal} (2016) 3,154 members Secretary General Br. Carlos Alberto Huidobro, F.M.S. Superior General Br. Ernesto Barba Sánchez, F.M.S. Website www.champagnat.org The Marist Brothers of the Schools , commonly known as simply the Marist Brothers , is an international community of Catholic Religious Institute of Brothers. In 1817, St. Marcellin Champagnat, a priest (Marist Father, SM) from France, founded the Marist Brothers, with the goal o

How are aggregates instantiated to test other aggregates with?

Image
1 Suppose I have an aggregate that, for some operation, requires the existence of another aggregate. Let's assume I have a car and a garage . There might be a command called ParkInGarage that looks like this: public class ParkInGarage { @TargetAggregateIdentifier public final UUID carId; public final Garage garage; //... constructor omitted } I've read that to validate the existence of an aggregate, it is good practice to use the loaded aggregate in commands since that already implies its existence (as opposed to passing a garageId ). Now when unit-testing the Car using Axon's fixtures, I can not simply instantiate my Garage by saying new Garage(buildGarageCmd) . It will say: java.lang.IllegalStateException: Cannot request current Scope if none is active Becaus