Submitted Date

 

Approved Date

 

StatusACCEPTED
ImpactLOW

RFC - n/a

Other Related Resources

Contributors

Approvers

Background/Context

See https://wiki.folio.org/display/DD/Tenant+Id+and+Module+Name+Restrictions

Assumptions

See https://wiki.folio.org/display/DD/Tenant+Id+and+Module+Name+Restrictions

Constraints

See https://wiki.folio.org/display/DD/Tenant+Id+and+Module+Name+Restrictions

Decision

Limit tenant id to 31 bytes. Disallow underscore in tenant id. Regexp: [a-z][a-z0-9]{0,30}

Restrictions for back-end module names:

  • Module name can contain only lowercase letters, digits and minus. Start with a letter. Disallow minus followed by a digit or a minus.
  • Limit module name to 31 bytes. Disallow uppercase letters. Disallow underscore.
  • Regexp: [a-z]([a-z0-9]|-(?=[a-z])){0,30}
  • Disallow these module names: catalog, date, role, time, timestamp, user

Implications

1 Comment

  1. What is the purpose of having a separate design and ADR document?

    I suggest the design document and the ADR be consolidated into a single document rather than two separate documents.