ExportModuleEntry
Configuration file |
None. Configuration is done directly with a string in field " Additional parameters" . |
Class name |
com.ebd.hub.datawizard.customresp.ExportModuleEntry |
Description
This class can export Content Inspection entries, ASM entries, ETL/ELT pipelines and workflow definitions. It can be used to create automated exports for backups.
Signed XML files are exported, which can also be imported again in the corresponding overviews if they have not been changed (as they are signed).
Parameters
The only parameter to be specified in the "Additional parameters" field is which type of entry is to be exported and to which directory.
Example |
Description |
workflow:./export/wf |
The workflow definitions are exported into directory ./export/wf. |
asm:./export/asm |
The ASM entries are exported into directory ./export/asm. |
ci:./export/ci |
The Content Inspection entries are exported into directory ./export/ci. |
etl:./export/etl |
The ETL/ELT pipelines are exported into directory ./export/etl. |
The input file of the profile is used as input, i.e. either a file directly or, for example, a database query in the Input Agent. Each line has to specify the ID of the entry to be exported. A profile that uses this class therefore does not need to have an active mapping.
The content of the Response must be set to "as received".
Example
-7a97ff2:17ae0d26b83:2264.e3953911876a5e03:-7a97ff2:17ae0d25b84:-8000
-3995f61d:18ba8aff905:49dc.94a615cd062ccec3:-3995f61d:18ba5e0f5f6:-8000
You can create a corresponding file manually and transfer it to the profile, or use the time-driven Input Agent "Basic SQL" in phase 1, e.g. with the following SQL query (main database, normally alias "hub").
select obj_id from xml_dw_wf_definition where last_mod > '2023-01-01' |
This exports all workflow definitions that have changed since 01.01.2023. The syntax must be adapted depending on the database you are using. Analogue examples for other entries:
select obj_id from xml_dw_asm where last_mod > '2023-01-01' select obj_id from xml_datawizard_ci where last_mod > '2023-01-01' select obj_id from xml_dw_etl where last_mod > '2023-01-01' |