feat: Implement BAP and BPP

This commit is contained in:
rupinder-syngh
2025-03-26 13:33:49 +05:30
parent 10c3d3d9b2
commit 63bf28acf8
9 changed files with 247 additions and 50 deletions

View File

@@ -100,21 +100,6 @@ modules:
# - validateSchema
- addRoute
- sign
- name: bapSubscribeCaller
path: /bap/subscribe
handler:
type: npSub
role: bap
registryUrl: http://localhost:8080/reg
plugins:
keyManager:
id: secretskeymanager
config:
projectID: trusty-relic-370809
cache:
id: redis
config:
addr: 10.81.192.4:6379
- name: bppTxnReciever
path: /bpp/reciever/
handler:
@@ -194,38 +179,3 @@ modules:
# - validateSchema
- addRoute
- sign
- name: bppSubscribeCaller
path: /bpp/subscribe
handler:
type: npSub
role: bpp
registryUrl: http://localhost:8080/reg
plugins:
keyManager:
id: secretskeymanager
config:
projectID: trusty-relic-370809
cache:
id: redis
config:
addr: 10.81.192.4:6379
- name: regSubscribeReciever
path: /reg/subscribe
handler:
type: regSub
role: registery
plugins:
cache:
id: redis
config:
addr: "10.81.192.4:6379"
- name: regLookUpReciever
path: /reg/lookUp
handler:
type: lookUp
role: registery
plugins:
cache:
id: redis
config:
addr: "10.81.192.4:6379"