Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: HOF-3 / HOF-5: Add integration tests to pipeline #126

Open
wants to merge 77 commits into
base: master
Choose a base branch
from

Conversation

MaxOSullivan
Copy link
Contributor

What

  • Add mock SQS queue Dockerfile to initiate docker instance for the mock queue
  • Edit config file to use mock SQS queue settings when the user runs the mock service
  • Edit README to include new information about mock service and tests
  • Rework index file to allow automated testing
  • Add multiple scripts to package.json file to test integration and set up mock queue
  • Add integration tests and test helper file
  • Rework Drone pipeline to have a test step which runs the linting, unit and new integration test

Joseph Coker and others added 30 commits April 12, 2021 15:46
…k queue

Add behaviour for SQS integration using sqs-producer

Add instructions and queue url to config

Add instruction for reading what is on the queue
* Made initial functions to fit submitting application complaint to schema
* Assign agent phone to agent details
* Add formatting for delay complaints
* Move complaintDetails to Parent class constructor and add individual complaint details to child constructor
* Add format classes for somethingElse and Existing complaint
* Finish formatting for StaffBehaviour
* Use hof behaviour functions in behaviour
* Set up tests for AddToCasework
* Add tests for complaint base class
* Add tests for utils
* Add tests for formatComplaintData
* Add test for json-converters
* Add test for validator throwing errror when undefined value passed in
* SD-272: add custom error page for form failing to submit to queue
* SD-272: add max length constraint on all text fields
* Add sqs queue config to config file
* Increase test timeout
* Remove integration test folder
* Update node version and fix emailCasweworker config setting
* update complaint details max length
changed preprod namespace to new preprod namespace
	* Updated eslint to version 7.22.0
	* Updated .eslintrc file
	* Fixed the failing eslint errors.
…ng-and-fix-errors

SD-720: Fixed eslint errors and upgraded eslint
…k queue

Add behaviour for SQS integration using sqs-producer

Add instructions and queue url to config

Add instruction for reading what is on the queue
* Made initial functions to fit submitting application complaint to schema
* Assign agent phone to agent details
* Add formatting for delay complaints
* Move complaintDetails to Parent class constructor and add individual complaint details to child constructor
* Add format classes for somethingElse and Existing complaint
* Finish formatting for StaffBehaviour
* Use hof behaviour functions in behaviour
* Set up tests for AddToCasework
* Add tests for complaint base class
* Add tests for utils
* Add tests for formatComplaintData
* Add test for json-converters
* Add test for validator throwing errror when undefined value passed in
* SD-272: add custom error page for form failing to submit to queue
* SD-272: add max length constraint on all text fields
* Add sqs queue config to config file
* Increase test timeout
* Remove integration test folder
* Update node version and fix emailCasweworker config setting
* update complaint details max length
	* Updated image in drone pipeline build step to node:14
	* Changed docker image from node:10-alpine to node:14-alpine.
	* Updated package.json to include node version "14.16.1"
MaxOSullivan and others added 26 commits April 20, 2021 12:54
* SD-272: add custom error page for form failing to submit to queue
* SD-272: add max length constraint on all text fields
* Add sqs queue config to config file
* Increase test timeout
* Remove integration test folder
* Update node version and fix emailCasweworker config setting
* update complaint details max length
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants