Giter Club home page Giter Club logo

workflow-service's Introduction

Workflow Service

Service Builder API Test and Build

Integrated Camunda engine with Cockpit.

Environment

Bootstrap configuration

The following environment variables are required to load properties from AWS secrets manager

  • AWS_SECRETS_MANAGER_ENABLED
  • AWS_REGION
  • AWS_ACCESS_KEY
  • AWS_SECRET_KEY
  • SPRING_PROFILES_ACTIVE

Application configuration

The following properties need to be configured in AWS secrets manager

{
  "database.driver-class-name": "org.postgresql.Driver",
  "database.password": "",
  "database.username": "admin",
  "auth.url": "https://keycloak.example.com",
  "auth.clientId": "servicename",
  "auth.clientSecret": "secret",
  "auth.realm": "master",
  "aws.s3.formData": "bucketName",
  "aws.s3.pdfs": "bucketName2",
  "formApi.url": "https://formApi.example.com",
  "engine.webhook.url": "https://engine-service.example.com",
  "gov.notify.api.key": "xxxxxx",
  "database.url": "jdbc:postgresql://dbUrl.example.com:5432/engine?sslmode=require&currentSchema=public",
  "camunda.bpmn.upload.roles": "process_admin,bpmn_uploader"
}

The REST API for deploying a BPMN to the REST endpoint has authorization checks. In order to upload you will need a role that is defined in the property camunda.bpmn.upload.roles. The default set up expects the user to have process_admin role

Example helm chart for install helm - workflowservice

Drone

Drone is only used for deployment as the Github Action workflow is used to push to quay. To deploy you will need to pass the commit tag

drone deploy --param WORKFLOW_SERVICE_TAG=sha UKHomeOffice/workflow-service <build number> <environment>

Changing log levels

You can update the log levels at runtime by using the following POST command:

http://localhost:8080/camunda/actuator/loggers/org.springframework.security

with a payload:

{"configuredLevel": "DEBUG"}

You will need a valid JWT token

For more information please check here

workflow-service's People

Contributors

aminmc avatar belindac-vd 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.