DeepExport

The method is used to export a complete application structure all at once, i.e. the application entity together with all of its sub entities and its deployment model.

Siehe auch:

Request

DeepExport

Parameters

All parameters (e.g. startDate or endDate) do affect the selection of the main entities only. They are not applied in the export of their sub entities.

Response

The response contains the result object containing the exported zip file in base64 encoded format. See section Result object on WebService.

Result ZIP File

Deep export validates the input parameters and generates a ZIP file in base64 encoded format that contains a set of the common single entity export files in a predefined file and folder structure, shown in the following example:

  1. Application 1
    1. All components
    2. All component links
    3. All deployment target filters
    4. Dynamic properties of the application
    5. Dynamic properties of the components
    6. All workflows
    7. All workflow definitions
    8. Dynamic properties of the workflow
  2. Application 2
    1. All components
    2. ...
  3. Application n
    1. ...

In addition to this, a meta file is generated for the deep export and attached to the ZIP file in its root folder. This meta file contains information about the content of the export file, about the included files as well as about the system version with which it was created (see Meta file with information about the export).

ZIP Folder Structure

For each application that gets exported the following folder and file structure is created:

File system folder Description

\Application + [FirstCharacterOfObjectName + LastCharacterOfObjectName + "_" + ObjectID/DateTime]

E.g.: Application dp_18309

One folder for each application. This folder contains the export files of the following entities:

  • The application itself.
    Filename: "Application " + [FirstCharacterOfObjectName + LastCharacterOfObjectName + "_" + ObjectID/DateTime].xml
  • Dynamic Properties of the application.
    Filename: "DynamicProperty " + [FirstCharacterOfObjectName + LastCharacterOfObjectName + "_" + ObjectID/DateTime].xml

\Component + [FirstCharacterOfObjectName + LastCharacterOfObjectName + "_" + ObjectID/DateTime]

E.g.: Component dp_18309

One folder for each component. This folder contains the export files of the following entities:

  • The component itself.
    Filename: "Component " + [FirstCharacterOfObjectName + LastCharacterOfObjectName + "_" + ObjectID/DateTime].xml
  • Component Links of the component.
    Filename: "ComponentLink " + [FirstCharacterOfObjectName + LastCharacterOfObjectName + "_" + ObjectID/DateTime].xml
  • Dynamic properties of the component.
    Filename: "DynamicProperty " + [FirstCharacterOfObjectName + LastCharacterOfObjectName + "_" + ObjectID/DateTime].xml
  • DeploymentDas Deployment einer einzelnen Applikationsrevision in eine Umgebung innerhalb einer einzelnen Aktivität. target filters of the component.
    Filename: "DeploymentTargetRequirementFilter " + [FirstCharacterOfObjectName + LastCharacterOfObjectName + "_" + ObjectID/DateTime].xml

\Workflow + [FirstCharacterOfObjectName + LastCharacterOfObjectName + "_" + ObjectID/DateTime]

E.g.: Workflow dp_18309

One folder for each worklow. This folder contains the export files of the following entities:

Each single entity export uses the name as identifier of the entity itself and all of its references.

Meta Information File

The meta file Export.xml is a XML file that contains relevant data about the export files and consists of three sections (XML elements):

  1. XML element System: Information about the ARA version the export was created with
  2. XML element Files: Information about the exported files including their relative paths, listed in the order they need to be imported
  3. XML element ExportContext: Information about the main entities that of the export file

System:

Property Type Description
SystemVersion String Version number of theARA with which the export file was generated.
E.g: 4.0

Files:

Property Type Description
file String Relative path and file name

ExportContext:

The context information belongs to the main entities (currently applications only) for which the export was done. For each application the XML element ExportContext is written to the file:

Property Type Description
mainType String Maintype of the entity: Application
name String Optional name of the component, must be set for mainType='Component'
description String Description of the entity (optional)
createdOn ISO-8601 date/time Timestamp of the entities creation
createdBy String Standard username of the user who created the entity
lastModifiedOn ISO-8601 date/time Timestamp of the entities last modification (optional)
lastModifiedBy String Standard username of the user who modified the entity the last time (optional)

Example

Example of a deep export meta file:

<?xml version="1.0" encoding="utf-8"?>
<DeepExport>
 <System>
   <!-- Application version with which the export was created -->
   <SystemVersion>3.5.168.20601</SystemVersion>
 </System>
 <Files>
   <!-- List of all files in the order they need to be imported --> 
   <File>\Application App1\Application Export Application.xml</File>
   <File>\Application App1\Component Database\Component Database.xml</File>
   <File>\Application App1\Component Database\Component Web App.xml</File>
 </Files>
 <ExportContext>
   <!-- List of all entities the export was performed for. -->
   <Entities>
     <Entity>
       <mainType>Application</mainType>
        <name>Export Application</name>
        <description>Some additional description</description> 
       <createdOn>2012-12-06T11:18:50.4790453+01:00</createdOn>
       <createdBy>2000/API/API</createdBy>
       <lastModifiedOn>2012-12-06T14:14:05.4790453+01:00</lastModifiedOn>
       <lastModifiedBy>2000/API/API</lastModifiedBy>
     </Entity>
   </Entities>
 </ExportContext>
</DeepExport>