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/2998): change ttk apis to async #409

Merged
merged 82 commits into from
Nov 1, 2022

Commits on Jun 22, 2022

  1. Added a design diagram

    Vijay Kumar committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    08a9099 View commit details
    Browse the repository at this point in the history
  2. Formatted the sequence diagram and added notes

    Vijay Kumar committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    eb4e519 View commit details
    Browse the repository at this point in the history
  3. feat: added autoaccept party/quotes

    Shashikant Hirugade committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    007fa96 View commit details
    Browse the repository at this point in the history
  4. feat: added inbound diagram

    Shashikant Hirugade committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    2f3e222 View commit details
    Browse the repository at this point in the history
  5. feat: added inbound diagram

    Shashikant Hirugade committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    9781bca View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Merge pull request #321 from mojaloop/feat/design-bulk-transfers-shashi

    feat: added auto accept party and quotes
    vijayg10 authored Jun 23, 2022
    Configuration menu
    Copy the full SHA
    0ebc6c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b35c209 View commit details
    Browse the repository at this point in the history
  3. chore: added a overview image

    Vijay Kumar committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    e1f8220 View commit details
    Browse the repository at this point in the history
  4. chore: changed image

    Vijay Kumar committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    390792d View commit details
    Browse the repository at this point in the history
  5. fix formatting

    Vijay Kumar committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    da16ec2 View commit details
    Browse the repository at this point in the history
  6. refactored outbound sequence diagram

    Vijay Kumar committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    3a84a0d View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. chore: fixed quotes in bulk seq diagram

    Vijay Kumar committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    c341c2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    733d9df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    617e69d View commit details
    Browse the repository at this point in the history
  4. feat: refined inbound bulk sequence diagrams

    Vijay Kumar committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    eb532d6 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. feat: added redis message format

    Vijay Kumar committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    90cb8a5 View commit details
    Browse the repository at this point in the history
  2. chore: modified redis doc

    Vijay Kumar committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    f914e42 View commit details
    Browse the repository at this point in the history
  3. fix

    Vijay Kumar committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    ed21a6f View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. feat!: Initial Commit (#323)

    * 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 <miguel@debarros.me>
    shashi165 and mdebarros authored Jun 28, 2022
    Configuration menu
    Copy the full SHA
    7248b27 View commit details
    Browse the repository at this point in the history
  2. Made some changes to redis

    Vijay Kumar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    d49f893 View commit details
    Browse the repository at this point in the history
  3. Finalized outbound sequence diagram

    Vijay Kumar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    0ad8622 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Configuration menu
    Copy the full SHA
    4ef2be1 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. changed the inbound transfer event names

    Vijay Kumar committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    d015a36 View commit details
    Browse the repository at this point in the history
  2. rename events and topics for outbound

    Vijay Kumar committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    99b4959 View commit details
    Browse the repository at this point in the history
  3. Added inbound redis message format

    Vijay Kumar committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    5c5d7c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    818c218 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #322 from mojaloop/feat/design-bulk-transfers

    chore: added design docs for bulk transfers
    vijayg10 authored Jun 30, 2022
    Configuration menu
    Copy the full SHA
    5b95759 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. Configuration menu
    Copy the full SHA
    782d8e6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #324 from mojaloop/mbp-633-638-lookup

    mbp-633-638 Add interface, types, errors and aggregate for lookup phase
    vijayg10 authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    cf97be4 View commit details
    Browse the repository at this point in the history
  3. fix: fixed the cicd audit check (#326)

    * 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 <miguel@debarros.me>
    shashi165 and mdebarros authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    e040aaa View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. chore: merge master into mvp (#337)

    * MBP-604: Pull changes from mojaloop-connector.
    
    * Fix test cases.
    
    * fix lint errors.
    
    * Update src/InboundServer/index.js
    
    Co-authored-by: Kevin Leyow <kleyow@gmail.com>
    
    * 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 <kirgene@gmail.com>
    Co-authored-by: Kevin Leyow <kleyow@gmail.com>
    Co-authored-by: mojaloopci <info@mojaloop.io>
    4 people authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    f766123 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. feat(mojaloop/2799): implement mvp bulk discovery (#335)

    * 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
    vijayg10 authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    56848fe View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. feat(mojaloop/#2883): add SDKOutboundBulkPartyInfoRequested domain ev…

    …ent handler (#349)
    
    * feat(mojaloop/#2883): add SDKOutboundBulkPartyInfoRequested handler
    
    * chore: unit test
    
    * chore: switch enums to use class name
    
    * chore: lint
    
    * chore: audit
    kleyow authored Aug 23, 2022
    Configuration menu
    Copy the full SHA
    fd0581b View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. feat(mojaloop/#2874): add implement full CI-CD Pipeline to do automat…

    …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.
    mdebarros authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    60c2074 View commit details
    Browse the repository at this point in the history
  2. chore: added missing release/shapshot npm scripts to modules, and als…

    …o added skip.changelog to module
    
    chore: added missing release/shapshot npm scripts to modules, and also added skip.changelog to module
    mdebarros committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    5e90a35 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    53369b4 View commit details
    Browse the repository at this point in the history
  4. feat(mojaloop/#2883): add PartyInfoCallbackReceived domain event hand…

    …ler (#350)
    
    * feat(mojaloop/#2883): add PartyInfoCallbackReceived domain event handler
    
    * chore: tests
    
    * chore: deps
    
    * chore: dep
    kleyow authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    8d90d34 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. feat!: merge with master, fix 2813 bugs (#357)

    * 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
    kirgene authored Aug 30, 2022
    Configuration menu
    Copy the full SHA
    1806e81 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. refactor(mojaloop/#2883): move repo code out of command module and in…

    …to shared lib (#358)
    
    * chore: add redis config to domain handler
    
    * refactor: move repo code into shared lib
    
    * chore: ts alias
    
    * chore: revert
    
    * chore: fix circular reference
    
    * chore: lockfile
    
    * chore: lint
    
    * chore: address comments
    
    * chore: update deps
    
    * chore: fix unit tests
    
    * chore: dep update
    
    * chore: fix import
    
    * chore: address changes
    kleyow authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    9bd9bfd View commit details
    Browse the repository at this point in the history
  2. fix: redis timeout while running integration tests (#361)

    * fix: redis timeout
    
    * update packages
    
    * update packages
    
    * update deps
    
    * fix running integration tests
    
    * cleanup.
    
    * fix path
    
    * update deps
    
    * increase sleep
    
    * run int tests for each module sequentially
    
    * increase delay
    
    * dep update
    
    * increase delay
    kirgene authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    c4b048f View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2022

  1. feat(mojaloop/2802): add bulk quotes related functionality (#356)

    feat(mojaloop/2802): add bulk quotes related functionality (#356)
    vijayg10 authored Sep 6, 2022
    Configuration menu
    Copy the full SHA
    008b38a View commit details
    Browse the repository at this point in the history
  2. fix(mojaloop/#2883): resolve integration tests being broken due to im…

    …port (#364)
    
    * fix: resolve integration tests being broken due to import
    
    * chore: remove debugging lines
    
    * chore: timeout
    
    * chore: fix
    
    * chore: fix open handle
    
    * chore: address comments
    
    * chore: dep update
    
    * chore: increase timeout
    
    * chore: increase timeout
    kleyow authored Sep 6, 2022
    Configuration menu
    Copy the full SHA
    e1562e3 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. feat(mojaloop/#2883): add PartyInfoCallbackProcessed domain handler (#…

    …362)
    
    * chore: add redis config to domain handler
    
    * refactor: move repo code into shared lib
    
    * chore: ts alias
    
    * chore: revert
    
    * chore: fix circular reference
    
    * chore: lockfile
    
    * chore: lint
    
    * chore: address comments
    
    * chore: init
    
    * feat: add PartyInfoCallbackProcessed domain handler
    
    * chore: rename
    
    * chore: update deps
    
    * chore: fix unit tests
    
    * chore: dep update
    
    * chore: fix import
    
    * chore: update command integration tests
    
    * chore: fix imports
    
    * chore: fix merge mistakes
    
    * chore: fix more merge mistakes
    
    * chore: fix import
    
    * chore: add integration tests for PartyInfoCallbackProcessed handler
    
    * chore: lint
    
    * chore: int tests
    
    * chore: fix tests
    
    * chore: increase message timeout
    
    * chore: increase message timeout
    
    * chore: increase message timeout
    
    * chore: fix circular reference
    
    * chore: increase message timeout
    
    * chore: fix tests
    
    * chore: merge
    
    * chore: fix imports
    
    * chore: tests
    
    * chore: dep
    
    * chore: increase timeout
    
    * chore: reorder
    
    * Update outbound_event_handler.test.ts
    
    * chore: increase timeout
    
    * chore: bump redis version
    
    * chore: adjust timeout
    
    * chore: address comments
    
    * chore: lock
    kleyow authored Sep 7, 2022
    Configuration menu
    Copy the full SHA
    5388f42 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. docs: openapi bulk doc update (#363)

    * docs: update api docs
    
    * update types, add plantuml svg validation
    
    * docs: dfsp inbound schema and docs updates
    
    * add bulk api sequence diagram
    * update dfsp inbound schema
    
    * update outbound sequence diagram
    
    * update yarn.lock
    kirgene authored Sep 8, 2022
    Configuration menu
    Copy the full SHA
    1271f57 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. feat!: implement backend and fspiop event services (#365)

    * feat!: implement backend and fspiop event services
    
    New API handlers:
    * POST /bulkTransactions:
      produces:
        SDKOutboundBulkRequestReceived
    * PUT /bulkTransactions/{bulkTransactionId}:
      produces:
        SDKOutboundBulkAcceptPartyInfoReceived
        SDKOutboundBulkAcceptQuoteReceived
    
    New event handlers:
    * PartyInfoRequested: (GET /party, PUT /party)
    * BulkQuotesRequested: (POST /bulkQuotes, PUT /bulkQuotes)
    * SDKOutboundBulkAcceptPartyInfoRequested
    * SDKOutboundBulkAcceptQuoteRequested
    kirgene authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    be4e5e0 View commit details
    Browse the repository at this point in the history
  2. fix: config env vars (#367)

    config env vars fixes
    kirgene authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    90188ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1b57fc View commit details
    Browse the repository at this point in the history
  4. fix(mojaloop/2886): fix bulk-quotes and bulk-transfers (#344) (#369)

    Merge fix(mojaloop/2886): fix bulk-quotes and bulk-transfers functionality (#344)
    vijayg10 authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    8bb4272 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. fix(mojaloop/2809): bulk quotes endpoint in inbound api-template file (

    …#371)
    
    fix([mojaloop/2809](mojaloop/project#2809)): missing post bulkQuotes endpoint in inbound api-template file
    vijayg10 authored Sep 13, 2022
    Configuration menu
    Copy the full SHA
    1e1f9a6 View commit details
    Browse the repository at this point in the history
  2. fix(mojaloop/2809): api-svc issues (#372)

    fix([mojaloop/2809](mojaloop/project#2809)): some api-svc issues
    vijayg10 authored Sep 13, 2022
    Configuration menu
    Copy the full SHA
    9a6401f View commit details
    Browse the repository at this point in the history
  3. fix(mojaloop/2809): some more issues (#373)

    * fix: some more issues
    
    * chore: updated dependencies
    vijayg10 authored Sep 13, 2022
    Configuration menu
    Copy the full SHA
    adfabd9 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. fix(mojaloop/2809): individual transfer results is empty (#374)

    * fix: wrong variable name and format
    
    * chore: update dependencies
    vijayg10 authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    39dce3a View commit details
    Browse the repository at this point in the history
  2. fix: post bulk tx status code (#375)

    * fix: post bulk tx status code
    
    fix POST /bulkTransactions http status code
    
    * bump deps
    kirgene authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    76171b4 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

  1. feat: add test cases for fspiop and backend event servers (#377)

    * test: add test cases for fspiop and backend event servers
    
    cover:
    * POST /bulkTransactions
    * PUT /bulkTransactions/{bulkTransactionId}
    * PartyInfoRequested event
    * BulkQuotesRequested event
    * SDKOutboundBulkAcceptPartyInfoRequested event
    * SDKOutboundBulkAcceptQuoteRequested event
    
    * use http status code enums from @mojaloop/central-services-shared
    kirgene authored Sep 16, 2022
    Configuration menu
    Copy the full SHA
    95b8ec5 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. fix(mojaloop/#2809): fixed outbound party error response format (#381)

    fix([mojaloop/2809](mojaloop/project#2809)): fixed outbound party error response format
    vijayg10 authored Sep 20, 2022
    Configuration menu
    Copy the full SHA
    f3ef8ed View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. feat: handle more events on backend api (#385)

    * feat: handle more events on backend api
    
    * SDKOutboundBulkResponsePrepared
    * SDKOutboundBulkResponseSent
    kirgene authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    747f0fe View commit details
    Browse the repository at this point in the history
  2. fix(mojaloop/2941): handled party lookup timeout error (#386)

    fix: handled-party-lookup-timeout-error
    vijayg10 authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    3ee88b1 View commit details
    Browse the repository at this point in the history
  3. feat(bulk/#2802): merge integration tests for bulk parties and quotes (

    …#376)
    
    * updated deps
    
    * docker compose for end-end testing
    
    * updated dependencies
    
    * updates to end-end docker compose
    
    * added docker compose for local testing
    
    * added local-testing folder
    
    * test case for bulk quote accept event
    
    * Refactored the func test files and p2p is working
    
    * running tests to check they are working
    
    * chore: added sample ttk env file
    
    * chore: updated sdk-out api in TTK func test framework
    
    * fix
    
    * fix
    
    * added kafka related env vars
    
    * removed duplicate env vars
    
    * fix: func-tests-kafka-consumer-group-config
    
    * fix: ttk-func-config
    
    * TTK test cases for bulk - initial commit
    
    * feat: added put bulktransactions to mojaloop sim api in TTK
    
    * chore: added some sample code
    
    * chore: some ttk rules changes
    
    * removed ttk for bulk
    
    * added redis insights to docker compose
    
    * feat(mojaloop/#2802): rework ProcessBulkQuotesCallback logic and add int tests for bulk quotes (#366)
    
    * feat: add tests for bulk quotes
    
    * chore: more
    
    * chore: format
    
    * chore: lock
    
    * chore: cleanup
    
    * chore: dep test
    
    * chore: file dep test
    
    * chore: dep and bug fix
    
    * chore: address comments
    
    * chore: address more comments
    
    * chore: add assert
    
    * chore: changes
    
    * chore: add assertion
    
    * chore: revert
    
    * chore: shorthand
    
    * chore: remove unnecessary asserts
    
    * chore: update logic
    
    * chore: update tests
    
    * chore: time
    
    * chore: timeout
    
    * chore: update logic
    
    * end-end testing diagram
    
    * folder restructure for tests
    
    * refactor folders for discovery integration tests
    
    * updated bulk ttk test case
    
    * changed mvp bulk testcase
    
    * fixed ttk rule
    
    * renamed files
    
    * added more test assertions
    
    * feat: added parties error response rule
    
    * refactor(mojaloop/#2802): rework party lookup loop and count increment logic (#378)
    
    * refactor: rework party lookup loop
    
    * chore: fix seq doc
    
    * chore: doc
    
    * chore: fix comment
    
    * chore: resolve duplicate callback timing issue
    
    * chore: test fix and bulk quote increment
    
    * chore: dep up
    
    * chore: missing await
    
    * chore: increase wait
    
    * chore: wait
    
    * chore: dep
    
    * chore: update
    
    * chore: give docker more time to boot
    
    * chore: fix
    
    * chore: ci wait
    
    * chore: diff
    
    * wait
    
    * chore: log
    
    * chore: try topics
    
    * chore: config
    
    * fix: fix build issue
    
    * fix: fix some merge issue
    
    * chore: updated dependencies and lint
    
    Co-authored-by: Vijay Kumar <vijaya.guthi@modusbox.com>
    Co-authored-by: Kevin Leyow <kleyow@gmail.com>
    3 people authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    73217eb View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. feat(mojaloop/#2803): sdk scheme adapter add bulk transfers calls (St…

    …eps 62-85) (#370)
    
    feat(mojaloop/#2803): sdk scheme adapter - add bulk transfers calls (Steps 62-85) - mojaloop/project#2803
    - Added implementation for the following events:
        - `SDKOutboundBulkAcceptQuoteReceivedDmEvt `
        - `ProcessSDKOutboundBulkAcceptQuoteCmdEvt `
        - `ProcessSDKOutboundBulkTransfersRequestCmdEvt `
        - `BulkTransfersRequestedDmEvt `
        - `BulkTransfersCallbackReceivedDmEvt `
        - `ProcessBulkTransfersCallbackCmdEvt `
        - `BulkTransfersCallbackProcessedDmEvt `
        - `PrepareSDKOutboundBulkResponseCmdEvt`
        - `ProcessSDKOutboundBulkResponseSentCmdEvt`
        - `ProcessSDKOutboundBulkTransfersRequestCompleteCmdEvt`
        - `BulkTransfersProcessedDmEvt`
        - `SDKOutboundBulkAcceptQuoteProcessedDmEvt`
        - `SDKOutboundBulkAutoAcceptQuoteCompletedDmEvt`
        - `SDKOutboundBulkResponseSentProcessedDmEvt`
        - `SDKOutboundBulkTransfersRequestProcessedDmEvt`
    - Added Integration Tests for:
        - ProcessSDKOutboundBulkAcceptQuoteCmdEvt
        - ProcessSDKOutboundBulkTransfersRequestCmdEvt
        - ProcessBulkTransfersCallbackCmdEvt
        - PrepareSDKOutboundBulkResponseCmdEvt
        - ProcessSDKOutboundBulkResponseSentCmdEvnt
        - ProcessSDKOutboundBulkTransfersRequestCompleteCmdEvt
        - ProcessSDKOutboundBulkResponseSentCmdEvt
    - Added sample `modules/outbound-command-event-handler/test/integration/sample_events/process_sdk_outbound_bulk_transfers_request.test.ts`
    
    chore: maintenance:
    - Removed build from git commit hooks
    - Added updated api.yaml which was generated from yarn run build (no idea why this was not updated?)
    - Updated root docker-compose to correctly work, and moved/renamed insight -> redisinsight and added it to the "debug" profile
    - Added child-loggers for Command Handler
    - Re-factored bulk_transaction_agg.createBatch() to generateBulk*Batches() for Quotes and Transfers
    mdebarros authored Sep 28, 2022
    Configuration menu
    Copy the full SHA
    fcd84fe View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. fix: package run commands referencing incorrect module names (#395)

    * fixes for unit test failures
    
    - fixed run/service scripts in dom/cmd event handler package.json files
    - fixed module names for individual start scripts in root package.json file
    
    * chore: maintainence
    - added nx to ncurc.yaml to be ignore on dep:checks
    - updated dependencies (except for nx)
    
    * downgraded @mojaloop/api-snippets and added to ignore for dep:checks until PR can be merged
    
    * fix: for clean API server destroy on command handler
    
    * same as before
    
    * fix for command handler close
    
    * fixes for unit tests
    
    * chore: peg snippets
    
    Co-authored-by: Kevin <kleyow@gmail.com>
    mdebarros and kleyow authored Oct 5, 2022
    Configuration menu
    Copy the full SHA
    f2278fc View commit details
    Browse the repository at this point in the history
  2. fix: ci build order (#396)

    * added private-shared-lib to api-svc
    
    * fix: ci build order seems to be an issue
    
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    kleyow and mdebarros authored Oct 5, 2022
    Configuration menu
    Copy the full SHA
    de47a79 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. feat(mojaloop/#2914): import api server with health endpoint (#394)

    * feat(mojaloop/#2914): import api server with health endpoint
    
    * chore: update
    
    * chore: lock
    
    * added private-shared-lib to api-svc
    
    * fix: ci build order seems to be an issue
    
    * deps updated
    
    * chore: peg api-snippets
    
    * chore: fix unit
    
    * chore: dep update
    
    * chore: audit
    
    * chore: add no-cache unit test command
    
    * chore: test peg nx for ci issue
    
    * fixes for unit test failures
    
    - fixed run/service scripts in dom/cmd event handler package.json files
    - fixed module names for individual start scripts in root package.json file
    
    * chore: maintainence
    - added nx to ncurc.yaml to be ignore on dep:checks
    - updated dependencies (except for nx)
    
    * downgraded @mojaloop/api-snippets and added to ignore for dep:checks until PR can be merged
    
    * fix: for clean API server destroy on command handler
    
    * same as before
    
    * fix for command handler close
    
    * fixes for unit tests
    
    * chore: updates
    
    * chore: dep update
    
    * chore: revert
    
    * chore: change
    
    * chore: increase timeout
    
    * chore: all
    
    * chore: timeout
    
    * chore: test
    
    * chore: fix kill
    
    * chore: open handle
    
    * chore: hail mary
    
    * chore: timeout
    
    * chore: ci
    
    * chore: event emitter warning
    
    * chore: some fixes
    
    * chore: remove
    
    * chore: nx
    
    * chore: port yevhen changes
    
    * bump to package snapshot
    
    * chore: ports
    
    * bump to package version
    
    * potential work-around for unit tests failing in CI
    
    * try detectOpenHandles
    
    * clean up of main package.json and dependencies updated
    
    * chore: address some comments
    
    * chore: prefix
    
    * added HealthStatusEnum for health check models/services
    
    * just added AppServerPropertyEnum to be more declarative when getting context proeprties from the app server
    
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    kleyow and mdebarros authored Oct 6, 2022
    Configuration menu
    Copy the full SHA
    da5c0ad View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2022

  1. feat(mojaloop/#2809): merge local end to end func tests (#398)

    * updated deps
    
    * docker compose for end-end testing
    
    * updated dependencies
    
    * updates to end-end docker compose
    
    * added docker compose for local testing
    
    * added local-testing folder
    
    * test case for bulk quote accept event
    
    * Refactored the func test files and p2p is working
    
    * running tests to check they are working
    
    * chore: added sample ttk env file
    
    * chore: updated sdk-out api in TTK func test framework
    
    * fix
    
    * fix
    
    * added kafka related env vars
    
    * removed duplicate env vars
    
    * fix: func-tests-kafka-consumer-group-config
    
    * chore: maintenance
    
    - removed build from git commit hooks
    - added updated api.yaml which was generated from yarn run build (no idea why this was not updated?)
    
    * re-aligned bulkTransaction states to match sequence diagram
    
    * chore: maintenance
    
    - changed redis default config to localhost
    
    * feat(mojaloop/#2803): sdk scheme adapter - add bulk transfers calls (Steps 62-85)
    
    - added the following Events:
       - ProcessSDKOutboundBulkTransfersRequestCmdEvt
       - BulkTransfersRequestedDmEvt
    - added processing logic on the Command Handler for
       - processing ProcessSDKOutboundBulkTransfersRequestCmdEvt
       - sending BulkTransfersRequestedDmEvt
    
    * fix: ttk-func-config
    
    * fixes for docker-compose
    
    - moved redisinsight to debug profile
    - rename insight to redisinsight
    - removed unnecessary mongodb dependency (no idea why that was there)
    
    * TTK test cases for bulk - initial commit
    
    * feat: added put bulktransactions to mojaloop sim api in TTK
    
    * chore: added some sample code
    
    * chore: some ttk rules changes
    
    * removed ttk for bulk
    
    * updated repos to include bulkTransfersCount* methods and keys
    
    * updates for story
    
    - added ProcessSDKOutboundBulkTransfersRequestHandler to handler/index
    - added get counts for transfers to bulkAggregate
    
    * refactored aggregate for createBatches  logic
    
    - refactored createBatches to a private _generateBatchMapArray method which separates out the logic to create the BatchMapArray to a re-usable function that supports filters
    - added a new method generateBulkQuoteBatches which calls the _generateBatchMapArray and implements the previous logic to adds the individual Quotes
    
    * clean up
    
    * added bulkTransactionAgg.generateBulkTransferBatches method and did some cleanups
    
    * typo fixes
    
    * added redis insights to docker compose
    
    * initial commit for bulk transfers intg tests
    
    * feat(mojaloop/#2802): rework ProcessBulkQuotesCallback logic and add int tests for bulk quotes (#366)
    
    * feat: add tests for bulk quotes
    
    * chore: more
    
    * chore: format
    
    * chore: lock
    
    * chore: cleanup
    
    * chore: dep test
    
    * chore: file dep test
    
    * chore: dep and bug fix
    
    * chore: address comments
    
    * chore: address more comments
    
    * chore: add assert
    
    * chore: changes
    
    * chore: add assertion
    
    * chore: revert
    
    * chore: shorthand
    
    * chore: remove unnecessary asserts
    
    * chore: update logic
    
    * chore: update tests
    
    * chore: time
    
    * chore: timeout
    
    * chore: update logic
    
    * end-end testing diagram
    
    * fixes for generators for bulk Quotes and Transfers
    
    - cleaned up code
    - made the generateBatch methods for Quotes/Transfers to be cleaner with some additional debug methods
    - added sample event generator for integrationTests for processSDKOutboundBulkTransfersRequestCmdEvt
    
    * added todo comment
    
    * fixes for transfers/quotes counts and added todo
    
    * lint fixes
    
    * updates to code headers
    
    * folder restructure for tests
    
    * refactor folders for discovery integration tests
    
    * updated bulk ttk test case
    
    * changed mvp bulk testcase
    
    * fixed ttk rule
    
    * fix for mvp branch merges
    
    * aligned transferId to bulkTransferRequests to use the individualTransfers.id
    
    * chore: add bulk transfer lib event boiler plate code
    
    * renamed files
    
    * fix for mvp branch merges
    
    - fixed paths to be more generic
    - updated jest confit to dynamically pull in the path information to properly resolve imported alias's in test files
    - added utilities to command handler tests for Timeout async awaits
    - added SETUP / ACT / ASSERT comments to process_bulk_quotes_callback.test.ts
    
    * feat(mojaloop/#2803): sdk scheme adapter added quote accept (Steps 68)
    
    - added ProcessSDKOutboundBulkAcceptQuoteHandler
    - added 'AGREEMENT_ACCEPTED' & 'AGREEMENT_REJECTED' to IndividualTransferInternalState
    - added ProcessSDKOutboundBulkAcceptPartyInfoCmdEvt
    - added SDKOutboundBulkAcceptQuoteProcessedDmEvt
    
    TODO:
    - Logic for 'Calculate bulk expiry based on both expirySeconds config and bulkExpiration'
    
    * fixed header
    
    * updates to docs for auto-numbering
    
    * docs: added updated for `AGREEMENT_ACCEPTANCE_COMPLETED` state
    
    * Added new states to bulkTransactionEntity
    
    - AGREEMENT_ACCEPTANCE_COMPLETED
    - TRANSFERS_COMPLETED
    - TRANSFERS_FAILED
    - RESPONSE_PROCESSING
    - RESPONSE_SENT
    
    * updated handleProcessSDKOutboundBulkAcceptQuoteCmdEvt to set AGREEMENT_ACCEPTANCE_COMPLETED
    
    * fix typos
    
    * renamed SDKOutboundBulkAutoAcceptQuoteCompleted --> SDKOutboundBulkAutoAcceptQuoteProcessed
    
    This aligns with the auto-accept= false use-case
    
    * feat(mojaloop/#2803): sdk scheme adapter added quote accept (Steps 68)
    
    - added handleSDKOutboundBulkAcceptQuoteProcessed to the Domain Event Handler
    
    * feat(mojaloop/#2803): sdk scheme adapter added quote accept (Steps 68)
    
    - fixes for SDKOutboundBulkAcceptQuoteReceivedDmEvt
    - added handleSDKOutboundBulkAcceptQuoteReceived handler to the Domain Handler
    
    * chore: updated process_bulk_quotes_callback int-test option params
    
    * added more test assertions
    
    * renamed test files
    
    * feat: added parties error response rule
    
    * fix for process_bulk_quotes_callback.test
    
    * fix: reworked process_bulk_quotes_callback.test
    
    - updated the initial test to meet the correct test conditions
    - updated the initial test asserts to validate the outcome of the test conditions
    - added todo comment on original test
    - re-factored asserts to use Class.name instead of hard-coded name string values
    
    * refactored happy path test case and added error test case
    
    * typo fixes
    
    * fixed typos in process_bulk_quotes_callback.test
    
    - fixed test description, added missing 'global BulkTransaction state should be AGREEMENT_ACCEPTANCE_PENDING' to test description
    
    * updates to process_bulk_quotes_callback.test
    
    - added SETUP, ACT, ASSERT comments
    
    * updated header
    
    * fixed indentation and moved the //act comment to the correct location
    
    * feat(mojaloop/#2803): add event handlers (#380)
    
    * feat(mojaloop/#2803): add BulkTransfersRequestedDmEvt implementation and handling
    
    * add BulkTransfersCallbackReceived domain handler
    
    * chore: key
    
    * Update modules/outbound-domain-event-handler/src/application/handlers/bulk_transfers_callback_received.ts
    
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    
    * added timeout error case
    
    * Add readme
    
    * Added support for ProcessSDKOutboundBulkAcceptQuoteCmdEvt and SDKOutboundBulkAcceptQuoteReceivedDmEvt
    
    - Updates to outbound-command-event-handler
       - added/expanded on some additional logging
       - added ProcessSDKOutboundBulkAcceptQuoteCmdEvt processing support
    - Updates to outbound-domain-event-handler
       - added SDKOutboundBulkAcceptQuoteReceivedDmEvt routing support
       -
    
    * Added initial version of process_sdk_outbound_bulk_accept_quote.test
    
    - added first integration test to process_sdk_outbound_bulk_accept_quote.test
    - added initial impl of generator util helper (this needs allot of work)
    - updated handleProcessSDKOutboundBulkAcceptQuoteCmdEvt to not update stage if the individualTransfer is already in AGREEMENT_FAILED state
    
    * added more error test cases
    
    * added more error test cases for bulk quotes
    
    * feat: add ProcessBulkTransfersCallback handler
    
    * added more error test cases for bulk quotes
    
    * working  process_sdk_outbound_bulk_accept_quotes.test (but process not finished)
    
    * added some additional comments
    
    * fixes for outbound-domain-event-handler
    
    - fixes to missing imports
    - fixed formatting issue with application handler
    
    * added fetchBulkBatches to generator to help fetch the right bulkBatches
    
    * updates for outbound-command-event-handler
    
    - added createChild support for loggers to include component name
    - added new agg handler for handleProcessBulkTransfersCallbackCmdEvt PLACEHOLDER (i.e. impl is missing) with application routing
    - updated process_sdk_outbound_bulk_accept_quote.test and generator to kick-off the ProcessBulkTransfersCallbackCmdEvt event
    
    * added comment to be addressed by Kevin's PR
    
    * added more error test cases for bulk quotes that has timeout
    
    * fixes for merge issues
    
    * added a child Logger for OutboundCommandEventHandlerAPIServer
    
    * updated process_sdk_outbound_bulk_accept_quote.test description
    
    * cleanup to loggers
    
    * updates to outbound-command-event-handler integration tests
    
    - refactored generator helper by removing the bulkTransactionRequest, and rather adding a subset of the config options only
    - re-worked process_sdk_outbound_bulk_accept_quote.test
    - completed impl the process_bulk_transfers_request.test
    
    * added process_bulk_transfers_request.test
    
    * removed unused variables
    
    * added TODOs to address
    
    * adding correct state for individualTransfer that has a failed Quote
    
    * updated bulk_transaction_agg with types, and fixed issue with batch generator functions to pass unit tests
    
    - added types to getBulk*Count() methods
    - added validation checks on the generateBulk*Batches() methods to throw an error if batches were already generated
    - fixed unit tests to match the earlier re-factor for the `createBatches` -> `generateBulk*Batches` methods
    
    * updated end-end tests
    
    * build and unit test fixes
    
    * updated rules for bulk quotes
    
    * fixes for integration tests
    
    * fixes for build
    
    * fixes for missing outbound-domain-event-handler to handler to route SDKOutboundBulkAcceptQuoteProcessedDmEvt events
    
    * added bulkQuoteId to bulkTransfersRequest when creating an empty batch by the BulkBatchEntity
    
    * updated test scripts for ID not found scenarios
    
    * made updates to test scripts
    
    * chore: clean up integration tests (#387)
    
    * chore: fix discovery int tests
    
    * chore: agreement tests
    
    * chore: clean up transfers int tests
    
    * chore: increment
    
    * dep:update for api-snippets
    
    - bumped api-snippets
    - also changed dep:* package.json root scripts to use "static" output to correctly show info on console
    
    * added missing ilpPacket and condition to bulkBatch IndividualTransfer
    
    * fixes for func-tests
    
    - fixed lint issues with test/fun/README.md
    - added ignore for **/*.env to dockerignore file
    
    * same as previous commit
    
    * added missing outbound-domain-event-handler routing
    
    - BulkTransfersCallbackReceivedDmEvt
    - SDKOutboundBulkTransfersRequestProcessedDmEvt
    
    * feat(mojaloop/#2803): add more event handlers (#383)
    
    * feat(mojaloop/#2803): add PrepareSDKOutboundBulkResponse and PrepareSDKOutboundBulkResponseSent handler
    
    * chore: fix
    
    * chore: header
    
    * chore: fix some unit tests
    
    * chore: update bulk response
    
    * chore: remove unneeded file
    
    * added missing routes/implementation to the outbound-domain-event-handler
    
    - added routing for SDKOutboundBulkResponseSentDmEvt
    - added implementation for
      - handleSDKOutboundBulkTransfersRequestProcessed
      - handleSDKOutboundBulkResponseSent
    
    * added missing routes to outbound-command-event-handler
    
    - added route handling for PrepareSDKOutboundBulkResponseCmdEvt
    - added route handling for ProcessSDKOutboundBulkResponseSentCmdEvt
    
    * outbound-command-handler updates to handlePrepareSDKOutboundBulkResponseCmdEvt
    
    - added central-services-shared for transferState enums
    - added missing field mappings on SDKOutboundBulkResponsePreparedDmEvt for quoteResponse, fulfil, and extensions
    - fixed mapping from bulkTransactionIndividualTransferResult.to to use the partyResponse.party
    
    * Updated handleProcessSDKOutboundBulkResponseSentCmdEvt to produce SDKOutboundBulkResponseSentProcessedDmtEvt
    
    - Added new domain event SDKOutboundBulkResponseSentProcessed
    - Added logic to handleProcessSDKOutboundBulkResponseSentCmdEvt to publish event
    - Updated documentation to include final SDKOutboundBulkResponseSentProcessed Domain event
    
    * added comments and skipped an integration test
    
    * test: updated mvp-bulk ttk-testcases
    
    - updated happy path to validate final state "COMPLETED"
    
    * made updates to test scripts
    
    * Updated generator help util for integration tests on outbound-command-handler
    
    - Added support for :
      - PrepareSDKOutboundBulkResponseCmdEvt
      - ProcessSDKOutboundBulkResponseSentCmdEvt
    
    * added more tests for transfers
    
    * fix: party lookup flow if party info exists (#388)
    
    send PartyInfoCallbackReceivedDmEvt if party info exists
    
    * fix: party lookup (#389)
    
    party lookup fix
    
    * updated bulk quotes error test cases
    
    * added TC with 50 bulk transfer requests
    
    * fix(mojaloop/#2803): adjust transfer creation logic and int tests (#390)
    
    * chore: fix discovery int tests
    
    * chore: agreement tests
    
    * chore: clean up transfers int tests
    
    * chore: increment
    
    * fix: adjust transfer creation logic and int tests
    
    * chore: cleanup
    
    * Update modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/index.ts
    
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    
    * chore: dep update
    
    * chore: revert
    
    * chore: update ncurc
    
    * chore: yaml file
    
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    
    * updated TC with 50 bulk transfer requests
    
    * updated TC with 50 bulk transfer requests
    
    * added negative test case for transfers
    
    * updated negative test case for transfers
    
    * new file for transfer errors
    
    * new file for quotes error cases
    
    * added new error test case for transfers
    
    * restructuring of files
    
    * added an error test case for transfers
    
    * added more test cases for quotes error cases
    
    * updated test cases for quotes
    
    * adding happy path
    
    * updated rule for quotes error
    
    * updated test case numbers
    
    * re-arranged test cases
    
    * updated dependencies
    
    * fix: bugs 2946, 2951 (#391)
    
    * fix: bugs 2946, 2951
    * fix #2946
    * fix #2951
    
    * handle errors
    
    * bump deps
    
    * fix enums
    
    * fix enums
    
    * update deps
    
    * fix tests
    
    * fix tests
    
    * fix: ci build order (#393)
    
    * new file for transfer errors
    
    * new file for quotes error cases
    
    * added new error test case for transfers
    
    * restructuring of files
    
    * added an error test case for transfers
    
    * added more test cases for quotes error cases
    
    * updated test cases for quotes
    
    * fix: ci build order seems to be an issue
    
    * deps updated
    
    * rebuild yarn.lock
    
    * fix for unit tests
    
    * added private-shared-lib to api-svc
    
    Co-authored-by: Sridevi Miriyala <sridevi.miriyala@modusbox.com>
    
    * fix party resolution.
    
    * update e2e tests
    
    * fix audit issues
    
    * update circleci machine image
    
    * update circleci machine image
    
    * clear event listener in redis mock
    
    * fix tests
    
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    Co-authored-by: Sridevi Miriyala <sridevi.miriyala@modusbox.com>
    
    * fix: unit tests (#397)
    
    close active event emitters
    
    * fix handling quote error response
    
    * updated happy path test case
    
    * fix handling quote error response
    
    * updated test cases
    
    * updated quotes test cases
    
    * fix assigning transactionId
    
    * added test cases markdown
    
    * updated test cases markdown
    
    * updated test cases markdown
    
    * updated test cases markdown
    
    * updated test cases markdown
    
    * chore: fix int tests (#399)
    
    * chore: try fix tests
    
    * chore: regen lock
    
    * chore: dep update
    
    Co-authored-by: Vijay Kumar <vijaya.guthi@modusbox.com>
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    Co-authored-by: Kevin Leyow <kleyow@gmail.com>
    Co-authored-by: Yevhen Kyriukha <kirgene@gmail.com>
    5 people authored Oct 10, 2022
    Configuration menu
    Copy the full SHA
    b0b3617 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. chore(mojaloop/#2990): pull in changes from master (#405)

    * MBP-604: Pull changes from mojaloop-connector.
    
    * Fix test cases.
    
    * fix lint errors.
    
    * Update src/InboundServer/index.js
    
    Co-authored-by: Kevin Leyow <kleyow@gmail.com>
    
    * 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
    
    * fix: ws-connection-issue (#339)
    
    - downgraded ws lib dependency from v8.x to v7.5.5 due to breaking change that cause intermitant disconnections
    - added ncurc.yaml file with ws lib dependency added with an appropriate comment
    - added @mojaloop/api-snippets to dep:check ignore list as it requires PR [sdk-scheme-adapter/pull/340](#340) has been merged
    
    * chore(release): 18.0.2 [skip ci]
    
    * feat!: use updated outbound OpenAPI specification from api-snippets (#340)
    
    * feat!: use updated outbound OpenAPI specification from api-snippets
    
    * use audit-ci for audit check.
    
    * move api-snippets to deps.
    
    * chore(release): 19.0.0 [skip ci]
    
    * fix(mojaloop/2886): fix bulk-quotes and bulk-transfers functionality (#344)
    
    fix(mojaloop/2886): fix bulk-quotes and bulk-transfers functionality (#344)
    
    * fix: added bulk-quotes to inbound api definition
    * chore: updated TTK version, updated TTK config files  and changed ttk port
    * fix: bulk quotes callback redis publish channel
    * fix: fixed bulk quotes and bulk transfers response in outbound api
    * chore: updated mojaloop sim api in ttk
    
    * chore(release): 19.0.1 [skip ci]
    
    * chore: address merge mistakes
    
    * Update .dockerignore
    
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    
    * Update .dockerignore
    
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    
    Co-authored-by: Yevhen Kyriukha <kirgene@gmail.com>
    Co-authored-by: mojaloopci <info@mojaloop.io>
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    Co-authored-by: vijayg10 <33152110+vijayg10@users.noreply.github.com>
    5 people authored Oct 20, 2022
    Configuration menu
    Copy the full SHA
    efd90d9 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. feat(mojaloop#2965): end-end functional tests (#402)

    * updated test cases
    
    * updated test cases
    
    * updated transfer test cases
    
    * updated rules for quotes test cases
    
    * refactor: update inbound server to handle backend bulk errors
    
    * chore: unit tests
    
    * updated transfers test cases
    
    * chore: fixes
    
    * chore: remove
    
    * updated transfers test cases
    
    * updated rules for transfers test cases
    
    * updated rules for quotes test cases
    
    * updated rules for happy path test cases
    
    * updated rules for happy path test cases
    
    * removed duplicate happy path test cases
    
    * updated happy path test cases
    
    * added bulk test for receiver with 50 transfers
    
    * updated transfer batch failure test case
    
    * snapshot release version bump
    
    * updated transfer batch failure test case
    
    * fix: added optional chaining to bulk transfer handler (#403)
    
    * fix: added optional chaining to bulk transfer handler
    
    * chore: dep update
    
    * updated transfer batch failure test case
    
    * chore: add last error
    
    * updated transfer batch failure test case
    
    * refactor: refactor individual quote and transfer error handling (#404)
    
    * refactor: refactor individual quote and transfer error hadnling
    
    * chore: remove debug statements
    
    * chore: updates
    
    * chore: update description
    
    Co-authored-by: Kevin <kleyow@gmail.com>
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    3 people authored Oct 21, 2022
    Configuration menu
    Copy the full SHA
    99a1fb6 View commit details
    Browse the repository at this point in the history
  2. chore(mojaloop/#2990): pull in changes from master again due to merge (

    …#406)
    
    * MBP-604: Pull changes from mojaloop-connector.
    
    * Fix test cases.
    
    * fix lint errors.
    
    * Update src/InboundServer/index.js
    
    Co-authored-by: Kevin Leyow <kleyow@gmail.com>
    
    * 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
    
    * fix: ws-connection-issue (#339)
    
    - downgraded ws lib dependency from v8.x to v7.5.5 due to breaking change that cause intermitant disconnections
    - added ncurc.yaml file with ws lib dependency added with an appropriate comment
    - added @mojaloop/api-snippets to dep:check ignore list as it requires PR [sdk-scheme-adapter/pull/340](#340) has been merged
    
    * chore(release): 18.0.2 [skip ci]
    
    * feat!: use updated outbound OpenAPI specification from api-snippets (#340)
    
    * feat!: use updated outbound OpenAPI specification from api-snippets
    
    * use audit-ci for audit check.
    
    * move api-snippets to deps.
    
    * chore(release): 19.0.0 [skip ci]
    
    * fix(mojaloop/2886): fix bulk-quotes and bulk-transfers functionality (#344)
    
    fix(mojaloop/2886): fix bulk-quotes and bulk-transfers functionality (#344)
    
    * fix: added bulk-quotes to inbound api definition
    * chore: updated TTK version, updated TTK config files  and changed ttk port
    * fix: bulk quotes callback redis publish channel
    * fix: fixed bulk quotes and bulk transfers response in outbound api
    * chore: updated mojaloop sim api in ttk
    
    * chore(release): 19.0.1 [skip ci]
    
    Co-authored-by: Yevhen Kyriukha <kirgene@gmail.com>
    Co-authored-by: mojaloopci <info@mojaloop.io>
    Co-authored-by: Miguel de Barros <miguel@debarros.me>
    Co-authored-by: vijayg10 <33152110+vijayg10@users.noreply.github.com>
    5 people authored Oct 21, 2022
    Configuration menu
    Copy the full SHA
    161a74f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    938403b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    155d6bd View commit details
    Browse the repository at this point in the history
  5. chore: undo snapshot command

    kleyow committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    6221cd6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    792d127 View commit details
    Browse the repository at this point in the history
  7. snapshot adjust

    mdebarros committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    f74de6a View commit details
    Browse the repository at this point in the history
  8. snapshot adjust

    mdebarros committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    fcf8999 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8cfc7f6 View commit details
    Browse the repository at this point in the history
  10. fix: ci snapshot/release tags failing

    - fixed tags for snapshot/release to tag from the local docker image
    mdebarros committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    c9fdcb2 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. fix(mojaloop/#2993): change external bulk prepare to internal function (

    #408)
    
    * fix: change external bulk prepare to internal function
    
    * chore: field
    
    * chore: yarn
    
    * fields
    
    * chore(snapshot): 20.0.0-snapshot.23
    
    * chore: koa import
    
    * chore(snapshot): 20.0.0-snapshot.24
    
    * chore: dep update
    kleyow authored Oct 31, 2022
    Configuration menu
    Copy the full SHA
    b3c5de8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae665c1 View commit details
    Browse the repository at this point in the history
  3. chore: dep update

    kleyow committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    d2ab71b View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. Configuration menu
    Copy the full SHA
    3cfe9be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11fbd93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9de162a View commit details
    Browse the repository at this point in the history
  4. Merge branch master of https://github.com/mojaloop/sdk-scheme-adapter

    …into feat/change-ttk-apis-to-async
    Vijay committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    5832f6d View commit details
    Browse the repository at this point in the history
  5. chore: updated dependencies

    Vijay committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    47dff59 View commit details
    Browse the repository at this point in the history