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

Update repository configuration REST API does not allow to update or add the vcsType and vcsGitProvider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.7.0, 6.7.1
    • Fix Version/s: 6.13.0
    • Component/s: None
    • Labels:

      Description

      When try to updating or adding vcsType and vcsGitProvider for the already created remote repository (of any package type). It gives out Bad request .

      "errors" : [

      {  "status" : 400,  "message" : "null\n"  }

      curl -uadmin:password -XPOST http://ARTIFACTORY/artifactory/api/repositories/remote-testgorepo -H "Content-Type: application/json" -d @remote.json -vvv 

      { "rclass" : "remote",  "packageType": "go",  "url" : "https://github.com/",  "repoLayoutRef" : "maven-2-default",  "maxUniqueSnapshots": 0,  "vcsType": "GIT",  "vcsGitProvider": "GITHUB",  "externalDependenciesEnabled": false  }

       

       

        Attachments

          Activity

            People

            Assignee:
            Dudim Dudi Morad (Inactive)
            Reporter:
            balajis Balaji Satish
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: