JUDDI-651 start of selenium based ui tests
Project: http://git-wip-us.apache.org/repos/asf/juddi/repo Commit: http://git-wip-us.apache.org/repos/asf/juddi/commit/7c8594ca Tree: http://git-wip-us.apache.org/repos/asf/juddi/tree/7c8594ca Diff: http://git-wip-us.apache.org/repos/asf/juddi/diff/7c8594ca Branch: refs/heads/feature/JUDDI-651 Commit: 7c8594cac449621c26516d1107d2a410d4b0c962 Parents: ed1692d Author: Alex <[email protected]> Authored: Mon Dec 7 21:15:41 2015 -0500 Committer: Alex <[email protected]> Committed: Mon Dec 7 21:15:41 2015 -0500 ---------------------------------------------------------------------- juddi-gui-test/context.xml | 46 + .../juddi_install_data_node2/UDDI_Publisher.xml | 22 + .../juddi_install_data_node2/UDDI_tModels.xml | 2362 ++++++++++++++++++ .../root_BusinessEntity.xml | 668 +++++ .../juddi_install_data_node2/root_Publisher.xml | 21 + .../root_tModelKeyGen.xml | 40 + juddi-gui-test/juddiv3Node1.xml | 217 ++ juddi-gui-test/juddiv3Node2.xml | 217 ++ juddi-gui-test/log4j.properties | 26 + juddi-gui-test/pom.xml | 277 ++ juddi-gui-test/readme.txt | 5 + juddi-gui-test/server.xml | 145 ++ juddi-gui-test/serverNode2.xml | 145 ++ .../java/org/apache/juddi/gui/test/Dummy.java | 20 + .../src/main/resources/META-INF/uddi.xml | 153 ++ .../org/apache/juddi/gui/test/BaseTest.java | 88 + .../gui/test/login/LoginIntegrationTest.java | 54 + juddi-gui-test/src/test/resources/log4j.xml | 36 + juddi-gui-test/uddiNode.xml | 119 + juddi-gui/src/main/webapp/index.jsp | 2 +- juddi-gui/src/main/webapp/login.jsp | 2 +- 21 files changed, 4663 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/juddi/blob/7c8594ca/juddi-gui-test/context.xml ---------------------------------------------------------------------- diff --git a/juddi-gui-test/context.xml b/juddi-gui-test/context.xml new file mode 100644 index 0000000..a58f0d2 --- /dev/null +++ b/juddi-gui-test/context.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +/* + * Copyright 2001-2008 The Apache Software Foundation. + * + * Licensed 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. + */ + --> +<Context> + <WatchedResource>WEB-INF/web.xml</WatchedResource> + <!-- --> + <Resource name="jdbc/JuddiDS" auth="Container" + type="javax.sql.DataSource" username="" password="" + driverClassName="org.apache.derby.jdbc.EmbeddedDriver" + url="jdbc:derby:target/node2/juddi-derby-test-db;create=true" + maxActive="8" + /> + + <!-- mysql + <Resource name="jdbc/JuddiDS" auth="Container" + type="javax.sql.DataSource" username="root" password="" + driverClassName="com.mysql.jdbc.Driver" + url="jdbc:mysql://localhost:3306/juddiv3" + maxActive="8" + /> + --> + <!-- postgresql + <Resource name="jdbc/JuddiDS" auth="Container" + type="javax.sql.DataSource" username="juddi" password="juddi" + driverClassName="org.postgresql.Driver" + url="jdbc:postgresql://localhost:5432/juddi" + maxActive="8" + /> + --> +</Context> + http://git-wip-us.apache.org/repos/asf/juddi/blob/7c8594ca/juddi-gui-test/juddi_install_data_node2/UDDI_Publisher.xml ---------------------------------------------------------------------- diff --git a/juddi-gui-test/juddi_install_data_node2/UDDI_Publisher.xml b/juddi-gui-test/juddi_install_data_node2/UDDI_Publisher.xml new file mode 100644 index 0000000..0bfd815 --- /dev/null +++ b/juddi-gui-test/juddi_install_data_node2/UDDI_Publisher.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Copyright 2001-2009 The Apache Software Foundation. + * + * Licensed 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. + * + */ --> +<publisher xmlns="urn:juddi-apache-org:api_v3" authorizedName="uddi"> + <publisherName>UDDI publisher</publisherName> + <isAdmin>false</isAdmin> +</publisher> + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
