Giter Club home page Giter Club logo

dwp.orchestration-service's Introduction

orchestration-service

The service orchestrator for providing remote access into the analytical environment

Endpoint ot submit request for user containers

Requests using JWT to be submitted as a post request to /connect

  • The JWT should be sent as a string in the header under the key Authorisation
  • The JWT should contain:
    • cognito:username or username (provided by AWS Cognito)
    • cognito:groups - an array of the groups that the user has access to

Test requests that omit JWT to be submitted as a post request to /deployusercontainers

Header of request must contain the following:

  • Authorisation*
  • cognito:groups - can be an empty string

Optional inputs for body of request are:

  • jupyterCpu - default : 512

  • jupyterMemory - default : 512

  • additionalPermissions** - default : empty list

    * Authorisation field in request header is for JWT String with /connect endpoint or a test username (as a String) with /deployusercontainers endpoint.

    ** additionalPermissions should be an array eg. ["s3:List*", "s3:Get*"]

Monitoring

This application uses Spring Actuator to provide metrics and healthchecks, which can be found on the following endpoints:

  • Prometheus metrics: /metrics
  • Healthchecks:
    • all: /health
    • self: /health/ping
    • AWS Service connections: /health/aws

Image of Orchestration Service

dwp.orchestration-service's People

Contributors

benj-fletch avatar caseyr232 avatar dataworks-ci avatar draagc-iw avatar hamadali248 avatar ianutley avatar iw-gtadam avatar jjdmw avatar liamraemclauchlan avatar matttoczek avatar popplejiw avatar

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.