Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.08 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.08 KB

eagl-application

Simple Webapp orchestrating the connection to BIRD and integration of AI services

Setting up

Generate private key

For a working SAML authentication, you need to provide a private key for signing the metadata transfered to your IDP. Install OpenSSL and run the following commands:

openssl genrsa -out testing.key 2048
openssl pkcs8 -topk8 -nocrypt -in testing.key -outform PEM -out testing.key.pem 

The generated key files should be placed within the folder src/main/resources. Configure the path in the application.yaml accordingly.

Run as Azure Web App

Configure a new web app and define the application setting (as Deployment Option) with the Key SPRING_APPLICATION_JSON and the following value

{
  "endpoints": {
    "wallet": {
      "url": "http://xxxx.azurecontainer.io:8080/api/wallet",
      "apikey": "xxx"
    },
    "user": {
      "url": "http://xxxx.azurecontainer.io:8080/api/user",
      "apikey": "xxx"
    }
  },
  "key": "xxxx"
}

The application setting PORT should point to the port configured in the application properties.