Skip to content

Conversation

@doulikecookiedough
Copy link
Contributor

@doulikecookiedough doulikecookiedough commented Jan 30, 2025

Summary of Changes:

  • Refactored the submitReportRequest method in 'RequestReportJob' class to first try and access an EML metadata document through HashStore before trying the MN/CN API
  • Imported the hashstore-java library, which is used to retrieve a hashstore that is instantiated through store. properties found in a metadig.properties file.
  • Added junit tests for newly added supporting methods in submitReportRequest
  • Refactored existing junit tests from Junit4 syntax to Junit5 syntax.

…est' method for 'RequestReportJob' when NotAuthorized exception is thrown
…quest' for retrieving sysmeta and eml metadata doc streams
…shstore properties through a config file instead of hardcoding
…ata/repos' to metadig-scheduler 'values.yaml'
…igProps' to improve clarity and revise javadoc
…is available, before using the appropriate methods to retrieve system metadata
… and fix existing junit tests affected when renaming methods
…nd 'getHashStoreFromMetadigProps', and fix junit tests
…e in try-catch block, and add logging statements to 'getStorePropsFromMetadigProps'
… 'storeConfig' contains keys required to create a hashstore before attempting to
Copy link
Collaborator

@jeanetteclark jeanetteclark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good - just some pretty minor comments.

…and respective section in 'submitReportRequest' to catch and handle these exceptions
…instead of a return value and update junit tests
…xceptions and log them before bubbling them up to be caught, and update junit tests
…uired keys rather than hardcoding into properties, and add new junit test
… to load 'metadig.properties' file from 'helm/metadig-controller' instead
@jeanetteclark jeanetteclark merged commit 36c49cd into feature-hashstore-support Feb 5, 2025
2 checks passed
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.

3 participants