<?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.connectedsystems.v1.api.ConnectedSystemController">
    <constructor-arg ref="connectedSystemUpdateRequestValidator"/>
    <constructor-arg ref="connectedSystemUpdateService"/>
    <constructor-arg ref="featureToggleClient"/>
  </bean>
  <bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter">
    <property name="messageConverters">
      <list>
        <bean class="org.springframework.http.converter.json.GsonHttpMessageConverter">
        </bean>
      </list>
    </property>
  </bean>
  <bean class="com.appiancorp.connectedsystems.v1.config.ConnectedSystemAPISpringConfig"/>
  <bean class="com.appiancorp.connectedsystems.v1.api.ConnectedSystemUpdateAPIExceptionHandler"/>
  <bean class="com.appiancorp.features.EngFeatureTogglesSpringConfig" />
</beans>
