rest-api/resources/META-INF/build-server-plugin-rest-api.xml (20 lines of code) (raw):

<?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-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd" default-autowire="constructor"> <!-- The AutowiredAnnotationBeanPostProcessor and CommonAnnotationBeanPostProcessor are both included implicitly when using the component-scan element. That means that the two components are autodetected and wired together --> <context:component-scan base-package="jetbrains.buildServer.server"/> <!-- <aop:aspectj-autoproxy/> --> <bean id="swaggerReaderConfig" class="io.swagger.jaxrs.config.DefaultReaderConfig"> <property name="scanAllResources" value="false"/> </bean> <bean id="agentPoolActionsAccessChecker" class="jetbrains.buildServer.server.graphql.resolver.agentPool.AgentPoolActionsAccessCheckerImpl"> <property name="agentPoolManager" ref="hiddenAgentPoolManager" /> <property name="projectManager" ref="projectManager" /> <property name="agentTypeStorage" ref="hiddenAgentTypeManager" /> </bean> </beans>