Skip to content

Commit

Permalink
Merge pull request #10 from oderayi/feature/add-account-id-parties
Browse files Browse the repository at this point in the history
Add parties for ACCOUNT_ID party type
  • Loading branch information
oderayi authored Jun 23, 2021
2 parents ad016ab + c394e86 commit c9bb802
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 5 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.PHONY: build run

NAME=sdk-mock-dfsp-backend

default: build

build:
docker build -t $(NAME) .
run:
docker-compose up
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions src/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,30 @@
"dateOfBirth": "1982-02-02",
"merchantClassificationCode": "4321"
}
},
"ACCOUNT_ID": {
"876543219": {
"idType": "ACCOUNT_ID",
"idValue": "876543219",
"type": "CONSUMER",
"displayName": "John Doe",
"firstName": "John",
"middleName": "Someone",
"lastName": "Doe",
"dateOfBirth": "1980-01-01",
"merchantClassificationCode": "1234"
},
"765432198": {
"idType": "ACCOUNT_ID",
"idValue": "765432198",
"type": "CONSUMER",
"displayName": "Jane Doe",
"firstName": "Jane",
"middleName": "Someone",
"lastName": "Doe",
"dateOfBirth": "1982-02-02",
"merchantClassificationCode": "4321"
}
}
}
}
8 changes: 4 additions & 4 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mojaloop/mock-dfsp-backend",
"version": "7.4.0",
"version": "7.4.1",
"description": "A mock DFSP backend for Mojaloop SDK testing and learning",
"main": "server.js",
"scripts": {
Expand Down

0 comments on commit c9bb802

Please sign in to comment.