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

ilymotion-sdk-client.1.0.1.source-code.applicationContext.xml Maven / Gradle / Ivy

<?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"
       xmlns:util="http://www.springframework.org/schema/util"
       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
                           http://www.springframework.org/schema/util
                           http://www.springframework.org/schema/util/spring-util.xsd">

    <context:component-scan base-package="fr.zebasto.dailymotion.sdk.client"/>

    <!-- Import properties files to Override default values -->
    <context:property-placeholder location="classpath*:dailymotionClient.properties"
                                  properties-ref="dailymotionClientProperties" ignore-resource-not-found="true"
                                  ignore-unresolvable="true"/>

    <!-- Define default values for Properties, can be overriden in properties
		files defined in the PropertyPlaceHolder -->
    <util:properties id="dailymotionClientProperties">
        <!-- Properties for the Dailymotion API component -->
        <prop key="dailymotion.api.url">https://api.dailymotion.com/</prop>
        <prop key="dailymotion.api.timeout">5000</prop>
        <prop key="dailymotion.api.useProxy">false</prop>
        <prop key="dailymotion.api.proxyHost">my.super.proxy</prop>
        <prop key="dailymotion.api.proxyPort">8080</prop>

        <prop key="dailymotion.auth.username">my.super.username</prop>
        <prop key="dailymotion.auth.password">my.super.password</prop>
        <prop key="dailymotion.auth.clientId">my.super.clientId</prop>
        <prop key="dailymotion.auth.clientSecret">my.super.clientSecret</prop>
        <prop key="dailymotion.auth.scheme">OAuth</prop>
    </util:properties>
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy