|
|
|
### LabraCORE
|
|
|
|
In the middle of the Labrador project, a service resides called LabraCORE.
|
|
|
|
CORE maintains and protects a database of information about the university and its residents.
|
|
|
|
For instance, CORE maintains information about what users are students and what users are employees.
|
|
|
|
|
|
|
|
### API
|
|
|
|
The CORE service is exposed to other services through a REST API.
|
|
|
|
LabraDoor offers a generated client that can connect to this REST API.
|
|
|
|
LabraDoor also takes care of the needed security protocols that are in place to connect to CORE.
|
|
|
|
All that is needed to configure the API client is to provide the following information in your `application.yml`:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
labracore:
|
|
|
|
url: http://localhost:8082 # The URL where CORE lives
|
|
|
|
apiKey: test-key # The name/key of your API key with CORE, usually a UUID
|
|
|
|
apiSecret: njkdabnjuasdkjbjbdaioasd # The secret of your API key with CORE
|
|
|
|
``` |