Process message with Producer logic
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / BeanFactory.java
index f0826e9..e05eb95 100644 (file)
@@ -20,6 +20,7 @@
 
 package org.oransc.policyagent;
 
+import com.fasterxml.jackson.databind.ObjectMapper;
 import org.oransc.policyagent.clients.A1ClientFactory;
 import org.oransc.policyagent.configuration.ApplicationConfig;
 import org.oransc.policyagent.repository.Policies;
@@ -61,4 +62,9 @@ class BeanFactory {
         return new A1ClientFactory();
     }
 
+    @Bean
+    public ObjectMapper mapper() {
+      return new ObjectMapper();
+    }
+
 }