githubEdit

FAQs

chevron-rightIs it required to use Protocol Server as a network adaptor?hashtag

No, network participants can develop and use their own network adaptor as well.

chevron-rightCan i make customization in the protocol server?hashtag

Yes, customizations are allowed. As protocol server is a reference implementation and open source adaptors, features can be contributed.

chevron-rightcan i deploy protocol server other than in docker?hashtag

Protocol server can be deployed as PM2 deployment as well.

chevron-rightCan i use existing redis, mongodb, rabbitmq servers?hashtag

Yes, existing redis, mongodb, rabbitmq servers can be used.

chevron-rightdefault-bap-client.yml, default-bap-network.yml, default-bpp-client.yml, default-bpp-network.yml should be inside or outside the protocol server folder?hashtag

configuration files should be outside the protocol server folder.

chevron-rightHow do we install the provider side of the protocol server?hashtag

In default-bap-client.yml and default-bpp-client.yml, set app.mode: BPP

chevron-rightHow do we install the seeker side of the protocol server?hashtag

In default-bap-client.yml and default-bpp-client.yml, set app.mode: BAP

chevron-rightcan i run the protocol server on some context path instead of base path "/"?hashtag

In deploy-bap.sh and deploy-bpp.sh, change the $HOME to the required context path and run the scripts.

chevron-rightWhat are the default ports for BAP client and network servers?hashtag

5001 and 5002

chevron-rightWhat are the default ports for BPP client and network servers?hashtag

6001 and 6002

chevron-rightCan i use other than default ports for Network and Client server?hashtag

Yes, can be changed in the default.yml file.

chevron-rightDo we need to expose both network and client server ip with a domain name?hashtag

Only network server IP should be exposed with a domain name, as it receives the requests.

chevron-rightHow to connect the Protocol server to the Provider system?hashtag

In default-bap-client.yml, set the provider system end point as webhook url.

chevron-rightWhat is webhook URL in config?hashtag

It is the endpoint of BAP/BPP internal System API (POST), to which protocol server will send the API payload.

chevron-rightDoes the protocol server append the API action as a path to the webhook URL when it invokes the same?hashtag

No, action is available as part of the context object.

chevron-rightWhat should be done if a participant want to be on multiple domains (learning-experiences / work-opportunities / financial-support / expert-connect) and/or multiple roles (seeker/provider)?hashtag

Protocol Server with same role will work for multiple domains. Register with same participant ID in required domains and use the same in protocol server configuration.

chevron-rightHow does network server and client server connects together?hashtag

Network and client server communicates through RabbitMQ.

chevron-rightHow to generate public and private keys?hashtag

Protocol server provides a script to generate the keys. Go to the protocol server folder and execute this command: npm run generate-keys.

chevron-rightHow to get the subscriber id and url?hashtag

Using the registry lookup API, users can fetch the participant details, which includes the subscriber id and url.

chevron-rightBased on what criteria does the protocol server caches the request?hashtag

protocol server caches only the search requests based on msg id. If a search request with the same msg id is made a second time, the response is returned from the cache.

chevron-rightWhat kind of schema validation does the protocol server will do?hashtag

below are the validations done by protocol server:

1. for the context object, it checks for schema (well-formedness) , mandatory fields, data types (incase if the field is populated) as per schema

2. for message object, it only checks for the schema (well-formedness) and data types (incase if the field is populated).

Last updated

Was this helpful?