Skip to content
Permalink
Browse files
Merge remote-tracking branch 'upstream/master' into fix_typos_in_post…
…man_scripts
  • Loading branch information
Juhan Aasaru authored and Juhan Aasaru committed Oct 2, 2019
2 parents 610e8c5 + 0aab6f8 commit bc6420128c32b557f96c06c7f125b7446fb0125d
Showing 1 changed file with 7 additions and 3 deletions.
@@ -70,6 +70,9 @@ docker-compose up rhythm-ms identity-ms customer-ms accounting-ms deposit-ms por

If you want you can add other micro services (listed in docker-compose.yml) to the list.


# Provision

## Provisioning the Micro Services Using Postman

We provide a postman-request-collection as well as a postman-environment that defines variables that are used to hold values received in responses.
@@ -97,7 +100,7 @@ The first request will retrieve a token. The response should look like this, wit
```

If you don't get a token there is something wrong with your setup. The token is necessary for authentication in other requests thus be sure that this steps works.
Important: Be sure to execute the requests in the right order!
Important: Be sure to execute the requests in the right order!
The outcome is often stored in variables - check the Tests section of the requests.

Use the Postman Runner to import accounts in step 08.1.
@@ -169,11 +172,12 @@ docker volume rm external_tools_postgres-volume
docker-compose up
```

### Automating Postman scripts
## Note:
**These scripts are ideal for a docker swarm deployment environment. If you are to deploy Fineract CN using Docker swarm you will have remove the network configuration from the docker-compose script and implement a load balancer (using docker swarm) that reflects the network configuratioin you just removed from the compose file.**

### Automating Postman scripts
You can use [Newman](https://learning.getpostman.com/docs/postman/collection_runs/command_line_integration_with_newman/) to run Postman scripts from command line.


## TODO
- Adjust scripts for Kubernetes

0 comments on commit bc64201

Please sign in to comment.