Import
An XML interface can Create, Modify or Delete the data objects of all entities used in Lobster Data Platform / Orchestration based on Lobster_data profiles.
In addition to these actions directly related to a specific data object, an import can also directly trigger an event (see Custom action event) and optionally provide data in XML format.
Regardless of the type of action to be performed, the overall process is referred to as an Import. Basically, there are two different import methods to choose from, which are closely related on a technical level:
A Single import allows an import referring to exactly one single data object.
A Batch import enables imports of multiple data objects, either by a series of standalone 'single transactions' (similar to performing a Single import for each individual object) or a collective 'batch transaction' covering all data objects.
►NOTE◄ There is no disadvantage in always using the Batch import, even if only single data objects are imported, as the Batch import completely covers the functionality of the Single import plus additional functionality on-top (e.g. for error handling).
The system provides XSD files for all Lobster Data Platform / Orchestration data objects via a sub-page "./system/schema/all" relative to the URL used for the Lobster Data Platform / Orchestration login.
For any XML structures defined there, Lobster_data provides compliant Lobster SCM templates for the corresponding data objects, which can be used to create source and target structures in profiles.
Lobster SCM templates are also available for the Import structures for Single import (core:Import) or Batch import (core:BatchImport).
The following sections describe the general interaction of Lobster_data and Lobster Data Platform / Orchestration for import.
Further information about importing:
Configuring a Lobster_data Import-profile for Lobster Data Platform / Orchestration
The following diagram shows a schematic overview for the typical process pattern of an import profile. The components specific to the context of Lobster Data Platform / Orchestration are highlighted in red:
The Lobster_data-Profile processes the input data, which contains all necessary information for the import, in the following steps:
|
|
Phase 1 and Phase 2: Standard functionality of Lobster_data
The preparation of input data in phases 1 and 2, up to the definition of a source structure for the mapping in phase 3, is an individual process depending on the content and format of the input data. No specific aspects result from a subsequent import into Lobster Data Platform / Orchestration. The technical possibilities and suitable procedures for phases 1 and 2 are described in the documentation of Lobster_data.
Phase 3: Mapping
Specific aspects for the configuration of an import profile, on the other hand, are described in the following paragraphs or other sections of the Lobster Data Platform / Orchestration manual referenced there:
Details about the Import structure and the use of Lobster SCM templates in Phase 3 (see the gray shaded area in the diagram above) are described on the pages for Single import, Batch import and Lobster SCM templates.
Typical settings for the Integration Unit (Phase 5) are described below, along with details on the configuration of the Response Route (Phase 6) and on the ImportResponder (_data-Responder) page.
►NOTE◄ Phase 4 – the processing of the target data on a database level – is usually irrelevant for the import into Lobster Data Platform / Orchestration and is therefore skipped.
Phase 5: Integration Unit
The task of the Integration Unit is the conversion of the input data, which has been transformed to the Import structure by Mapping, into the predefined XML format for the import into Lobster Data Platform / Orchestration.
|
|
Phase 6: Response Route
Phase 6 defines the Response Route for the transfer of data generated by the previous phases to one or more recipients.
For an import profile it is crucial that a Response Route (often briefly referred to as a Response) is configured as described below:
|
|
After selecting a category for a new Response Route, a form appears immediately below the list where details can be set:
|
|
Example for 'Additional parameters' for authentication of an import: Login Beispiel
< base :LobsterDataLoginRequest xmlns:base = 'SCM.BASE' userName = "admin" selectedRole = "1" selectedCompany = "1" /> For further details on authentication see base LobsterDataLoginRequest or Lobster_pro: Create Login Request (_data function). |
A final important step to define the Response Route for an import profile is to assign the output data of the Integration Unit as Content for the Response Route:
|
|