Uploaded image for project: 'folio-vertx-lib'
  1. folio-vertx-lib
  2. VERTXLIB-14

Allow _ as part of tenant id

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • 1.0.0
    • 1.0.1
    • None
    • CP: sprint 134
    • 1
    • Core: Platform
    • TBD

    Description

      Currently _ is not allowed to be part of tenant id.
      https://github.com/folio-org/folio-vertx-lib/blob/2fa365266cb77cac2429bc23e456440e80d94fdd/core/src/main/java/org/folio/tlib/util/TenantUtil.java#L11

      Apparently RMB and existing modules have allowed the use of underscore. The problem with underscore in this context is that could, under very special circumstances, be mixed with module name.

      Say we have module called "users" and another module called "mod-users" (normalized to mod_users).

      Tenant diku_mod and module users would use schema diku_mod_users.

      Tenant diku and module mod-users would use schema diku_mod_users.

      Attachments

        Issue Links

          Activity

            People

              adam Adam Dickmeiss (Inactive)
              adam Adam Dickmeiss (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: