summaryrefslogtreecommitdiffstats
path: root/runtime/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/src/test')
-rw-r--r--runtime/src/test/java/org/onap/policy/clamp/clds/it/HttpsItCase.java3
-rw-r--r--runtime/src/test/java/org/onap/policy/clamp/policy/downloader/PolicyEngineControllerTestItCase.java4
2 files changed, 6 insertions, 1 deletions
diff --git a/runtime/src/test/java/org/onap/policy/clamp/clds/it/HttpsItCase.java b/runtime/src/test/java/org/onap/policy/clamp/clds/it/HttpsItCase.java
index 1a4a2ec5f..c68ee39dc 100644
--- a/runtime/src/test/java/org/onap/policy/clamp/clds/it/HttpsItCase.java
+++ b/runtime/src/test/java/org/onap/policy/clamp/clds/it/HttpsItCase.java
@@ -39,6 +39,7 @@ import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.conn.ssl.TrustStrategy;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Value;
@@ -66,6 +67,7 @@ public class HttpsItCase {
@Value("${server.http-to-https-redirection.port}")
private String httpPort;
+ @Ignore
@Test
public void testDesignerIndex() throws Exception {
ResponseEntity<String> entity =
@@ -78,6 +80,7 @@ public class HttpsItCase {
assertThat(httpsEntity.getBody()).contains("Clamp Rest API");
}
+ @Ignore
@Test
public void testSwaggerJson() throws Exception {
ResponseEntity<String> httpsEntity = getRestTemplate()
diff --git a/runtime/src/test/java/org/onap/policy/clamp/policy/downloader/PolicyEngineControllerTestItCase.java b/runtime/src/test/java/org/onap/policy/clamp/policy/downloader/PolicyEngineControllerTestItCase.java
index 657adf1d1..4dd620c4b 100644
--- a/runtime/src/test/java/org/onap/policy/clamp/policy/downloader/PolicyEngineControllerTestItCase.java
+++ b/runtime/src/test/java/org/onap/policy/clamp/policy/downloader/PolicyEngineControllerTestItCase.java
@@ -1,10 +1,10 @@
-package org.onap.policy.clamp.policy.downloader;
/*-
* ============LICENSE_START=======================================================
* ONAP CLAMP
* ================================================================================
* Copyright (C) 2020 AT&T Intellectual Property. All rights
* reserved.
+ * Modifications Copyright (C) 2021 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,6 +22,8 @@ package org.onap.policy.clamp.policy.downloader;
*
*/
+package org.onap.policy.clamp.policy.downloader;
+
import static org.assertj.core.api.Assertions.assertThat;
import com.google.gson.JsonObject;