Skip to content
Closed
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e55d113
chore: remove yarn.lock and package-lock.json files (#1133)
sairanjit Mar 12, 2025
5e3b4bb
fix: platform agent set up issue (#1136)
bhavanakarwade Mar 12, 2025
3b91a03
fix: Parameter validations (#1138)
bhavanakarwade Mar 20, 2025
1e4943f
added tenant id in get org info (#1139)
pallavighule Mar 25, 2025
971a8d5
fix/added-yml-file-to-push-docker-images (#1142)
KambleSahil3 Mar 25, 2025
967291c
fix/push docker image (#1154)
KambleSahil3 Mar 27, 2025
b92e2fc
chore: add aws module into monorepo (#1135)
sairanjit Apr 2, 2025
c001f78
chore: remove unused modules (#1163)
sairanjit Apr 2, 2025
81eccb7
refactor: remove image-service from libs (#1164)
sairanjit Apr 2, 2025
2bf9db7
refactor: merge nats-interceptor and responses lib into common (#1165)
sairanjit Apr 4, 2025
6a8fdbd
refactor: create common package in libs (#1167)
sairanjit Apr 4, 2025
0fa120f
feat: Support nested attributes while creating schema (#1166)
bhavanakarwade Apr 9, 2025
d979119
refactor: schema data type validations (#1174)
bhavanakarwade Apr 10, 2025
710ef7e
refactor: update organization API to support updation of country, sta…
pranalidhanavade Apr 11, 2025
a9d3638
fix: redirection changes and send email
pranalidhanavade Mar 27, 2025
8de48be
fix: default behaviour
GHkrishna Mar 27, 2025
3235a88
feat: add clientAlias based client credential handling
GHkrishna Apr 17, 2025
e4a50f3
fix: client based auth switching
GHkrishna Apr 22, 2025
d513ed1
feat: dynamic validations from ENV
GHkrishna Apr 22, 2025
f577aec
fix: revert commented code
GHkrishna Apr 22, 2025
9cd6c1f
fix: add appropriate env variables in demo and sample env
GHkrishna Apr 22, 2025
317fde5
fix: add sample env variables in demo and sample env
GHkrishna Apr 22, 2025
91e5052
chore: removed unwanted values (#1212)
KambleSahil3 Apr 29, 2025
4951f72
Merge pull request #1228 from credebl/refactor/optimise-dockerfile
KambleSahil3 May 9, 2025
f587f3a
chore: retorfit templates in develop (#1242)
GHkrishna May 13, 2025
3696153
chore/update-env-demo (#1250)
KambleSahil3 May 15, 2025
e82bc4e
fix: removed unwanted log which was displaying large data
RinkalBhojani May 29, 2025
9741141
Merge pull request #1254 from credebl/fix/improvement-and-logging
RinkalBhojani May 29, 2025
d08dda7
Merge pull request #1256 from credebl/fix/multiuse-connection
bhavanakarwade May 30, 2025
1ce79c1
fix: resolved conflicts
bhavanakarwade Jun 3, 2025
5d3c18e
wip: single sign on
bhavanakarwade Jun 26, 2025
8063050
Merge branch 'develop' of https://github.com/credebl/platform into fe…
bhavanakarwade Jun 26, 2025
2e32d67
fix: route changes
bhavanakarwade Jun 30, 2025
2db9c8c
fix: resolved conflicts
bhavanakarwade Jun 30, 2025
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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
60 changes: 60 additions & 0 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Continuous Delivery

on:
push:
tags:
- 'v*'

env:
REGISTRY: ghcr.io

jobs:
build-and-push:
name: Push Docker image to GitHub
runs-on: ubuntu-latest

strategy:
matrix:
service:
- agent-provisioning
- agent-service
- api-gateway
- cloud-wallet
- connection
- geolocation
- issuance
- ledger
- notification
- user
- utility
- verification
- webhook

permissions:
contents: read
packages: write

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Extract Git Tag
id: get_tag
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Docker Image ${{ matrix.service }}
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfiles/Dockerfile.${{ matrix.service }}
push: true
tags: |
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.service }}:${{ env.TAG }}
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.service }}:latest
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

5 changes: 3 additions & 2 deletions Dockerfiles/Dockerfile.agent-provisioning
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ COPY . .

# Generate Prisma client
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate
RUN ls -R /app/apps/agent-provisioning/AFJ/

# Build the user service
Expand Down Expand Up @@ -68,6 +68,7 @@ COPY --from=build /app/apps/agent-provisioning/AFJ/port-file ./agent-provisionin
RUN chmod +x /app/agent-provisioning/AFJ/scripts/start_agent.sh
RUN chmod +x /app/agent-provisioning/AFJ/scripts/start_agent_ecs.sh
RUN chmod +x /app/agent-provisioning/AFJ/scripts/docker_start_agent.sh
RUN chmod +x /app/agent-provisioning/AFJ/scripts/fargate.sh
RUN chmod 777 /app/agent-provisioning/AFJ/endpoints
RUN chmod 777 /app/agent-provisioning/AFJ/agent-config
RUN chmod 777 /app/agent-provisioning/AFJ/token
Expand All @@ -76,4 +77,4 @@ RUN chmod 777 /app/agent-provisioning/AFJ/token
COPY libs/ ./libs/

# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/agent-provisioning/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/agent-provisioning/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.agent-service
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the user service
RUN pnpm run build agent-service
Expand Down Expand Up @@ -53,4 +53,4 @@ COPY --from=build /app/libs/ ./libs/
COPY --from=build /app/node_modules ./node_modules

# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/agent-service/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/agent-service/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.api-gateway
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the api-gateway service
RUN pnpm run build api-gateway
Expand All @@ -40,4 +40,4 @@ COPY --from=build /app/node_modules ./node_modules
# COPY --from=build /app/uploadedFiles ./uploadedFiles

# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/api-gateway/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/api-gateway/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.cloud-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the user service
RUN pnpm run build cloud-wallet
Expand All @@ -43,4 +43,4 @@ COPY --from=build /app/node_modules ./node_modules


# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/cloud-wallet/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/cloud-wallet/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.connection
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the connection service
RUN pnpm run build connection
Expand All @@ -43,4 +43,4 @@ COPY --from=build /app/node_modules ./node_modules
#RUN npm i --only=production

# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/connection/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/connection/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.geolocation
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the connection service
RUN pnpm run build geo-location
Expand All @@ -43,4 +43,4 @@ COPY --from=build /app/node_modules ./node_modules
#RUN npm i --only=production

# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/geo-location/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/geo-location/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.issuance
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the issuance service
RUN pnpm run build issuance
Expand All @@ -42,4 +42,4 @@ COPY --from=build /app/node_modules ./node_modules


# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/issuance/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/issuance/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.ledger
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the ledger service
RUN npm run build ledger
Expand All @@ -41,4 +41,4 @@ COPY --from=build /app/libs/ ./libs/
COPY --from=build /app/node_modules ./node_modules

# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/ledger/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/ledger/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.notification
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the notification service
RUN npm run build notification
Expand All @@ -39,4 +39,4 @@ COPY --from=build /app/libs/ ./libs/
COPY --from=build /app/node_modules ./node_modules

# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/notification/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/notification/main.js"]
5 changes: 2 additions & 3 deletions Dockerfiles/Dockerfile.organization
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate

RUN cd libs/prisma-service && npx prisma generate

# Build the organization service
RUN pnpm run build organization
Expand All @@ -41,4 +40,4 @@ COPY --from=build /app/libs/ ./libs/
COPY --from=build /app/node_modules ./node_modules

# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/organization/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/organization/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.user
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN pnpm install
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the user service
RUN pnpm run build user
Expand Down Expand Up @@ -66,4 +66,4 @@ COPY --from=build /app/node_modules ./node_modules


# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/user/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/user/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.utility
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the user service
RUN pnpm run build utility
Expand All @@ -43,4 +43,4 @@ COPY --from=build /app/node_modules ./node_modules


# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/utility/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/utility/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.verification
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the user service
RUN npm run build verification
Expand All @@ -39,4 +39,4 @@ COPY --from=build /app/libs/ ./libs/
COPY --from=build /app/node_modules ./node_modules

# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/verification/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/verification/main.js"]
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.webhook
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN pnpm i --ignore-scripts
# Copy the rest of the application code
COPY . .
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
RUN cd libs/prisma-service && npx prisma generate

# Build the webhook service
RUN pnpm run build webhook
Expand All @@ -42,4 +42,4 @@ COPY --from=build /app/node_modules ./node_modules


# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && cd ../.. && node dist/apps/webhook/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/webhook/main.js"]
Loading