From 63a9ed8e1cc1dd03df69cb3d2ee9d1ff9d0e715c Mon Sep 17 00:00:00 2001 From: pb Date: Mon, 30 Apr 2012 21:38:47 +0000 Subject: [PATCH] =?UTF-8?q?Abschlie=C3=9Fender=20Umbau=20des=20atoz=20Pack?= =?UTF-8?q?age.=20Upgrade=20Scripts=20enthalten.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@1623 8810af33-2d31-482b-a856-94f89814c4df --- .../add_siteproxyprovider_inits.sql | 36 +++++ .../upgrade/oracle-se-6.6.1-6.6.2.sql | 26 +++ .../upgrade/postgres-6.6.1-6.6.2.sql | 30 ++++ .../src/ccm-atoz-siteproxy.upgrade | 8 +- .../arsdigita/atoz/siteproxy/Initializer.java | 19 ++- ccm-atoz/doc/atoz-standalone/README | 9 +- ccm-atoz/doc/atoz-standalone/web.xml | 4 +- ccm-atoz/doc/atoz.xsd | 2 +- ccm-atoz/pdl/com/arsdigita/atoz/AtoZ.pdl | 5 +- .../default/6.6.1-6.6.2/drop_app_table.sql | 23 +++ .../6.6.1-6.6.2/ren_domainprovider_table.sql | 42 +++++ .../default/6.6.1-6.6.2/upd_system_tables.sql | 102 ++++++++++++ .../upgrade/oracle-se-6.6.1-6.6.2.sql | 28 ++++ .../ccm-atoz/upgrade/postgres-6.6.1-6.6.2.sql | 32 ++++ ccm-atoz/src/ccm-atoz.upgrade | 2 +- ccm-atoz/src/com/arsdigita/atoz/AtoZ.java | 2 +- .../src/com/arsdigita/atoz/Initializer.java | 3 + .../com/arsdigita/atoz/tools/AtoZCreator.java | 2 +- .../web/templates/ccm-atoz/admin/load-cat.jsp | 5 +- ccm-ldn-atoz/application.xml | 14 +- .../atoz/{terms => }/DomainProvider.pdl | 6 +- .../sql/ccm-ldn-atoz/oracle-se-create.sql | 3 + .../sql/ccm-ldn-atoz/postgres-create.sql | 4 + .../6.6.1-6.6.2/add_domainprovider_inits.sql | 36 +++++ .../upgrade/oracle-se-6.6.1-6.6.2.sql | 26 +++ .../upgrade/postgres-6.6.1-6.6.2.sql | 30 ++++ .../resources/atoz-ldn-domain-adapters.xml | 151 ++++++++++++++++++ ccm-ldn-atoz/src/ccm-ldn-atoz.config | 5 + ccm-ldn-atoz/src/ccm-ldn-atoz.load | 22 +++ ccm-ldn-atoz/src/ccm-ldn-atoz.upgrade | 6 + .../arsdigita/london/atoz/DomainConfig.java | 87 ++++++++++ .../atoz/DomainConfig_parameter.properties | 4 + .../atoz/{terms => }/DomainGenerator.java | 12 +- .../atoz/{terms => }/DomainProvider.java | 7 +- .../london/atoz/{terms => }/Initializer.java | 32 +++- .../ui/{terms => }/DomainProviderAdmin.java | 2 +- .../ui/{terms => }/DomainProviderForm.java | 4 +- 37 files changed, 792 insertions(+), 39 deletions(-) create mode 100644 ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/6.6.1-6.6.2/add_siteproxyprovider_inits.sql create mode 100644 ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/oracle-se-6.6.1-6.6.2.sql create mode 100644 ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/postgres-6.6.1-6.6.2.sql create mode 100644 ccm-atoz/sql/ccm-atoz/upgrade/default/6.6.1-6.6.2/drop_app_table.sql create mode 100644 ccm-atoz/sql/ccm-atoz/upgrade/default/6.6.1-6.6.2/ren_domainprovider_table.sql create mode 100644 ccm-atoz/sql/ccm-atoz/upgrade/default/6.6.1-6.6.2/upd_system_tables.sql create mode 100644 ccm-atoz/sql/ccm-atoz/upgrade/oracle-se-6.6.1-6.6.2.sql create mode 100644 ccm-atoz/sql/ccm-atoz/upgrade/postgres-6.6.1-6.6.2.sql rename ccm-ldn-atoz/pdl/com/arsdigita/london/atoz/{terms => }/DomainProvider.pdl (86%) create mode 100755 ccm-ldn-atoz/sql/ccm-ldn-atoz/oracle-se-create.sql create mode 100755 ccm-ldn-atoz/sql/ccm-ldn-atoz/postgres-create.sql create mode 100644 ccm-ldn-atoz/sql/ccm-ldn-atoz/upgrade/6.6.1-6.6.2/add_domainprovider_inits.sql create mode 100644 ccm-ldn-atoz/sql/ccm-ldn-atoz/upgrade/oracle-se-6.6.1-6.6.2.sql create mode 100644 ccm-ldn-atoz/sql/ccm-ldn-atoz/upgrade/postgres-6.6.1-6.6.2.sql create mode 100755 ccm-ldn-atoz/src/WEB-INF/resources/atoz-ldn-domain-adapters.xml create mode 100755 ccm-ldn-atoz/src/ccm-ldn-atoz.config create mode 100755 ccm-ldn-atoz/src/ccm-ldn-atoz.load create mode 100755 ccm-ldn-atoz/src/ccm-ldn-atoz.upgrade create mode 100755 ccm-ldn-atoz/src/com/arsdigita/london/atoz/DomainConfig.java create mode 100755 ccm-ldn-atoz/src/com/arsdigita/london/atoz/DomainConfig_parameter.properties rename ccm-ldn-atoz/src/com/arsdigita/london/atoz/{terms => }/DomainGenerator.java (97%) rename ccm-ldn-atoz/src/com/arsdigita/london/atoz/{terms => }/DomainProvider.java (95%) rename ccm-ldn-atoz/src/com/arsdigita/london/atoz/{terms => }/Initializer.java (60%) rename ccm-ldn-atoz/src/com/arsdigita/london/atoz/ui/{terms => }/DomainProviderAdmin.java (98%) rename ccm-ldn-atoz/src/com/arsdigita/london/atoz/ui/{terms => }/DomainProviderForm.java (97%) diff --git a/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/6.6.1-6.6.2/add_siteproxyprovider_inits.sql b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/6.6.1-6.6.2/add_siteproxyprovider_inits.sql new file mode 100644 index 000000000..525fbe0d4 --- /dev/null +++ b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/6.6.1-6.6.2/add_siteproxyprovider_inits.sql @@ -0,0 +1,36 @@ +-- +-- Copyright (C) 2012 Peter Boy All Rights Reserved. +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public License +-- as published by the Free Software Foundation; either version 2.1 of +-- the License, or (at your option) any later version. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- $Id: add_siteproxyprovider_inits.sql pboy $ + +-- With this update the package ccm-atoz has been divided into a vore atoz +-- package and optional extensions, e.g. this siteproxy extension. +-- Therefore, in an update situation where atoz is already installed, all +-- tables exists and we must just added Initializer to the startup. + + +INSERT INTO inits (class_name) + VALUES ('com.arsdigita.atoz.siteproxy.Initializer') ; + +INSERT INTO init_requirements (required_init, init) + VALUES ('com.arsdigita.atoz.Initializer', + 'com.arsdigita.atoz.siteproxy.Initializer') ; + +INSERT INTO init_requirements (required_init, init) + VALUES ('com.arsdigita.core.Initializer', + 'com.arsdigita.atoz.siteproxy.Initializer') ; + diff --git a/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/oracle-se-6.6.1-6.6.2.sql b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/oracle-se-6.6.1-6.6.2.sql new file mode 100644 index 000000000..18eb03b84 --- /dev/null +++ b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/oracle-se-6.6.1-6.6.2.sql @@ -0,0 +1,26 @@ +-- +-- Copyright (C) 2012 Peter Boy. All Rights Reserved. +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public License +-- as published by the Free Software Foundation; either version 2.1 of +-- the License, or (at your option) any later version. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- $Id: oracle-se-6.6.1-6.6.2.sql $ + +-- With this update the package ccm-atoz has been divided into a vore atoz +-- package and optional extensions, e.g. this siteproxy extension. +-- Therefore, in an update situation where atoz is already installed, all +-- tables exists and we must just added Initializer to the startup. + +@@ default/6.6.1-6.6.2/add_siteproxyprovider_inits.sql + diff --git a/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/postgres-6.6.1-6.6.2.sql b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/postgres-6.6.1-6.6.2.sql new file mode 100644 index 000000000..1c47f67f2 --- /dev/null +++ b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/postgres-6.6.1-6.6.2.sql @@ -0,0 +1,30 @@ +-- +-- Copyright (C) 2012 Peter Boy. All Rights Reserved. +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public License +-- as published by the Free Software Foundation; either version 2.1 of +-- the License, or (at your option) any later version. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- $Id: postgres-6.6.1-6.6.2.sql $ + +-- With this update the package ccm-atoz has been divided into a vore atoz +-- package and optional extensions, e.g. this siteproxy extension. +-- Therefore, in an update situation where atoz is already installed, all +-- tables exists and we must just added Initializer to the startup. + + +begin; + +\i default/6.6.1-6.6.2/add_siteproxyprovider_inits.sql + +commit; diff --git a/ccm-atoz-siteproxy/src/ccm-atoz-siteproxy.upgrade b/ccm-atoz-siteproxy/src/ccm-atoz-siteproxy.upgrade index e96ac28ef..75ea954d2 100755 --- a/ccm-atoz-siteproxy/src/ccm-atoz-siteproxy.upgrade +++ b/ccm-atoz-siteproxy/src/ccm-atoz-siteproxy.upgrade @@ -1,8 +1,6 @@ - -