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

chore: update docs #146

Open
wants to merge 28 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7653833
chore: update docs
djs0109 Nov 17, 2023
6e8b8ba
chore: add docs for modules
djs0109 Nov 17, 2023
2b1fea2
Add files via upload
Ganesh-eon Nov 29, 2023
9548527
Add files via upload
Ganesh-eon Nov 29, 2023
81e78b7
Add files via upload
Ganesh-eon Nov 29, 2023
277cb85
Add files via upload
Ganesh-eon Nov 29, 2023
b02e3d8
Update DEVICES.md
Ganesh-eon Nov 29, 2023
a141d7e
Update ENTITIES.md
Ganesh-eon Nov 29, 2023
3bf28e2
Update NOTIFICATIONS.md
Ganesh-eon Nov 29, 2023
b47289c
chore: use relative links for docs of modules
djs0109 Nov 30, 2023
1acdc2b
Chore: Add Subsections
Ganesh-eon Dec 4, 2023
34ee5e3
Chore : Add Subsections
Ganesh-eon Dec 4, 2023
74e45a1
Chore: Add Subsections
Ganesh-eon Dec 4, 2023
4cc0cf2
chore: move the images
djs0109 Jan 4, 2024
8c0392a
chore: revise the tutorials
djs0109 Jan 4, 2024
875f3e3
chore: further move images
djs0109 Jan 4, 2024
bfb2f2a
fix: links
djs0109 Jan 4, 2024
380b5b3
fix: links for going back
djs0109 Jan 4, 2024
1c64848
chore: use relative links
djs0109 Jan 4, 2024
c61de58
Fix spelling
iripiri Feb 7, 2024
66a20a2
fix spelling, improve clarity of descriptions
iripiri Feb 7, 2024
82acf6b
fix spelling, clarify descriptions in devices module
iripiri Feb 7, 2024
e837188
docs: revise the descriotion for notification module
djs0109 Mar 6, 2024
8828013
chore: remove todo
djs0109 Mar 11, 2024
95cf524
chore(entirety): keep media folder in repo
djs0109 May 15, 2024
6eb31b4
chore(entirety): give python version information
djs0109 May 15, 2024
6762efb
chore(entirety): revision based on review feedbacks
djs0109 May 15, 2024
e6a94a5
chore(entirety): remove quotation marks in .env.example
djs0109 May 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions docs/GUI_TUTORIALS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Entirety GUI Tutorials

Entirety is a web-based tool developed to facilitate the work with dedicated FIWARE APIs. It is structured into different modules that are designed to interact with specific FIWARE Generic Enablers (GEs). This tutorial will guide you through the basics of the Entirety GUI and then through the usage of every module.


## *LOGIN*

- You can login to the Entirety tool with you Entirety username and password.
- Based on your access rights , you can login as an `admin` or a `project_admin` or a `user`.

1. Admin : Admin has all the admin rights like adding of projects , assigning owners to a project and adding/removing user.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proposal: link to page/table, where all the user roles and their access rights are listed. "Admin has all the admin rights like .." is not clear enough, are all access rights listed here or not?.
The list of roles and access rights is also not up-to-date already (viewer role) and it would be best if there was only one place where this is documented.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We dont have such a table for overview. But I add a descriptioin about the viewer

2. Project Admin : Project admin can manage the different projects by creating new projects , assigning users and maintainers to a project and editing projects.
3. User : Users are only allowed to edit a particular project which is assigned to them.

![Alt text](GUI_TUTORIALS/images/image.png)



## *PROJECTS*

Entirety uses the concept of projects to separate the database into independent data spaces. Each project is bound to specific "fiware-service" headers, following FIWARE's approach to multi-tenancy. This ensures that projects can only access and manipulate data that they created and are authorized for.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add link to "FIWARE's multi-tenancy approach" or leave this part of the sentence out? The concept of separating the data is understandable from the description, but not every user will be acquainted to FIWARE's approach to multi-tenancy.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

- Click on Projects on the top left corner to see the current projects.
- You can only add a new project if you have the role `project_admin` or `admin`.

![Alt text](GUI_TUTORIALS/images/image-1.png)

- For creating a new project , click on the + and fill in the fields with you project details like project name , project description , Fiware service and webpage url.
- You can also add a project logo by choosing a file and uploading it.
- You must assign owners for the project and select the maintainers and users

![Alt text](GUI_TUTORIALS/images/image-2.png)

- Once you are done saving your project , click on Project image to view your project .
- Add edit page

![Alt text](GUI_TUTORIALS/images/image-3.png)

- See the description of the project and also the available apps on the sidebar

![Alt text](GUI_TUTORIALS/images/image-4.png)



## *Modules*
Modules are developed to interact with FIWARE Generic Enablers (GEs). Currently, Entirety supports interaction with the following Generic Enablers: Orion, IoT Agent-JSON, and QuantumLeap. Accordingly, the Apps "Entities", "Devices", and "Notifications" are developed to communicate with these GEs.
The following pages will guide you through each module.

1. [Entities](GUI_TUTORIALS/ENTITIES.md)
2. [Devices](GUI_TUTORIALS/DEVICES.md)
3. [Notifications](GUI_TUTORIALS/NOTIFICATIONS.md)
46 changes: 46 additions & 0 deletions docs/GUI_TUTORIALS/DEVICES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# *DEVICES MODULE*

