uk.ac.ebi.ddi.social.orcid.configuration.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns="http://www.springframework.org/schema/mvc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd 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"> <beans:bean id="orcidConfig" class="uk.ac.ebi.ddi.social.orcid.utils.OrcidConfig"> <beans:property name="frontendUrl" value="${orcid.frontendUrl:https://sandbox.orcid.org/}" /> <beans:property name="apiUrl" value="${orcid.apiUrl:https://api.sandbox.orcid.org/v2.0/}" /> <beans:property name="pubApiUrl" value="${orcid.pubApiUrl:https://pub.sandbox.orcid.org/v2.0/}" /> <beans:property name="authorizeUrl" value="${orcid.authorizeUrl:https://sandbox.orcid.org/oauth/authorize}" /> <beans:property name="accessTokenUrl" value="${orcid.accessTokenUrl:https://api.sandbox.orcid.org/oauth/token}" /> </beans:bean> <beans:bean class="uk.ac.ebi.ddi.social.orcid.utils.OrcidConfigBroker"> <beans:constructor-arg ref="orcidConfig" /> </beans:bean> </beans:beans>