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

HOF-8: Add logger and surpress logging during testing #127

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

Conversation

joehod
Copy link
Contributor

@joehod joehod commented May 4, 2021

  • Added a logToKibana function to utils that is responsible for logging information whether the complaint is submitted successfully or not.
  • Add option to suppress logging if running tests to make it easier to read the output from each 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"
Joseph Coker and others added 29 commits April 20, 2021 12:45
…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
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