Ok. Thanks Myrle. I will look into those links On Thu, Apr 5, 2018, 1:48 PM Myrle Krantz <[email protected]> wrote:
> Hi Courage, > > On Thu, Mar 29, 2018 at 4:11 PM, Courage Angeh <[email protected]> > wrote: > > The domain microservices rely on Lang microservice to generate RSA keys. > > Lang microservice serves a library like Cassandra and Async > microservices. > > I understand why relying on another program to start is not good but > that's > > not the only dependency here. > > > > Nevertheless my proposal is we update each microservice not to generate > an > > RSA key but to get it from the Lang microservice > > Lang is not a microservice, it's a library. There is no single > instance of it running. Instead, it is included in all the > microservices. Each microservice instance (and therefore each lang > instance) will see only it's own data. Lang does not have global > data, it only has service local data. If we were to create global > data that each instance of lang accesses, we would risk making > downtime-free upgrades impossible in the future. > > For an understanding of how keys are exchanged and used, this > documentation may help: > > https://cwiki.apache.org/confluence/display/FINERACT/Fineract+CN+demo-server > > If you want to understand how we design for downtime-free upgrades, > this documentation may help: > > https://cwiki.apache.org/confluence/display/FINERACT/Composing+a+Release+out+of+Microservices > > Best Regards, > Myrle >
