Importing and Exporting Martini Packages
This section explains how to import and export Martini packages, enabling the sharing of applications, services, and APIs within or across different Martini instances.
Importing Martini Packages
Martini packages, exported as ZIP files, can be imported into Martini. These ZIP files may contain single or multiple packages.
From the File System
- Launch the Package Import Wizard: Right-click on the instance in Martini Desktop or Martini Online, and select
Import > Martini Package
. - Provide Import Details:
- Martini Instance: Select the target instance for the package.
- File: Choose the ZIP file containing the package(s).
- State on Import: Set the desired state of the package(s) post-import.
- Replace Existing: Decide whether to overwrite existing packages with the same name.
- Complete the Process: Click
Finish
to start importing the package(s).
From the Lonti Marketplace
- Access the Marketplace: Use the Marketplace icon or the
Help
menu. - Filter for Martini Packages: Choose
Martini Package
from the dropdown menu and optionally use the search bar for filtering. - Install Packages: Select packages, configure installation settings, and click
Finish
.
From Your Team Workspace
- Open Team Workspace Dialog: Click the team workspace icon or access it via the
Help
menu. - Select and Install Packages: Choose
Martini Package
from the Type dropdown, select the package(s), and clickInstall
.
Exporting Martini Packages
Exporting Martini packages allows for easy distribution and sharing of packages as ZIP files or through the team workspace.
To the File System
- Select Packages: In the Navigator view, select the package(s) you wish to export.
- Initiate Export: Right-click on the selected package(s), navigate to
Export
, and selectMartini Package
. - Configure Export Settings: Choose the destination directory and decide whether to include package properties.
- Finish Export: Click
Finish
to download the ZIP file(s).
To Your Team Workspace
- Start Package Upload Wizard: Right-click any package and select
Export > Upload to Team Workspace
. - Select Packages for Upload: Choose the packages to upload and provide necessary information for each package.
- Complete the Upload: After filling in the details, click
Finish
.
Notes
- Namespace Conflicts: Be aware of namespace conflicts when importing packages. Conflicting namespaces can disable the conflicting package until resolved.
- Manual Exports: Packages can also be manually exported by compressing their respective directories.
- Upload Failures: If an upload to the team workspace fails, a notification will indicate the error encountered.