All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.vpro.nep-context.xml Maven / Gradle / Ivy

There is a newer version: 8.4.1
Show newest version
<?xml version="1.0"?>
<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
            https://www.springframework.org/schema/beans/spring-beans.xsd
            http://www.springframework.org/schema/context
            https://www.springframework.org/schema/context/spring-context.xsd">

  <context:annotation-config/>
  <context:component-scan base-package="nl.vpro.nep.service.impl"/>


  <bean id="NEPUploadService" class="nl.vpro.nep.service.impl.NEPSSHJUploadServiceImpl">
    <constructor-arg value="${nep.gatekeeper-upload.host}" />
    <constructor-arg value="${nep.gatekeeper-upload.username}" />
    <constructor-arg value="${nep.gatekeeper-upload.password}" />
    <constructor-arg value="${nep.gatekeeper-upload.hostkey}" />
    <property name="sftpTimeout"  value="${nep.gatekeeper-upload.sftpTimeout}" />
    <property name="socketTimeout"  value="${nep.gatekeeper-upload.socketTimeout}" />
    <property name="connectTimeout"  value="${nep.gatekeeper-upload.connectTimeout}" />

  </bean>

  <bean id="NEPSAMAuthenticatorLive" class="nl.vpro.nep.service.impl.NEPSAMAuthenticator">
    <constructor-arg value="${nep.sam-api.live.username}" />
    <constructor-arg value="${nep.sam-api.live.password}" />
    <constructor-arg value="${nep.sam-api.live.baseUrl}" />
  </bean>


  <bean id="NEPSAMAuthenticatorMid" class="nl.vpro.nep.service.impl.NEPSAMAuthenticator">
    <constructor-arg value="${nep.sam-api.mid.username}" />
    <constructor-arg value="${nep.sam-api.mid.password}" />
    <constructor-arg value="${nep.sam-api.mid.baseUrl}" />
  </bean>


  <bean id="NEPGatekeeperServiceLive" class="nl.vpro.nep.service.impl.NEPGatekeeperServiceImpl">
    <constructor-arg value="${nep.gatekeeper-api.live.baseUrl}" />
    <constructor-arg value="${nep.gatekeeper-api.live.authorization.username}" />
    <constructor-arg value="${nep.gatekeeper-api.live.authorization.password}" />
    <constructor-arg value="${nep.gatekeeper-api.connectTimeout}" />
    <constructor-arg value="${nep.gatekeeper-api.connectionRequestTimeout}" />
    <constructor-arg value="${nep.gatekeeper-api.socketTimeout}" />
    <constructor-arg value="${nep.gatekeeper-api.pageSize}" />
    <constructor-arg value="${nep.gatekeeper-upload.username}" />
  </bean>


  <bean id="NEPGatekeeperService" class="nl.vpro.nep.service.impl.NEPGatekeeperServiceImpl">
    <constructor-arg value="${nep.gatekeeper-api.baseUrl}" />
    <constructor-arg value="${nep.gatekeeper-api.authorization.username}" />
    <constructor-arg value="${nep.gatekeeper-api.authorization.password}" />
    <constructor-arg value="${nep.gatekeeper-api.connectTimeout}" />
    <constructor-arg value="${nep.gatekeeper-api.connectionRequestTimeout}" />
    <constructor-arg value="${nep.gatekeeper-api.socketTimeout}" />
    <constructor-arg value="${nep.gatekeeper-api.pageSize}" />
    <constructor-arg value="${nep.gatekeeper-upload.username}" />
  </bean>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy