<?xml version="1.0" encoding="UTF-8"?>
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
    <resource-adapters>
        <resource-adapter id="google">
            <module slot="main" id="org.jboss.teiid.resource-adapter.google"/>
            <transaction-support>NoTransaction</transaction-support>
            <connection-definitions>
                <connection-definition class-name="org.teiid.resource.adapter.google.SpreadsheetManagedConnectionFactory" jndi-name="java:/google" enabled="true" use-java-context="true" pool-name="google">
                    <config-property name="AuthMethod">
                        OAuth2
                    </config-property>
                    <config-property name="SpreadsheetName">
                        spreadsheetName
                    </config-property>
                    <config-property name="RefreshToken">
                        ...
                    </config-property>
                    <config-property name="BatchSize">
                        100
                    </config-property>
                </connection-definition>
            </connection-definitions>
        </resource-adapter>
    </resource-adapters>
</subsystem>
