Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.12.1, 3.14.0
-
Fix Version/s: 3.15.0
-
Labels:
Description
Reproduce steps...
Bring up Nexus Repo 3.14.0, and run a Maven build against it to populate the "maven-central" proxy repository. Then try using the fallowing REST API call:
curl -X GET "http://localhost:8081/service/rest/v1/search/assets?repository=maven-central" -H "accept: application/json"
This will yield just one page of results, and the continuation token is not set:
}, { "downloadUrl" : "http://localhost:8081/repository/maven-central/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom", "path" : "org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom", "id" : "bWF2ZW4tY2VudHJhbDpiYjZjNmVmOTc5NmRhYzgzYmRlZjI5MTI2MGViMDNjYw", "repository" : "maven-central", "format" : "maven2", "checksum" : { "sha1" : "d8e08f33563f684917311978da2ff03a9d0022ab", "md5" : "138f0494c7ed1409a33902efa5b3940f" } }, { "downloadUrl" : "http://localhost:8081/repository/maven-central/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom.sha1", "path" : "org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom.sha1", "id" : "bWF2ZW4tY2VudHJhbDozZjVjYWUwMTc2MDIzM2I2NmM4MzVhNjE2NDBkMTE0Nw", "repository" : "maven-central", "format" : "maven2", "checksum" : { "sha1" : "7d16acee4bca389ef00952439d9fcf8da6010d13", "md5" : "c5eb086b616879e95e8310bb7007f8d5" } } ], "continuationToken" : null }
In my case, the page returned had 133 assets, even though there were many more than this in my maven-central proxy.
Expected: The results should include all repository assets, or up to the 10,000 default limit.