<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">

  <context:annotation-config />

  <bean class="com.appiancorp.portal.logs.PortalLogSpringConfig" />
  <bean class="com.appiancorp.portal.persistence.PortalServiceSpringConfig" />
  <bean class="com.appiancorp.features.EngFeatureTogglesSpringConfig" />
  <bean class="com.appiancorp.portal.monitoring.PortalMonitoringSpringConfig" />

  <bean class="com.appiancorp.portal.logs.PortalLogController">
    <constructor-arg ref="portalLogAccessHelper" />
    <constructor-arg ref="portalService" />
    <constructor-arg ref="featureToggleClient" />
    <constructor-arg ref="portalMonitoringViewPrometheusMetricsMetrics" />
  </bean>
</beans>
