Juhan Aasaru created FINCN-171:
----------------------------------
Summary: Create Java based provisioning scripts
Key: FINCN-171
URL: https://issues.apache.org/jira/browse/FINCN-171
Project: Fineract Cloud Native
Issue Type: Improvement
Reporter: Juhan Aasaru
Currently therea are Postman scripts to provision Fineract-CN (found here:
[https://github.com/vishwasbabu/ProvisioningFineractCN] ).
Eventually we want to automate this - so when we want to add a new tenant we
enter the details and it gets done.
As a first step I propose to create a Java library that makes the API requests.
I suggest that at first it can be started from command line and it prompts
questions to the user and performs the actions (makes web requests).
Later someone could build a web interface on top of that but at first we need a
system that makes the requests, prints out what happened and also verifies that
all the actions were completed.
My idea.
You start the program (like java -jar proviovisioning-library.jar )
Then it asks something like this: "What do you want to do?"
a) perform intial "lite" setup
b) perform initial full setup
c) create a tenant
d) create a role
e) create a user
Enter your choice:
then I press "a" for example and the library makes the API requests and asks me
some more questions.
Also I would cover this library with tests so these document what requests
should be made when one wants to provision.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)