Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-17016

Creating repository with illegal name using REST API

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Leap 35

      Description

      Artifactory create a repository with an illegal name if it was done by rest api, here is an example for the cURL command:

      $ curl -uadmin:password -XPUT -H"content-type: application/json" "http://localhost:8081/artifactory/api/repositories/1" -d'{"rclass" : "virtual","packageType": "generic"}'

       

      The output:

      Successfully created repository '1'

       

      The configdescriptor.xml file:

      <virtualRepositories>
      <virtualRepository>
      <key>1</key>
      <type>generic</type>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                barh Bar Haim
                Reporter:
                Mohamadm Mohamad Masarwa (Inactive)
                Assigned QA:
                Andrey Tashlitsky
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: