Skip to content

ministryofjustice/fb-submitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,679 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

fb-submitter

CircleCI

API for services built and deployed on Form Builder to send the user data to where it ultimately needs to go.

Running the API

Docker is a prerequisite for running the api and required services

make setup

Running tests

Docker is a prerequisite for running the tests

make spec

Deployment

Continuous Integration (CI) is enabled on this project via CircleCI.

On merge to main tests are executed and if green deployed to the test environment. This build can then be promoted to production

## Submission Payload Schema

schemas/submission_payload.json is the schema for the decrypted submission. The request object should take the form:

{
  encrypted_submission: 'WTq8zYcZfaWVvMncigHqwQ=='
}

Once decrypted the submission is validated against the schema before being re-encrypted and saved in the DB.

About

FormBuilder Submitter component - responsible for retrieving rendered user data from runner (https://github.com/ministryofjustice/) services and sending to where it needs to go

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages