Skip to content

Instantly share code, notes, and snippets.

@LucasPenido
Created January 31, 2022 13:08
Show Gist options
  • Save LucasPenido/981ca734c966592119456d778a404713 to your computer and use it in GitHub Desktop.
Save LucasPenido/981ca734c966592119456d778a404713 to your computer and use it in GitHub Desktop.
gateway api example
<Context path="/apiman-gateway-api">
<Resource name="jboss/datasources/apiman-gateway" auth="Container" type="javax.sql.DataSource" driverClassName="org.postgresql.Driver" url="jdbc:postgresql://localhost:5432/apiman_gateway" username="user" password="pass" maxTotal="20" maxIdle="10" maxWaitMillis="-1"/>
<Resource name="jboss/datasources/apiman-manager" auth="Container" type="javax.sql.DataSource" driverClassName="org.postgresql.Driver" url="jdbc:postgresql://localhost:5432/apiman" username="user" password="pass" maxTotal="20" maxIdle="10" maxWaitMillis="-1"/>
</Context>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment