This is a reference implementation of Chat application utilizing data transfer using EDC. This definition is part of Third Eclipse Tractus-X Community Days.
In this POC, lets assume We have two dataspace participant named with smartSense and Catena-X and they want to chat(Data transfer) with each other.
The following table lists Business Partner Numbers (BPNs) associated with different entities. BPNs are unique identifiers used in various business ecosystems, such as Catena-X, to identify organizations and their digital identities.
Entity Name | BPN | Description |
---|---|---|
smartSense | BPNL00SMARTSENSE | Represents the BPN assigned to smartSense. We can also consider as sender/producer |
Catena-X | BPNL00000CATENAX | Represents the BPN assigned to the Catena-X. We can also consider as receier/consumer. |
Tractus-X | BPNL0000TRACTUSX | Dataspace operator or trusted issuer |
Note: This is just to set the context of the application, you can transfer data vice versa(smartSense to Catena-X or Catena-X to smartSense) and You can also register a third participant (EDC).
- Java - Spring boot
- ReactJs
- WebSocket
- EDC - 0.7.7
- SSI Dim Wallet stub - 0.0.4
- Hashicorp Vault
- Docker and Docker compose for local deployment using docker compose
We have multiple participants in Eclipse Tractus-x dataspace, let's assume We have two business partner(smartSense/Catena-X) and they want to chat/transfer messages.
Both partners need to have the following application installed:
- EDC
- Backend application, this will connect UI application with EDC and used for custom data management
- UI application
- PostgreSQL Database
- Hashicorp Vault
There will be some operator company(trusted issuer) which will host following components:
- SSI Dim wallet stub application
- We need to expose wallet stub on
https
URL as while verification of VP token, EDC will resolve DID document onhttps
. You can usengrok
ortunnelmol
for this purpose. - Alternatively, You can use hosted wallet stub application on https://wallet.learn.smartsenselabs.com for testing purpose.
- Wallets have been generated for BPN BPNL00SMARTSENSE, BPNL00000CATENAX, and BPNL0000TRACTUSX, accessible at https://wallet.learn.smartsenselabs.com
Please refer README.md
Please refer README.md
Please refer README.md
Please refer technical.md
Chat application using EDC demo
- Any authentication and authorization to access chat UI application and to start chat
- EDC discovery service, each participant need to register partner's BPN and EDC DSP URL to start chat
- Fancy UI/UX
- Deployment using helm
- Negative scenarios
- Any kind of Unit test in code
- There will be latency in transfer chat message due to contract negotiation and transfer process of the EDC