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

Refactored code #44

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
dff334b
IME-2 [PM4ML-FXP] Update UI - Transfer Details
mwan9ilwa Aug 21, 2024
5fc9ba5
IME-2 Transfer Details conversion fields
mwan9ilwa Aug 30, 2024
c3ffaa1
IME-2 Updated transfer overview, transfer details, transfer terms, tr…
mwan9ilwa Sep 4, 2024
3967979
IME-2 Updated transfer overview, transfer details, transfer terms, tr…
mwan9ilwa Sep 4, 2024
2caefa6
IME-2 Updated transfer overview, transfer details, transfer terms, tr…
mwan9ilwa Sep 4, 2024
7b06b67
Technial Details Tab Update
NgaseBupe Sep 6, 2024
c1b4493
Conversion fields UI update
NgaseBupe Sep 9, 2024
29d0c1d
UI update and FXP directory migrations
NgaseBupe Sep 10, 2024
478232b
Fixed Side Menu Error
NgaseBupe Sep 10, 2024
f4517e6
new updates
NgaseBupe Sep 10, 2024
e30b4ae
latest updates
NgaseBupe Sep 12, 2024
00139d0
latest updates
NgaseBupe Sep 17, 2024
fb081d4
latest updates
NgaseBupe Sep 17, 2024
9c7325b
latest updates
NgaseBupe Sep 17, 2024
ca7e864
latest updates
NgaseBupe Sep 17, 2024
39a1ae5
latest updates
NgaseBupe Sep 18, 2024
95eec8f
types.ts update
NaphPhiri Sep 19, 2024
f421709
uupdate
NgaseBupe Sep 19, 2024
6ae8735
merge update
NaphPhiri Sep 19, 2024
6e5b82e
UI mapping updated
NaphPhiri Sep 19, 2024
acf8749
latest update, chaning api
NgaseBupe Sep 20, 2024
6dfd89d
update with UI with Transfers working but no FXP API
NgaseBupe Sep 20, 2024
b71faa2
working fxp find conversion modal
NgaseBupe Sep 22, 2024
a529f42
fixed undefined values for conversion ID, Currency and Amount
mwan9ilwa Sep 22, 2024
2ba291d
Updated Error API
NgaseBupe Sep 24, 2024
d1713fc
refactored fxpConversion model
mwan9ilwa Sep 25, 2024
80f26de
completely refactored fxpConversion module and removed zone.identify …
mwan9ilwa Sep 25, 2024
c34c33d
add fxp conversions api to api.ts
Akku-Rawat Sep 26, 2024
20c4931
fix : fxp conversions status summary api
Akku-Rawat Sep 26, 2024
630e4f7
update : fpx conversions api
Akku-Rawat Sep 26, 2024
e573908
update : fpx conversions types
Akku-Rawat Sep 26, 2024
12e7cad
add : Fpx conversion modal mapping for tabs[conversion details, conve…
Akku-Rawat Sep 26, 2024
a9dec64
create : separate interface for amounts data
Akku-Rawat Sep 26, 2024
c91e40c
add : Fpx conversion modal mapping for technical details tab
Akku-Rawat Sep 26, 2024
69ab067
Fixed textOverflow bugs for the Conversion Details tab
mwan9ilwa Sep 26, 2024
e0bc469
added the conversionState Error field
NgaseBupe Sep 26, 2024
c0c6ecb
added the conversionState Error field
NgaseBupe Sep 26, 2024
1117604
Merge branch 'refactored-code' of github.com:mwan9ilwa/mojaloop-payme…
NgaseBupe Sep 26, 2024
4a868b6
add : fxp conversion state error mapping
Akku-Rawat Sep 27, 2024
1e9c8bd
updated UI: Conversion details, Conversion terms modals
NgaseBupe Sep 27, 2024
f68b854
Fix : fxpconversion ui
Ujjwal-Izyane Sep 27, 2024
cbfe147
updates to the ui: added commited request id
NgaseBupe Sep 27, 2024
0dc870b
needFx flag implemented
NgaseBupe Sep 28, 2024
a62485a
copy button implementation for fx conversion modal
NgaseBupe Sep 28, 2024
9681d2b
Add commitRequestId to TransferDetails and FxpConversionDetails
Ujjwal-Izyane Sep 30, 2024
f6a3afe
Update UI transfer terms in transferdetails
Ujjwal-Izyane Sep 30, 2024
50f6406
copy buttons and currency lables added
NgaseBupe Sep 30, 2024
b0483ed
Add conversionType to transfer details modal
Ujjwal-Izyane Sep 30, 2024
444ac95
CSS error on Transfer model tabs fixed
NgaseBupe Sep 30, 2024
e3b4480
Merge branch 'refactored-code' of github.com:mwan9ilwa/mojaloop-payme…
NgaseBupe Sep 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
314 changes: 157 additions & 157 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,157 +1,157 @@
# CircleCI v2.1 Config
version: 2.1

##
# orbs
#
# Orbs used in this pipeline
###
orbs:
docker: circleci/[email protected]
slack: circleci/[email protected]

##
# Executors
#
# CircleCI Executors
##
executors:
default-docker:
working_directory: /home/circleci/project/git
docker:
- image: node:16.14.2-alpine3.14

default-machine:
machine:
image: ubuntu-2004:202201-02

##
# Jobs
#
# A map of CircleCI jobs
##
jobs:
setup:
executor: default-docker
steps:
- checkout
- run:
name: Update NPM install (using `yarn install`)
command: yarn install
- save_cache:
key: dependency-cache-v2-{{ checksum "yarn.lock" }}
paths:
- node_modules
lint:
executor: default-docker
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-v2-{{ checksum "yarn.lock" }}
paths:
- node_modules
- run:
name: Run lint
command: yarn lint
- run:
name: Run unit tests
command: yarn test
# - slack/status:
# success_message: Linting passed in branch $CIRCLE_BRANCH
# failure_message: Linting failed in branch $CIRCLE_BRANCH
# webhook: $SLACK_WEBHOOK

test-unit:
executor: default-docker
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-v2-{{ checksum "yarn.lock" }}
paths:
- node_modules
- run:
name: Run unit tests
command: yarn test
# - slack/status:
# success_message: Unit tests passed in branch $CIRCLE_BRANCH
# failure_message: Unit tests failed in branch $CIRCLE_BRANCH
# webhook: $SLACK_WEBHOOK

# slack-notify-docker:
# docker:
# - image: circleci/node:latest
# steps:
# - slack/notify:
# color: '#42e2f4'
# message: Docker Image built and published, tag $CIRCLE_BRANCH
# webhook: $SLACK_WEBHOOK

##
# Workflows
#
# CircleCI Workflow config
##
workflows:
test:
jobs:
- setup:
context: pm4ml-ci
filters:
branches:
ignore:
- /feature*/
- /bugfix*/
- /hotfix*/
- lint:
requires:
- setup
context: pm4ml-ci
filters:
branches:
ignore:
- /feature*/
- /bugfix*/
- /hotfix*/
- test-unit:
requires:
- setup
context: pm4ml-ci
filters:
branches:
ignore:
- /feature*/
- /bugfix*/
- /hotfix*/
deploy:
jobs:
- docker/publish:
executor: default-machine
context: pm4ml-ci
filters:
tags:
only: /v[0-9]+(\.[0-9]+)*(\-snapshot(\.[0-9]+))?(\-hotfix(\.[0-9]+))?/
branches:
ignore:
- /.*/
before_build:
- run:
name: Set image tag
command: |
if [[ -v CIRCLE_TAG ]]; then
echo 'export IMAGE_TAG=$(echo $CIRCLE_TAG | tr -d v)' >> $BASH_ENV
else
echo 'export IMAGE_TAG=v`grep version package.json | sed 1q | awk -F \" '\''{print $4}'\''`' >> $BASH_ENV
fi
lint-dockerfile: false
image: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
tag: $IMAGE_TAG
registry: $DOCKER_REGISTRY
docker-username: DOCKER_USER
docker-password: DOCKER_PASSWORD
# after_build:
# - slack/status:
# success_message: Building Docker Image $CIRCLE_PROJECT_REPONAME:$IMAGE_TAG passed in branch $CIRCLE_BRANCH
# failure_message: Building Docker Image $CIRCLE_PROJECT_REPONAME:$IMAGE_TAG failed in branch $CIRCLE_BRANCH
# webhook: $SLACK_WEBHOOK
# CircleCI v2.1 Config
version: 2.1
##
# orbs
#
# Orbs used in this pipeline
###
orbs:
docker: circleci/[email protected]
slack: circleci/[email protected]
##
# Executors
#
# CircleCI Executors
##
executors:
default-docker:
working_directory: /home/circleci/project/git
docker:
- image: node:16.14.2-alpine3.14
default-machine:
machine:
image: ubuntu-2004:202201-02
##
# Jobs
#
# A map of CircleCI jobs
##
jobs:
setup:
executor: default-docker
steps:
- checkout
- run:
name: Update NPM install (using `yarn install`)
command: yarn install
- save_cache:
key: dependency-cache-v2-{{ checksum "yarn.lock" }}
paths:
- node_modules
lint:
executor: default-docker
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-v2-{{ checksum "yarn.lock" }}
paths:
- node_modules
- run:
name: Run lint
command: yarn lint
- run:
name: Run unit tests
command: yarn test
# - slack/status:
# success_message: Linting passed in branch $CIRCLE_BRANCH
# failure_message: Linting failed in branch $CIRCLE_BRANCH
# webhook: $SLACK_WEBHOOK
test-unit:
executor: default-docker
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-v2-{{ checksum "yarn.lock" }}
paths:
- node_modules
- run:
name: Run unit tests
command: yarn test
# - slack/status:
# success_message: Unit tests passed in branch $CIRCLE_BRANCH
# failure_message: Unit tests failed in branch $CIRCLE_BRANCH
# webhook: $SLACK_WEBHOOK
# slack-notify-docker:
# docker:
# - image: circleci/node:latest
# steps:
# - slack/notify:
# color: '#42e2f4'
# message: Docker Image built and published, tag $CIRCLE_BRANCH
# webhook: $SLACK_WEBHOOK
##
# Workflows
#
# CircleCI Workflow config
##
workflows:
test:
jobs:
- setup:
context: pm4ml-ci
filters:
branches:
ignore:
- /feature*/
- /bugfix*/
- /hotfix*/
- lint:
requires:
- setup
context: pm4ml-ci
filters:
branches:
ignore:
- /feature*/
- /bugfix*/
- /hotfix*/
- test-unit:
requires:
- setup
context: pm4ml-ci
filters:
branches:
ignore:
- /feature*/
- /bugfix*/
- /hotfix*/
deploy:
jobs:
- docker/publish:
executor: default-machine
context: pm4ml-ci
filters:
tags:
only: /v[0-9]+(\.[0-9]+)*(\-snapshot(\.[0-9]+))?(\-hotfix(\.[0-9]+))?/
branches:
ignore:
- /.*/
before_build:
- run:
name: Set image tag
command: |
if [[ -v CIRCLE_TAG ]]; then
echo 'export IMAGE_TAG=$(echo $CIRCLE_TAG | tr -d v)' >> $BASH_ENV
else
echo 'export IMAGE_TAG=v`grep version package.json | sed 1q | awk -F \" '\''{print $4}'\''`' >> $BASH_ENV
fi
lint-dockerfile: false
image: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
tag: $IMAGE_TAG
registry: $DOCKER_REGISTRY
docker-username: DOCKER_USER
docker-password: DOCKER_PASSWORD
# after_build:
# - slack/status:
# success_message: Building Docker Image $CIRCLE_PROJECT_REPONAME:$IMAGE_TAG passed in branch $CIRCLE_BRANCH
# failure_message: Building Docker Image $CIRCLE_PROJECT_REPONAME:$IMAGE_TAG failed in branch $CIRCLE_BRANCH
# webhook: $SLACK_WEBHOOK
10 changes: 5 additions & 5 deletions .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SKIP_PREFLIGHT_CHECK=true
PROXY_TARGET=http://senderfsp-pm4ml.qa.prod-dev.mbox-dev.io:20000
PROXY_PORT=10000
PROXY_API_PATH=/experience-api
PORT=8081
SKIP_PREFLIGHT_CHECK=true
PROXY_TARGET=http://senderfsp-pm4ml.qa.prod-dev.mbox-dev.io:20000
PROXY_PORT=10000
PROXY_API_PATH=/experience-api
PORT=8081
Loading
Loading