Skip to content

Commit

Permalink
Feature/#769 additional party identifiers transaction scenarios (#3)
Browse files Browse the repository at this point in the history
* - Added configuration reference to on-boarding document.
- updated references from Casablanca to Mowali in the licensing note.

* Updated on-boarding to refer the reader to central-ledger for postman installation procedure.

* - cleanup sensitive informations being written to the console and logs.
- update log messages.
- added health endpoint to verify database availability.
- updated on-boarding document to reflect health end point.
- added 'hapi-alive' package to package.json
- updated the release version from 6.2.0 to 6.2.1

* - Added new health.js file to include health response.
- Removed database health check from server.js as it added no value in the greater Mojaloop project.
- Updated dependencies in package.json file to latest.

* - commented out all references to console.log.
- included error codes on the swagger.json file for health check.
  • Loading branch information
HenkKodde authored and rmothilal committed May 23, 2019
1 parent 62109c8 commit 67616af
Show file tree
Hide file tree
Showing 9 changed files with 3,475 additions and 3,512 deletions.
12 changes: 12 additions & 0 deletions onboarding.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ In this document we'll walk through the setup a local Mojaloop Quoting Service a
- [Software List](#software-list)
- [Setting up a local quote environment](#setting-up-a-local-quote-environment)
- [Initialising the database and starting the service](#initialising-the-database-and-starting-the-service)
- [Health Check](#health-check)
- [Run Tests](#run-tests)

## Software List
Expand Down Expand Up @@ -51,6 +52,17 @@ Run the below from the root quoting-service in your terminal session to start th
npm start
```

## Health check

To verify the database is connected once the server started, run this from your browser;
```
http://localserver:3002/health
```

If all is well, the following responce will be received'

**Quoting service Database connection is healthy!!!**

## Run Tests

Please refer to Central-Ledger repository to setup Postman.
Expand Down
Loading

0 comments on commit 67616af

Please sign in to comment.