Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Class datameer.dap.sdk.authentication.DisabledUserAuthenticationException was removed.

Relocations

 

  • Interface datameer.dap.sdk.authentication.AuthenticationContext moved to datameer.dap.sdk.usermanagement.auth.AuthenticatorContext

...

  • Class datameer.dap.sdk.usermanagement.auth.NullAuthenticatorContext
  • Class Class datameer.dap.sdk.usermanagement.auth.NullAuthenticatorRepository



API Changes to v4.3

 

  • The datameer.dap.sdk.importjob.FileInfoRecordEnricher is replaced by the datameer.dap.sdk.importjob.enrichment.RecordEnricher

  • The datameer.dap.sdk.importjob.FileInfoRecordEnricherMultipleSource is replaced by datameer.dap.sdk.importjob.RecordEnricherMultipleSource

 

The record enricher will be instantiated with an iterable of datameer.dap.sdk.importjob.enrichment.EnrichmentValueFunction.


These functions can be created with the enum datameer.dap.sdk.importjob.enrichment.EnrichmentValueFunctions. Use EnrichmentValueFunctions#fileImportEnrichments to instantiate file based enrichment functions for file import formats.

Use EnrichmentValueFunctions#baseImportEnrichments to instantiate basic enrichment functions for all import formats. These functions should be also configured via datameer.dap.sdk.importjob.enrichment.EnrichmentValueFunctions#configure.

For example: the datameer.dap.sdk.importjob.enrichment.EnrichmentValueFunctions.JOB_EXECUTION_ID must be configured with org.apache.hadoop.conf.Configuration to extract the id of the related execution.

 

Example how the file import job model enrich the records with file based informations:

Panel
Iterable<EnrichmentValueFunction> configuredFileFunctions = EnrichmentValueFunctions.configure(EnrichmentValueFunctions.fileImportEnrichments(), conf);
RecordParser<T> recordParser = RecordEnricher.createNew(recordParser, fields, configuredFileFunctions);