View source | View content page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Show collection (0 pages)
Collections help

Search

Projects:External Integration Infrastructure/TechnicalDocumentation

Contents

Overview

Import Process

Export Process

High Level Class Overview by Package

org.openbravo.service.external.integration

This package only contains the SynchronizableBusinessObject class. This class acts as a bridge between the representation of an instance in the external system and a BaseOBObject in Openbravo.

The main attribute of this class is its properties map, that contains a list of property name - property value pairs.

The connector applies the defined property mappings to create a SynchronizableBusinessObject from a BaseOBObject (this is done in the PropertyMapper.createSynchronizableBusinessObject method) and to create/update a BaseOBObject given a SynchronizationBusinessObject (done in the PropertyMapper.createSynchronizableBusinessObject method).

org.openbravo.service.external.integration.base

QueryBaseOBObject?? To be completed by CAR

org.openbravo.service.external.integration.datasource

This package contains two manual datasources, both of them will be used in subtabs of the Entity Mapping window:

Connector cd datasource.png

org.openbravo.service.external.integration.edl

The base connector module uses the external data integration module to split the data to be imported/exported in batches and to process it asynchronously, and also to manage errors.

Export

In the export process, the EDL request line data contains the ids of the records to be exported. That makes very simple the implementation of the EDL classes, having to deal with simple strings and lists of strings.

The following EDL classes have been implemented to manage the export of records:

Connector cd edl export.png

Import

The following EDL classes have been implemented to manage the import of records. They all reference the OBEI_ImportData EDL Data type. This data type can be used when the data to be imported is formatted as JSON:

Connector cd edl import.png

org.openbravo.service.external.integration.export

Connector cd exporter.png

org.openbravo.service.external.integration.handler

This package contains implementations of EntityPersistenceEventObservers.

Connector cd handlers.png

org.openbravo.service.external.integration.importer

This package contains the SynchronizableBusinessObjectImporter class, which is the main responsible of importing records from an external system to Openbravo. It also contains some hooks that can be extended to customize the import process

Connector cd importer.png

org.openbravo.service.external.integration.mapping

This package contains all the classes that have a role in building the mappings between an entity in the external system and an entity in Openbravo.


Connector cd mapping common.png



The following classes manage the application of mappings. The classes that extend PropertyMapping are not including in this diagram, they will be described in another diagram later in this section.


Connector cd mapping simplified.png



The following diagram describe the classes used to define PropertyMappings:


Connector cd property mapping.png


org.openbravo.service.external.integration.process

Connector cd process simplified.png


The following classes help in the definition of HqlQueryBuilders:

Connector cd query builder.png


Retrieved from "http://wiki.openbravo.com/wiki/Projects:External_Integration_Infrastructure/TechnicalDocumentation"

This page has been accessed 550 times. This page was last modified on 16 May 2018, at 07:21. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.