Journey Manager (JM) The transaction engine for the platform. | System Manager / DevOps | 23.04This feature was updated in 23.04
Manager allows you to import services, which were previously exported. Use this functionality to:
Manager runs a virus scanning service before an import file is processed, so the antivirus service must be properly configured and enabled. If a virus is detected, the import operation fails and a corresponding record is added to the Error Log. | 23.04 This feature was introduced in 23.04
You can import a service using one of following options:
To import a service:
If you import a new version of a service, clear the Preserve Existing Services, then manually activate this service version and update the configurations that refer to the old version of the service to point to the new version.
You can check the Audit Log and Error Log for successful and failed import operations respectively, whilst the Import Log shows all import operations.
To help you avoid enabling the Groovy Debug Logging option for a Groovy service or a function by mistake in a production environment, Manager checks if this option should be disabled on import. For more information, see the Production Mode option. | 23.04 This feature was introduced in 23.04
The Journey Manager SDK Maven plugin provides the tm-sdk:archive-deploy goal to import a service.
The Journey Manager REST API provides the endpoint URL to import a service.
To call this REST API, you need:
http(s)://<JM_SERVER>/manager/secure/rest/archive/v1/
--header ‘Authorization: Basic <USE-NAME-AND-PASSWORD-BASE64-ENCODED>’
- an HTTP header containing 'username:password'
encoded as Base64Base64 is a binary to a text encoding scheme that represents binary data in an American Standard Code for Information Interchange (ASCII) string format..
--form ‘archiveFile=@“/Users/my-service.zip”’
- a path to an archive file to be imported.
--form ‘importOptions=“PRESERVE_DEFAULT_SERVICES,PRESERVE_EXISTING_SERVICES”’
- a comma-separated list of import options to perform. The option names are the same as described in the Import Using UI section but they use an underscore, for example, PRESERVE_DEFAULT_SERVICES
for Preserve Existing Services.
200 OK
status code.
curl --location --request PUT ‘https://<JM_SERVER>/manager/secure/rest/archive/v1/’ \
--header ‘Authorization: Basic <USE-NAME-AND-PASSWORD-BASE64-ENCODED>’ \
--form ‘archiveFile=@“/Users/my-service.zip”’ \
--form ‘importOptions=“PRESERVE_DEFAULT_SERVICES,PRESERVE_EXISTING_SERVICES,PRESERVE_SERVICE_CONNECTIONS”’
Next, learn how to migrate services.