Giter Club home page Giter Club logo

hmcts.bulk-scan-orchestrator's Introduction

bulk-scan-orchestrator

Codacy Badge

Purpose

The purpose of this application is to:

  • Process envelopes (with scanned documents) received from bulk-scan-processor and update CCD with them, either by updating existing cases or by creating exception records (special type of cases that need to be converted into proper service cases or be attached to existing service cases)
  • Handle CCD callbacks for exception records' events, so that they can be attached or converted into service cases

Running end to end using docker

  • Run up the docker environment from bulk-scan-shared-infrastructure
  • You will have to setup these environment variables on either your run configuration or bash shell
IDAM_USERS_BULKSCAN_USERNAME = [email protected]
IDAM_USERS_BULKSCAN_PASSWORD = Password12
  • either using the environment vars or application default you will need to set

    queue:
      envelopes:
        connection-string: XXXXX
        queue-name: YYYY
    
    • where:
      • XXXX is the connection string from azure to the queue you intend to use.
      • YYYY is the name of the queue
  • add a case into ccd using the case management ui

  • copy the case number from the UI (excluding the # and -'s) and place it into the example1.json#case_ref to reference the created case.

  • get the secret and run the getSasSecret script to create the queue jwt token.

  • put this in the send_message.sh script

  • run the send_message script in and make sure the 201 success is returned.

  • Voila ... you should see the debug of your service retrieving the message and processing it.

hmcts.bulk-scan-orchestrator's People

Contributors

adusumillipraveen avatar aliveni avatar apereverzin avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar doncem avatar kevinjcross avatar lgonczar avatar luigibk avatar nitinprabhu avatar rishikrsharma avatar rkondratowicz avatar timja avatar vakepati 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.