Skip to content

Commit aee96c0

Browse files
authored
Merge pull request #23093 from christiansavchev/master
Master
2 parents 5bc4f8d + 64c24dd commit aee96c0

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

tutorials/btp-cf-deploy-mta/btp-cf-deploy-mta.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ OK
9999
Operation ID: <MTA_OPERATION_ID>
100100
Deploying in org "deploy-service" and space "<SPACE>"
101101
Detected MTA schema version: "3"
102-
No deployed MTA detected - this is initial deployment
102+
No deployed MTA detected - this is initial deployment of MTA with ID "app"
103103
Detected new MTA version: "1.0.0"
104104
Processing service "my-first-app-service"...
105105
Creating service "my-first-app-service" from MTA resource "my-first-app-service"...
@@ -117,6 +117,9 @@ Skipping deletion of services, because the command line option "--delete-service
117117
Process finished.
118118
Use "cf dmol -i <MTA_OPERATION_ID>" to download the logs of the process.
119119
```
120+
121+
><MTA_OPERATION_ID> is a unique identifier for each MTA operation. It can be later used for troubleshooting.
122+
120123
In the output example above, the `application my-first-app` is deployed and started. A service called `my-first-app-service` is also created and is bound to the application. Credentials are provisioned for the service instance and delivered to the application runtime in the `VCAP_SERVICES` environment variable.
121124

122125
>The example above shows the deployment from a directory where the MTA deployment descriptor is available.
@@ -163,10 +166,29 @@ name service plan bound apps last operation
163166
my-first-app-service application-logs lite my-first-app create succeeded
164167
```
165168

169+
All CF entities above compose the MTA with ID “app”. It can be displayed with the command:
170+
```Console Command
171+
cf mta app
172+
Showing health and status for multi-target app app in org <ORG> / space <SPACE> as <USER>...
173+
OK
174+
Version: 1.0.0
175+
Namespace:
176+
177+
Apps:
178+
name requested state instances memory disk urls
179+
my-first-app STARTED 1/1 10.9M 5.2M <ORG>-<SPACE>-my-first-app.<DEFAULT_DOMAIN>
180+
181+
Services:
182+
name service plan bound apps last operation
183+
my-first-app-service application-logs lite my-first-app create succeeded
184+
```
185+
186+
166187

167188
### Create an extension descriptor
168189

169190

191+
170192
Extension descriptors are files complementary to the main deployment descriptor that provide additional data. They have a file extension `.mtaext` and are external to the MTA archive `.mtar`. They are used to provide deployment specific information, for example, credentials to external services.
171193

172194
1. Copy the example below to an `app-2-instances.mtaext` file:

0 commit comments

Comments
 (0)