Skip to content
Success

#33 (Aug 8, 2024, 5:26:04 PM)

Started 1 yr 11 mo ago
Took 29 sec
Build Artifacts
rest.gateway-0.0.2-SNAPSHOT-tests.jar19.14 MiB view
rest.gateway-0.0.2-SNAPSHOT.jar50.75 KiB view
rest.gateway-0.0.2-SNAPSHOT.pom7.11 KiB view
Implement the expand query for SensorThings northbound

This commit adds a backing implementation for the expand query for the SensorThings REST API. This is a pervasive change which requires us to carry context throughout the query so as to attach additional data structures based on the filter content.

* All queries now use full ProviderSnapshot instances so that we don't have to re-query for other resource data when filling in expansions
* Limited bulk data is included in expansions to prevent the JSON size exploding
* Data context is mapped by id to ensure we can expand values in lists
* All context is carried outside the DTO to avoid unnecessary fields appearing in the JSON output

Note that we require that all ids are able to be turned into strings. This is currently true throughout the gateway.

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 79ed936)
timothyjward at
Changes in dependency
  1. timescale-provider #32#33 (detail)
  2. SensiNact core Annotations #32#33 (detail)
  3. history-api #32#33 (detail)
  4. SensiNact internal Metadata Model #32#33 (detail)
  5. SensiNact core API with EMF dependencies #32#33 (detail)
  6. sensinact-parent #29#33 (detail)
  7. rest.api #32#33 (detail)
  8. SensiNact Northbound Session Provider #32#33 (detail)
  9. SensiNact core implementation #32#33 (detail)
  10. SensiNact Northbound Session API #32#33 (detail)
  11. SensiNact GeoJSON mapping types #32#33 (detail)
  12. SensiNact Provider Model #32#33 (detail)
  13. SensiNact internal Testdata Model #32#33 (detail)
  14. SensiNact Northbound Filters :: Core #32#33 (detail)
  15. SensiNact Northbound Security API #32#33 (detail)
  16. SensiNact Northbound SensorThings :: Filter Parser #32#33 (detail)
  17. dto #32#33 (detail)
  18. SensiNact core API #32#33 (detail)