Git Product home page Git Product logo

onsdigital.sdx-recover'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.

sde-recover

The sde-recover app is used within the Office National of Statistics (ONS) for manual recovery of Survey Data Exchange (SDE) Payloads.

Installation

In order to recover payloads that have encountered errors, make sure you have docker and docker-compose installed and follow the steps below:

  1. Check out the dockers repo.
  2. Check out Perkin, Posie and sde-console within the dockers folder created.
  3. Make sure you have a folder containing each of the required keys under the 'jwt-test-keys' folder.

Usage

To start the sde-console using the following command once all subcomponents have been cloned:

docker-compose -f docker-compose-recover.yml up

The sde-console will be started and exposed via docker on port 80, visit the ip address of docker in your browser.

Decrypting Payloads

The app exposes a single endpoint at '/' to decrypt payloads that are already encrypted and transform them to downstream formats. This is useful for manually recovering data that has failed the transformation process for some reason, so long as it is properly encrypted JSON data and uses the same keys.

Payloads are logged from the SDE application on error - retrieve the desired payload from the logs and paste into the decrypter.

The encrypted payload is entered on the left and downstream formats appear on the right within ftp once they have been transformed.

Encrypted Submitter

Viewing Content

The receiver displays the contents of a number of subdirectories on the ftp server.

It is possible to inspect the content of any file once it's been created, by clicking on the appropriate link on the receiver side. It is also possible to clear your ftp instance of all current files by using the "Empty FTP" button.

Encrypted File View

If the payload isn't properly encrypted the sde-console will throw an error on submission.

onsdigital.sdx-recover's People

Contributors

iwootten avatar necrophonic avatar

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.