The avi:ecosystem.migration:uploaded:event_file_list event is a specialized notification used for the simplified app migration path. It signals that a collection of data files has been successfully exported from the
DC instance and is now available for the cloud application to consume.
Subscribe to this event in your manifest.yml file.
avi:ecosystem.migration:uploaded:event_file_list event.key.SUCCESS or FAILED) for the parts back to the migration service (see Report Event File Status).The event is delivered via this structure:
| Field | Value / Description |
|---|---|
eventType | avi:ecosystem.migration:uploaded:event_file_list |
key | The path to the listing file (e.g., listing/uuid-metadata.json). |
label | The type of data being notified (e.g., MAPPINGS, DATABASE, BINARY). |
transferId | The unique ID of the application's transfer. |
migrationDetails | Contextual info about the overall migration. |
movementDetails | Contextual info about the data that is moved. |
isComplete | Whether this exporter has finished sending data for this label. |
Example avi:ecosystem.migration:uploaded:event_file_list event
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28{ "eventType": "avi:ecosystem.migration:uploaded:event_file_list", "transferId": "ed66d0a8-6009-484c-aced-298e3c0e9bbf", "migrationDetails": { "migrationId": "6fff0c25-7192-4ce1-9c79-99296b7a0daa", "migrationScopeId": "23b5768f-d45b-4291-8d22-fd0fcd341801", "createdAt": 1788331184581, "cloudUrl": "https://destination-site.atlassian.net", "name": "jira-migration" }, "key": "some-file-key", "label": "MAPPINGS", "messageId": "49395bf3-ca51-42e9-8ee6-e5a0c5fe9404", "movementDetails": { "appDataMovementId": "ed66d0a8-6009-484c-aced-298e3c0e9bbf", "sourceLocation": { "cloudUrl": "https://source-site.atlassian.net", "type": "cloud" }, "destinationLocation": { "cloudUrl": "https://destination-site.atlassian.net", "type": "cloud" }, "createdAt": 1788331184581 }, "isComplete":true }
An app receives exactly one avi:ecosystem.migration:uploaded:event_file_list notification for each enabled exporter in an app data movement. Each notification has a different listing-file key.
File Lists are additive within an app data movement. Each later File List includes all event files listed in earlier File Lists, plus any new files. A File List can also include BINARY or DATABASE files from earlier migrations from the same Data Center instance.
isComplete indicates whether the exporter for this label has finished sending data. When set to true, no further notifications will be sent for this specific label (e.g., MAPPINGS, BINARY, etc.) in this migration. Each exporter completes independently.
Example: If you enable both MAPPINGS and BINARY exporters:
isComplete: true (mappings done)isComplete: true (binary done)An app using only the MAPPINGS exporter typically receives one mapping notification with isComplete: true.
The listing file is a JSONL (JSON Lines) file where each line is a valid JSON representing metadata for one Event File.
Example entry (formatted for readability):
1 2 3 4 5 6 7 8 9 10 11 12 13{ "fileId": "uuid-of-the-file", "fullName": "path/to/data-part-1.json", "incremental": true, "createdAt": "2024-03-26T10:00:00Z", "sourceAppARI": "ari:cloud:ecosystem::app/uuid", "sourceLocationARI": "ari:cloud:jira::site/uuid", "destinationLocationARI": "ari:cloud:jira::site/uuid", "exporterARI": "ari:cloud:ecosystem::exporter/uuid", "properties": {"migrationId": "uuid"}, "label": "MAPPINGS" }
| Field | Type | Description |
|---|---|---|
fileId | string (UUID) | Unique identifier for the specific data part. |
fullName | string | Original filename or identifier from the DC instance. |
label | string | The type of data being notified (e.g., MAPPINGS, DATABASE, BINARY). |
incremental | boolean | Whether the event file contains data that was captured during a full initial snapshot of a datacenter instance, or data that is captured as an incremental change to the initial snapshot. |
createdAt | string (ISO 8601) | When the part was generated on the DC instance. |
sourceAppARI | string (ARI) | The ARI of the source application. |
sourceLocationARI | string (ARI) | The ARI of the source location (e.g. Jira site). |
destinationLocationARI | string (ARI) | The ARI of the destination location (e.g. the target cloud Jira site). |
exporterARI | string (ARI) | The ARI of the component that performed the export. |
properties | object (JSON) | Metadata properties based on the label (e.g., migration scope). This can be represented as an ObjectNode. |
Apps cannot download data parts directly using the fileId. How an app retrieves them depends on where it runs:
Retrieve a presigned URL to download a File Listing.
Endpoint: POST /app/migration/forge/v1/file-listing/download-url
Request body:
1 2 3 4{ "fileKey": "key-from-webhook" }
Response body:
1 2 3 4{ "url": "https://presigned.url/..." }
The response URL is presigned (contain credentials in the parameters that allow you to download for a short period after it has been generated).
Retrieve a presigned URL to download an Event File.
Endpoint: POST /app/migration/forge/v1/event-file/urls
Request body:
1 2 3 4{ "eventFileIds": ["uuid-1", "uuid-2"] }
Response body:
1 2 3 4 5 6 7 8 9{ "eventFiles": [ { "fileId": "uuid-1", "presignedUrl": "https://host.domain/..." } ] }
This section applies to the Forge Native payload endpoints.
These endpoints will be replaced by convenience methods in the @forge/migrations package in a future release.
Files can be large, so request them in chunks with a Range header to limit the memory your Forge function uses. Each request supports a single byte range, for example bytes=0-1048575, bytes=1048576-, or bytes=-1024. Requests with multiple ranges are rejected. A Range header that cannot be parsed is ignored, and the whole file is returned.
Example request:
1 2 3 4 5 6POST /app/migration/forge/v1/event-file/payload Content-Type: application/json Range: bytes=0-1048575 {"eventFileId": "uuid-1"}
Example response:
1 2 3 4 5 6HTTP/1.1 206 Partial Content Accept-Ranges: bytes Content-Range: bytes 0-1048575/5242880 Content-Length: 1048576 Content-Type: application/x-ndjson
The total file size is the value after the / in the Content-Range header. To download the whole file in chunks, keep requesting the next range until you have received that many bytes.
| Status | Description |
|---|---|
200 OK | No Range header was sent, or it could not be parsed. The response body is the whole file. |
206 Partial Content | The response body is the requested range. The Content-Range header describes which bytes were returned. |
400 Bad Request | The request body is missing, or its fileKey, eventFileId or fileId field is missing or blank. |
403 Forbidden | The file does not exist, or your app does not have access to it. |
404 Not Found | The file content is not available. |
416 Range Not Satisfiable | The Range header contains more than one range, or starts beyond the end of the file. If the file size is known, it is returned in the Content-Range header, for example bytes */5242880. |
After processing the downloaded data parts, the app must report the outcome for those files back to the migration service so the platform can track progress and completion.
Endpoint: POST /app/migration/forge/v1/event-files/status
Request body:
1 2 3 4 5 6{ "appDataMovementId": "app-data-movement-id-from-webhook", "eventFileIds": ["uuid-1", "uuid-2"], "status": "SUCCESS" }
| Field | Type | Description |
|---|---|---|
appDataMovementId | string | The identifier of the transfer. This is available in the field named appDataMovementId under movementDetails from the initial event. |
eventFileIds | array of string | The fileId values of the parts whose status is being reported. |
status | string (enum) | The processing outcome. Use SUCCESS when the files were processed successfully, or FAILED when processing failed. |
Marking an eventFileId as FAILED will fail the migration immediately.
The Forge migration platform treats updates to event files the same as updates to the existing APP_DATA upload process. As a result, any eventFile that is marked as SUCCESS will
trigger the sliding window logic and reset the 15-minute timeout window.
Rate this page: