Skip to content
This repository has been archived by the owner on May 31, 2019. It is now read-only.

SDX Downstream service for processing CORA destined survey data

License

Notifications You must be signed in to change notification settings

ONSdigital/sdx-downstream-cora

Repository files navigation

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-cora

Build Status Codacy Badge codecov

SDX Downstream service for processing CORA destined survey data

Getting started

Pure python

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

$ docker build -t sdx-transform-cora

Configuration

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

License

Copyright (c) 2016 Crown Copyright (Office for National Statistics)

Released under MIT license, see LICENSE for details.

About

SDX Downstream service for processing CORA destined survey data

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages