Class OssIndexClientProvider
java.lang.Object
org.owasp.dependencycheck.data.ossindex.OssIndexClientProvider
Produces
OssindexClient instances.- Since:
- 5.0.0
- Author:
- Jason Dillon
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault base URL for Sonatype OSS Index after its migration to part of Sonatype Guide.static final intDefault number of hours to cache entries from OSS Index when the cache is enabled. -
Method Summary
-
Field Details
-
DEFAULT_BASE_URL
Default base URL for Sonatype OSS Index after its migration to part of Sonatype Guide. This overrides the default fromOssindexClientConfiguration.DEFAULT_BASE_URLwhich is now outdated.- See Also:
-
DEFAULT_CACHE_VALID_FOR_HOURS
public static final int DEFAULT_CACHE_VALID_FOR_HOURSDefault number of hours to cache entries from OSS Index when the cache is enabled.- See Also:
-
-
Method Details
-
create
Constructs a new OSS Index Client.- Parameters:
settings- the configured settings- Returns:
- a new OSS Index Client
-