annotate src/test/resources/arquillian.xml @ 1127:997899aba991

Do not try to persist Probe objects with validation errors. Validation errors are often in line with database constraints and thus trying to persist will result in an Internal Server Error.
author Tom Gottfried <tom@intevation.de>
date Mon, 31 Oct 2016 18:25:02 +0100
parents 4f52e8bc3572
children 28a39466e4eb
rev   line source
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 <!--
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 JBoss, Home of Professional Open Source
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 contributors by the @authors tag. See the copyright.txt in the
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6 distribution for a full listing of individual contributors.
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8 Licensed under the Apache License, Version 2.0 (the "License");
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 you may not use this file except in compliance with the License.
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 You may obtain a copy of the License at
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 http://www.apache.org/licenses/LICENSE-2.0
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 Unless required by applicable law or agreed to in writing, software
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 distributed under the License is distributed on an "AS IS" BASIS,
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
15 See the License for the specific language governing permissions and
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
16 limitations under the License.
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
17 -->
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
18 <arquillian xmlns="http://jboss.org/schema/arquillian"
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
20 xsi:schemaLocation="http://jboss.org/schema/arquillian
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
21 http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
22
1090
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
23 <!-- Uncomment to have test archives exported to the file system for inspection -->
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
24 <!-- <engine> -->
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
25 <!-- <property name="deploymentExportPath">target/</property> -->
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
26 <!-- </engine> -->
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
27
829
4d4bbacb04e3 Updated test configs for arquillian persistence extension.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 434
diff changeset
28 <!-- Force the use of the Servlet 3.0 protocol with all containers, as it is the most mature -->
4d4bbacb04e3 Updated test configs for arquillian persistence extension.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 434
diff changeset
29 <defaultProtocol type="Servlet 3.0" />
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
30
829
4d4bbacb04e3 Updated test configs for arquillian persistence extension.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 434
diff changeset
31 <!-- Example configuration for a remote JBoss Enterprise Application Platform 6 or AS 7 instance -->
1090
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
32 <container qualifier="jboss" default="true">
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
33 <!-- By default, arquillian will use the JBOSS_HOME environment variable. Alternatively, the configuration below can be uncommented. -->
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
34 <!--<configuration> -->
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
35 <!--<property name="jbossHome">/path/to/jboss/as</property> -->
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
36 <!--</configuration> -->
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
37
1090
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
38 </container>
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
39 <extension qualifier="persistence">
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
40 <property name="defaultDataSource">land</property>
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
41 </extension>
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
42 <extension qualifier="persistence-dbunit">
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
43 <property name="qualifiedTableNames">true</property>
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
44 </extension>
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
45 <extension qualifier="persistence-script">
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
46 <property name="showSql">true</property>
4f52e8bc3572 Untabify config file and improve logging.
Tom Gottfried <tom@intevation.de>
parents: 829
diff changeset
47 </extension>
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
48 </arquillian>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)