Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

PROD Release - resolve duplicate payment issue #33

Merged
merged 6 commits into from
Mar 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
version: 2
defaults: &defaults
docker:
- image: circleci/node:15.5.1-stretch-browsers
docker:
- image: cimg/python:3.10.2
install_dependency: &install_dependency
name: Installation of build and deployment dependencies.
command: |
sudo apt-get update
sudo apt install jq python3-pip
sudo pip3 install awscli --upgrade
sudo pip3 install docker-compose
pip3 install awscli --upgrade
pip3 install docker-compose
install_deploysuite: &install_deploysuite
name: Installation of install_deploysuite.
command: |
@@ -71,7 +69,6 @@ workflows:
branches:
only:
- develop
- dev-circleci

# Production builds are exectuted only on tagged commits to the
# master branch.
2 changes: 2 additions & 0 deletions src/services/ProcessorService.js
Original file line number Diff line number Diff line change
@@ -63,6 +63,7 @@ processCreate.schema = {
originator: Joi.string().required(),
timestamp: Joi.date().required(),
'mime-type': Joi.string().required(),
key: Joi.string().allow(null),
payload: Joi.object().keys({
id: Joi.id()
}).required().unknown(true)
@@ -74,6 +75,7 @@ processUpdate.schema = {
originator: Joi.string().required(),
timestamp: Joi.date().required(),
'mime-type': Joi.string().required(),
key: Joi.string().allow(null),
payload: Joi.object().keys({
id: Joi.id()
}).required().unknown(true)