Open githengi opened 4 years ago
We need a field maybe named _regex_format_ whose value is optional. This will be used to define the pattern of numbers that can be generated by the particular source.
The regex is a string type of format *"^[A-Za-z0-9_-]$"** which represents a string with all letters and numbers as an example
I think we can change the blacklisted field above to be this instead as it will not only be used for black listing but rather for defining the unique identifier sequences that are allowed (and as a consequence preventing/blacklisting those that are not allowed)
[ ] Create a domain object for Identifier Sources
[ ] The domain should have the below attributes
Mandatory Fields
[ ] Create database script on the configs repository. The table should be in the core schema. Name of the table should be
identifier_source
[ ] Create Mybatis Domains, mappers and examples
[ ] Implement the repository
[ ] Implement the service