Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.24.0
-
Fix Version/s: None
-
Component/s: Repository, REST
Description
Nexus Repository Manager 3 Rest API returns attribute storage.writePolicy set to ALLOW for proxy repositories of format apt and docker.
API model does not show the attribute at all.
For all other proxy repositories the attribute is not returned at all.
$ curl -X GET "http://127.0.0.1:8081/service/rest/beta/repositories" -H "accept: application/json" { "name": "docker-proxy", "url": "http://127.0.0.1:8081/repository/docker-proxy", "online": true, "storage": { "blobStoreName": "default", "strictContentTypeValidation": true, "writePolicy": "ALLOW" }, "format": "docker", "type": "proxy" ... { "name": "apt-proxy", "url": "http://127.0.0.1:8081/repository/apt-proxy", "online": true, "storage": { "blobStoreName": "default", "strictContentTypeValidation": true, "writePolicy": "ALLOW" }, "format": "docker", "type": "proxy" ... { "name": "helm-proxy", "format": "helm", "url": "http://127.0.0.1:8081/repository/helm-proxy", "online": true, "storage": { "blobStoreName": "default", "strictContentTypeValidation": true },
Expectation:
- storage.writePolicy is not returned for proxy repositores of format apt and docker
Tested with docker container image sonatype/nexus3:3.24.0