feat: schema management for openzgy and segy datasets
This MR accomplishes the following
-
Schemas for
openzgy_v1
andsegy_v1
are imported from the schema repo here -
Schema managers for
seismicmeta
,openzgy_v1
andsegy_v1
are added. All of the logic to validate input on a schema is abstracted into respective schema manager types -
Dataset
register
,patch
methods now uses a common function to add defaults for the storage schema record -
Dataset
get
method is updated to apply schema transforms on respective schema types. Multiple data transformers can now be chained and the output can be returned to the client in the supported schema type. All of the logic to perform these schema transforms are encapsulated in respective schema manager types. -
Storage record for a particular version can be retrieved by passing
record-version
query parameter to the datasetGET
method -
Postman E2E tests are updated for dataset operations using
seismicmeta
,openzgy_v1
andsegy_v1
-
OpenAPI yaml documentation updates to import the schemas directly from sdms codebase