Git Product home page Git Product logo

sdx-downstream-ctp's Introduction

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

Build Status Codacy Badge codecov

The sdx-downstream-ctp app is used within the Office for National Statistics (ONS) for consuming decrypted Survey Data Exchange (SDX) Surveys from sdx-store and delivering them to CTP.

Installation

To install, use:

make build

To install using local sdx-common repo (requires SDX_HOME environment variable), use:

make dev

To run the test suite, use:

make test

It's also possible to install within a container using docker. From the sdx-downstream directory:

$ docker build -t sdx-downstream .

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_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-ctp-survey-notifications Rabbit queue name
RABBIT_EXCHANGE message RabbitMQ exchange to use
SFTP_HOST xxx.x.x.x SFTP host
SFTP_PORT 22 SFTP port

License

Copyright © 2016, Office for National Statistics (https://www.ons.gov.uk)

Released under MIT license, see LICENSE for details.

sdx-downstream-ctp's People

Contributors

dave-haynes avatar eldeal avatar emilioward avatar gbanas avatar insacuri avatar jamesgardiner avatar necrophonic avatar tundish avatar warrenbailey avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uk-gov-mirror

sdx-downstream-ctp's Issues

Old FTP helper

We have two helpers which each have a 'deliver binary' method in them. I think this is due to moving from FTP to SFTP, so a new helper has been written for SFTP but the old one is still around. Potentially the SDXFTP file can be removed and any methods which are used from it should be moved into the SFTP helper.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.