Updated the latest change for gateway and registry
This commit is contained in:
@@ -27,6 +27,7 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./gateway_data/config/swf.properties:/gateway/overrideProperties/config/swf.properties
|
||||
- ./gateway_data/config/networks:/gateway/overrideProperties/config/networks #Update varibales post demo
|
||||
- ./gateway_data/database:/gateway/database
|
||||
|
||||
bap-client:
|
||||
|
||||
11
install/gateway_data/config/networks/onix.json
Normal file
11
install/gateway_data/config/networks/onix.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"core_version" : "1.1.0",
|
||||
"registry_id": "registry-energy.becknprotocol.io..LREG",
|
||||
"search_provider_id" : "gateway-energy.becknprotocol.io",
|
||||
"self_registration_supported": true,
|
||||
"subscription_needed_post_registration" : true,
|
||||
"base_url": "https://registry-energy.becknprotocol.io",
|
||||
"registry_url" : "https://registry-energy.becknprotocol.io/subscribers",
|
||||
"extension_package": "in.succinct.beckn.boc",
|
||||
"wild_card" : ""
|
||||
}
|
||||
@@ -1,20 +1,22 @@
|
||||
swf.load.complete.config.tables.if.count.less.than=500
|
||||
swf.user.password.encrypted=false
|
||||
swf.plugins.background.core.workers.numThreads=1
|
||||
swf.plugins.background.core.workers.numThreads=2
|
||||
swf.application.authentication.required=false
|
||||
beckn.network.timeout=10000
|
||||
|
||||
swf.encryption.support=false
|
||||
swf.key.store.directory=./.keystore
|
||||
swf.key.store.password=venky12
|
||||
swf.key.entry.succinct.password=succinct12
|
||||
|
||||
|
||||
#swf.host=localhost
|
||||
swf.host=GATEWAY_URL
|
||||
swf.external.port=GATEWAY_PORT
|
||||
swf.external.scheme=PROTOCOL
|
||||
|
||||
|
||||
swf.jdbc.driver=org.h2.Driver
|
||||
swf.jdbc.url=jdbc:h2:./database/gateway;AUTO_SERVER=TRUE;
|
||||
swf.jdbc.userid=gateway
|
||||
swf.jdbc.password=gateway
|
||||
swf.jdbc.url=jdbc:h2:./database/standalone;AUTO_SERVER=TRUE;
|
||||
swf.jdbc.userid=standalone
|
||||
swf.jdbc.password=standalone
|
||||
swf.jdbc.validationQuery=values(1)
|
||||
swf.jdbc.dbschema=PUBLIC
|
||||
swf.jdbc.dbschema.setonconnection=true
|
||||
@@ -31,12 +33,11 @@ swf.jdbc.set.dbschema.command=set schema public
|
||||
## Beckn Gateway configurations.
|
||||
|
||||
beckn.auth.enabled=true
|
||||
|
||||
in.succinct.beckn.gateway.subscriber_id=SUBSCRIBER_ID
|
||||
in.succinct.beckn.gateway.public_key_id=SUBSCRIBER_ID.k1
|
||||
in.succinct.beckn.registry.url=REGISTRY_URL
|
||||
in.succinct.beckn.registry.signing_public_key=SIGNING_PUBLIC_KEY
|
||||
in.succinct.beckn.registry.encryption_public_key=ENCRYPTION_PUBLIC_KEY
|
||||
|
||||
swf.encryption.support=false
|
||||
#swf.key.store.directory=./.keystore
|
||||
|
||||
in.succinct.onet.country.iso.3=IND
|
||||
in.succinct.onet.country.iso.2=IN
|
||||
in.succinct.onet.name=onix
|
||||
@@ -1,6 +1,6 @@
|
||||
swf.load.complete.config.tables.if.count.less.than=500
|
||||
swf.user.password.encrypted=false
|
||||
swf.plugins.background.core.workers.numThreads=1
|
||||
swf.plugins.background.core.workers.numThreads=3
|
||||
swf.application.authentication.required=false
|
||||
|
||||
|
||||
@@ -31,9 +31,14 @@ swf.jdbc.set.dbschema.command=set schema public
|
||||
swf.api.keys.case=SNAKE
|
||||
swf.api.root.required=false
|
||||
|
||||
swf.encryption.support=false
|
||||
#swf.key.store.directory=./.keystore
|
||||
|
||||
# Needed for Google Login
|
||||
#swf.GOOGLE.client.id=
|
||||
#swf.GOOGLE.client.secret=
|
||||
|
||||
swf.encryption.support=false
|
||||
## Uncomment below if encryption is needed and set appropriate passwords
|
||||
#swf.key.store.directory=./.keystore
|
||||
#swf.key.store.password=venky12
|
||||
#swf.key.entry.succinct.password=succinct12
|
||||
|
||||
swf.ftl.dir=src/main/resources/templates
|
||||
Reference in New Issue
Block a user