Matterial API Object - WildflyDataSource

com.matterial.mtr.api.object.WildflyDataSource

Back to overview

Java

WildflyDataSource

JSON

{
    "dataSourceDisplayName": "Nice instance name",
    "dataSourceReference": "Instance2",
    "connectionUrl": "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.10.123)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=dev)))",
    "driverClass": "oracle.jdbc.OracleDriver",
    "driver": "ojdbc8.jar",
    "userName": "mtr_app_inst_2_test",
    "password": "xxx",
    "checkValidConnectionSql": "SELECT 1"  
}

XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<wildflyDataSource>
    <checkValidConnectionSql>SELECT 1</checkValidConnectionSql>
    <connectionUrl>jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.10.123)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=dev)))</connectionUrl>
    <dataSourceActivationDays>30</dataSourceActivationDays>
    <dataSourceDisplayName>Nice instance name</dataSourceDisplayName>
    <dataSourceReference>Instance2</dataSourceReference>
    <driver>ojdbc8.jar</driver>
    <driverClass>oracle.jdbc.OracleDriver</driverClass>
    <maxPoolSize>15</maxPoolSize>
    <minPoolSize>5</minPoolSize>
    <password>***</password>
    <poolPrefill>false</poolPrefill>
    <userName>mtr_app_inst_2_test</userName>
</wildflyDataSource>
×