Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery of Beckn Platform via Search Technology [C4GT] #43

Open
9 tasks
dhirajshettyyy opened this issue Feb 26, 2024 · 7 comments
Open
9 tasks

Discovery of Beckn Platform via Search Technology [C4GT] #43

dhirajshettyyy opened this issue Feb 26, 2024 · 7 comments
Labels
beckn-utilities beckn utilities DMP 2024 DMP 2024

Comments

@dhirajshettyyy
Copy link

dhirajshettyyy commented Feb 26, 2024

Description

This proof of concept is to evaluate how search engines can be used to index Beckn websites and make them discoverable. It is an alternate model to a central registry-based mechanism.

Goals

BPP

  • BPP to host a signed Beckn descriptor file on their domain issued by a certification authority.
  • Search engines should be able to verify this descriptor and index their catalog.
  • BPPs should be able to push changes to their catalog incrementally to the search engine(s).

Bap

  • BAP can also host a signed Beckn descriptor file on their domain issued by a certification authority.
  • BAPs can discover Bpps and their products via search engines (like Beckn gateway)
  • BPPs should be able to verify Baps signatures using the BAP's Beckn descriptor.

Expected Outcome

Peers should be able to verify each other and transact as an open network with no central controlling facilitator.

Objective outcomes:

  1. Product Design (UX, Architecture)
  2. Source code for Search Provider, Integration with BAP & Integration with BPP.
  3. Application hosted on FIDE AWS
  4. Demo video recording of search provider integrated with retail BAP & two retail BPPs

Acceptance Criteria

  • Beckn reference Gateway to be enhanced to function as a search engine.
  • A Reference Bpp should be able to push catalog changes to the gateway
  • Reference Bap should be able to choose the gateway as a search engine for discovery purposes.

Implementation Details

  1. A github repo consisting of certification authorities ,search engines and their Public keys.
  2. Beckn.json (beckn descriptor) file can be signed by one of the authorities.
  3. The authority may host the beckn registry for validating endpoints and keys.
    *. Once validated, the apps will be issued a beckn.json file affixed with their signature.
  4. Lucene to be used for indexing the catalog.
  5. /search of gateway to look into local indexed catalog
  6. unsolicited /on_search from bpp to be used to push full/part catalog

Mockups / Wireframes


Product Name

Beckn

Project Name

Beckn Application discovery via search technologies.

Organization Name:

Beckn Open Collective

Domain

Trade and Commerce

Tech Skills Needed:

Java, React

Mentors

@venkatramanm @raviprakash

Category

PoC

Sub Category

API, FrontEnd, Backend, SEO, Research

@faizmagic faizmagic added the C4GT label Feb 26, 2024
@vishi24 vishi24 added the DMP 2024 DMP 2024 label Feb 26, 2024
@faizmagic faizmagic added beckn-utilities beckn utilities and removed C4GT Community labels Apr 16, 2024
@ShivamVashisth28
Copy link

Hello @venkatramanm and @raviprakash,

I hope this message finds you well. I am reaching out to express my interest in contributing to the project. I know Java and React, and I am eager to leverage my skills to make meaningful contributions to the project's success.

Could you please provide guidance on how I can get started? I am keen to learn more about the project's objectives, architecture, and any specific areas where assistance is needed. Additionally, if there are any documentation or resources available that I should review, please do let me know.

I am committed to dedicating time and effort to contribute effectively to the project and look forward to collaborating with you both.

Thank you for considering my interest, and I eagerly await your guidance.

@AbhimanyuSamagra
Copy link

Do not ask process related questions about how to apply and who to contact in the above ticket. The only questions allowed are about technical aspects of the project itself. If you want help with the process, you can refer instructions listed on Unstop and any further queries can be taken up on our Discord channel titled DMP queries. Here's a Video Tutorial on how to submit a proposal for a project.

@jayesh9747
Copy link

@ShivamVashisth28 can you check the FIDE channel on the discord ? it provides all your questions's answer.

@babitarit
Copy link

@dhirajshettyyy i wanted to work on this issue can assign me this so that i can start working on it

@TheTooToo
Copy link

hey!!@dhirajshettyyy
i hope this message finds you well , i am reaching out to express my interest in contributing to the project. I want to leverage my skills by making meaningful contributions to this project.

I need your guidance for this project , could you tell me where can I get started?
Thank you for considering my interest, and I eagerly await your guidance.

@Swagata212003
Copy link

I want to work on this project, submitted proposal on DMP-2024.

@venkatramanm
Copy link

The current design for the registrar:

  1. Onboard companies and their apps and perform their kyb , verify app endpoints and keys.
  2. Have an ability to generate beckn.json
    { "content" :"a base64 encoded json" , "signature" : "of the registrar for the content using registrar's private key" }
  3. The content schema has the following content:
    {"subscribers": [] , "organization" : {} , "payment" : {"collected_by" : "BAP|BPP" , "params" : {..banking_details...} }, "registrar_id" : "the registrar's subscriber_id of type LREG" }

An implementation of this registrar is hosted @ humbhionline

For BGS , BAPS and BPPS

  1. host the signed beckn descriptor json at well-defined-path/beckn.json
  2. On Receiving signed payloads, check the counter party' /beckn.json , verify registrar's signature using registrar's public key . Then verify the signature of the counter party using the public key published in the context of beckn.json and continue with processing as usual.
    --Not Implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beckn-utilities beckn utilities DMP 2024 DMP 2024
Projects
None yet
Development

No branches or pull requests

10 participants