Skip to content

story/HOP-63#49

Open
Girik1105 wants to merge 2 commits into
developfrom
story/HOP-63
Open

story/HOP-63#49
Girik1105 wants to merge 2 commits into
developfrom
story/HOP-63

Conversation

@Girik1105
Copy link
Copy Markdown
Contributor

@Girik1105 Girik1105 commented May 12, 2026

Guidelines for Pull Requests

If you haven't yet read our code review guidelines, please do so, You can find them here.

Please confirm the following by adding an x for each item (turn [ ] into [x]).

  • I have removed all code style changes that are not necessary (e.g. changing blanks across the whole file that don’t need to be changed, adding empty lines in parts other than your own code)
  • I am not making any changes to files that don’t have any effect (e.g. imports added that don’t need to be added)
  • I do not have any sysout statements in my code or commented out code that isn’t needed anymore
  • I am not reformatting any files in the wrong format or without cause.
  • I am not changing file encoding or line endings to something else than UTF-8, LF
  • My pull request does not show an insane amount of files being changed although my ticket only requires a few files being changed
  • I have added Javadoc/documentation where appropriate
  • I have added test cases where appropriate
  • I have explained any part of my code/implementation decisions that is not be self-explanatory

Please provide a brief description of your ticket

We need to add more metadata fields to Resources

Description

those should be part of the Resource class so they are applicable to all.
There will be more, but we’ll start with:
Date Published - this should probably be an ISO date as it can be anything from year, to month year, to day month year. Or unknown, in which case we’ll just set it to null.
The following three fields will be a controlled list, but the available options would come from the csv import. So I think we want to have another module for each of these and then create objects as rows are imported.
Document Type
Document Author Institution
Institution Type
We’ll have some more metadata fields but I’m waiting to hear back on what exactly those are and how they look like.
We also want to add the metadata to the MCP server but here I think we want to add them as json to make the MCP agnostic to the types of documents stored.

HOP-63

Anything else the reviewer needs to know?

Does this Pull request depend on any other?

Girik1105 added 2 commits May 11, 2026 16:32
…dge cases, incorported metadata field in resources abstract model and added it in website and pdf resources
@diging-jenkins
Copy link
Copy Markdown

Can one of the admins verify this patch?

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.

2 participants