forked from checkmarx-ltd/cx-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure DevOps : Support for Config-as-code and Auto Profiling. (checkm…
…arx-ltd#394) * Added support for config as code in ADO. * Added support for Auto Profiling within ADO.
- Loading branch information
Mithilesh Pawar
authored
Aug 20, 2020
1 parent
202ff6a
commit 296742b
Showing
9 changed files
with
416 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package com.checkmarx.flow.dto.azure; | ||
|
||
import java.util.List; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
|
||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonPropertyOrder({ | ||
"count", | ||
"value" | ||
}) | ||
public class Content { | ||
|
||
@JsonProperty("count") | ||
private Integer count; | ||
@JsonProperty("value") | ||
private List<Value> value = null; | ||
|
||
@JsonProperty("count") | ||
public Integer getCount() { | ||
return count; | ||
} | ||
|
||
@JsonProperty("count") | ||
public void setCount(Integer count) { | ||
this.count = count; | ||
} | ||
|
||
@JsonProperty("value") | ||
public List<Value> getValue() { | ||
return value; | ||
} | ||
|
||
@JsonProperty("value") | ||
public void setValue(List<Value> value) { | ||
this.value = value; | ||
} | ||
|
||
} |
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.checkmarx.flow.dto.azure; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
|
||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonPropertyOrder({ | ||
"objectId", | ||
"gitObjectType", | ||
"commitId", | ||
"path", | ||
"isFolder", | ||
"url" | ||
}) | ||
public class Value { | ||
|
||
@JsonProperty("objectId") | ||
private String objectId; | ||
@JsonProperty("gitObjectType") | ||
private String gitObjectType; | ||
@JsonProperty("commitId") | ||
private String commitId; | ||
@JsonProperty("path") | ||
private String path; | ||
@JsonProperty("isFolder") | ||
private boolean isFolder; | ||
@JsonProperty("url") | ||
private String url; | ||
|
||
@JsonProperty("objectId") | ||
public String getObjectId() { | ||
return objectId; | ||
} | ||
|
||
@JsonProperty("objectId") | ||
public void setObjectId(String objectId) { | ||
this.objectId = objectId; | ||
} | ||
|
||
@JsonProperty("gitObjectType") | ||
public String getGitObjectType() { | ||
return gitObjectType; | ||
} | ||
|
||
@JsonProperty("gitObjectType") | ||
public void setGitObjectType(String gitObjectType) { | ||
this.gitObjectType = gitObjectType; | ||
} | ||
|
||
@JsonProperty("commitId") | ||
public String getCommitId() { | ||
return commitId; | ||
} | ||
|
||
@JsonProperty("commitId") | ||
public void setCommitId(String commitId) { | ||
this.commitId = commitId; | ||
} | ||
|
||
@JsonProperty("path") | ||
public String getPath() { | ||
return path; | ||
} | ||
|
||
@JsonProperty("path") | ||
public void setPath(String path) { | ||
this.path = path; | ||
} | ||
|
||
@JsonProperty("isFolder") | ||
public boolean getIsFolder() { | ||
return isFolder; | ||
} | ||
|
||
@JsonProperty("isFolder") | ||
public void setIsFolder(boolean isFolder) { | ||
this.isFolder = isFolder; | ||
} | ||
|
||
@JsonProperty("url") | ||
public String getUrl() { | ||
return url; | ||
} | ||
|
||
@JsonProperty("url") | ||
public void setUrl(String url) { | ||
this.url = url; | ||
} | ||
|
||
} |
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
Oops, something went wrong.