Hi. I am an Artifactory Pro user. I am attempting to update a virtual repository by adding a local repository to it. The virtual repository exists
$ curl -n https://host/artifactory/api/repositories/per-feature-branch { "key" : "per-feature-branch", "packageType" : "maven", "description" : "Stashkins-managed Per-Branch Repository", "notes" : "", "includesPattern" : "**/*", "excludesPattern" : "", "repoLayoutRef" : "maven-2-default", "enableNuGetSupport" : false, "enableGemsSupport" : false, "enableNpmSupport" : false, "enableBowerSupport" : false, "enableCocoaPodsSupport" : false, "enableDebianSupport" : false, "debianTrivialLayout" : false, "enablePypiSupport" : false, "enableDockerSupport" : false, "dockerApiVersion" : "V1", "forceDockerAuthentication" : false, "forceNugetAuthentication" : false, "enableVagrantSupport" : false, "enableGitLfsSupport" : false, "repositories" : [ "mark-repo1" ], "artifactoryRequestsCanRetrieveRemoteArtifacts" : false, "keyPair" : "", "pomRepositoryReferencesCleanupPolicy" : "discard_active_reference", "externalDependenciesEnabled" : false, "rclass" : "virtual" } However I cannot POST updates to the repository: $ curl -i -n -X POST -T add.json -H"Content-Type: application/vnd.org.jfrog.artifactory.repositories.VirtualRepositoryConfiguration+json" https://host/artifactory/api/repositories/per-feature-branch HTTP/1.1 100 Continue HTTP/1.1 404 Not Found Server: nginx/1.8.1 Date: Sat, 30 Apr 2016 15:11:05 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive X-Artifactory-Id: 49381930ed88b504:44f27ed7:1533f2ac621:-8000 { "errors" : [ { "status" : 404, "message" : "No repository per-feature-branch was found." } ] } where add.json is { "key": "per-feature-branch", "rclass": "virtual", "repositories": [ "mark-repo1", "mark-repo2" ], "packageType": "maven", "repoLayoutRef": "maven-2-default" } I suspect that the 404 is a red herring for another backend error, but I am not certain. The user doing the POST has admin rights on Artifactory. Would someone be kind enough to read and suggest what I am doing wrong. Thank you. -- Mark ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
