https://github.com/motiva-ai/mock-external-integration
https://github.com/motiva-ai/mock-external-integration
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/motiva-ai/mock-external-integration
- Owner: Motiva-AI
- License: epl-1.0
- Created: 2017-08-27T22:04:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-13T07:34:33.000Z (over 8 years ago)
- Last Synced: 2025-06-09T09:42:27.685Z (7 months ago)
- Language: Clojure
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mock-external-integration
A mock API for integrating with Motiva. This repository is deployed to
[https://motiva-mock.herokuapp.com](https://motiva-mock.herokuapp.com).
[API doc](https://motiva-mock.herokuapp.com) | [One-pager integration doc](https://docs.google.com/document/d/10r5vizs1PBMFOLZJ1RvJA0MbxVqC6wBGtrS1zXpX3T8)
## Usage
### Deployment
This repository is linked to our CI platform for continuous integration and
deployment. The latest `master` commit that passes is deployed to Heroku automatically.
Some environment variables and a YAML file pointing to the gateway paths will
need to be set. See `Configuration` section.
#### Configuration
A environment variable is used to specify the gateway host.
- `GATEWAY_HOST`, host of the gateway server that this app will be using, e.g. `https://api.example.com`
A separate [endpoints.yml](/resources/endpoints.yml) file is used to configure the relative endpoints to the gateway.
### Local Development
```
$ lein ring server
```
## Contact
Paul Lam, paul@motiva.ai
## License
Copyright © 2017 Motiva
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.