annotate src/test/resources/test-ds.xml @ 147:2dd2c36a3b32

New Service for LMesswert objects. A valid request for getting objects contains the URL-parameters - probe=$PROBEID - messung=$MESSUNGSID
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 14 Jun 2013 10:38:28 +0200
parents 177351d4cca9
children
rev   line source
1
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 <!-- This is an unmanaged datasource. It should be used for proofs of concept
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 or testing only. It uses H2, an in memory database that ships with JBoss
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 AS. -->
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 <datasources xmlns="http://www.jboss.org/ironjacamar/schema"
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd">
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 <!-- The datasource is bound into JNDI at this location. We reference
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 this in META-INF/test-persistence.xml -->
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
10 <datasource jndi-name="java:jboss/datasources/ladaTestDS"
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 pool-name="lada-test" enabled="true"
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 use-java-context="true">
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 <connection-url>jdbc:h2:mem:lada-test;DB_CLOSE_DELAY=-1</connection-url>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 <driver>h2</driver>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 <security>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 <user-name>sa</user-name>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
17 <password>sa</password>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 </security>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 </datasource>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
20 </datasources>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
21
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)