dependency-track/src/test/resources/unit/tasks/repositories/https---localhost-nuget-artifactory.registration-semver2.mds.index.json
colinfyfe a522553690 NuGet Analyzer Improvements
* Fixes Artifactory compatibility including outdated component detection
* Drops the PackageBaseAddress / flat-container approach to version
  number retrieval. The old approach was simpler and faster but
  Artifactory didn't support it and it doesn't exclude unlisted versions
* Can specify a "fully qualified" repository URL including "index.json"
  to support Artifactory and Nexus URLs (#5040)
* Suppresses pre-release versions (#1711) unless no stable release
  versions exist in accordance with #5075 behaviour
* Suppresses unlisted versions to avoid recommending versions which may
  have been resolved due to critical bugs
* Caches the RegistrationsBaseUrl for up to 15 minutes to remove the
  lookup overhead when performing bulk version checking
* Replaces SUPPORTED_DATE_FORMATS with thread-safe DateTimeFormatter
* Expanded test coverage, removed old flat-container based tests
* Removed printStackTrace call from AbstractMetaAnalyzer - throwable is
  passed to logger.error call

Signed-off-by: colinfyfe <colinfyfe@protonmail.com>
2025-09-22 22:30:54 +01:00

18 lines
No EOL
630 B
JSON

{
"count": 2,
"items": [
{
"count": 64,
"lower": "1.0.19123.2-Preview",
"upper": "5.1.0",
"@id": "http://localhost:1080/artifactory/api/nuget/v3/nuget-repo/registration-semver2/microsoft.data.sqlclient/page/1.0.19123.2-preview/5.1.0.json"
},
{
"count": 25,
"lower": "5.1.1",
"upper": "6.1.0",
"@id": "http://localhost:1080/artifactory/api/nuget/v3/nuget-repo/registration-semver2/microsoft.data.sqlclient/page/5.1.1/6.1.0.json"
}
],
"@id": "http://localhost:1080/artifactory/api/nuget/v3/nuget-repo/registration-semver2/microsoft.data.sqlclient/index.json"
}