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

chore: update accounts interface #103

Merged
merged 1 commit into from
May 18, 2021

Conversation

kleyow
Copy link
Contributor

@kleyow kleyow commented May 18, 2021

No description provided.

@kleyow kleyow requested review from lewisdaly and eoln May 18, 2021 16:33
@kleyow
Copy link
Contributor Author

kleyow commented May 18, 2021

Going to merge in this small update since team is offline for now. Small change for pisp/master

@kleyow kleyow merged commit a278d05 into mojaloop:pisp/master May 18, 2021
@kleyow kleyow deleted the fix/accounts-body branch May 18, 2021 16:35
lewisdaly added a commit that referenced this pull request Oct 8, 2021
* Updated parties to support account information. (#50)

* Updated parties to support account information.

* Added yars-parser to audit ignore list.

* Addressed comments.

* Edited CI to build PISP docker image. (#51)

* Updated CI. (#52)

* #321 Added getSignedChallenge to return U2F resp (#56)

* #321 Added getSignedChallenge to return U2F resp

* #321 fixed vulnerability issues

* Pisp/305 authorizations (#64)

* chore(swagger): add post /authorizations path

* fix: rewrite content-type header to be compatible with sdk-standard-components

* Pisp/305 POST /authorizations (#64)

* chore(swagger): add post /authorizations path
* fix: rewrite content-type header to be compatible with sdk-standard-components

* ci: setup checkout after installing default dependenices

* feat: 1671 verify authorization (#82)

* feat(api): add /verify-authorization endpoint

* chore(audit): ignore for one month

* chore: sync pisp/master to v11.3.0 (#87)

* #1325: Bulk transfers and bulk quotes support (#49)

* Add support for bulk transfers

* Add bulkTransfers call from backend to outbound API

* Add bulk quotes support

* WIP: Add bulk transfer model and handler

* Fix audit issues

* Make sim, report, and test ports configuraable

* Restore default ports in docker-compose

* Port config update

* Updates for bulk quotes and bulk transfers

* Add POST /bulkQuotes, remove PUT /bulkTransfers/{bulkTransferId}. Fix API spec bugs

* Update unit test for config.js

* Add tests for bulkQuotes model

* Fix audit issues

* Add tests for bulk quotes

* Update unit tests for simulator handler

* Format code

* Update contributors list

* Fix bug with POST bulkQuotes and tests

* Update contributors list

* Update api spec

* Add getBulkQuoteById and getBulkTransferById

* Add unit tests for bulk quotes and bulk transfers handlers

* Resolve audit issues

* Cleanup

* Update package.json

* Update src/package.json

Co-authored-by: Sam <10507686+elnyry-sam-k@users.noreply.github.com>

* Fix audit issues

Co-authored-by: Sam <10507686+elnyry-sam-k@users.noreply.github.com>

* Hotfix: Fix python dependencies in CI (#53)

* Upgrade python for CI build

* Update ci config

* Bump version

* Update pipeline (#54)

* Add orbs

* Update dependencies to Python@3

* Simplify defaults

* Update to Python@3

* Remove comments

* Remove unecessary executor

* Update config

* Use pip3

* Remove unused step

* Update

* Test

* Test

* Remove anchor for working directory

* Update node

* Test

* Fix YAML syntax

* Use anchor

* Fix directory issue

* Fix path

* Add path to restore_cache

* Test

* Test

* Update key

* Update dependencies

* Fix path

* Add submodule dependencies to cache

* Version dependency cache

* Fix path

* Test

* Change directory to src

* Allow build-local to run in parallel from the start

* Add Init Container To Onboard MSISDN's (#55)

* Add init container to onboard with central-ledger

* Remove environment var processing script

* Switch RUN to CMD

* Add OCI labels

* Add contributor

* Update init/central-ledger/Dockerfile

Co-Authored-By: Matt Kingston <mattkingston@gmail.com>

* Clear whitespace and unused comments

* Add build and publish to CI for init-central-ledger

* Fix indentation

* created insert msisnd script

* complete docker container and MSISDN onboarding script

* change MSISDN_LIST name

* change script to handle MSISDN data

* ignore dependency vulneravility

* update dockerfile

* rename

* change pathfinder url name

* modify scripts

* fix script and docker container

* add CI pipeline and remove unused files

* fix docker command

* fix indentation

* fix tag implementation

* yaml is fun

* resolve vulnerabilities and fix docker save

* fix docker build

* fix docker image naming and add Matt suggestion

* log current images

* idk why but it works now

* Clean up naming and pipeline

* Bump version

Co-authored-by: Kamuela Franco <kamuela.franco@gmail.com>
Co-authored-by: Matt Kingston <mattkingston@gmail.com>

* Fix publish for onboard-msisdn-oracle in pipeline (#58)

* Fix publish for onboard-msisdn-oracle in pipeline

* Bump version

* Add init container to onboard with central-ledger (#48)

* Add init container to onboard with central-ledger

* Remove environment var processing script

* Switch RUN to CMD

* Add OCI labels

* Add contributor

* Update init/central-ledger/Dockerfile

Co-Authored-By: Matt Kingston <mattkingston@gmail.com>

* Clear whitespace and unused comments

* Add build and publish to CI for init-central-ledger

* Fix indentation

* Update .circleci/config.yml

Co-authored-by: Matt Kingston <mattkingston@gmail.com>

* Add ESLint and node-fetch

* Update config to master branch

* Add onboarding steps

* Update finance-portal-lib dependency

* Add logging

* Update Dockerfile

* Add items to .gitignore

* Align output

* Graceful exit on failure

* Add log output

* Add detailed logging on error

* Update finance-portal-lib dependency

* Add more detailed logging

* Allow re-registration of same DFSP name and currency

* Fix bug

* Fix output by calling script directly

* Fix logging and request edge cases

* Add onboard-central-ledger to pipeline

* Bump version

* Add comments

* Fix build argument references

* Require setup for local builds

* Update init/onboard-central-ledger/onboard-dfsp.js

Co-authored-by: Matt Kingston <mattkingston@gmail.com>

* Log script commands and exit on error

* Exit when required variable is not present

Co-authored-by: Matt Kingston <mattkingston@gmail.com>

* Fix erroneous file name in pipeline (#59)

* Fix file name

* Bump version

* Remove dependency on org secret for build pipeline (#61)

* Remove dependency on org secret for build pipeline

* Update config.yml

* Fix bugs with API spec and model for bulk transfers (#62)

* Fix erroneous use of environment variables for onboarding (#63)

* Fix erroneous use of PARTY_ID and PARTY_ID_TYPE

* Bump version

* Fix build artifacts (#65)

* Fix build artifacts

* Bump version

* Fix security issues

* Fix build order dependency (#66)

* Update finance-portal-lib in init container (#67)

* Modified to reflect changes in dependency (#68)

* Modified to reflect changes in dependency

* Modified package version more

* version stuff

* Version bump

* Version bump

* Add hub onboarding image (#69)

* Code written

* Fixes, changes

* Added onboard hub accounts to CI

* Updated CI

* Update init/onboard-hub-accounts/Dockerfile

Co-authored-by: Kamuela Franco <kamuela.franco@gmail.com>

Co-authored-by: Kamuela Franco <kamuela.franco@gmail.com>

* Bump versions (#70)

* Fixed onboard-hub-accounts Dockerfile error, bumped versions (#71)

* Add image scans and vulnerability checks for inits (#74)

* The chart in this repo is now redundant. Removing in favour of https://github.com/mojaloop/helm/tree/master/mojaloop-simulator. (#73)

* Update README with init container docs (#76)

* Update README with init container docs

* Add values-sims.example.yaml

* Remove link

* [WIP] Feature/#1572 payee notification (#75)

* upstream merge

* added PUT /transfers/transferId handling for notifications to payee

* added unit tests

* ordered package.json to trigger ci/cd pipeline

* removed homeTransactionId from transfer.update

Co-authored-by: Valentin <valentin.genev@modusbox.com>
Co-authored-by: James Bush <37296643+bushjames@users.noreply.github.com>

* Environment variable configuration of parties (#77)

* Initial work- parties addable, but no tests, no functionality

* Added test for preconfigured parties

* Added config unit test

* Update src/config.js

* Update src/config.js

* Updated config correctly. Duh.

* Bumped version

* Improved Model.init doc. Fixed bug with server start. Bumped version. (#78)

* Bump node-fetch from 2.6.0 to 2.6.1 in /src (#79)

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](node-fetch/node-fetch@v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump node-fetch from 2.6.0 to 2.6.1 in /init/onboard-hub-accounts (#81)

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](node-fetch/node-fetch@v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump node-fetch from 2.6.0 to 2.6.1 in /init/onboard-central-ledger (#80)

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](node-fetch/node-fetch@v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(package): bump package to `11.2.2` (#83)

* chore: update license file (#84)

* Add "subIdValue" parameter for parties in simulator (#85)

* added endpoint for subIdValue

* added unit/coverage tests

* fix linting

* added simulator endpoints for subIdValue

* fix audit issue

* chore: fix merge issues

Co-authored-by: Steven Oderayi <oderayi@gmail.com>
Co-authored-by: Sam <10507686+elnyry-sam-k@users.noreply.github.com>
Co-authored-by: Kamuela Franco <kamuela.franco@gmail.com>
Co-authored-by: Aarón Reynoza <ldaaron38@gmail.com>
Co-authored-by: Matt Kingston <mattkingston@gmail.com>
Co-authored-by: Valentin Genev <vgenev@gmail.com>
Co-authored-by: Valentin <valentin.genev@modusbox.com>
Co-authored-by: James Bush <37296643+bushjames@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lewis Daly <lewis@vesselstech.com>
Co-authored-by: shashi165 <33355509+shashi165@users.noreply.github.com>

* feat(api): add get /accounts/{ID} endpoint (#90)

* chore: add accounts handler and update API def (#91)

* chore: add accounts handler and update API def

* chore: improve test coverage

* feat: add dfsp backend endpoints for authentication testing (#92)

* feat: add endpoints for authentication testing

* chore: fix interface

* chore: fix audit check

* chore: change path

* chore: fix coverage

* chore: fix test

* feat: add consentRequests related endpoints (#94)

* feat: add consentRequests related endpoints

* chore: improve test coverage

* chore: update consentRequests response structure (#95)

* chore: update consentRequests response structure

* chore: fix linting issue

* feat: 2108 validate thirdparty transaction request (#97)

* feat(dfspTransactions): verify thridparty request transaction and proper scheme for verify authorization

* postpone vulnerabilites

* fix api.yaml

* fix api.yaml

* chore: update contrib list

* chore: update accounts interface (#103)

* chore: update validateConsentRequest and validateAuthToken (#105)

* chore: add new endpoints to store consent info for accountId (#112)

* chore: add new endpoints to store consent info for accountId

* chore: address vulnerabilities

* chore: update endpoints

* feat: update `ValidateThirdpartyRequestsTransactionsPostResponse` to include transaction context required by the 3p-scheme-adapter (#113)

* chore: noting conflicts

* chore: resolving conflicts

* chore: resolving conflicts

* fix: unit

* fix(vulns): run npm audit, fix and ignore unfixable low and moderate for 1 month

* fix: cleaning up circleci

* feat: tidy up circleci config, add autoreleases

* fix(ci): fix ci

* fix(ci): fix ci

* chore: fix linting

* fix: ci

* fix: ci

* fix: ci

* fix: ci

Co-authored-by: Kevin Leyow <kleyow@gmail.com>
Co-authored-by: sridharvoruganti <36686863+sridharvoruganti@users.noreply.github.com>
Co-authored-by: eoln <2881004+eoln@users.noreply.github.com>
Co-authored-by: Paweł Marzec <pm@eoln.eu>
Co-authored-by: Steven Oderayi <oderayi@gmail.com>
Co-authored-by: Sam <10507686+elnyry-sam-k@users.noreply.github.com>
Co-authored-by: Kamuela Franco <kamuela.franco@gmail.com>
Co-authored-by: Aarón Reynoza <ldaaron38@gmail.com>
Co-authored-by: Matt Kingston <mattkingston@gmail.com>
Co-authored-by: Valentin Genev <vgenev@gmail.com>
Co-authored-by: Valentin <valentin.genev@modusbox.com>
Co-authored-by: James Bush <37296643+bushjames@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: shashi165 <33355509+shashi165@users.noreply.github.com>
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.

None yet

1 participant