Skip to content

ministryofjustice/wmt-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,094 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Workload Management Tool - Worker application

Pre-requisites

  • Node v22 (managed using nvm)

On OSX (using homebrew):

  • brew install nvm
  • Follow the instructions in the brew installer output

Install Node version 22

  • nvm install 22

Install Husky

  • npm install -g husky

Run prepare task

  • npm run prepare

Getting Started

This is the asynchronous worker for the WMT project. It is responsible for polling the app.tasks table, picking up tasks which are marked as PENDING, processing them and recording the result.

npm start

Testing

To run the unit tests run:

npm test

To run the integration tests run:

docker compose up -d
npm run integration-test

About

ETL processor for Workload Measurement Tool

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages