Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dvsa/ftts-eligibility-secrets-manager


https://github.com/dvsa/ftts-eligibility-secrets-manager

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

        

# FTTS-ELIGIBILITY-SECRETS-MANAGER

...

## Local Config

```bash
npm run copy-config
```

Fill in the required configuration in local.settings.json

## Build

```bash
npm install
npm run build
```

## Test

```bash
npm run test
```

## Start

```bash
npm run start
```

## Healthcheck HTTP endpoint

eligibility-secrets-manager healthcheck function is a troubleshooting/support function to check connectivity with specific components used by application

GET /api//healthcheck - e.g. /api/v1/healthcheck

Responses:

- HTTP 200 (connections OK)

- HTTP 503 with response body containing specific errors details:

```json
{
"status": "Service unavailable",
"errors": [
{
"component": "",
"message": "",
}
]
}
```

- HTTP 500 with response body containing error message

Documentation - https://wiki.dvsacloud.uk/pages/viewpage.action?spaceKey=FB&title=Health+Checks