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

feat(mojaloop/#2813): integration tests for discovery process #359

Closed
wants to merge 39 commits into from

Conversation

sri-miriyala
Copy link
Contributor

feat(mojaloop/#2813): integration tests for discovery process

  • Only enabled the tests that have functionality implemented

Vijay Kumar and others added 30 commits June 22, 2022 17:41
* Initial Commit

* added start script to adapter

* cleanup

* cleanup

* cleanup

* cicd

* cicd

* cicd

* cicd

* cicd

* cicd

* cicd

* chore: fixed api-svc api templates for inbound and outbound paths to correctly resolve dependent yamls

* chore: fixes for monorepo

- removed global eslint config, and added eslint to each module
- renamed start:adapter root package script to start:api-svc and fixed the command
- added missing dependencies to module/api-svc to fix unit tests

* fix: api-snippets

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

Co-authored-by: Miguel de Barros <[email protected]>
chore: added design docs for bulk transfers
mbp-633-638 Add interface, types, errors and aggregate for lookup phase
* Initial Commit

* added start script to adapter

* cleanup

* cleanup

* cleanup

* cicd

* cicd

* cicd

* cicd

* cicd

* cicd

* cicd

* chore: fixed api-svc api templates for inbound and outbound paths to correctly resolve dependent yamls

* chore: fixes for monorepo

- removed global eslint config, and added eslint to each module
- renamed start:adapter root package script to start:api-svc and fixed the command
- added missing dependencies to module/api-svc to fix unit tests

* fix: api-snippets

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

* fix: cicd audit check

Co-authored-by: Miguel de Barros <[email protected]>
mdebarros and others added 9 commits July 19, 2022 09:51
* MBP-604: Pull changes from mojaloop-connector.

* Fix test cases.

* fix lint errors.

* Update src/InboundServer/index.js

Co-authored-by: Kevin Leyow <[email protected]>

* fix audit errors.

* bump packages.

* update constributors list.

* Refactor to use new Redis API.

* fix api call.

* fix audit errors.

* bump version

* fix audit errors.

* update packages.

* fix audit errors.

* revert version change.

* uncomment test feature.

* chore(release): 15.0.1 [skip ci]

* chore!: add dummy pr to major version bump due to unsquashed title (#327)

chore(snapshot): 15.0.2-snapshot.0

* chore(release): 16.0.0 [skip ci]

* feat: suppress health check logs (#328)

Suppress health check logs.

* chore(release): 17.0.0 [skip ci]

* fix: creating inbound server (#329)

* fix creating InboundServer

* update circleci node image.

* Revert "update circleci node image."

This reverts commit 5a38cb0.

* remove SHELL=sh from audit commands.

* Use per commit dep cache.

* chore(release): 17.0.1 [skip ci]

* fix(mojaloop/#2811): sdk-scheme-adapter sending incorrect transferState on a PUT transfers Callback (#331)

fix(mojaloop/#2811): sdk-scheme-adapter sending incorrect transferState on a PUT transfers Callback - mojaloop/project#2811
- fixed transfer-state for callback-response by PayeeFSP to use FSPIOP `TransferState` & `BulkTransferState` Enums from central-services-shared
- re-factored & consolidated enums into a common `SDKStateEnum` which is used for all `currentState` assignments and comparisons
- removed duplicate/unnecessary enums
- updated unit tests to use enums
- updated dependencies
- fixed audit issue
- Fixed image-scan issue as docker image used a root user by adding a non-root user 'ml-user'
- re-aligned Dockerfile working directory to /opt/app for consistency across ml-projects
- aligned CI config for consistency across ml-projects

fix(mojaloop/#2816): SDK-Scheme-Adapter is missing/incorrect bulkTransferState on a PUT /bulkTransfer/{id} Callback by the PayeeFSP- mojaloop/project#2816
- fixed bad enum mapping for bulkTransferState for `COMPLETED` (it was `COMMITTED`)
- added missed bulkTransferState enum for `REJECTED`

BREAKING CHANGE: docker image now uses `/opt/app` instead of the root folder which will impact config mounts, and the secrets folder is no longer included in the docker image which aligns with best practices. Both these changes should NOT be a breaking change but I have marked them as such to make this change more obvious.

* fix: updated dependencies

* chore(release): 18.0.0 [skip ci]

* chore: added .npmignore so that the test folder is not included when publishing packages (#332)

* chore: added .npmignore so that the test folder is not included when publishing packages
* chore: fixes for audit-resolve

* chore: uodated deps (#333)

* chore: added .npmignore so that the test folder is not included when publishing packages

* chore: fixes for audit-resolve

* chore: updated dependencies

* chore(release): 18.0.1 [skip ci]

* chore: updates to readme for header badges [skip ci] (#334)

- updated readme to include docker-pulls

* chore: fixes for merge

* chore: updated changelog header

* chore: fixes for ci-cd

* chore: fixes for ci-cd

* chore: fixes for ci-cd

* chore: fixes for ci-cd

Co-authored-by: Yevhen Kyriukha <[email protected]>
Co-authored-by: Kevin Leyow <[email protected]>
Co-authored-by: mojaloopci <[email protected]>
* added poc-arch folders and a common-lib module
* chore: fixes for yarn install dependencies
* got first kafka domain event message
* removed some unused code and many improvements
* feat: imported types and json schema from api-snippets
* Added sdkOutboundbulkRequestState
* Added command event message to the handler
* command handler is working
* feat: storing state in redis is working with a sample redis repo implementation
* chore: redis repo is working for bulk transaction entity
* feat: stored individual transfers in redis
* chore: refactored bulk transaction agg
* feat: added test api
* chore: restructured the modules
* chore: restructured the files further
* chore: refactored docker-compose
* chore: added nvm use command to running instructions in readme file
* chore: refactored api server
* chore: changed start command to output the logs
…ent handler (#349)

* feat(mojaloop/#2883): add SDKOutboundBulkPartyInfoRequested handler

* chore: unit test

* chore: switch enums to use class name

* chore: lint

* chore: audit
…ed releases and testing (#347)

feat(mojaloop/#2874): add implement full CI-CD Pipeline to do automated releases and testing - mojaloop/project#2874
- added nx dependency and config to assisth with Monorepo tooling
- added Monorepo readme
- re-factored package.json scripts to support nx cli
- re-aligned CI config to master branch & mojaloop standards (i.e. latest slack, github API client, etc)

chore: maintenance
- fixed lint issues
- fixed dependency issues
- updated CODEOWNERS

NOTES:
- Unit/Integration tests will fail until their issues can be resolved by other feature work
- A single Dockerfile will be used for simplicity which will allow the following execution scenarios:
    - Start all modules within the same Docker container: `yarn run start` <-- This is only recommended for local dev/testing purposes
    - Start a single module: `yarn nx run <module-name>:start` <-- This is prefered for Production, and thus separate container instances should be started up to run each module specifically using this command.
…o added skip.changelog to module

chore: added missing release/shapshot npm scripts to modules, and also added skip.changelog to module
…ler (#350)

* feat(mojaloop/#2883): add PartyInfoCallbackReceived domain event handler

* chore: tests

* chore: deps

* chore: dep
* merge with master, fix 2813 bugs

* fix names

* fix party result.

* openapi outbound schema changes from master.

* use enum

* update deps

* bump yarn.lock

* fix test cases.

* fix tests

* update packages.

* fix await

* fix test cases.

* fix tests

* fix test

* fix method name case

* refactor command and domain event names

* update handler names

* fix names
@sri-miriyala
Copy link
Contributor Author

This is being closed as this should not be merged to master branch

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.

7 participants