eo-services/README.md

30 lines
1.0 KiB
Markdown

# eo-services
This is the API backend for the eo-services client
## Authentication
Using Desktop rules call \<hostname>/api/auth using an Adaptives Framework's URL 'POST' with Application Sercurity turned on and the following application/json request body:
```json
{
"data": {
"type": "authentication",
"id": "1",
"attributes": {
"host": "em5.verint.training"
}
}
}
```
> Note: you will need to add the cacert for the API host to your Application Server environment otherwise you will receive a "Remote Exception thrown while invoking external URLhttps://\<yourhost>:443/api/auth Exception:sun.security.validator.ValidatorException: PKIX "
>
> Exception:sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
## Key Files
- Jenkinsfile: Automation of build and deploy of docker image.
- Dockerfile: Docker Image specification.
- docker-bake.hcl: Docker build defintion file.