Removing blueprints-processor
[ccsdk/features.git] / blueprints-processor / adaptors / rest-adaptor-provider / src / test / java / org / onap / ccsdk / features / rest / adaptor / service / AbstractConfigRestClientAdapterTest.java
diff --git a/blueprints-processor/adaptors/rest-adaptor-provider/src/test/java/org/onap/ccsdk/features/rest/adaptor/service/AbstractConfigRestClientAdapterTest.java b/blueprints-processor/adaptors/rest-adaptor-provider/src/test/java/org/onap/ccsdk/features/rest/adaptor/service/AbstractConfigRestClientAdapterTest.java
deleted file mode 100644 (file)
index b6891a0..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/*\r
- * Copyright © 2017-2018 AT&T Intellectual Property.\r
- * Modifications Copyright © 2018 IBM.\r
- * \r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- * \r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- * \r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- */\r
-\r
-package org.onap.ccsdk.features.rest.adaptor.service;\r
-\r
-import java.io.FileInputStream;\r
-import java.util.HashMap;\r
-import java.util.Map;\r
-import java.util.Properties;\r
-import java.util.stream.Collectors;\r
-import org.junit.Assert;\r
-import org.junit.Before;\r
-import org.junit.Test;\r
-\r
-public class AbstractConfigRestClientAdapterTest {\r
-\r
-    Map<String, String> properties = new HashMap<>();\r
-\r
-    @Before\r
-    public void setup() throws Exception {\r
-        String propertyfile = "src/test/resources/blueprints-processor-adaptor.properties";\r
-\r
-        Properties restProperties = new Properties();\r
-        restProperties.load(new FileInputStream(propertyfile));\r
-\r
-        properties.putAll(restProperties.entrySet().stream()\r
-                .collect(Collectors.toMap(e -> e.getKey().toString(), e -> e.getValue().toString())));\r
-    }\r
-\r
-    @Test\r
-    public void testInitGenericRestClient() throws Exception {\r
-        ConfigRestClientServiceAdapter genericRestClient = new GenericRestClientAdapterImpl(properties, "modelservice");\r
-        Assert.assertNotNull(genericRestClient);\r
-    }\r
-\r
-    @Test\r
-    public void testInitSSLClient() throws Exception {\r
-        ConfigRestClientServiceAdapter sslClient = new SSLRestClientAdapterImpl(properties, "aai");\r
-        Assert.assertNotNull(sslClient);\r
-    }\r
-\r
-}\r