use of com.checkmarx.flow.dto.ScanRequest in project cx-flow by checkmarx-ltd.
the class GitHubServiceTest method getCxConfig.
@IfProfileValue(name = "testprofile", value = "integration")
@Test
public void getCxConfig() {
ScanRequest request = ScanRequest.builder().namespace("Custodela").repoName("Riches").branch("master").build();
CxConfig cxConfig = service.getCxConfigOverride(request);
assertNotNull(cxConfig);
}
use of com.checkmarx.flow.dto.ScanRequest in project cx-flow by checkmarx-ltd.
the class GitHubServiceTest method getRepoContent.
@IfProfileValue(name = "testprofile", value = "integration")
@Test
public void getRepoContent() {
ScanRequest request = ScanRequest.builder().namespace("Custodela").repoName("Riches").branch("master").build();
Sources sources = service.getRepoContent(request);
assertNotNull(sources);
}
use of com.checkmarx.flow.dto.ScanRequest in project cx-flow by checkmarx-ltd.
the class GitLabServiceTest method getCxConfig.
@IfProfileValue(name = "testprofile", value = "integration")
@Test
public void getCxConfig() {
ScanRequest request = ScanRequest.builder().namespace("custodela-test").repoName("WebGoat").branch("develop").build();
request.setRepoProjectId(11842418);
CxConfig cxConfig = service.getCxConfigOverride(request);
assertNotNull(cxConfig);
}
Aggregations