-
Notifications
You must be signed in to change notification settings - Fork 28
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
REST APIs Endpoints for licensing. #469
Comments
What use case would a separate endpoint for licensing accomplish? For vulnerabilities we created the endpoints because we maintain a table separate from the metadata fields, which maps vulnerabilities to purls even if package-versions have not been ingested. I don't see need for licenses at the moment. Why not stick with inserting into just the metadata fields? |
Well, to perform license compliance verification (which is done through another service, called LCV) we need to get the data from the metadata field and parse them. |
Could you not just do |
That is what I am currently doing. Are the APIs still down? I am mocking many things while writing the PyPI plugin code. |
The mvn api is down, pypi and Debian are up. |
The Java REST API is down. I am still investigating the issue to solve it. |
Sorry guys (@MagielBruntink @mir-am @gdrosos ), I thought we should provide a 500 error for missing information. Here there are several calls that return
All of them provide 404 and the message is: EDIT: sorry I just saw here that 404 is for missing packages. |
Hi @mir-am , @MagielBruntink and @gdrosos ,
I tried to unify as much as I could in the metadata augmented field with license information, in order to simplify the job of having licensing endpoints for each ecosystem (Maven, PyPI, and Debian).
This is the current status:
package_versions
table:files
table (with the updated version, which still has not been re-deployed on Monster):files
table (not updated version, and currently on Monster):package_versions
table:files
table:package_versions
table:files
table:The text was updated successfully, but these errors were encountered: