Skip to content

topcoder-platform/legacy-pacts-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Legacy Challenge Migration CLI Tool

Reviews informix tables for payments created by v5 legacy-payment-processor and moves them through the payment process

Intended use

  • Mimic PACTs processing of payments from status Entered to status Owed

Prerequisites

Configuration

See config/default.js. Most of them is self explain there.

  • PORT: API server port; default to 3001
  • SYNC_INTERVAL: the interval of schedule; default to 5(minutes)
  • SYNC_ENABLED: if the sync should run. Allows you to turn off the service via config
  • LOG_LEVEL: default info
  • INFORMIX: object of properties to connect to informix

Local Deployment

Foreman Setup

To install foreman follow this link To know how to use foreman follow this link

If you run something with nf run npm run <something> instead of npm run <something>, it'll load in a .env file from the root of the project

Deployment

To simplify deployment, we're using docker. To build the images or run the container:

cd <legacy-challenge-migration-cli>/docker
docker-compose up

This will automatically build the image if have not done this before. After container has been run, go to container shell and install dependencies:

docker exec -ti legacy-challenge-migration-cli bash
npm i

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published