Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .ncurc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Add a comment indicating the reason for each rejected dependency upgrade added to this list, and what should be done to resolve it (i.e. handle it through a story, etc).
reject: [
"@shelf/jest-mongodb", # v6.0.0 introduced a breaking change requiring @swc/jest transformer
"mongodb" # Upgrading to the next major version require a separate task
]
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## @global-owner1 and @global-owner2 will be requested for
## review when someone opens a pull request.
#* @global-owner1 @global-owner2
* @elnyry-sam-k @vijayg10 @oderayi @bushjames
* @elnyry-sam-k @vijayg10 @oderayi @bushjames @geka-evk
## Order is important; the last matching pattern takes the most
## precedence. When someone opens a pull request that only
## modifies JS files, only @js-owner and not the global
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN npm ci

COPY src /opt/app/src
COPY config /opt/app/config
COPY test /opt/app/test
# COPY test /opt/app/test

FROM node:lts-alpine
WORKDIR /opt/app
Expand All @@ -29,4 +29,4 @@ COPY --chown=ml-user --from=builder /opt/app .
RUN npm prune --production

EXPOSE 3001
CMD ["npm", "run", "start"]
CMD ["npm", "run", "start"]
13 changes: 7 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
context: ./
dockerfile: ./Dockerfile
volumes:
- ./config:/opt/reporting-events-processor-svc/config
- ./config:/opt/app/config
user: root
environment:
- EVENT_STORE_DB_HOST=mongodb
Expand All @@ -23,9 +23,10 @@ services:
- EVENT_STORE_DB_DATABASE=reporting
- EVENT_STORE_DB_EVENTS_COLLECTION=reporting
- KAFKA_BROKER_LIST=kafka:29092
- KAFKA_TOPIC_EVENT=reporting_events_processor_consumer_group
- KAFKA_TOPIC_EVENT=topic-event-audit
- KAFKA_CONSUMER_GROUP=reporting_events_processor_consumer_group
- KAFKA_CLIENT_ID=topic-event
- LOG_LEVEL=debug
depends_on:
mongodb:
condition: service_healthy
Expand All @@ -48,7 +49,7 @@ services:
kafka:
networks:
- mojaloop-net
image: docker.io/bitnami/kafka:3.9.0
image: docker.io/bitnamilegacy/kafka:3.9.0
ports:
- "9092:9092"
environment:
Expand All @@ -75,7 +76,7 @@ services:

init-kafka:
container_name: cl_init_kafka
image: docker.io/bitnami/kafka:3.5
image: docker.io/bitnamilegacy/kafka:3.9.0
depends_on:
kafka:
condition: service_healthy
Expand All @@ -99,8 +100,8 @@ services:
- KAFKA_BROKERS=kafka:29092
depends_on:
- kafka
profiles:
- debug
# profiles:
# - debug

volumes:
db-data:
Expand Down
5 changes: 3 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ module.exports = [
ecmaVersion: 2021,
sourceType: 'commonjs',
globals: {
...require('globals').node
...require('globals').node,
...require('globals').jest
}
},
rules: {
Expand All @@ -28,4 +29,4 @@ module.exports = [
'semi': ['error', 'never']
}
}
]
]
Loading