DEPRECATED Please note that this repository is no longer used and will likely be removed at some point in the future. The information in this readme may be out of date or possibly misleading and should not be relied upon.
SDX Downstream service for processing CORA destined survey data
It's recommended to use virtualenv
If you are building in your local dev environment with a local version of sdx-common, run:
$ make dev
Otherwise, run:
$ make build
which pulls sdx-common from GitHub as a git submodule and installs it with pip
.
To run tests, do:
$ make test
$ docker build -t sdx-transform-cora
The following envioronment variables can be set:
Environment Variable | Default | Description |
---|---|---|
SDX_STORE_URL | http://sdx-store:5000 |
The URL of the sdx-store service |
SDX_TRANSFORM_CORA_URL | http://sdx-transform-cora:5000 |
The URL of the sdx-transform-cora service |
SDX_SEQUENCE_URL | http://sdx-sequence:5000 |
The URL of the sdx-sequence service |
FTP_HOST | pure-ftpd |
FTP to monitor |
FTP_USER | none | User for FTP account if required |
FTP_PASS | none | Password for FTP account if required |
FTP_FOLDER | / |
FTP folder |
FTP_HEARTBEAT_FOLDER | /heartbeat |
FTP heartbeat folder |
RABBIT_QUEUE | sdx-cora-survey-notifications |
Rabbit queue name |
RABBIT_EXCHANGE | message |
RabbitMQ exchange to use |
Copyright (c) 2016 Crown Copyright (Office for National Statistics)
Released under MIT license, see LICENSE for details.