Overview
The Marketplace system implements the following workflows which are further discussed in the sections below.
- The customer/eligible party creates a user account.
- The customer registers their AIIDA instance.
- The customer browses data requests and services.
- The eligible party creates a data request/service.
- The eligible party searches AIIDA instances for energy data.
- The eligible party asks for access to data from AIIDA instances.
The customer/eligible party creates a user account
- A customer or an eligible party use the Customer Mobile App or the EP Web App, respectively, to request a new account.
- The Customer Mobile App/EP Web App send the request for a new account to the Marketplace.
- The Marketplace redirects the customer/eligible party to the IAM.
- The customer/eligible party creates a new account at the IAM.
- The IAM stores the new account at the Database.
- The new account is stored in the Database.
- The new account is created.
After that, the customer/eligible party acquires a valid token from the IAM and includes this token in all the messages to the Marketplace. The Marketplace validates tokens at the IAM for authentication of customers/eligible parties.
The customer registers their AIIDA instance
- All AIIDA instances register at the Marketplace once on start-up automatically, and submit their information including an ID and IP address.
- The Marketplace stores all the AIIDA information in the Database.
- The customer requests to register an AIIDA instance at the Customer Mobile App using the AIIDA instance ID.
- The Customer Mobile App sends the AIIDA instance ID to the Marketplace.
- The Marketplace registers the AIIDA instance of this ID as this customer's AIIDA instance at the Database.
- The AIIDA instance is registered.
- The Customer Mobile App is notified.
The customer browses data requests and services
- The customer requests to see data requests/services of eligible parties at the Customer Mobile App (with filtering possible).
- The Customer Mobile App forwards the request to the Marketplace.
- The Marketplace requests the selected data requests/services from the Database.
- The Database responds with the matching data requests/services.
- The Marketplace sends to the Customer Mobile App the requested data requests/services.
The eligible party creates a data request/service
- The eligible party fills out a form with all the required information about the data request/service at the EP Web App.
- The EP Web App sends this form to the Marketplace.
- The Marketplace stores the data request/service information at the Database.
- The information is stored at the Database.
- The Marketplace notified the EP Web App that the data request/service is stored.
The eligible party searches AIIDA instances for energy data
- After a data request has been created, the eligible party clicks a button at the EP Web App to search for energy data matching this data request.
- The EP Web App creates a query that matches the energy data of the data request to the Marketplace.
- The Marketplace requests all the AIIDA instance IPs from the database.
- The Database responds with the AIIDA instance IPs.
- The Marketplace sends the query to all the AIIDA instances that are registered in the Database.
- The AIIDA instances run the query, and examine if they have data matching the query.
- The AIIDA instances respond to the Marketplace about whether they have matching data.
- The Marketplace responds to the EP Web App with the IDs of the AIIDA instances that have matching data.
The eligible party asks for access to data from AIIDA instances
- After the eligible party has searched which AIIDA instances have energy data matching a data request, the eligible party clicks a button to ask for data access at the EP Web App.
- The EP Web App asks the Marketplace for data access.
- The Marketplace sends access requests to the Customer Mobile Apps of the customers whose AIIDA instances have the energy data.
- The Customer Mobile Apps of these customers show an access request notification.
- The customers approve/reject the access requests.
- The Customer Mobile Apps of the customers who approved notify the Marketplace.
- The Marketplace configures the data access at the AIIDA instances of the customers who approved the access requests. The AIIDA instances then start sending data to the EDDIE Framework of the eligible party.
- The Marketplace notifies the EP Web App that access has been requested.