Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
2784828
Merge pull request #158 from hypersign-protocol/develop
varsha766 Oct 22, 2024
e9e6282
Merge pull request #160 from hypersign-protocol/develop
varsha766 Oct 22, 2024
42c9500
fixed small bug
varsha766 Oct 22, 2024
05853fc
ci/cd:update entity-api
Pratap2018 Nov 13, 2024
18f20cb
cicd:rescale
Pratap2018 Nov 14, 2024
f0ae09a
cicd: update
Pratap2018 Nov 14, 2024
381d32a
cicd:update
Pratap2018 Nov 14, 2024
5d9695a
update resource
Pratap2018 Nov 15, 2024
9acdfea
update resources
Pratap2018 Nov 20, 2024
3378c33
update resources
Pratap2018 Nov 20, 2024
ae26c96
update resources
Pratap2018 Nov 20, 2024
2329adc
update resources
Pratap2018 Nov 20, 2024
3109b22
workarround
Pratap2018 Nov 21, 2024
294369b
fix : sdk export HypersignBJJVC
Pratap2018 Nov 21, 2024
4592619
update resource
Pratap2018 Nov 21, 2024
605b415
race condition fix
Vishwas1 Nov 24, 2024
0e24724
added a localcaching for didDocument
Pratap2018 Nov 25, 2024
6b8efc2
Merge pull request #161 from hypersign-protocol/fix-race-mongo
Pratap2018 Nov 25, 2024
d84b8c4
add node-cache
Pratap2018 Nov 25, 2024
bae512a
fix amqlib error
Pratap2018 Nov 25, 2024
5b806d8
Merge pull request #162 from hypersign-protocol/fix-race-mongo
Pratap2018 Nov 25, 2024
7f261df
update connection settings
Pratap2018 Nov 25, 2024
4e7ac8f
feat: nonBlocking Issue Credential
Pratap2018 Nov 28, 2024
595f3c3
limit ThreadPool
Pratap2018 Nov 29, 2024
eb40eb2
ci: update actions
Pratap2018 Dec 3, 2024
c8e51c0
ci: update ci cd
Pratap2018 Dec 3, 2024
86be84b
reduce resource
Pratap2018 Dec 3, 2024
bdd70d9
update resources
Pratap2018 Dec 4, 2024
1c79fd5
Merge pull request #163 from hypersign-protocol/update-cluster
Pratap2018 Dec 25, 2024
571b4c9
fix-status
Pratap2018 Dec 26, 2024
3fbbdef
fix docker
Pratap2018 Dec 26, 2024
0ab8d45
Merge pull request #164 from hypersign-protocol/fix-status
Pratap2018 Dec 26, 2024
a3d4285
dump
Pratap2018 Dec 27, 2024
dec5834
fix-presentation
Pratap2018 Dec 27, 2024
5617200
fix-presentation
Pratap2018 Dec 27, 2024
c772cab
Merge pull request #165 from hypersign-protocol/fix-presentation
Pratap2018 Dec 27, 2024
3f8b8fb
add-status
Pratap2018 Dec 27, 2024
0e9f5e4
Merge pull request #166 from hypersign-protocol/fix-status
Pratap2018 Dec 27, 2024
fdc9191
fix-did bugs
Pratap2018 Dec 30, 2024
0c4016b
update
Pratap2018 Dec 30, 2024
881c83c
fix-did
Pratap2018 Dec 30, 2024
ced6d94
update status module
Pratap2018 Dec 31, 2024
16b26d9
update did-decorator
Pratap2018 Jan 3, 2025
82705f2
fixed DID resoultion
Vishwas1 Jan 8, 2025
7d4a9c6
fixed one bug and implemented search by issuer DID
Vishwas1 Jan 15, 2025
9267716
schema status fix
Vishwas1 Jan 15, 2025
f0f2086
fixed credential status
Vishwas1 Jan 16, 2025
07b784d
fixed minor bug
Vishwas1 Jan 16, 2025
1db6091
added default date tie in schema
Vishwas1 Jan 16, 2025
6e4b564
added code for updating name of the did
varsha766 Jan 27, 2025
a04e28f
Merge pull request #167 from hypersign-protocol/patchDid/fix
varsha766 Jan 31, 2025
8dca785
code pretified
varsha766 Feb 25, 2025
c3d646b
code pretified
varsha766 Feb 25, 2025
849599b
implemented log module
varsha766 Feb 28, 2025
7663217
implemented credit module and deduct credi to api call
varsha766 Feb 28, 2025
74e74f8
added usage api to get get usage detail
varsha766 Mar 6, 2025
81666d2
added usgae/detail api
varsha766 Mar 7, 2025
bb57ce0
added swagger
varsha766 Mar 7, 2025
198c83d
fixed subdomain issue
varsha766 Mar 7, 2025
0c03e1c
remove extra api detail in usage
varsha766 Mar 10, 2025
a8f43fe
Merge pull request #168 from hypersign-protocol/implement/creditmodule
varsha766 Mar 10, 2025
e9a8656
fixed the url issue
varsha766 Mar 10, 2025
78df48e
fixed soem issue related to credit
varsha766 Mar 11, 2025
413c1e7
fixed credit issue
varsha766 Mar 12, 2025
ba330fc
Merge pull request #169 from hypersign-protocol/bug/fix
varsha766 Mar 12, 2025
b9b29fa
added seprate api row for each type of credentilal issue
varsha766 Mar 12, 2025
8dbf069
Merge pull request #170 from hypersign-protocol/bux/fix
varsha766 Mar 12, 2025
bba84a8
fixed issue of missing log
varsha766 Mar 13, 2025
01d521e
removed credit deduction from get api called from dashboard
varsha766 Mar 25, 2025
9dcd77f
small change
varsha766 Mar 25, 2025
9b03112
small change
varsha766 Apr 18, 2025
62e2e66
Merge pull request #171 from hypersign-protocol/credit/fix
varsha766 Apr 18, 2025
6d31f99
hanndle error
varsha766 Apr 21, 2025
ecc62a0
added new env for transaction hash
varsha766 Jul 3, 2025
e98bf4b
Merge pull request #172 from hypersign-protocol/update
varsha766 Jul 3, 2025
cb573bf
Formated credential list api structure
varsha766 Nov 19, 2025
41f088d
Merge pull request #174 from hypersign-protocol/format/structure
Vishwas1 Nov 19, 2025
3ab69a2
removed sensitive data from token and added redis
varsha766 Dec 8, 2025
64b2acf
fix
varsha766 Dec 8, 2025
79a37d3
fixed credit guard
varsha766 Dec 8, 2025
127531a
code prettified
varsha766 Dec 9, 2025
ba04bbe
bypass authz flow using env
varsha766 Dec 10, 2025
708da1f
added new env in docker file
varsha766 Dec 10, 2025
b885a93
code prettified
varsha766 Dec 10, 2025
749c99d
Implemented access control on all apis
varsha766 Dec 10, 2025
0da97d2
Merge pull request #178 from hypersign-protocol/feature/api-access-co…
Vishwas1 Dec 10, 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
15 changes: 10 additions & 5 deletions .deploy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ spec:
failureThreshold: 3

