forked from cxai/Cx-Client-Common
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cli2024 q3 integration branch (#262)
* SAST9.7 Warning message and PLUG1906 * Code changes related to Plug1931 and SCA related issue * Removed unwanted logs * Set Default Timeout * Plug 1906 Final Changes * Update CxHttpClient.java * Changed warning log for copybranchtimeoutinseconds * removed OSA chnages * updated report.ftl * updated OSA code * updated log message --------- Co-authored-by: susmitagorai29 <[email protected]> Co-authored-by: ThokalSameer <[email protected]> Co-authored-by: susmitagorai29 <[email protected]>
- Loading branch information
1 parent
fd11048
commit d52ba76
Showing
15 changed files
with
221 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,6 @@ public enum Severity { | |
LOW, | ||
MEDIUM, | ||
HIGH, | ||
CRITICAL | ||
CRITICAL, | ||
NONE | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91 changes: 91 additions & 0 deletions
91
src/main/java/com/cx/restclient/sast/dto/CreateBranchStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
package com.cx.restclient.sast.dto; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class CreateBranchStatus { | ||
|
||
private long id; | ||
private long originalProjectId; | ||
private String originalProjectName; | ||
private long branchedOnScanId; | ||
private long branchedProjectId; | ||
private String timestamp; | ||
private String comment; | ||
private Status status; | ||
private String errorMessage; | ||
public CreateBranchStatus(long id, long originalProjectId, String originalProjectName, long branchedOnScanId, | ||
long branchedProjectId, String timestamp, String comment, Status status, String errorMessage) { | ||
this.id = id; | ||
this.originalProjectId = originalProjectId; | ||
this.originalProjectName = originalProjectName; | ||
this.branchedOnScanId = branchedOnScanId; | ||
this.branchedProjectId = branchedProjectId; | ||
this.timestamp = timestamp; | ||
this.comment = comment; | ||
this.status = status; | ||
this.errorMessage = errorMessage; | ||
} | ||
|
||
public CreateBranchStatus() { | ||
} | ||
|
||
public long getId() { | ||
return id; | ||
} | ||
public void setId(long id) { | ||
this.id = id; | ||
} | ||
public long getOriginalProjectId() { | ||
return originalProjectId; | ||
} | ||
public void setOriginalProjectId(Integer originalProjectId) { | ||
this.originalProjectId = originalProjectId; | ||
} | ||
public String getOriginalProjectName() { | ||
return originalProjectName; | ||
} | ||
public void setOriginalProjectName(String originalProjectName) { | ||
this.originalProjectName = originalProjectName; | ||
} | ||
public long getBranchedOnScanId() { | ||
return branchedOnScanId; | ||
} | ||
public void setBranchedOnScanId(long branchedOnScanId) { | ||
this.branchedOnScanId = branchedOnScanId; | ||
} | ||
public long getBranchedProjectId() { | ||
return branchedProjectId; | ||
} | ||
public void setBranchedProjectId(long branchedProjectId) { | ||
this.branchedProjectId = branchedProjectId; | ||
} | ||
public String getTimestamp() { | ||
return timestamp; | ||
} | ||
public void setTimestamp(String timestamp) { | ||
this.timestamp = timestamp; | ||
} | ||
public String getComment() { | ||
return comment; | ||
} | ||
public void setComment(String comment) { | ||
this.comment = comment; | ||
} | ||
public Status getStatus() { | ||
return status; | ||
} | ||
public void setStatus(Status status) { | ||
this.status = status; | ||
} | ||
public String getErrorMessage() { | ||
return errorMessage; | ||
} | ||
public void setErrorMessage(String errorMessage) { | ||
this.errorMessage = errorMessage; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.cx.restclient.sast.dto; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class Status { | ||
|
||
private long id; | ||
private String value; | ||
|
||
public long getId() { | ||
return id; | ||
} | ||
public void setId(long id) { | ||
this.id = id; | ||
} | ||
public String getValue() { | ||
return value; | ||
} | ||
public void setValue(String value) { | ||
this.value = value; | ||
} | ||
} |
Oops, something went wrong.