You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/btp-cf-deploy-mta/btp-cf-deploy-mta.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ OK
99
99
Operation ID: <MTA_OPERATION_ID>
100
100
Deploying in org "deploy-service" and space "<SPACE>"
101
101
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"
103
103
Detected new MTA version: "1.0.0"
104
104
Processing service "my-first-app-service"...
105
105
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
117
117
Process finished.
118
118
Use "cf dmol -i <MTA_OPERATION_ID>" to download the logs of the process.
119
119
```
120
+
121
+
><MTA_OPERATION_ID> is a unique identifier for each MTA operation. It can be later used for troubleshooting.
122
+
120
123
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.
121
124
122
125
>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
163
166
my-first-app-service application-logs lite my-first-app create succeeded
164
167
```
165
168
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
+
166
187
167
188
### Create an extension descriptor
168
189
169
190
191
+
170
192
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.
171
193
172
194
1. Copy the example below to an `app-2-instances.mtaext` file:
0 commit comments