resources:
limits:
requests:
memory: "2Gi"
cpu: "1000m"
cpu: "4000m"
limits:
memory: "4Gi"
cpu: "8000m"
ports:
- containerPort: __PORT__
env:
Expand Down Expand Up @@ -59,8 +62,12 @@ spec:
value: __JWT_SECRET__
- name: GLOBAL_TXN_CONTROLLER_QUEUE
value: __GLOBAL_TXN_CONTROLLER_QUEUE__
- name: Tx_Query_API
value: __Tx_Query_API__
- name: RABBIT_MQ_URI
value: __RABBIT_MQ_URI__
- name: NODE_ENV
value: __NODE_ENV__
- name: WHITELISTED_CORS
value: "['https://entity.hypersign.id','https://api.entity.hypersign.id','https://api.entity-test.hypersign.id','https://wallet-prajna.hypersign.id']"
volumeMounts:
Expand All @@ -87,6 +94,7 @@ spec:
- port: __PORT__
targetPort: __PORT__
protocol: TCP

# ---
# apiVersion: apps/v1
# kind: Deployment
Expand Down Expand Up @@ -132,6 +140,3 @@ spec:
# - port: 8080
# targetPort: 8080
# protocol: TCP



25 changes: 25 additions & 0 deletions .deploy/hpa2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: entity-api-test
namespace: hypermine-development
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: entity-api-test
minReplicas: 1
maxReplicas: 5
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 70
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: 70
91 changes: 38 additions & 53 deletions .deploy/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,57 +14,42 @@ metadata:

spec:
tls:
- secretName: entity-ssl
hosts:
- "api.entity.hypersign.id"
- "*.api.entity.hypersign.id"

- secretName: entity-ssl
hosts:
- "api.entity.hypersign.id"
- "*.api.entity.hypersign.id"
rules:
- host: "api.entity.hypersign.id"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: entity-api-service
port:
number: 3001
- path: /ssi/
pathType: Prefix
backend:
service:
name: entity-api-service
port:
number: 3001
- path: /api/
pathType: Prefix
backend:
service:
name: entity-api-service
port:
number: 3001
- host: "*.api.entity.hypersign.id"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: entity-api-service
port:
number: 3001
- path: /ssi/
pathType: Prefix
backend:
service:
name: entity-api-service
port:
number: 3001
- path: /api/
pathType: Prefix
backend:
service:
name: entity-api-service
port:
number: 3001
- host: "api.entity.hypersign.id"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: entity-api-service
port:
number: 3001
- path: /api/
pathType: Prefix
backend:
service:
name: entity-api-service
port:
number: 3001
- host: "*.api.entity.hypersign.id"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: entity-api-service
port:
number: 3001
- path: /api/
pathType: Prefix
backend:
service:
name: entity-api-service
port:
number: 3001
21 changes: 21 additions & 0 deletions .deploy/vpa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: entity-api-vpa
namespace: hypermine-development
spec:
targetRef:
apiVersion: apps/v1
kind: Deployment
name: entity-api
updatePolicy:
updateMode: "Auto" # Options: "Off", "Initial", "Auto"
resourcePolicy:
containerPolicies:
- containerName: "*"
minAllowed:
cpu: "2000m"
memory: "2Gi"
maxAllowed:
cpu: "8000m"
memory: "4Gi"
Loading