Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-26931

Add UI validation to ensure container name is all lower case alpha numeric

Details

    Description

      When using the Azure Blob Store with a new Storage Account, NXRM first checks to see if the specified container exists in the Storage Account, and if not, NXRM will attempt to create it. 

      Azure has a naming rule that all container names must be a valid DNS name. See https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata

      Currently, if a user enters a name in the NXRM UI that does not conforms to the container naming rules, an error is returned from Azure and the creation of the container will fail.

      Acceptance Criteria

      1. Add validation to ensure a container name conforms to the rules of Azure before it is submitted to Azure for container creation
      2. Apply the same validation to the REST endpoint

      Attachments

        Activity

          People

            ataylor Andrew Taylor [X] (Inactive)
            klau Kam-Wai Lau [X] (Inactive)
            Alexandre Santos Alexandre Santos
            NXRM - Neo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              tigCommentSecurity.panel-title