Quick Start
On this page
Installation
- Clone project from GitLab:
git clone https://gitlab.com/entici/public/entici-deploy.git
- Checkout desired version as a new branch:
# Example: git checkout tags/v2.1.1 -b v2.1.1-branch
git checkout tags/<TAG_NAME> -b <NEW_BRANCH_NAME>
- Adjust configuration
A template .env
file is available here. An overview and description of all configuration parameters can be found here.
Start Up
docker-compose -f docker-compose.yml up -d
Monitoring
The monitoring components are defined in docker-compose.monitoring.yml
, you can include it via adding the following parameter to the start up:
-f docker-compose.monitoring.yml
Keycloak
A keycloak container is defined in docker-compose.keycloak.yml
, you can include it via adding the following parameter to the startup:
-f docker-compose.keycloak.yml
Note: It is not recommended to use an internal Keycloak instance for productive use. Thus, we do not provide support for the Keycloak component but merely included it as a convenience for testing purposes.
Smoke Test
Preparation
- Create user as described here.
- Enable test client
- Login to the administration console with the admin user
- In the realm trustcenter, go to
Clients
and open the clienttrustcenter-test
- In
Settings
, enable the client - In
Credentials
, copy the client secret to the clipboard
Perform test
While any REST client is suitable, this description is based on Postman.
- Start Postman
- Create new
POST
request toserver:port/v1/process
- In
Authorization
, chooseOAuth 2.0
and get new access token via the information described here. - In
Body
, chooseraw
and typeJSON (application/json)
, insert the example JSON. - Send the request
- In your browser, go to
server:port/entitylist/de/index.html
, log in with your new user - Search for
ABC
- You should get ‘Müller’, ‘ABC123’ and a Pseudonymn