summaryrefslogtreecommitdiffstats
path: root/adapters/mso-ve-vnfm-adapter/src
diff options
context:
space:
mode:
authorPiotr Borelowski <p.borelowski@partner.samsung.com>2020-01-21 09:23:23 +0100
committerPiotr Borelowski <p.borelowski@partner.samsung.com>2020-01-21 16:43:02 +0100
commit17413ddf83ba8a51e978b368313cd366d57b1e48 (patch)
treebc473ec23f929628fcd65e280031e4262d61c3bc /adapters/mso-ve-vnfm-adapter/src
parent522893397d8b07126ab66cbe11a84c798f11643f (diff)
Ve-Vnfm (SOL002) Adapter fix
Changed the <parent> in pom.xml to use org.onap.so:adapters Issue-ID: SO-2574 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: Ia049de7a757126df1fba8cc3adc1913ef2b927fd
Diffstat (limited to 'adapters/mso-ve-vnfm-adapter/src')
-rw-r--r--adapters/mso-ve-vnfm-adapter/src/main/java/org/onap/so/adapters/vevnfm/Application.java1
-rw-r--r--adapters/mso-ve-vnfm-adapter/src/test/java/org/onap/so/adapters/vevnfm/controller/NotificationControllerTest.java4
2 files changed, 2 insertions, 3 deletions
diff --git a/adapters/mso-ve-vnfm-adapter/src/main/java/org/onap/so/adapters/vevnfm/Application.java b/adapters/mso-ve-vnfm-adapter/src/main/java/org/onap/so/adapters/vevnfm/Application.java
index 0e62a372b3..c4ca5f1fe1 100644
--- a/adapters/mso-ve-vnfm-adapter/src/main/java/org/onap/so/adapters/vevnfm/Application.java
+++ b/adapters/mso-ve-vnfm-adapter/src/main/java/org/onap/so/adapters/vevnfm/Application.java
@@ -25,6 +25,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
+
public static void main(String... args) {
SpringApplication.run(Application.class, args);
}
diff --git a/adapters/mso-ve-vnfm-adapter/src/test/java/org/onap/so/adapters/vevnfm/controller/NotificationControllerTest.java b/adapters/mso-ve-vnfm-adapter/src/test/java/org/onap/so/adapters/vevnfm/controller/NotificationControllerTest.java
index d31c6f2ea5..c8d2a6bf90 100644
--- a/adapters/mso-ve-vnfm-adapter/src/test/java/org/onap/so/adapters/vevnfm/controller/NotificationControllerTest.java
+++ b/adapters/mso-ve-vnfm-adapter/src/test/java/org/onap/so/adapters/vevnfm/controller/NotificationControllerTest.java
@@ -24,7 +24,6 @@ import org.junit.Test;
import org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model.VnfLcmOperationOccurrenceNotification;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
-
import static org.junit.Assert.assertEquals;
public class NotificationControllerTest {
@@ -33,8 +32,7 @@ public class NotificationControllerTest {
@Test
public void testReceiveNotification() {
- final VnfLcmOperationOccurrenceNotification notification
- = new VnfLcmOperationOccurrenceNotification();
+ final VnfLcmOperationOccurrenceNotification notification = new VnfLcmOperationOccurrenceNotification();
final ResponseEntity response = controller.receiveNotification(notification);
assertEquals(HttpStatus.OK, response.getStatusCode());
}