⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Takes Alma invoice file and formats for BFS

License

Notifications You must be signed in to change notification settings

BerkeleyLibrary/bfs

Repository files navigation

BFS Processor

A command-line tool for processing BFS .xml files. Input files can be mounted anywhere on the filesystem, but by default the program looks at ./data/invoicing/pay/*.xml. Output files are written to ./data/processed (originals and re-formatted files) and ./data/rejected (error logs).

Building the app

docker compose build

Running it

View the CLI tool help/description:

docker compose run --rm app help

Adds test data to the default watch directory:

docker compose run --rm app seed

Run the app in the background. It will continue running, monitoring for .xml files to process every 10s.

docker compose up -d
docker compose logs -f # view processing logs in real time

Watch a non-standard directory:

docker compose run --rm app watch /path/in/container # absolute path
docker compose run --rm app watch data/somedir # path relative to /opt/app

Process a specific file:

docker compose run --rm app process /abs/path/to/myfile.xml # absolute path
docker compose run --rm app process data/invoicing/pay/somefile.xml # relative path

Delete previously processed files and error logs:

docker compose run --rm app clear

About

Takes Alma invoice file and formats for BFS

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •