Skip to content

Latest commit

 

History

History
327 lines (199 loc) · 11.9 KB

multitarget-applications-in-the-cloud-foundry-environment-d04fc0e.md

File metadata and controls

327 lines (199 loc) · 11.9 KB

Multitarget Applications in the Cloud Foundry Environment

A Multitarget application (MTA) is essentially a single application that consists of multiple parts. These parts are created using various technologies and share the same lifecycle.

The MTA developers outline the intended outcomes using the MTA model. This model consists of MTA modules, MTA resources, and the interdependencies between them. Afterward, the SAP Cloud Deployment service validates it, orchestrates the necessary actions, and automates the MTA deployment. The outcome is the formation of Cloud Foundry applications, services, and the generation of SAP specific content. For more information about the Multitarget Application model, see the official specification documents The Multitarget Application Model v.2 and The Multitarget Application Model v.3.

You can create and deploy a Multitarget Application in the Cloud Foundry environment as described below by following different approaches that can yield the same result:

To learn more about

See

Multitarget Application deployment descriptor

Defining Multitarget Application Deployment Descriptors for Cloud Foundry

Multitarget Application archive

Defining Multitarget Application Archives

Multitarget Application extension descriptor

Defining MTA Extension Descriptors

Multitarget Application structure

Multitarget Application Structure

How to deploy the Multitarget Application

Multitarget Application Plug-In for the Cloud Foundry Command Line Interface

Terms and Concepts

Term

Description

Multitarget application (MTA)

An application comprised of multiple software modules, which are created with different technologies and deployed to different runtimes.

Development descriptor

A YAML file named mta.yaml that contains a list of all entities, such as modules, resources, and properties that belong to an application or are used by it at runtime, and the dependencies between them. It is automatically generated when an MTA project is created or modified, or when a module is added or removed. The developer needs to edit the descriptor manually to define resources, properties, and dependencies, as well as fill in missing information.

Deployment descriptor

A YAML file named mtad.yaml that contains a list of all entities which is created from either SAP Web IDE Full-Stack, SAP Business Application Studio, Cloud MTA Build Tool or manually. This file is similar to Development Descriptor but is used from the SAP Cloud Deployment service.

Module

A self-contained application of a certain type, which is developed, packaged and deployed.

Module type

A type that defines the structure and the development technology of a module. You can see a list of the module types at Modules.

Resource

Any resource, such as an external service that is required by a module at runtime but not provided by the module itself.

Property

A property (key-value pair) of an application, module, or resource, that is used during deployment or at runtime.

Parameter

A reserved variable belonging to a module or resource, whose value is used during deployment or at runtime.

Dependency

A relationship between a module and another module, resource, or property, such as provides and requires.

  • provides: indicates the properties or parameters that are provided by a module or resource to other modules.

  • requires: indicates other modules or resources that are required by a module in order to run.

MTA archive (MTAR)

Archive containing a deployment descriptor, the module and resource binaries, and configuration files. The archive follows the JAR file specification.

You have to consider the following limits for the MTA artifacts, which can be handled by the SAP Cloud Deployment service:

  • Maximum size of the MTA archive: 4 GB
  • Maximum size of MTA module content: 1 GB
  • Maximum size of MTA resource content: 1 MB
  • Maximum size of MTA descriptors (mtad.yaml and MANIFEST.MF): 1 MB
  • Maximum size of deployments which use multiple MTA archives: 20GB. This restriction is applicable only in transport scenarios via cTMS or CTS+, where one transport request with multiple MTAs results in a single deployment process in SAP Cloud Deployment service.

Unsupported Cloud Foundry Features

In addition to the features that are not supported by the Cloud Foundry environment on SAP BTP (See Supported and Unsupported Cloud Foundry Features), MTA deployment in Cloud Foundry currently does not support these features as well:

Note:

These features might be implemented in the future. For the latest information, follow the release notes regarding Multitarget Applications for Cloud Foundry in What’s New for SAP Business Technology Platform.

Related Information

JAR File Specification

Cloud MTA Build Tool

Release Notes for Multitarget Applications for Cloud Foundry