Packages
A package is a facilitator for performing the deployment. It is a compressed file, in ZIP format, that may contain one or more modules, one or more module uninstallation commands, scripts to be executed before the deployment and scripts to be executed after the deployment.
The commands for module removal and the scripts for pre-deployment and post-deployment are defined in a package definition file. This file is an XML formatted file that must follow the lumis-package.xsd schema, the link to which is present in API and XSD.
Module Removal
Some modules may be removed during a deployment, for various reasons.
Pre-deployment and Post-deployment Scripts
Packages may contain scripts for pre-deployment and post-deployment, which will be executed before and after the deployment, respectively.
The package scripts may include steps of the following types:
- Execute SQL command: Executes an SQL command on the database.
- Execute database definition file: Takes a database definition file as input and executes the commands generated from that file.
- Execute a Java class: Executes a Java class on the server.
- Display a message: Displays an informational message.
- Cleanup of unreferenced global items: Removes global items (global styles of interface instances, CSS records, and file transformation parameters) that are unreferenced.
- Cleanup of Document Types from the standard Big Data repository.