Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
bb716a3
fix: resolve linting issues
pranalidhanavade Mar 6, 2025
671d84f
feat: create yml file to push docker images (#259)
GHkrishna Mar 28, 2025
6da68eb
fix: cd yml path (#260)
GHkrishna Mar 28, 2025
48efa2d
Create templates for Bug/feature suggestion (#263)
GHkrishna Apr 10, 2025
b01457b
chore: add agent env for starting agent locally (#210)
GHkrishna Oct 24, 2024
a2ec9c4
feat:implemented form data for w3c credentials
tipusinghaw Dec 4, 2024
c991364
feat: removed disable console log linting
tipusinghaw Dec 5, 2024
44a003e
changes the routing
tipusinghaw Dec 5, 2024
0b7d89e
fix: add resource on mainnet (#225)
tipusinghaw Jan 8, 2025
16ee174
chore: update yarn lock
pranalidhanavade Jan 14, 2025
5f08bdb
chore: version upgrade (#229)
pranalidhanavade Jan 15, 2025
237f9ae
chore: added goal code in out of band record (#234)
bhavanakarwade Feb 21, 2025
a261cde
fix: added goalCode, outOfBandRecordId, credentialRequestThId in cred…
pranalidhanavade Feb 21, 2025
e499762
refactor: update DID creation response (#236)
bhavanakarwade Feb 21, 2025
352158a
fix:corrected the polygon routes
tipusinghaw Feb 24, 2025
2319ec7
fix:added proof record thread id (#243)
pallavighule Mar 4, 2025
e814aaf
added compass.yml file
pranalidhanavade Mar 6, 2025
e16a438
Resolve linting issues
pranalidhanavade Mar 6, 2025
453e17f
fix: resolved prettier errors
pranalidhanavade Mar 6, 2025
8712502
fix: resolved prettier errors
pranalidhanavade Mar 6, 2025
47a9b9f
chore: Update Dockerfile (#254)
KambleSahil3 Mar 13, 2025
2f12176
chore: Update Dockerfile (#256)
KambleSahil3 Mar 17, 2025
542eac2
chore: Update Dockerfile (#256)
KambleSahil3 Mar 17, 2025
96cac38
feat: push docker image (#257)
KambleSahil3 Mar 27, 2025
50b658f
feat/push-docker-image (#258)
KambleSahil3 Mar 27, 2025
1d45eb9
feat:w3c-revocation
tipusinghaw Mar 31, 2025
fb1f9c6
refactor: removed revocation code
tipusinghaw Mar 31, 2025
d966fb8
refactore: removed constant and enum
tipusinghaw Mar 31, 2025
618264e
chore: Update Dockerfile (#256) (#266)
bhavanakarwade Apr 25, 2025
92c0edf
chore: remove unwanted package (#268)
GHkrishna Apr 29, 2025
27502b7
feat: create yml file to push docker images (#259)
GHkrishna Mar 28, 2025
bb3f82c
fix: cd yml path (#260)
GHkrishna Mar 28, 2025
91c73d1
Create templates for Bug/feature suggestion (#263)
GHkrishna Apr 10, 2025
6ff3958
Merge branch 'main' into qa
KambleSahil3 Apr 30, 2025
4ce11e2
Resolve linting issues
pranalidhanavade Mar 6, 2025
c6b0a64
fix: resolved prettier errors
pranalidhanavade Mar 6, 2025
9fe7670
fix: resolved prettier errors in compass.yml file
pranalidhanavade Mar 6, 2025
1a7b66a
chore: Update Dockerfile (#254)
KambleSahil3 Mar 13, 2025
075f101
chore: Update Dockerfile (#256)
KambleSahil3 Mar 17, 2025
1eb96e4
feat: push docker image (#257)
KambleSahil3 Mar 27, 2025
8cfa466
feat/push-docker-image (#258)
KambleSahil3 Mar 27, 2025
9b74e01
feat:w3c-revocation
tipusinghaw Mar 31, 2025
edeabf3
refactor: removed revocation code
tipusinghaw Mar 31, 2025
d422e8a
refactore: removed constant and enum
tipusinghaw Mar 31, 2025
510e4d2
chore: Update Dockerfile (#256) (#266)
bhavanakarwade Apr 25, 2025
36ec9ec
chore: remove unwanted package (#268)
GHkrishna Apr 29, 2025
b9603b0
Sign and verify raw data with the provided key (#273)
ankita-p17 Jun 13, 2025
9bd5464
feat/sign verify rawdata (#274)
GHkrishna Jun 13, 2025
96f5ff0
chore: fix imports (#275)
GHkrishna Jun 13, 2025
eb2ea01
Merge branch 'qa' into develop
GHkrishna Jun 14, 2025
c91011c
feat: added support for otel and signoz
tipusinghaw Jun 20, 2025
ddcb500
refactor: added comment
tipusinghaw Jun 20, 2025
c7b255e
refactor: resolved sonarcloud issues
tipusinghaw Jun 20, 2025
73233d6
refactor: resolve trace issue
tipusinghaw Jun 20, 2025
3acbd7e
Merge pull request #278 from credebl/feat/otel-and-signoz-integration
ajile-in Jun 20, 2025
151d17f
refactor: changes env endpoint
tipusinghaw Jun 23, 2025
4f62739
Merge pull request #279 from credebl/feat/otel-and-signoz-integration
tipusinghaw Jun 23, 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
7 changes: 7 additions & 0 deletions .env.demo
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ RPC_URL=https://polygon-rpc.com
SERVER_URL=https://schema.credebl.id
FILE_SERVER_TOKEN=

OTEL_SERVICE_NAME='CREDEBL-CREDO-CONTROLLER-SERVICE'
OTEL_SERVICE_VERSION='1.0.0'
OTEL_TRACES_OTLP_ENDPOINT='http://localhost:4318/v1/traces'
OTEL_LOGS_OTLP_ENDPOINT='http://localhost:4318/v1/logs'
OTEL_HEADERS_KEY='88caXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
OTEL_LOGGER_NAME='credo-controller-logger'

BCOVRIN_TEST_GENESIS='{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node1","blskey":"4N8aUNHSgjQVgkpm8nhNEfDf6txHznoYREg9kirmJrkivgL4oSEimFF6nsQ6M41QvhM2Z33nves5vfSn9n1UwNFJBYtWVnHYMATn76vLuL3zU88KyeAYcHfsih3He6UHcXDxcaecHVz6jhCYz1P2UZn2bDVruL5wXpehgBfBaLKm3Ba","blskey_pop":"RahHYiCvoNCtPTrVtP7nMC5eTYrsUA8WjXbdhNc8debh1agE9bGiJxWBXYNFbnJXoXhWFMvyqhqhRoq737YQemH5ik9oL7R4NTTCz2LEZhkgLJzB3QRQqJyBNyv7acbdHrAT8nQ9UkLbaVL9NBpnWXBTw4LEMePaSHEw66RzPNdAX1","client_ip":"138.197.138.255","client_port":9702,"node_ip":"138.197.138.255","node_port":9701,"services":["VALIDATOR"]},"dest":"Gw6pDLhcBcoQesN72qfotTgFa7cbuqZpkX3Xo6pLhPhv"},"metadata":{"from":"Th7MpTaRZVRYnPiabds81Y"},"type":"0"},"txnMetadata":{"seqNo":1,"txnId":"fea82e10e894419fe2bea7d96296a6d46f50f93f9eeda954ec461b2ed2950b62"},"ver":"1"}
{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node2","blskey":"37rAPpXVoxzKhz7d9gkUe52XuXryuLXoM6P6LbWDB7LSbG62Lsb33sfG7zqS8TK1MXwuCHj1FKNzVpsnafmqLG1vXN88rt38mNFs9TENzm4QHdBzsvCuoBnPH7rpYYDo9DZNJePaDvRvqJKByCabubJz3XXKbEeshzpz4Ma5QYpJqjk","blskey_pop":"Qr658mWZ2YC8JXGXwMDQTzuZCWF7NK9EwxphGmcBvCh6ybUuLxbG65nsX4JvD4SPNtkJ2w9ug1yLTj6fgmuDg41TgECXjLCij3RMsV8CwewBVgVN67wsA45DFWvqvLtu4rjNnE9JbdFTc1Z4WCPA3Xan44K1HoHAq9EVeaRYs8zoF5","client_ip":"138.197.138.255","client_port":9704,"node_ip":"138.197.138.255","node_port":9703,"services":["VALIDATOR"]},"dest":"8ECVSk179mjsjKRLWiQtssMLgp6EPhWXtaYyStWPSGAb"},"metadata":{"from":"EbP4aYNeTHL6q385GuVpRV"},"type":"0"},"txnMetadata":{"seqNo":2,"txnId":"1ac8aece2a18ced660fef8694b61aac3af08ba875ce3026a160acbc3a3af35fc"},"ver":"1"}
{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node3","blskey":"3WFpdbg7C5cnLYZwFZevJqhubkFALBfCBBok15GdrKMUhUjGsk3jV6QKj6MZgEubF7oqCafxNdkm7eswgA4sdKTRc82tLGzZBd6vNqU8dupzup6uYUf32KTHTPQbuUM8Yk4QFXjEf2Usu2TJcNkdgpyeUSX42u5LqdDDpNSWUK5deC5","blskey_pop":"QwDeb2CkNSx6r8QC8vGQK3GRv7Yndn84TGNijX8YXHPiagXajyfTjoR87rXUu4G4QLk2cF8NNyqWiYMus1623dELWwx57rLCFqGh7N4ZRbGDRP4fnVcaKg1BcUxQ866Ven4gw8y4N56S5HzxXNBZtLYmhGHvDtk6PFkFwCvxYrNYjh","client_ip":"138.197.138.255","client_port":9706,"node_ip":"138.197.138.255","node_port":9705,"services":["VALIDATOR"]},"dest":"DKVxG2fXXTU8yT5N7hGEbXB3dfdAnYv1JczDUHpmDxya"},"metadata":{"from":"4cU41vWW82ArfxJxHkzXPG"},"type":"0"},"txnMetadata":{"seqNo":3,"txnId":"7e9f355dffa78ed24668f0e0e369fd8c224076571c51e2ea8be5f26479edebe4"},"ver":"1"}
Expand Down
58 changes: 58 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
## 🧾 Preliminary Checks

- [ ] I have searched [existing issues](https://github.com/credebl/credo-controller/issues) and [pull requests](https://github.com/credebl/credo-controller/pulls) for duplicates.
- [ ] I'm willing to create a PR fixing this issue. (if applicable).

---

## 🐞 Bug Description

_A clear and concise description of what the bug is._

When I try to [...], I get this unexpected behavior [...]

---

## 🧪 Steps to Reproduce

_Provide clear steps to reproduce the bug._

1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error

---

## ✅ Expected Behavior

_What did you expect to happen?_

---

## ❌ Actual Behavior

_What actually happened instead?_

---

## 📌 Affected Version/Commit

_Version number, branch name, or commit hash where the bug occurs._

---

## 💻 Environment

_Where did the issue occur?_

- [ ] Local development
- [ ] Production
- [ ] CI/CD
- [ ] Other

---

## 🧾 Relevant Logs, Screenshots, or Stack Traces

_Paste any error messages or screenshots that can help diagnose the issue._
44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## ✅ Preliminary Checks

- [ ] I have searched [existing issues](https://github.com/credebl/credo-controller/issues) and [pull requests](https://github.com/credebl/credo-controller/pulls) to avoid duplicates.
- [ ] I'm willing to create a PR for this feature. (if applicable).

---

## 🧩 Problem Statement

_Is your feature request related to a problem? Please describe it clearly._

> Ex: I'm always frustrated when [...]

---

## 💡 Proposed Solution

_A clear and concise description of what you want to happen._

> Ex: It would be great if [...]

---

## 🔄 Alternatives Considered

_Have you considered any alternative solutions or features?_

> Ex: I also thought about [...], but [...]

---

## 📎 Additional Context

_Add any other context, references, mockups, or screenshots here._

---

## ✅ Acceptance Criteria

_List specific tasks or outcomes that define when this request is complete._

- A new endpoint `/v1/...` is added
- Docs updated
- Tests written and passing
46 changes: 46 additions & 0 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Continous Delivery

on:
push:
tags:
- 'v*'

env:
REGISTRY: ghcr.io
SERVICE: credo-controller

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

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 ${{ env.SERVICE }}
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
push: true
tags: |
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.SERVICE }}:${{ env.TAG }}
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.SERVICE }}:latest


48 changes: 2 additions & 46 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,48 +1,3 @@
# FROM ubuntu:20.04

# ENV DEBIAN_FRONTEND noninteractive

# RUN apt-get update -y && apt-get install -y \
# software-properties-common \
# apt-transport-https \
# curl \
# # Only needed to build indy-sdk
# build-essential

# RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -

# # yarn
# RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
# echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list

# # install depdencies
# RUN apt-get update -y && apt-get install -y --allow-unauthenticated \
# nodejs

# # install depdencies
# RUN apt-get update -y && apt-get install -y --allow-unauthenticated \
# nodejs

# # Install yarn seperately due to `no-install-recommends` to skip nodejs install
# RUN apt-get install -y --no-install-recommends yarn

# RUN yarn global add patch-package
# # AFJ specifc setup
# WORKDIR /www

# COPY bin ./bin
# COPY package.json ./package.json
# COPY patches ./patches

# RUN yarn install --production

# COPY build ./build
# # COPY libindy_vdr.so /usr/lib/
# # COPY libindy_vdr.so /usr/local/lib/

# ENTRYPOINT [ "./bin/afj-rest.js", "start" ]


# Stage 1: Builder stage
FROM node:18.19.0 AS builder

Expand All @@ -55,6 +10,7 @@ COPY package.json yarn.lock ./
COPY . .

# Install dependencies
RUN rm -rf node_modules
RUN yarn install --frozen-lockfile

RUN yarn global add patch-package
Expand All @@ -75,4 +31,4 @@ COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/patches ./patches

# Set entry point
ENTRYPOINT ["node", "./bin/afj-rest.js", "start"]
ENTRYPOINT ["node", "./bin/afj-rest.js", "start"]
2 changes: 1 addition & 1 deletion compass.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ labels:
- language:typescript
- self-sovereign-identity
- source:github
customFields: null
customFields: null
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ const config: Config.InitialOptions = {
testTimeout: 120000,
}

export default config
export default config
Loading