Martini Package Configuration Editor
Martini packages are designed to be customizable to meet a variety of organizational application needs. Each package includes meta-fields which are essential for identifying, documenting, and configuring package behavior during runtime. These values can be edited in the Package Configuration Editor.
To access the Package Configuration Editor, right-click a package and select Configure from the context menu.
Fields
Name
- Description: Serves as a unique identifier for the package within an instance. It is required at the time of creation and cannot be altered later.
- Restrictions: The name can only include alphanumeric characters, dashes, and underscores.
- Naming Conventions: There are specific terms that cannot be used for naming a package. Detailed guidelines are provided for naming packages.
Marketplace ID
- Purpose: This identifier is used for packages that are uploaded to the Lonti Marketplace, facilitating their unique identification.
Version
- Function: Helps in distinguishing between different versions of the same package.
Documentation URL
- Description: This field contains the URL of the package's documentation, providing a reference point for users.
State on Startup
- Definition: Specifies the default state of the package when Martini starts up.
Startup Handlers
- Function: Lists services that are automatically executed when the package is started.
Shutdown Handlers
- Function: Enumerates services that are called upon when the package is stopped.
Package Dependencies
- Role: Lists other packages required for the current package’s operation.
- Behavior: Dependencies must be present for a package to reach the 'LOADED' state. Changes in dependencies require a reload of the package to take effect.
- Versioning: Dependencies can be versioned. Martini supports Apache Maven's dependency version requirement syntax. A dependency whose version pattern is [1.0,2.0] will force Martini to look for the dependency with a version that is between 1.0 and 2.0 (inclusive).
- Constraint: Circular dependencies are not allowed.
Spring Context Files
- Format: Details the Spring configuration files in XML format used by the package.