Martini package metadata
Martini packages were designed to be customizable in order to suit any organization's application needs. A package has 'meta-fields' that help identify, document, and configure the package's behavior during runtime.
This is used to identify a package within an instance. It must be unique (within the instance) and is required. Only alphanumeric characters, dashes, and underscores are allowed. This property cannot be changed once set.
It's possible to upload a package to the TORO Marketplace to make it publicly available. The TORO Marketplace is Martini's official platform for sharing applications, API specifications, individual services, and more. This key will be used to uniquely identify the package there.
This is used to identify your package from its other variants.
The URL of the documentation page of a package.
The packages that are required for a package to run. A package cannot move to the
LOADEDstate when its dependencies are not present.
During runtime, services and properties belonging to specified dependencies will be accessible to the dependent package. To be specific, they are accessible when a package is in the
LOADEDstate. Modifications on dependencies will not be captured by a dependent package unless a reload occurs.
The Required State On Start property can be configured in order to specify the bare minimum state a package should have for a dependent package to be able to start. Martini uses Apache Ivy's version matchers for this feature so you can specify a version such as
[1.0,2.0], which means the package's version should be greater or equal to 1.0 and lower or equal to 2.0.
A package is also not allowed to have cyclic dependencies.
State on startup
The services that are called when a package is started.
The services that are called when a package is stopped.
The majority of these meta-fields can be configured via the Package configuration editor, using the following steps:
- Stop the Martini package you want to configure if it has not been stopped yet.
- In the Navigator view, right click on said Martini package and click Configure from the context menu. This will launch the Package configuration editor.
- Edit properties as you wish.
- Save your changes by pressing (Martini Desktop) or clicking the Save button (Martini Online).
Specify startup and shutdown services by dragging and dropping
You can drag and drop services from the Navigator view to the
Startup Services or Shutdown Services table. Only valid startup or shutdown services will be added by Martini;
that is, services without required inputs or whose only input is