Importing the DEE

Import the DEE Library

Any of the source dependencies must be included in your project’s POM. You can check Data Connectors Requirements to ensure your project meets the minimum ActivePivot version requirements. You must also include one dependency for each source you wish to add. All supported sources can be found at Data Connectors Module Structure.

<!-- CSV data extraction support -->
<!-- In-Memory data extraction support -->

Maven Property Management

The external properties are retrieved using the Spring @Value mechanism. For it to work in your project you need to ensure you have the following code in your main Spring Config class.

public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() {
	final PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer = new PropertySourcesPlaceholderConfigurer();
	return propertySourcesPlaceholderConfigurer;

Importing Configurations

The library offers more verbose calls to the different services exposed by the cube (Queries, Streaming, Json, Xmla, HealthEvent). This is done by additional TraceContext of events using the APM. The DEE library provides the necessary Spring Config files you need to use to enable the DEE in your project so no additional Configuration is required for this additional level of monitoring.

All-In-One Configuration

All config files can easily be added by simply adding the target-specific configuration to your application’s spring config. These config files contain all config files needed for DEE.

Source Target Configuration Class
Local CSV File CsvDataExtractionEngineConfig.class
In Memory InMemoryDataExtractionEngineConfig.class

Example of what your application config should look like:

		// Import the Source-Specific Data Extraction Engine
public class ApplicationConfig {

Individual Configuration Files

Optionally, users can import specific configs, below are configs for the CSV target:

CSV Specific Implementation Description
CsvDataExtractionServicesConfig Registers the services for the Data Extraction Engine (ILocalDataExtractionService) and Enhanced Drill-Through ILocalEnhancedDrillthroughService
DataExtractionWebServicesConfig Exposes the services so they can be accessible using Web-Services
DataExtractionRemotingServicesConfig Exposes the services so they can be accessible using Remoting
CsvDataExtractionRestServicesConfig Exposes the services so they can be accessible using REST (work in progress)