Last updated
Was this helpful?
Last updated
Was this helpful?
This page provides the steps to integrate with the IDGen Service. Each application needs to have a unique ID. The generates these unique IDs. ID format can be customised via configuration in MDMS.
Add the ID format that needs to be generated in this file - . The following config has been added for this module:
Restart the IDGen service and MDMS service and port-forward IDGen service to port 8285:
Hit the below curl to verify that the format is added properly. The "ID" name needs to match exactly with what was added in MDMS.
Once verified, we can call the ID generation service from within our application and generate the registrationId. \
In the BirthApplicationEnrichment class, update the enrichBirthApplication method as shown below:
Make sure below ID generation host configuration is present in the application.properties file. Make sure to fill in the correct values for the host.
Describes how to integrate with DIGIT's ID Gen service