Skip to content

using file-based metadata#102

Draft
pkdash wants to merge 15 commits into
masterfrom
use-file-based-metadata
Draft

using file-based metadata#102
pkdash wants to merge 15 commits into
masterfrom
use-file-based-metadata

Conversation

@pkdash
Copy link
Copy Markdown
Member

@pkdash pkdash commented Apr 19, 2026

Summary of this WIP PR:

  • Most of the hsclient functions have been updated to use s3 protocol replacing the use of hydroshare rest endpoints.
  • To keep the resource level metadata editing interface not to change due to the new schema.org metadata file based metadata, metadata mapping has been implemented between the legacy metadata format and the schema.org format.
  • TODO:
    • Similar to resource level metadata mapping, metadata mapping needs to be implemented for each content type/aggregation.
    • Tests are currently failing which need to be fixed
    • New Pydantic models for file-based metadata in schema.org format used in hsclient may have to be moved to hsmodels

pkdash added 15 commits March 24, 2026 10:35
…ed on schema org (later these should be part of hsmodels)
…w schema org based pydnatic models and the legacy pydantic models
- Introduced S3 client setup and user credential retrieval for accessing S3 resources.
- Updated Aggregation and Resource classes to support file-based metadata operations using S3.
- Refactored metadata retrieval and saving methods to utilize JSON-LD format.
- Enhanced file handling with size and checksum attributes in the File class.
…data and schema.org based resource metadata convertion
@pkdash pkdash changed the title using file-based metada using file-based metadata Apr 20, 2026
@pkdash
Copy link
Copy Markdown
Member Author

pkdash commented Apr 30, 2026

@sblack-usu Have a look at this initial implementation to make hsclient to work with file-based metadata. There is still quite a bit of work to do. It would be good to get your feedback on what I have implemented so far before I do more work on this.

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.

1 participant