Guide - 7.8 Migration Removal of bc_product_configuration

Product Version

7.8

Product To Version

7.8
Status

final

1 Introduction

The deprecated cartridge bc_product_configuration was removed from ICM 7.8.

A DBMigrate is necessary to remove the related artifacts from the database. However, the DBMigrate script does not properly remove all related artifacts, so additional manual steps are required.

The DBMigrate script checks whether the bc_product_configuration is included in the cartridge list. If the cartridge is still in use in a project, the migration script does not remove the related artifacts. In this case, this migration guide is not relevant for you.

1.1 References

2 Migration Steps

Since ICM 7.8, the ICM solution does no longer contain or require the bc_product_configuration cartridge, so the associated tables can be deleted and unregistered as a staging table.

To do so you can write a custom cartridge that executes the following DBMigrate preparers to remove the old tables with their related staging objects (synonyms, views, tables):

\eserver\share\system\cartridges\{CustomCartridgeToRemoveOldTables}\release\migration.properties

migration.properties
# Unregister and delete these tables in the DB schema if they are not required anymore
#
#
Class1 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFSET
Class2 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFSET_AV
Class3 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFSETPRODASSM
Class4 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFSETPRODAS_AV
Class5 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFSECT
Class6 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFSECT_AV
Class7 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFOPT
Class8 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFOPT_AV
Class9 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVAL
Class10 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVAL_AV
Class11 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVALDVALS
Class12 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVALDVALS_AV
Class13 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVALD
Class14 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVALD_AV
Class15 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVALDASS
Class16 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVAOPTASS
Class17 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVAOPTASS_AV
Class18 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVASECASS
Class19 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVASECASS_AV
Class20 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVAVALASS
Class21 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTCONFVAVALASS_AV
Class22 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTPRECONF
Class23 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTPRECONF_AV
Class24 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTPRECONFOPTSEL
Class25 = com.intershop.beehive.core.dbmigrate.preparer.database.DropTable PRODUCTPRECONFOPTSEL_AV

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets