Skip to content

Conversation

tsaputo
Copy link

@tsaputo tsaputo commented Jun 19, 2025

Introduces optional resourceType support in MdmSubmitJobParameters, allowing clients to define which FHIR resource types should be processed in MDM batch jobs.

@tsaputo tsaputo requested review from fil512, tadgh and AD1306 as code owners June 19, 2025 15:38
@robogary
Copy link
Contributor

robogary commented Jun 19, 2025

Formatting check succeeded!

@@ -361,6 +361,9 @@ public IBaseParameters submitMdmSubmitJob(
if (hasBatchSize) {
params.setBatchSize(theBatchSize.getValue().intValue());
}
if (theRequestDetails.getResourceName() != null) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggest using isNotBlank(theRequestDetails.getResourceName()) in case it's an empty string and not a null (for whatever reason)

@@ -361,6 +361,9 @@ public IBaseParameters submitMdmSubmitJob(
if (hasBatchSize) {
params.setBatchSize(theBatchSize.getValue().intValue());
}
if (theRequestDetails.getResourceName() != null) {
params.setResourceNames(List.of(theRequestDetails.getResourceName()));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Q: Do the urls not define the resourcetypes being submitted? ie, can't you have a bunch of different URLs that are per resource type (as in MdmOperationPointcutsIT.mdmSubmit_interceptor_differentPaths)

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