Hi Patrick,

Sorry for the delayed reply.

On Sun, Jan 27, 2019 at 5:04 PM Patrick Finken <[email protected]>
wrote:

> Hi,
>
> As a Guide to  initialize a newly installed Fineract app and to create a
> tenant, I use two resources I found online:
>
> Ange scripts:
>
> https://github.com/openMF/fineract-cn-containers/blob/master/scripts/provision.sh
> A series of postman requests:
> https://github.com/senacor/fineract-setup/tree/master/scripts/postman
>
> To help me better understand Fineract, I have a few questions about the
> process :
>
> 1. One of the first steps is to create all  applications with this query:
> POST http://{{provisionerUrl}}/provisioner/v1/applications
> and the body looks like this :
> {
> "name": "identity-v1",
> "description": "Identity Service",
> "vendor": "Apache Fineract",
> "homepage": "http://identity:2021/identity/v1";
> }
> What does it mean to create an application?
>

An application can be mapped to a microservice. So creating an application
can be thought of as registering a microservice.

What happens if I skip that step?
>

Your services would not be able to communicate with each other since they
will not have information about the address of the other microservices

 If for any reason the service URL change, Do we have to update the
> application homepage?
>

Yes.


> - After creating a tenant, we should create the identity service for that
> client with POST http://
>
> {{provisionerUrl}}/provisioner/v1/tenants/{{tenantIdentifier}}/identityservice
> What is it mean? It is mandatory to do that for every tenant we create?
>

Yes. Its necessary, You can see that after assigning identity to the new
tenant we use the returned admin password to prepare the tenant for use.
Like, create a default user and provision the other microservices.


> - Then We should provision applications to the tenant with PUT http://
> {{provisionerUrl}}/provisioner/v1/tenants/{{tenantIdentifier}}/applications
> What does it mean to provision an application? Is it to apply database
> migrations? Is it to activate the feature for the client?
>
> Thanks in advance for your help
> .
> Regards,
> --
> Patrick Finken,
> Owner
>

You should play with the scripts and go through the code base, so you can
have a deeper understanding.

Thanks,
Courage.

Reply via email to