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

Common PR for new range serach for level and period #161

Merged
merged 50 commits into from
Oct 2, 2024

Conversation

Teddy-1000
Copy link
Collaborator

This PR will serve as a common place to merge all issues realted to #151 #152 #155 #154 #158 since these issues demand changes in functionality in all 3 services.

Teddy-1000 and others added 3 commits August 20, 2024 08:48
This reverts commit 5c00783.
* Add converstion of iso duration to seconds

* Fix parsing error

* Change to model validator
Copy link

github-actions bot commented Aug 20, 2024

API Unit Test Coverage Report
FileStmtsMissCoverMissing
\_\_init\_\_.py00100% 
datastore_pb2.py655220%34–85
datastore_pb2_grpc.py542750%15–16, 19, 65–80, 121–123, 128–130, 135–137, 142–144, 148–173, 219, 246, 273, 300
export_metrics.py100100% 
grpc_getter.py201145%15–19, 23–26, 30–32, 36–38
locustfile.py15150%1–31
main.py43784%45, 50, 60, 70–71, 81–82
metadata_endpoints.py653152%45–54, 58, 85, 100–219, 223
response_classes.py50100% 
utilities.py1745171%20, 38, 45, 67–70, 78–89, 94–101, 121, 125, 127, 155, 161, 179, 193–194, 198, 214–218, 222–228, 232–234, 245–249, 264, 268, 290, 295
custom_geo_json
   edr_feature_collection.py60100% 
formatters
   \_\_init\_\_.py110100% 
   covjson.py59198%91
   geojson.py21290%27, 52
openapi
   custom_dimension_examples.py40100% 
   edr_query_parameter_descriptions.py110100% 
   openapi_examples.py130100% 
routers
   \_\_init\_\_.py00100% 
   edr.py101496%348–349, 438–439
   feature.py471960%99–132, 148–153, 159–181
TOTAL72422070% 

API Unit Test Coverage Summary

Tests Skipped Failures Errors Time
30 0 💤 0 ❌ 0 🔥 2.076s ⏱️

Teddy-1000 and others added 26 commits August 26, 2024 09:37
…:EURODEO/e-soh into merge-backend-duration-and-level-changes
This change adds partial support for reflectable metadata fields of type
int64, with the ts metadata field 'period' as the first example.
This is a basis for later supporting efficient range filtering.
The following two caveats apply for now: [1] the default int64 value of 0
is omitted from the output (since protoc puts 'omitempty' for all fields
in the generated file); [2] it is not possible to filter at all on
reflectable int64 fields. Both will be addressed in later commits.
Reflectable (i.e. handleable with Golang reflection) metadata fields
are now supported with both range search (lo <= x <= hi) and regular
string search (str(x) matching "12", "12*" etc.).
@Teddy-1000 Teddy-1000 marked this pull request as ready for review September 23, 2024 08:53
ingest/api/model.py Outdated Show resolved Hide resolved
@Teddy-1000 Teddy-1000 merged commit 325e5e9 into main Oct 2, 2024
8 checks passed
@Teddy-1000 Teddy-1000 deleted the merge-backend-duration-and-level-changes branch October 2, 2024 05:31
@Teddy-1000 Teddy-1000 restored the merge-backend-duration-and-level-changes branch October 2, 2024 12:05
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.

5 participants