The "Devices" module is developed to interact with the FIWARE Generic Enabler known as IoT Agent-JSON, which manages `devices` and `service group` and their interactions within the FIWARE platform. The basic functionalities include registration, update, and removal of devices.

![Alt text](images/image-11.png)

On the landing page of the "Devices" module, you can see a list of all devices that belong to the project.
By clicking on the blue + , you can add new Devices. By clicking on the red bin, you can delete a specific Device. And by clicking on the grey pen, you can edit an already existing Device.
Furthermore, you can create Batch Devices by clicking on the batch devices option.
You can choose which device to perform actions on by selecting the white selection box in the left column.

- [Create New Device](#create-new-device)
- [Create Multiple Devices](#create-multiple-devices)
- [Delete Device](#delete-device)

## *Create New Device*
- By clicking the blue + , you can create a new Device by filling in the Device ID, Device Name and the Device Type.

![Alt text](images/image-12.png)

- The new device can be linked to an Entity by specifying the Entity Name and Entity Type.
- Multiple Device Attributes can be added by filling in the Attribute Name, Attribute Type and Object ID (optional).
- You can also add multiple Device Commands for a specific Device by adding the Command Name and Command Type.

![Alt text](images/image-13.png)

## *Create Multiple Devices*
This option lets you create a batch of devices. This needs to be done by adding a JSON representation describing your multiple devices along with their associated attributes and metadata.

![Alt text](images/image-14.png)

TODO
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open TODO


## *Delete Device*
- To delete a Device, you can select the desired Device and click on the *red bin*, this will open a dialog box which gives you options for deleting the device.

![Alt text](images/image-15.png)

- You can choose to delete the entity related to this device by clicking the select box before deleting
- Clicking the advanced setting option will open a new dialog which lets you select whether to delete the subscriptions and relationships which are associated to the device

![Alt text](images/image-16.png)

Back: [Entirety GUI](../GUI_TUTORIALS.md#modules)

Further: [Notification ](NOTIFICATIONS.md)
39 changes: 39 additions & 0 deletions docs/GUI_TUTORIALS/ENTITIES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# *Entities Module*

The Entities app is developed to interact with the Orion Context Broker (CB).
It allows users to manage entities within the CB.
Entities, in the FIWARE context, hold information in a smart solution, typically corresponding to real-world objects or abstract entities.

![Alt text](images/image-5.png)

Users are able to create, update, retrieve, and delete entities via the "Entities" module. By clicking on the *blue +* , you can add new entities , by clicking on the *red bin* you can delete a specific entity and by clicking on the *grey pen* you can edit an already existing entity. You can choose which entity to perform actions on by selecting the white box.

- [Create New Entity](#create-new-entity)
- [Delete an Entity](#delete-an-entity)


## *Create New Entity*
- Creating a new entity : On clicking the *blue +* , you can create a new entity by filling in the *Entity ID* and the *Entity Type*.
- The ID of the entity should always be a combination of *Entity ID* and *Entity type* in the following manner: 'Type:ID'

![Alt text](images/image-6.png)

- You can also add in multiple entity attributes for a specific entity by adding the *Attribute Name, Attribute Type, Attribute Value (optional) and Metadata (optional)*.

![Alt text](images/image-7.png)

## *Delete an Entity*
- To delete an entity, you can select the desired entity and click on the *red bin*, this will open a dialog box with different options as described below.

![Alt text](images/image-8.png)

- Force Delete: delete an entity without deleting their associations
- Advanced selection: this option will open another dialog box which offers three options for deleting the associations of the entity which are: *1. Subscriptions 2. Relationships 3.Devices*

![Alt text](images/image-10.png)

- The advanced selection for deleting an entity lets you delete the subscriptions, relationships and devices that this particular entity is linked with.

Back: [Entirety GUI](../GUI_TUTORIALS.md#modules)

Further: [Devices](DEVICES.md)
31 changes: 31 additions & 0 deletions docs/GUI_TUTORIALS/NOTIFICATIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# *NOTIFICATIONS MODULE*

ToDo: The description bellow is not correct
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Someone should correct it then :D


The "Notifications" module is designed to interact with the FIWARE Generic Enabler called QuantumLeap.
QuantumLeap is often used for managing historical context data and handling subscriptions for changes in data.
The Notifications app provides a user interface to manage and view notifications related to changes in context information.
Users utilizing the Notifications app are able to subscribe to changes in specific entities or attributes, view historical context data, and manage notification settings.

![Alt text](images/image-17.png)

- [Create New Subscription](#create-new-subscription)

## *Create New Subscription*
- Creating a new Subscription: On clicking the blue + , you can create a new Subscription by filling in the Subscription Name , Description(free text to describe the subscription) , Throttling (Minimum number of seconds that must elapse between two consecutive notifications) and Expiry .

![Alt text](images/image-18.png)

- In the Subject section , select the entities and fill in the entity details, you want to create a notification subscription for.

![Alt text](images/image-19.png)

- In the Notificaton section , mention the HTTP or MQTTP endpoints where you want to recieve the notifications. Create Notification to Time series.
- Include the list of metadata you want to include with the notification.
- Also select the Attribute format (between normalized , key value or Value)

![Alt text](images/image-20.png)

Back: [Entirety GUI](../GUI_TUTORIALS.md#modules)

Further: [Entirety GUI](../GUI_TUTORIALS.md#modules)
Binary file added docs/GUI_TUTORIALS/images/image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GUI_TUTORIALS/images/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.