-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvd-clojure breaks when setting a custom url for the datafeed key in config. #182
Comments
@rm-hull In version 12 the Downloader class needs to have its singleton initialized once before the various uses. In Java that would come down to Downloader.getInstance().configure(settings); |
I have a fork that configures the Downloader to allow datafeeds to work if you would like to use that: @vemv I'm happy to provide a PR with those changes if you like. I'm also happy to help maintain this project if it would be helpful to have a second pair of hands. |
Thanks, yes, I don't have the capacity to maintain the project atm. PRs that keep the build green and don't fundamentally change how things work are most welcome! |
This Downloader instance is used when a datafeed[1] URL is provided, but will throw an NPE if it isn't configured[2]. [1]: https://github.com/rm-hull/nvd-clojure?tab=readme-ov-file#configuration-options [2]: rm-hull#182
This Downloader instance is used when a datafeed[1] URL is provided, but will throw an NPE if it isn't configured[2]. [1]: https://github.com/rm-hull/nvd-clojure?tab=readme-ov-file#configuration-options [2]: rm-hull#182
Description
nvd-clojure breaks when setting a custom url for the datafeed key in config. (for using an alternative mirror to NVD)
This key functions when running dependencycheck.sh --nvdDatafeed="https://dependency-check.github.io/DependencyCheck_Builder/nvd_cache"
So, im assuming theres an issue on the nvd-clojure side.
config:
"nvd-api": {"datafeed": {"url": "https://dependency-check.github.io/DependencyCheck_Builder/nvd_cache" }}
gives this output:
Version
4.0.0
Java version
java version "21.0.6" 2025-01-21 LTS
Installation compliance
The text was updated successfully, but these errors were encountered: