Skip to content

Conversation

@iliasmoysidis
Copy link

The negotiation and transfer process has been consolidated into a single uninterrupted HTTP request from the client’s perspective. The flow works as follows:

1. Client Request:
The client sends an HTTP request to the backend to access a specific resource.

2. Backend Calls Mediator API:
The backend forwards the request to a mediator API, which handles both negotiation and transfer between the provider and consumer connectors. The backend provides the mediator with:

- Asset ID – the identifier of the requested resource.
- Provider connector protocol URL – the endpoint of the provider connector.
- Provider connector ID – identifier of the provider connector.

3. Mediator Response:
The mediator performs the negotiation and transfer, returning to the backend:

- Token – authorizing access to the resource.
- Endpoint URL – the URL where the resource can be accessed.

4. Backend Accesses Resource:
Using the token and endpoint URL, the backend retrieves the resource from the third-party server.

5. Client Response:
The backend returns the resource directly to the client.

@agmangas agmangas self-requested a review November 27, 2025 15:26
@agmangas
Copy link
Contributor

I've pushed some commits to fix minor issues, reformat the code to comply with PEP8, and ignore all compiled Python bytecode files that were originally included in the PR.

I kindly ask you to do two things before merging the PR:

  • Please complete the README, which I've cleared out since the previous version was automatically generated and didn't reflect the contents of the codebase or the user guide.
  • Review my commits to ensure they meet your expectations.

After that, I think we'll be ready to merge.

@iliasmoysidis
Copy link
Author

iliasmoysidis commented Dec 2, 2025

I reviewed all the changes and everything looks good. I also updated the README. In addition, I changed the name of the project to Mediator from Orchestrator. I think it makes sense, since its responsibility is to mediate between the dashboard backend and the connectors.

@agmangas agmangas merged commit c53cac2 into Data-Cellar:main Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants