LSPS documentation logo
LSPS Documentation
Model and Module Management

You can manage Model instances and Modules on the LSPS Server from the Module Management view. The view contains the list of uploaded Modules with their details. Using the buttons in the view toolbar, you can perform Module-related actions:

  • Upload ( ): upload a Model exported in GO-BPMN Export to the LSPS Server;
  • Download ( ): download the uploaded Model or Module to a zip archive (you can import it to your workspace in the Process Design Suite using the GO-BPMN Import);
  • Unload ( ): delete a model from the LSPS Server.

The Filters ( ) button allows you to filter the list of uploaded Models based on their name or version.

modulemanagement.png
Module Management view

Uploading a Module

To upload a module from the Management perspective of your PDS, do the following:

  1. Make sure your PDS is connected to the correct LSPS server.
  2. In the Module Management view, click the Upload button.
  3. In the Module Upload dialog, define the upload details:
    1. Select either a zip file with an exported module on your filesystem or a module from your workspace.
    2. Define the database update strategy.
    3. Unselect the Do not execute schema update scripts flag.
  4. Click OK.

Generating Schema Update Scripts

When upgrading the data model of your model to a version which is not backward compatible and you want to migrate the existing data or migrate the underlying database schema manually, generate the schema update scripts for your models, modify them as required and apply them on the database.

To generate the schema update scripts for your modules do the following:

  1. Open PDS and connect to the LSPS Server with the current modules.
  2. Switch to the Management perspective.
  3. In the Module Management view, click the Upload button.
  4. In the Module Upload dialog, define the details:
    1. Select either a zip files with the new modules or modules from your workspace.
    2. Set Database Schema Strategy: Set Update the schema by model to generate scripts that will update the current schema or Drop/Create to generate scripts that will create the new schema from scratch.
    3. Select the Do not execute schema update scripts flag: This prevent the schema update scripts execution and makes the scripts available in the tab Schema Update Scripts. You can find details such as lists of problems and conflicts discovered in the current schema in the script details.
  5. Adapt the scripts as necessary:
    • Include the data stored in the tables of the old schemaUpdateScripts
    • Do not remove any tables or columns used by either the new or old models if their instances will be updated as part of migration (the new and old schema must be backward-compatible).
schemaUpdateScripts.png

Unloading a Module

On unload, the module is deleted from the Module Repository, and if a module is also a model, its running Model instances are terminated. Roles and role assignments are preserved (for further information, refer to Role Management).

Note that some exploring features may become unavailable.

To unload a Module from the LSPS Server, do the following:

  1. In the Module Management view select the model you wish to unload.
  2. Click the Unload ( ) button in the view toolbar.
  3. In the Warning dialog box, click Yes.

The Module is unloaded and no longer available. Any Model instances based on the Model are terminated.

Downloading a Model or Module

You can download an uploaded Model or Module from the Model Repository as an archive file and then import the Module into the Process Design Suite with the GO-BPMN Import and edit it.

To download a Module from an LSPS Server, do the following:

  1. Make sure PDS is connected to the correct server.
  2. In the Module Management view, select the model.
  3. Click the Download button.
  4. In the Save As dialog box, define the target location and edit the file name if necessary.