-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rti perform #288
base: main
Are you sure you want to change the base?
Rti perform #288
Conversation
RTI performance
@@ -98,7 +105,7 @@ private LocalUidGeneratorDto fetchLocalId(LocalIdClass localIdClass) throws RtiC | |||
newLocalId.setUidPrefixCd(localId.getUidPrefixCd()); | |||
newLocalId.setTypeCd(localId.getTypeCd()); | |||
newLocalId.setClassNameCd(localId.getClassNameCd()); | |||
newLocalId.setSeedValueNbr(seed + LocalUidCacheModel.SEED_COUNTER + 1); | |||
newLocalId.setSeedValueNbr(seed + LocalUidCacheModel.SEED_COUNTER + 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was some discussion during the demo meeting about switching from the 1000 ID cache to a 1 at a time retrieval.
I do not have all the information on what is planned but thought sharing how Ids are fetched for patient creation might be useful.
Id generator for Modernization-api
The referenced code will:
- query to get the current seed value for the specified entity type
- increment the local_UID_generator seed value by 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, Anil told me about that
Notes
Please include a summary of the change and which issue is fixed or which feature is added.
JIRA
Checklist
Types of changes
What types of changes does this PR introduces?
Testing
gradle build
pass in your local?gradle build
logs attached?