package org.onap.portal.configuration;
-import org.onap.portal.dao.fn.FnFunctionDao;
+import org.onap.portal.service.function.FnFunctionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ComponentScan;
+import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
@ComponentScan("org.springframework.security.samples.mvc")
public class WebMvcConfiguration implements WebMvcConfigurer {
- private final FnFunctionDao fnFunctionDao;
+ private final FnFunctionService fnFunctionService;
@Autowired
- public WebMvcConfiguration(FnFunctionDao fnFunctionDao) {
- this.fnFunctionDao = fnFunctionDao;
+ public WebMvcConfiguration(FnFunctionService fnFunctionService) {
+ this.fnFunctionService = fnFunctionService;
}
@Override