diff --git a/ccm-bundle/bundles/demo/cfg/integration.properties b/ccm-bundle/bundles/demo/cfg/integration.properties index 8ceafa035..da5b82fbe 100644 --- a/ccm-bundle/bundles/demo/cfg/integration.properties +++ b/ccm-bundle/bundles/demo/cfg/integration.properties @@ -108,6 +108,8 @@ com.arsdigita.navigation.templates_file=bundle/navigation/gen-templates.txt # ccm-search application com.arsdigita.london.search.show_sponsored_links=true +; Comment this out or increase the num_of_threads iv you really use remote search +com.arsdigita.london.search.num_threads=0 # ccm-subsite application diff --git a/ccm-bundle/bundles/demo/cfg/web-sci.xml b/ccm-bundle/bundles/demo/cfg/web-sci.xml index 4720b7c45..63881bb1a 100644 --- a/ccm-bundle/bundles/demo/cfg/web-sci.xml +++ b/ccm-bundle/bundles/demo/cfg/web-sci.xml @@ -267,12 +267,6 @@ - - worker - com.arsdigita.london.search.SearchWorkerServlet - 4 - - search-files com.arsdigita.web.ApplicationFileServlet diff --git a/ccm-bundle/bundles/devel/cfg/integration.properties b/ccm-bundle/bundles/devel/cfg/integration.properties index a96199586..87f9d1ce4 100644 --- a/ccm-bundle/bundles/devel/cfg/integration.properties +++ b/ccm-bundle/bundles/devel/cfg/integration.properties @@ -108,6 +108,8 @@ com.arsdigita.navigation.templates_file=bundle/navigation/gen-templates.txt # ccm-search application com.arsdigita.london.search.show_sponsored_links=true +; Comment this out or increase the num_of_threads iv you really use remote search +com.arsdigita.london.search.num_threads=0 # ccm-subsite application diff --git a/ccm-bundle/bundles/devel/cfg/web-sci.xml b/ccm-bundle/bundles/devel/cfg/web-sci.xml index b27996d55..09e0abefc 100644 --- a/ccm-bundle/bundles/devel/cfg/web-sci.xml +++ b/ccm-bundle/bundles/devel/cfg/web-sci.xml @@ -267,12 +267,6 @@ - - worker - com.arsdigita.london.search.SearchWorkerServlet - 4 - - search-files com.arsdigita.web.ApplicationFileServlet diff --git a/ccm-cms/src/com/arsdigita/cms/Initializer.java b/ccm-cms/src/com/arsdigita/cms/Initializer.java index 55d7db7de..6a8108506 100755 --- a/ccm-cms/src/com/arsdigita/cms/Initializer.java +++ b/ccm-cms/src/com/arsdigita/cms/Initializer.java @@ -57,7 +57,6 @@ import com.arsdigita.persistence.OID; import com.arsdigita.persistence.pdl.ManifestSource; import com.arsdigita.persistence.pdl.NameFilter; import com.arsdigita.runtime.CompoundInitializer; -// import com.arsdigita.runtime.ConfigError; import com.arsdigita.runtime.DomainInitEvent; import com.arsdigita.runtime.PDLInitializer; import com.arsdigita.runtime.RuntimeConfig; @@ -80,11 +79,9 @@ import com.arsdigita.templating.PatternStylesheetResolver; import com.arsdigita.cms.util.LanguageUtil; import com.arsdigita.kernel.Kernel; -// For Id. -// import java.math.BigDecimal; - import org.apache.log4j.Logger; + /** * The main CMS initializer, executed recurringly at each system startup. * diff --git a/ccm-core/src/com/arsdigita/ui/admin/Admin.java b/ccm-core/src/com/arsdigita/ui/admin/Admin.java index 14860956c..09cc3a681 100755 --- a/ccm-core/src/com/arsdigita/ui/admin/Admin.java +++ b/ccm-core/src/com/arsdigita/ui/admin/Admin.java @@ -34,6 +34,7 @@ import org.apache.log4j.Logger; */ public class Admin extends Application { + /** Logger instance for debugging */ private static final Logger s_log = Logger.getLogger(Admin.class); public static final String BASE_DATA_OBJECT_TYPE diff --git a/ccm-core/src/com/arsdigita/ui/admin/AdminServlet.java b/ccm-core/src/com/arsdigita/ui/admin/AdminServlet.java index 77ca3e9b3..068525846 100644 --- a/ccm-core/src/com/arsdigita/ui/admin/AdminServlet.java +++ b/ccm-core/src/com/arsdigita/ui/admin/AdminServlet.java @@ -62,6 +62,7 @@ import org.apache.log4j.Logger; public class AdminServlet extends BaseApplicationServlet implements AdminConstants{ + /** Logger instance for debugging */ private static final Logger s_log = Logger.getLogger( AdminServlet.class.getName()); diff --git a/ccm-ldn-aplaws/bundles/custom/cfg/integration.properties b/ccm-ldn-aplaws/bundles/custom/cfg/integration.properties index fca8627fa..8da14d485 100755 --- a/ccm-ldn-aplaws/bundles/custom/cfg/integration.properties +++ b/ccm-ldn-aplaws/bundles/custom/cfg/integration.properties @@ -124,6 +124,8 @@ com.arsdigita.london.search.show_sponsored_links=true # ccm-ldn-subsite application com.arsdigita.london.subsite.root_category_picker=com.arsdigita.london.terms.ui.RootCategoryPicker +; Comment this out if you really use the remote facility +com.arsdigita.london.search.num_threads=0 # ccm-themedirector application diff --git a/ccm-ldn-aplaws/bundles/custom/cfg/web.xml b/ccm-ldn-aplaws/bundles/custom/cfg/web.xml index 7c467a083..524915959 100755 --- a/ccm-ldn-aplaws/bundles/custom/cfg/web.xml +++ b/ccm-ldn-aplaws/bundles/custom/cfg/web.xml @@ -277,12 +277,6 @@ - - worker - com.arsdigita.london.search.SearchWorkerServlet - 4 - - search-files com.arsdigita.web.ApplicationFileServlet diff --git a/ccm-ldn-aplaws/bundles/demo/cfg/integration.properties b/ccm-ldn-aplaws/bundles/demo/cfg/integration.properties index cc70dc909..c93219693 100755 --- a/ccm-ldn-aplaws/bundles/demo/cfg/integration.properties +++ b/ccm-ldn-aplaws/bundles/demo/cfg/integration.properties @@ -123,6 +123,8 @@ com.arsdigita.navigation.default_template=/templates/ccm-navigation/navigation/s # ccm-search application com.arsdigita.london.search.show_sponsored_links=true +; Comment this out or increase the num_of_threads iv you really use remote search +com.arsdigita.london.search.num_threads=0 # ccm-subsite application diff --git a/ccm-ldn-aplaws/bundles/demo/cfg/web.xml b/ccm-ldn-aplaws/bundles/demo/cfg/web.xml index 71ab96690..dfe93962d 100755 --- a/ccm-ldn-aplaws/bundles/demo/cfg/web.xml +++ b/ccm-ldn-aplaws/bundles/demo/cfg/web.xml @@ -249,12 +249,6 @@ - - worker - com.arsdigita.london.search.SearchWorkerServlet - 4 - - search-files com.arsdigita.web.ApplicationFileServlet diff --git a/ccm-ldn-aplaws/bundles/devel/cfg/integration.properties b/ccm-ldn-aplaws/bundles/devel/cfg/integration.properties index 96f9e82bb..ddb6de1aa 100755 --- a/ccm-ldn-aplaws/bundles/devel/cfg/integration.properties +++ b/ccm-ldn-aplaws/bundles/devel/cfg/integration.properties @@ -132,6 +132,8 @@ com.arsdigita.navigation.default_template=/packages/navigation/templates/default # ccm-ldn-search application com.arsdigita.london.search.show_sponsored_links=true +; Comment this out or increase the num_of_threads iv you really use remote search +com.arsdigita.london.search.num_threads=0 # ccm-ldn-subsite application diff --git a/ccm-ldn-aplaws/bundles/devel/cfg/web.xml b/ccm-ldn-aplaws/bundles/devel/cfg/web.xml index 7c467a083..524915959 100755 --- a/ccm-ldn-aplaws/bundles/devel/cfg/web.xml +++ b/ccm-ldn-aplaws/bundles/devel/cfg/web.xml @@ -277,12 +277,6 @@ - - worker - com.arsdigita.london.search.SearchWorkerServlet - 4 - - search-files com.arsdigita.web.ApplicationFileServlet diff --git a/ccm-ldn-aplaws/bundles/extended/cfg/integration.properties b/ccm-ldn-aplaws/bundles/extended/cfg/integration.properties index 819d7e5cd..2105d75a3 100755 --- a/ccm-ldn-aplaws/bundles/extended/cfg/integration.properties +++ b/ccm-ldn-aplaws/bundles/extended/cfg/integration.properties @@ -121,6 +121,8 @@ com.arsdigita.navigation.default_template=/packages/navigation/templates/default # ccm-ldn-search application com.arsdigita.london.search.show_sponsored_links=true +; Comment this out or increase the num_of_threads iv you really use remote search +com.arsdigita.london.search.num_threads=0 # ccm-ldn-subsite application diff --git a/ccm-ldn-aplaws/bundles/extended/cfg/web.xml b/ccm-ldn-aplaws/bundles/extended/cfg/web.xml index 7c467a083..524915959 100755 --- a/ccm-ldn-aplaws/bundles/extended/cfg/web.xml +++ b/ccm-ldn-aplaws/bundles/extended/cfg/web.xml @@ -277,12 +277,6 @@ - - worker - com.arsdigita.london.search.SearchWorkerServlet - 4 - - search-files com.arsdigita.web.ApplicationFileServlet diff --git a/ccm-ldn-aplaws/bundles/standard/cfg/integration.properties b/ccm-ldn-aplaws/bundles/standard/cfg/integration.properties index 136e031b1..815e07c21 100755 --- a/ccm-ldn-aplaws/bundles/standard/cfg/integration.properties +++ b/ccm-ldn-aplaws/bundles/standard/cfg/integration.properties @@ -121,6 +121,8 @@ com.arsdigita.navigation.default_template=/packages/navigation/templates/default # ccm-ldn-search application com.arsdigita.london.search.show_sponsored_links=true +; Comment this out or increase the num_of_threads iv you really use remote search +com.arsdigita.london.search.num_threads=0 # ccm-ldn-subsite application diff --git a/ccm-ldn-aplaws/bundles/standard/cfg/web.xml b/ccm-ldn-aplaws/bundles/standard/cfg/web.xml index 7c467a083..524915959 100755 --- a/ccm-ldn-aplaws/bundles/standard/cfg/web.xml +++ b/ccm-ldn-aplaws/bundles/standard/cfg/web.xml @@ -277,12 +277,6 @@ - - worker - com.arsdigita.london.search.SearchWorkerServlet - 4 - - search-files com.arsdigita.web.ApplicationFileServlet diff --git a/ccm-ldn-search/application.xml b/ccm-ldn-search/application.xml index 7f435b427..d3efa9ddc 100755 --- a/ccm-ldn-search/application.xml +++ b/ccm-ldn-search/application.xml @@ -2,7 +2,7 @@ @@ -15,7 +15,7 @@ - The Red Hat Web Application Framework is a platform for writing - database-backed web applications in Java. + Adds capability to include remote CCM instances into search and combine the + results into one integrated list. diff --git a/ccm-ldn-search/pdl/com/arsdigita/london/search/Search.pdl b/ccm-ldn-search/pdl/com/arsdigita/london/search/Search.pdl index a4cfb667a..71af8b548 100755 --- a/ccm-ldn-search/pdl/com/arsdigita/london/search/Search.pdl +++ b/ccm-ldn-search/pdl/com/arsdigita/london/search/Search.pdl @@ -20,5 +20,6 @@ model com.arsdigita.london.search; import com.arsdigita.web.Application; object type Search extends Application { - reference key (search_app.application_id); + // reference key (search_app.application_id); + // nothing really to store here } diff --git a/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/drop_app_table.sql b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/drop_app_table.sql new file mode 100644 index 000000000..08218229f --- /dev/null +++ b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/drop_app_table.sql @@ -0,0 +1,23 @@ +-- +-- Copyright (C) 2011 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: drop_app_table.sql pboy $ + +-- drops table subsite_app which just contained application type id and is +-- never used for any action. + +drop table search_app ; diff --git a/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/remove_legacy_entries.sql b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/remove_legacy_entries.sql new file mode 100644 index 000000000..5f9b91847 --- /dev/null +++ b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/remove_legacy_entries.sql @@ -0,0 +1,131 @@ +-- +-- 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: remove_legacy_entries.sql $ + +-- Search is now initialized as a legacy free type of application so +-- entries in tables apm_package_types are no longer needed. + + +-- in case there may be several application instances! + +-- delete from object_context all entries referring to node_id in site_nodes +delete from object_context + where object_id in + (select node_id from site_nodes object_id where object_id in + ( select package_id from applications where application_type_id = + (select application_type_id from application_types + where object_type + like '%search.Search%') + ) + ); + +-- delete from acs_objects all entries referring to node_id in site_nodes +alter table site_nodes drop constraint site_nodes_node_id_f_n1m2y ; +delete from acs_objects + where object_id in + (select node_id from site_nodes where object_id in + ( select package_id from applications where application_type_id = + (select application_type_id from application_types + where object_type + like '%search.Search%') + ) + ); + +-- delete all entries in site_nodes referring to a subsite instance +delete from site_nodes + where object_id in + (select package_id from applications where application_type_id = + (select application_type_id from application_types + where object_type + like '%search.Search%') + ); +alter table site_nodes add constraint site_nodes_node_id_f_n1m2y + FOREIGN KEY (node_id) + REFERENCES acs_objects (object_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION ; + + + +-- delete from object_context all entries referring to package_id in apm_packages +delete from object_context + where object_id in + (select package_id from apm_packages where package_type_id = + (select package_type_id from application_types + where object_type + like '%search.Search%') + ); + +-- delete from acs_objects all entries referring to package_id in apm_packages +alter table apm_packages drop constraint apm_package_package_id_f_46may ; +alter table applications drop constraint application_package_id_f_cdaho ; +delete from acs_objects + where object_id in + (select package_id from apm_packages where package_type_id = + (select package_type_id from application_types + where object_type + like '%search.Search%') + ); + +-- delete all entries for subsite instances in apm_packages +-- identified by package_type_id in application_types +delete from apm_packages + where package_type_id = + (select package_type_id from application_types + where object_type + like '%search.Search%') ; + +-- there seem to be no intries for a apm_packages_types entry (row) in +-- acs_objects or object_context! + +-- delete all entries for subsite in apm_package_types identified by +-- package_type_id in application_types +alter table application_types drop constraint applica_typ_pac_typ_id_f_v80ma ; +delete from apm_package_types + where package_type_id = + (select package_type_id from application_types + where object_type + like '%search.Search%') ; + + +-- set package_id to null for all entries referring to a subsite instance +-- (indicating a new legacy free application) +update applications + set package_id = null + where application_type_id = + (select application_type_id from application_types + where object_type + like '%search.Search%') ; + +-- set package_id to null for all entries referring to a subsite instance +-- (indicating a new legacy free application) +update application_types + set package_type_id = null + where object_type like '%search.Search%' ; + +alter table application_types add constraint applica_typ_pac_typ_id_f_v80ma + FOREIGN KEY (package_type_id) + REFERENCES apm_package_types (package_type_id) + MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION ; +alter table applications add constraint application_package_id_f_cdaho + FOREIGN KEY (package_id) + REFERENCES apm_packages (package_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION ; +alter table apm_packages add constraint apm_package_package_id_f_46may + FOREIGN KEY (package_id) + REFERENCES acs_objects (object_id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION ; diff --git a/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/upd_cms_tables.sql b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/upd_cms_tables.sql new file mode 100644 index 000000000..72bd0bf5a --- /dev/null +++ b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/upd_cms_tables.sql @@ -0,0 +1,26 @@ +-- +-- Copyright (C) 2011 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: upd_cms_tables.sql pboy $ + +-- adjust cms tables to the new name of application subsite + + +update content_sections + set template_resolver_class = replace(template_resolver_class, + 'london.subsite', 'subsite'); + diff --git a/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/upd_system_tables.sql b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/upd_system_tables.sql new file mode 100644 index 000000000..36a629564 --- /dev/null +++ b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.0-6.6.1/upd_system_tables.sql @@ -0,0 +1,66 @@ +-- +-- Copyright (C) 2011 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: upd_system_tables.sql pboy $ + +-- adjust various system tables to the new name of application subsite + +alter table init_requirements drop constraint init_requirements_init_f_cmmdn ; + +alter table init_requirements drop constraint init_require_requ_init_f_i6rgg ; + +update inits + set class_name=replace(class_name,'london.subsite', 'subsite') + where class_name like '%london.subsite%' ; + +update init_requirements + set init=replace(init,'london.subsite', 'subsite') + where init like '%london.subsite%' ; + +update init_requirements + set required_init=replace(required_init,'london.subsite', 'subsite') + where required_init like '%london.subsite%' ; + +ALTER TABLE ONLY init_requirements + ADD CONSTRAINT init_requirements_init_f_cmmdn FOREIGN KEY (init) + REFERENCES inits (class_name) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION; + +ALTER TABLE init_requirements + ADD CONSTRAINT init_require_requ_init_f_i6rgg FOREIGN KEY (required_init) + REFERENCES inits (class_name) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION; + + +update application_types + set object_type=replace(object_type,'london.subsite', 'subsite') + where object_type like '%london.subsite%' ; + +-- table applications doesn't require an update + +-- table apm_package_types doesn't require an update + +-- table apm_packages doesn't require an update either +-- table site_nodes doesn't require an update either + + +-- update application type in acs_objects +update acs_objects + set (object_type,default_domain_class) = + (replace(object_type,'london.subsite', 'subsite') , + replace(default_domain_class,'london.subsite', 'subsite') ) + where object_type like '%london.subsite%' ; diff --git a/ccm-ldn-search/sql/ccm-ldn-search/upgrade/oracle-se-6.6.0-6.6.1.sql b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/oracle-se-6.6.0-6.6.1.sql new file mode 100644 index 000000000..82d96785b --- /dev/null +++ b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/oracle-se-6.6.0-6.6.1.sql @@ -0,0 +1,31 @@ +-- +-- 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 +-- +-- $DateTime: 2011/03/27 23:15:09 $ +-- $Id: oracle-se-6.6.0-6.6.1 pboy $ + +-- drop table search_app - not needed anyway +@@ default/6.6.0-6.6.1/drop_app_table.sql + +-- remove legacy compatible bits +@@ default/6.6.0-6.6.1/remove_legacy_entries.sql + +-- rename application from london.subsite to subsite +-- @@ default/6.6.0-6.6.1/upd_system_tables.sql + +-- adjust class name in content_sections table +-- @@ default/6.6.0-6.6.1/upd_cms_tables.sql diff --git a/ccm-ldn-search/sql/ccm-ldn-search/upgrade/postgres-6.6.0-6.6.1.sql b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/postgres-6.6.0-6.6.1.sql new file mode 100644 index 000000000..6e5a5773e --- /dev/null +++ b/ccm-ldn-search/sql/ccm-ldn-search/upgrade/postgres-6.6.0-6.6.1.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 +-- +-- $DateTime: 2010/11/10 23:15:09 $ + +\echo Red Hat Enterprise ccm-ldn-search 6.6.0 -> 6.6.1 Upgrade Script (PostgreSQL) + +begin; + +-- drop table search_app - not needed anyway +\i default/6.6.0-6.6.1/drop_app_table.sql + +-- remove legacy compatible bits +\i default/6.6.0-6.6.1/remove_legacy_entries.sql + +-- rename application from london.subsite to subsite +-- \i default/6.6.0-6.6.1/upd_system_tables.sql + +-- adjust class name in content_sections table +-- \i default/6.6.0-6.6.1/upd_cms_tables.sql + +commit; diff --git a/ccm-ldn-search/src/ccm-ldn-search.upgrade b/ccm-ldn-search/src/ccm-ldn-search.upgrade new file mode 100755 index 000000000..dbb051d0c --- /dev/null +++ b/ccm-ldn-search/src/ccm-ldn-search.upgrade @@ -0,0 +1,5 @@ + + +