-
Notifications
You must be signed in to change notification settings - Fork 4
jir-transducer-data #184
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
Closed
Closed
jir-transducer-data #184
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
9a272cb
feat: add transducer observation model and water levels pressure tran…
jirhiker 56237f7
feat: enhance TransducerObservation model with relationships and upda…
jirhiker bd25003
feat: add transducer observation models and endpoints for groundwater…
jirhiker e8388c0
feat: update schemas to use enums for release status, contact types, …
jirhiker e2995dd
feat: add ScreenType and WellCasingMaterial enums, update related sch…
jirhiker 956c9b2
feat: refactor enums and update transducer observation model with new…
jirhiker 1463935
feat: rename WellCasingMaterial enum to CasingMaterial in enums and u…
jirhiker 67a57d5
feat: refactor transducer observation handling and add pressure level…
jirhiker 4cca32f
feat: add qc_status to lexicon, update transducer observation model, …
jirhiker 0677412
feat: refactor water levels transfer functions and update logger output
jirhiker 5a350f0
feat: replace cfgv with pydantic for validation in water levels trans…
jirhiker a123b7f
feat: update BaseResponseModel to serialize release_status as string …
jirhiker b99aa59
feat: add actions permission and trigger BDD tests in CD_staging.yml
jirhiker d579790
feat: add actions permission and trigger BDD tests in CD_staging.yml
jirhiker b5ba0e9
feat: add actions permission and trigger BDD tests in CD_staging.yml
jirhiker 7b4aa51
feat: update BDD test feature path to use API directory
jirhiker 3ba932a
feat: add BDD dependencies and update test feature paths
jirhiker bbc3c77
feat: update test command to use 'uv run' for BDD tests
jirhiker 70072db
feat: enhance well and sensor models with new relationships and valid…
jirhiker 70b2f32
feat: add well-location feature with BDD steps for retrieving well lo…
jirhiker 16a8bed
feat: add API fixture for testing and override authentication for tes…
jirhiker e24c7a8
feat: use nma_csv_cache folder
jirhiker 95c7047
feat: add option to disable authentication for development and enforc…
jirhiker 8e406ae
feat: update test command to include approved tags for backend tests
jirhiker 7b92b55
feat: refactor API fixture initialization and authentication override…
jirhiker cd39ae4
feat: add review status to transducer observations and implement rele…
jirhiker 237e555
feat: specify types for session and permission dependencies in depend…
jirhiker 0572e14
feat: enhance water levels transfer by filtering valid point IDs and …
jirhiker ea1b03b
feat: enhance transducer observation responses with block details and…
jirhiker 83b642c
feat: update transducer observation retrieval to include parameter ID…
jirhiker ffd2868
feat: import schemas for contact and transducer observations in trans…
jirhiker 3441b2b
feat: enhance API testing setup with location and thing creation, and…
jirhiker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| # =============================================================================== | ||
| # Copyright 2025 ross | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # =============================================================================== | ||
| from enum import Enum | ||
|
|
||
| from services.lexicon_helper import build_enum_from_lexicon_category | ||
|
|
||
| ActivityType: type[Enum] = build_enum_from_lexicon_category("activity_type") | ||
| AddressType: type[Enum] = build_enum_from_lexicon_category("address_type") | ||
| AnalysisMethodType: type[Enum] = build_enum_from_lexicon_category( | ||
| "analysis_method_type" | ||
| ) | ||
| CasingMaterial: type[Enum] = build_enum_from_lexicon_category("casing_material") | ||
| CollectionMethod: type[Enum] = build_enum_from_lexicon_category("collection_method") | ||
| ConstructionMethod: type[Enum] = build_enum_from_lexicon_category("construction_method") | ||
| ContactType: type[Enum] = build_enum_from_lexicon_category("contact_type") | ||
| CoordinateMethod: type[Enum] = build_enum_from_lexicon_category("coordinate_method") | ||
| WellPurpose: type[Enum] = build_enum_from_lexicon_category("well_purpose") | ||
| DataQuality: type[Enum] = build_enum_from_lexicon_category("data_quality") | ||
| DataSource: type[Enum] = build_enum_from_lexicon_category("data_source") | ||
| DepthCompletionSource: type[Enum] = build_enum_from_lexicon_category( | ||
| "depth_completion_source" | ||
| ) | ||
| DischargeSource: type[Enum] = build_enum_from_lexicon_category("discharge_source") | ||
| DrillingFluid: type[Enum] = build_enum_from_lexicon_category("drilling_fluid") | ||
| ElevationMethod: type[Enum] = build_enum_from_lexicon_category("elevation_method") | ||
| EmailType: type[Enum] = build_enum_from_lexicon_category("email_type") | ||
| ParticipantRole: type[Enum] = build_enum_from_lexicon_category("participant_role") | ||
| Geochronology: type[Enum] = build_enum_from_lexicon_category("geochronology") | ||
| HorizontalDatum: type[Enum] = build_enum_from_lexicon_category("horizontal_datum") | ||
| GroundwaterLevelReason: type[Enum] = build_enum_from_lexicon_category( | ||
| "groundwater_level_reason" | ||
| ) | ||
| LimitType: type[Enum] = build_enum_from_lexicon_category("limit_type") | ||
| MeasurementMethod: type[Enum] = build_enum_from_lexicon_category("measurement_method") | ||
| MonitoringStatus: type[Enum] = build_enum_from_lexicon_category("monitoring_status") | ||
| ParameterName: type[Enum] = build_enum_from_lexicon_category("parameter_name") | ||
| Organization: type[Enum] = build_enum_from_lexicon_category("organization") | ||
| ParameterType: type[Enum] = build_enum_from_lexicon_category("parameter_type") | ||
| PhoneType: type[Enum] = build_enum_from_lexicon_category("phone_type") | ||
| PublicationType: type[Enum] = build_enum_from_lexicon_category("publication_type") | ||
| SampleQcType: type[Enum] = build_enum_from_lexicon_category("qc_type") | ||
| QualityFlag: type[Enum] = build_enum_from_lexicon_category("quality_flag") | ||
| Relation: type[Enum] = build_enum_from_lexicon_category("relation") | ||
| ReleaseStatus: type[Enum] = build_enum_from_lexicon_category("release_status") | ||
| ReviewStatus: type[Enum] = build_enum_from_lexicon_category("review_status") | ||
| Role: type[Enum] = build_enum_from_lexicon_category("role") | ||
| SampleMatrix: type[Enum] = build_enum_from_lexicon_category("sample_matrix") | ||
| SampleMethod: type[Enum] = build_enum_from_lexicon_category("sample_method") | ||
| SampleType: type[Enum] = build_enum_from_lexicon_category("sample_type") | ||
| SpringType: type[Enum] = build_enum_from_lexicon_category("spring_type") | ||
| Status: type[Enum] = build_enum_from_lexicon_category("status") | ||
| ThingType: type[Enum] = build_enum_from_lexicon_category("thing_type") | ||
| Unit: type[Enum] = build_enum_from_lexicon_category("unit") | ||
| Vertical_datum: type[Enum] = build_enum_from_lexicon_category("vertical_datum") | ||
| ScreenType: type[Enum] = build_enum_from_lexicon_category("screen_type") | ||
| # ============= EOF ============================================= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.