Upgrade sonar plugin
[vid.git] / vid-app-common / src / main / java / org / openecomp / vid / controller / MsoConfig.java
1 package org.openecomp.vid.controller;
2
3 import com.fasterxml.jackson.databind.ObjectMapper;
4 import org.openecomp.vid.factories.MsoRequestFactory;
5 import org.springframework.context.annotation.Bean;
6 import org.springframework.context.annotation.Configuration;
7
8
9 @Configuration
10 public class MsoConfig {
11
12     /**
13      * Gets the object mapper.
14      *
15      * @return the object mapper
16      */
17     @Bean
18     public ObjectMapper getObjectMapper() {
19         return new ObjectMapper();
20     }
21
22     @Bean
23     public MsoRequestFactory createRequestDetailsFactory(){
24         return new MsoRequestFactory();
25     }
26
27
28
29 }