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

Migrate NGSI-LD Agent to DigitalTwin #487

Conversation

wagmarcel
Copy link
Member

No description provided.

@wagmarcel wagmarcel marked this pull request as ready for review December 30, 2023 12:58
@wagmarcel wagmarcel force-pushed the ngsild-agent-with-tests+timescale-update branch from cdd86a5 to ce40ed4 Compare December 30, 2023 13:55
@wagmarcel wagmarcel changed the title Ngsild agent with tests+timescale update Migrate NGSI-LD Agent to DigitalTwin Dec 30, 2023
@wagmarcel wagmarcel requested review from abhijith-hr and removed request for abhijith-hr December 30, 2023 14:50
This PR provides a cleaned-up and simplified device agent. The device agent is responsible
to connect to MQTT, manage the device token and forwards metrics provided over local udp/tcp protocol.
The orginial oisp device admin has been removed and replaced by scripts to manage device onboarding
and do test data sending.
The original oisp-agent had many ways to communicate to the backend. This has been removed. Now, only the SparkplugB oriented
data sending for NGSI-LD data is supported. The agent relies only on two services: (1) Keycloak and (2) MQTT.
Since the onboarding only relies on Keycloak, there is a little change on activation procedure. Details are described in the README.

Related Epic: IndustryFusion#432
Related User Story: IndustryFusion#446
Related Tasks: IndustryFusion#400, IndustryFusion#445, IndustryFusion#447

Signed-off-by: marcel <[email protected]>

fix of copyright years

Signed-off-by: marcel <[email protected]>
The insert strategy led to a situation that when a metric had same attribute and timestamp,
the most recent insertion is ignored. With Upsert it is the other way round: older metrics are overwritten.
Therefore the upsert strategy is chosen as policy.

Related Epic: IndustryFusion#432

Signed-off-by: marcel <[email protected]>
@wagmarcel wagmarcel force-pushed the ngsild-agent-with-tests+timescale-update branch from ce40ed4 to 6a95c73 Compare December 30, 2023 14:52
@abhijith-hr abhijith-hr merged commit dfb1c2f into IndustryFusion:main Jan 3, 2024
3 checks passed
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.

2 participants