GithubHelp home page GithubHelp logo

bechtleav360 / e365-application Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 155 KB

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

Java 68.78% CSS 0.29% HTML 30.93%

e365-application's Introduction

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.

e365-application's People

Contributors

pajoma avatar

Watchers

 avatar Dirk avatar  avatar Benedikt Haag avatar

e365-application's Issues

Load private key through external configuration

Currently still part of git repo, has to be externalized. Two options:

  • as parameter in azure pipeline (impact on reusability)
  • as mount point in docker (has to be configured in Maven plugin)

Or store in keystore and pass the password through env variable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.