Search in sources :

Example 11 with TestURLBuilder

use of com.mercedesbenz.sechub.test.TestURLBuilder in project sechub by mercedes-benz.

the class TestAPI method clearSecurityLogs.

public static void clearSecurityLogs() {
    TestURLBuilder urlBuilder = IntegrationTestContext.get().getUrlBuilder();
    String url = urlBuilder.buildIntegrationTestClearSecurityLogs();
    IntegrationTestContext.get().getRestHelper(ANONYMOUS).delete(url);
}
Also used : TestURLBuilder(com.mercedesbenz.sechub.test.TestURLBuilder)

Aggregations

TestURLBuilder (com.mercedesbenz.sechub.test.TestURLBuilder)11 JsonProcessingException (com.fasterxml.jackson.core.JsonProcessingException)2 TestRestHelper (com.mercedesbenz.sechub.integrationtest.internal.TestRestHelper)2 MappingData (com.mercedesbenz.sechub.sharedkernel.mapping.MappingData)2 HttpStatusCodeException (org.springframework.web.client.HttpStatusCodeException)2 TypeReference (com.fasterxml.jackson.core.type.TypeReference)1 ObjectMapper (com.fasterxml.jackson.databind.ObjectMapper)1 ObjectReader (com.fasterxml.jackson.databind.ObjectReader)1 TestJSONHelper (com.mercedesbenz.sechub.integrationtest.internal.TestJSONHelper)1 MappingEntry (com.mercedesbenz.sechub.sharedkernel.mapping.MappingEntry)1 File (java.io.File)1 IOException (java.io.IOException)1 NoSuchAlgorithmException (java.security.NoSuchAlgorithmException)1 Map (java.util.Map)1 SortedMap (java.util.SortedMap)1 TreeMap (java.util.TreeMap)1 HttpClientErrorException (org.springframework.web.client.HttpClientErrorException)1 RestClientException (org.springframework.web.client.RestClientException)1