Skip to content

Conversation

@tadgh
Copy link
Collaborator

@tadgh tadgh commented Oct 10, 2025

  • Remove expanders holders class
  • Collapse multiple link expansion interfaces and classes
  • Stop building multiple versions of expansion beans.
  • only load MDM expansion services when MDM is enabled
  • Tidy up test context usage by pushing MDM stuff down into BaseMdmR4Test

@tadgh tadgh requested review from AD1306 and fil512 as code owners October 10, 2025 16:14
@robogary
Copy link
Contributor

robogary commented Oct 10, 2025

Formatting check succeeded!

IHapiTransactionService theHapiTransactionService,
ISearchParamRegistry theSearchParamRegistry,
MdmExpandersHolder theMdmExpandersHolder) {
Optional<IMdmLinkExpandSvc> theMdmLinkExpandSvc) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

}

private String submitBulkExportForTypesWithExportId(String theExportId, String... theTypes) throws IOException {
String typeString = String.join(",", theTypes);
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need to sanitize theTypes?

Set<String> expandMdmByGoldenResourceId(RequestPartitionId theRequestPartitionId, IIdType theId);

/**
* For the Group resource with the given id, returns all the persistent id ofs
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
* For the Group resource with the given id, returns all the persistent id ofs
* For the Group resource with the given id, returns all the persistent ids of

Set<JpaPid> expandGroup(String groupResourceId, RequestPartitionId requestPartitionId);

/**
* annotates the given resource to be exported with the implementation specific extra information if applicable
Copy link
Collaborator

Choose a reason for hiding this comment

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

what does annotate mean?

*/
default boolean supportsEidBasedExpansion() {
return getMode().equals(MdmModeEnum.MATCH_ONLY)
&& !getMdmRules().getEnterpriseEIDSystems().isEmpty();
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we want to check entries are not blank as well?

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.

4 participants