-
Notifications
You must be signed in to change notification settings - Fork 1
Initialize the back end
Issue the following command to start all infra services:
startinfra
cedarat userProfile-createAll
startall
You must run this commands to initialize the back end:
cedarat system-reset confirm
If you are doing a server code upgrade, and you want to get rid of the old data, you could run the same command as above. Please be aware, that this command will erase all the data from all storages (Neo4J, MongoDB), and will reinitialize the system.
The command cedarat userProfile-get-admin can be used to test if the tool is able to read the profile of cedar-admin user from Keycloak. This is necessary to execute the Neo4J related operations.
Run the following command
cedarat userProfile-get-admin
Copy the value from the line: "First active API KEY". Put this value into your .bash_profile replacing the placeholder: <CEDAR_ADMIN_USER_API_KEY>
Source your profile, or log out and in again
In order to stop all the microservices use the command:
killall
To stop the infrastructure services use the command:
stopinfra
Note that the last script invokes the stop* scripts for each infrastructure service, i.e., killkk (Keycloak), stopmongo (MongoDB), stopnginx (Nginx), stopkibana (Kibana), and stopelastic (Elastic Search).