Versions Compared

Key

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

Metadata Datasource JCR specification.

Metadata datasources are stored in JCR under /etc/metadata/<file> where <file> is a JCR node with a random UUID as name that contains the XMI schema plus the following properties:

1. domain-id
2. file-type (domain|locale)
3. locale

Metadata Datasource Import API.

pentaho-platform-extensions project.

org.pentaho.platform.plugin.services.importer.MetadataImportHandler
Is the registered handler in the platform to process Metadata schemas.

org.pentaho.platform.plugin.services.metadata.IPentahoMetadataDomainRepositoryImporter
Is the interface that defines the API of the importer.

org.pentaho.platform.plugin.services.metadata.PentahoMetadataDomainRepository
Is the concrete implementation for the Metadata importer.

Metadata Schema Import Process Example.

1. The xmi file is stored under /etc/metadata/  JCR node with a random UUID as name and containing the XMI content plus the following properties:
  -domain-id
  -file-type (domain|locale)
  -locale