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

Feature/fallback to generic device creation in case the sensor is not found #98

Conversation

saschadoemer
Copy link
Contributor

Closes #97

Refactored SentekFiwareIntegrationServiceWrapper to include manufacturer-specific ID and location in the device builder, and added some additional methods to persist and retrieve those data. Updated the version of fiware-integration-layer in pom.xml to 6.2.0. In DeviceMeasurementController, added logic to search for generic sensors if none are found within the sentek catalog. Finally, added manufacturerSpecificId field in GenericDeviceIntegrationService. These changes improve device measurements' reliability by persisting additional data and allowing for more robust error handling.
The persistence method in AgvolutionFiwareIntegrationServiceWrapper was refactored to also utilize latitude and longitude data from a series entry, providing spatial context. The deviceIdOf method was added for easy device ID retrieval. "No sensor found" message in DeviceMeasurementController now covers a more general case. Additionally, annotation was added to TimeSeriesEntry, TimeSeriesValue, and SeriesEntry models to improve API endpoints' documentation. These changes provide richer device details during persistence and enhance API usability via detailed endpoint descriptions.
…f commit message. Please consider shortening your answer.
Updated the version number of our api in the pom.xml file. This update is following our new feature addition that necessitated a version bump from 10.0.0 to 10.1.0.
@saschadoemer saschadoemer marked this pull request as draft October 27, 2023 16:14
@saschadoemer saschadoemer marked this pull request as ready for review November 2, 2023 13:52
@saschadoemer saschadoemer added this pull request to the merge queue Nov 3, 2023
Merged via the queue into main with commit 77a49dc Nov 3, 2023
1 check passed
@saschadoemer saschadoemer deleted the feature/fallback-to-generic-device-creation-in-case-the-sensor-is-not-found branch November 24, 2023 10:13
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.

Fallback auf generische Sensoren, sofern ein Sensor nicht in der herstellerspezifischen API existiert
2 participants