diff options
author | 2019-03-06 10:35:19 +0100 | |
---|---|---|
committer | 2019-03-06 10:35:19 +0100 | |
commit | 5a34918434e232ea1bdea2c757b566caa94eb6fe (patch) | |
tree | 3b109fcb5cd39dda2161adfc2a167b00b678b72f | |
parent | 1fd180123cc487e1f575c1351536b74e44422380 (diff) |
add plugin and dummy tests
Change-Id: I37bf5ee0c0750b29c6deedf7ae77b6b7dc0f23bc
Issue-ID: DCAEGEN2-1315
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
-rw-r--r-- | pom.xml | 14 | ||||
-rw-r--r-- | rest-services/common-dependency/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/adapters/http/CloudHttpClientIT.java | 43 |
2 files changed, 57 insertions, 0 deletions
@@ -38,6 +38,7 @@ <mockito.version>2.23.4</mockito.version> <protobuf.version>3.6.1</protobuf.version> <protoc-jar-maven-plugin.version>3.6.0.2</protoc-jar-maven-plugin.version> + <maven-failsafe-plugin.version>2.22.1</maven-failsafe-plugin.version> </properties> <modules> @@ -119,6 +120,19 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + <version>${maven-failsafe-plugin.version}</version> + <executions> + <execution> + <goals> + <goal>integration-test</goal> + <goal>verify</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> <reporting> diff --git a/rest-services/common-dependency/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/adapters/http/CloudHttpClientIT.java b/rest-services/common-dependency/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/adapters/http/CloudHttpClientIT.java new file mode 100644 index 00000000..2553b9be --- /dev/null +++ b/rest-services/common-dependency/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/adapters/http/CloudHttpClientIT.java @@ -0,0 +1,43 @@ +/* + * ============LICENSE_START======================================================= + * DCAEGEN2-SERVICES-SDK + * ================================================================================ + * Copyright (C) 2018 NOKIA Intellectual Property. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +package org.onap.dcaegen2.services.sdk.rest.services.adapters.http; + +import static org.junit.jupiter.api.Assertions.*; + +import org.junit.jupiter.api.Test; + +class CloudHttpClientIT { + + @Test + public void post() { + assertTrue(true); + } + + @Test + public void get() { + assertTrue(true); + } + + @Test + public void patch() { + assertTrue(true); + } +}
\ No newline at end of file |