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

Implement ability to subscribe to assets #857

Open
2 tasks
jkbquabeck opened this issue Mar 26, 2024 · 1 comment
Open
2 tasks

Implement ability to subscribe to assets #857

jkbquabeck opened this issue Mar 26, 2024 · 1 comment
Assignees
Labels
kind/enhancement New feature or request scope/ce sovity's Open Source Community Edition scope/mds related to MDS status/blocked/needs-product requires input from product owner task/analyze Need for investigation

Comments

@jkbquabeck
Copy link
Collaborator

jkbquabeck commented Mar 26, 2024

Feature Request

https://github.com/Mobility-Data-Space/MDS-Project/issues/65

Business value

  • This feature will make the usage of the data space and the realisation of business cases more comfortable for the participants.
  • This feature improves the usability of the connector and the user experience.

How does this tie into the current product?

After successful contract negotiation the consumer intends to consume data. Among current functionalities he have a possibility to "subscribe" for a data offer. For this subscription he can choose between push and pull methods. If "push" is selected he shall get data immediately after the data are available on the provider side. If "pull" is selected he can define a request frequency.
More than one subscription per offer shall be allowed.
Subscriptions shall be represented as list and be manageable within the connector.

Outlook

TBD

(For sovity Team to complete) Stakeholders

Add more on who asked for this, i.e. company, person, how much they pay us, what their tier is, are they a strategic account, etc. Who needs to be kept up-to-date about this feature?

User stories

As consumer I want to have a possibility to subscribe for the push delivery to make my service more efficient and avoid any time delay.
As provider I want to understand the push subscription to ensure the data delivery from the backend without any time delay.
As consumer I want to have a possibility to subscribe for the continuous pull delivery and define the request frequency. More than one subscription per data offer is allowed.
As consumer I want to see all subscirptions as manageable list to have possibility to delete, edit request frequency etc.

(For sovity Team to complete) Solution Proposal and Work Breakdown

Tasks


--------------- MDS format for initial inspection----------
https://github.com/Mobility-Data-Space/MDS-Project/issues/65

Background

Problem statement

If a consumer currently wants to retrieve data continuously and not just once, he has to write and deploy his own script for this purpose. Furthermore the consumer has no possibility to use push mechanism, which is absolutely crucial for alert massegaes such as driver on wrong side of highway .

Customer perspective

The consumer needs this functionality to be able to implement real use cases using .

Business value

  • This feature will make the usage of the data space and the realisation of business cases more comfortable for the participants.
  • This feature improves the usability of the connector and the user experience.

Proposed solution

Description of the feature

After successful contract negotiation the consumer intends to consume data. Among current functionalities he have a possibility to "subscribe" for a data offer. For this subscription he can choose between push and pull methods. If "push" is selected he shall get data immediately after the data are available on the provider side. If "pull" is selected he can define a request frequency.
More than one subscription per offer shall be allowed.
Subscriptions shall be represented as list and be manageable within the connector.

Dependencies

Not Known

Suggested visual realization

TBD

Challenges

TBD

User stories

As consumer I want to have a possibility to subscribe for the push delivery to make my service more efficient and avoid any time delay.
As provider I want to understand the push subscription to ensure the data delivery from the backend without any time delay.
As consumer I want to have a possibility to subscribe for the continuous pull delivery and define the request frequency. More than one subscription per data offer is allowed.
As consumer I want to see all subscirptions as manageable list to have possibility to delete, edit request frequency etc.

Outlook

TBD

@jkbquabeck jkbquabeck added kind/enhancement New feature or request scope/ce sovity's Open Source Community Edition scope/mds related to MDS status/blocked/needs-product requires input from product owner task/analyze Need for investigation labels Mar 26, 2024
@jkbquabeck jkbquabeck changed the title Subscribe of assets Subscribe to assets Mar 26, 2024
@SebastianOpriel
Copy link
Member

SebastianOpriel commented Apr 9, 2024

Subscription: Cron-triggered

  • UI: Start Interval Based Data Transfer
    • Either custom DB Entity
    • or custom Transfer Type (but how do we prevent them from being handed to the DP)
    • Needs to support full range of transfer types
    • Opportunity: Clean / aggregate old transfers
  • Quartz: Dynamic Schedules
  • Restart after Connector Startup

Subscription: On update notify

  • Architecture
    • Note: Catena had a custom notification endpoint, maybe re-use that?
  • Idea: Receive calls "onUpdate"
    • Would require same tables as previous solution
    • SUM: Opportunity: "Persistable Data Sinks", could be managed as such, would require CRUD UI
      • List Endpoint
      • List UI
      • Delete Dialog
      • Delete Endpoint
      • Create Endpoint
      • Create Form
      • Selection in Transfer Dialog
  • Flag: Supports Update Push. Display for assets, Create in Form, Add to API Wrapper
  • Source: Flag data as updated action, as button for assets, API Wrapper endpoint, UI: Button in UI on provider side on the asset
  • Notification receiving, automated transferring: Custom DB Table, these are not "transfers" but transfer plans. Create transfers

@AbdullahMuk AbdullahMuk added the clean-backlog requires backlog cleaning label May 2, 2024
@jkbquabeck jkbquabeck changed the title Subscribe to assets Implement ability to subscribe to assets May 2, 2024
@jkbquabeck jkbquabeck removed the clean-backlog requires backlog cleaning label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request scope/ce sovity's Open Source Community Edition scope/mds related to MDS status/blocked/needs-product requires input from product owner task/analyze Need for investigation
Projects
None yet
Development

No branches or pull requests

3 participants