From efedea1c5d80532f5b1180d57c8dafce5dcb302a Mon Sep 17 00:00:00 2001 From: Ofir Sonsino Date: Tue, 20 Feb 2018 18:03:30 +0200 Subject: org.onap migration Change-Id: I5e2d01a6da21d4003c910b5fe0702b35c2089a77 Issue-ID: VID-86 Signed-off-by: Ofir Sonsino --- .../java/org/onap/vid/controller/MsoConfig.java | 42 ---------------------- 1 file changed, 42 deletions(-) delete mode 100644 vid-app-common/src/main/java/org/onap/vid/controller/MsoConfig.java (limited to 'vid-app-common/src/main/java/org/onap/vid/controller/MsoConfig.java') diff --git a/vid-app-common/src/main/java/org/onap/vid/controller/MsoConfig.java b/vid-app-common/src/main/java/org/onap/vid/controller/MsoConfig.java deleted file mode 100644 index 2aa52b85..00000000 --- a/vid-app-common/src/main/java/org/onap/vid/controller/MsoConfig.java +++ /dev/null @@ -1,42 +0,0 @@ -package org.onap.vid.controller; - -import com.fasterxml.jackson.databind.ObjectMapper; -import org.onap.vid.factories.MsoRequestFactory; -import org.onap.vid.mso.MsoBusinessLogic; -import org.onap.vid.mso.MsoBusinessLogicImpl; -import org.onap.vid.mso.MsoInterface; -import org.onap.vid.mso.rest.MsoRestClientNew; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - - -@Configuration -public class MsoConfig { - - /** - * Gets the object mapper. - * - * @return the object mapper - */ - @Bean - public ObjectMapper getObjectMapper() { - return new ObjectMapper(); - } - - @Bean - public MsoRequestFactory createRequestDetailsFactory(){ - return new MsoRequestFactory(); - } - - @Bean - public MsoInterface getMsoClient(){ - return new MsoRestClientNew(); - } - - @Bean - public MsoBusinessLogic getMsoBusinessLogic(){ - return new MsoBusinessLogicImpl(getMsoClient()); - } - - -} -- cgit 1.2.3-korg