[camel] branch master updated: Removed Camel-BAM test resources for SB

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel] branch master updated: Removed Camel-BAM test resources for SB

acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new cf34946  Removed Camel-BAM test resources for SB
cf34946 is described below

commit cf34946a04d31d39b07e360d3af37a7a6a85a717
Author: Andrea Cosentino <[hidden email]>
AuthorDate: Fri Jan 11 10:19:07 2019 +0100

    Removed Camel-BAM test resources for SB
---
 .../test/resources/components/bam-persistence.xml  | 38 -------------------
 .../src/test/resources/components/bam-spring.xml   | 43 ----------------------
 2 files changed, 81 deletions(-)

diff --git a/tests/camel-itest-spring-boot/src/test/resources/components/bam-persistence.xml b/tests/camel-itest-spring-boot/src/test/resources/components/bam-persistence.xml
deleted file mode 100644
index 017b463..0000000
--- a/tests/camel-itest-spring-boot/src/test/resources/components/bam-persistence.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-         http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<persistence xmlns="http://java.sun.com/xml/ns/persistence"
-             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-             version="1.0">
-
-  <persistence-unit name="bam" transaction-type="RESOURCE_LOCAL">
-    <class>org.apache.camel.bam.model.ActivityDefinition</class>
-    <class>org.apache.camel.bam.model.ActivityState</class>
-    <class>org.apache.camel.bam.model.ProcessDefinition</class>
-    <class>org.apache.camel.bam.model.ProcessInstance</class>
-
-    <properties>
-      <property name="hibernate.dialect" value="org.hibernate.dialect.DerbyDialect"/>
-      <property name="hibernate.connection.driver_class" value="org.apache.derby.jdbc.EmbeddedDriver"/>
-      <property name="hibernate.connection.url" value="jdbc:derby:target/test/database;create=true"/>
-      <property name="hibernate.hbm2ddl.auto" value="create"/>
-    </properties>
-
-  </persistence-unit>
-</persistence>
diff --git a/tests/camel-itest-spring-boot/src/test/resources/components/bam-spring.xml b/tests/camel-itest-spring-boot/src/test/resources/components/bam-spring.xml
deleted file mode 100644
index 00f66b5..0000000
--- a/tests/camel-itest-spring-boot/src/test/resources/components/bam-spring.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-         http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
- <bean id="transactionTemplate"
- class="org.springframework.transaction.support.TransactionTemplate">
- <property name="transactionManager">
- <bean class="org.springframework.orm.jpa.JpaTransactionManager">
- <property name="entityManagerFactory" ref="entityManagerFactory" />
- </bean>
- </property>
- </bean>
-
- <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean">
- <property name="persistenceUnitName" value="bam" />
- <property name="jpaVendorAdapter" ref="jpaAdapter"/>
- </bean>
-
- <!-- Hibernate addapter -->
- <bean id="jpaAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
- <property name="databasePlatform" value="org.hibernate.dialect.DerbyDialect" />
- </bean>
-
-</beans>