-
Notifications
You must be signed in to change notification settings - Fork 15
Add new Xray graph scan API support #21
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
Conversation
yahavi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like ImpactPathImpl class is missing. Can you please add it?
src/main/java/com/jfrog/xray/client/impl/services/graph/GraphImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/GraphImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/GraphImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/GraphImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/ViolationImpl.java
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/VulnerabilityImpl.java
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/VulnerabilityImpl.java
Show resolved
Hide resolved
yahavi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please looks at my inline comments.
Also, I saw some lines with compiler warnings, such as "Private field 'name' is never assigned" and "Private field 'licenseName' is never assigned". I'd add a suppression above this field, or a above the class declaration.
One last thing - I think that GraphImpl class requires a test.
src/main/java/com/jfrog/xray/client/impl/services/graph/ComponentImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/GraphImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/GraphImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/ImpactPathImpl.java
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/services/graph/License.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/LicenseImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/ViolationImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/VulnerabilityImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/VulnerabilityImpl.java
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/ComponentImpl.java
Outdated
Show resolved
Hide resolved
|
One more thing - I noticed in some cases |
Co-authored-by: Yahav Itzhak <yahavi@users.noreply.github.com>
src/main/java/com/jfrog/xray/client/impl/services/graph/ComponentImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/GraphImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jfrog/xray/client/impl/services/graph/GraphResponseImpl.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Yahav Itzhak <yahavi@users.noreply.github.com>
No description provided.