Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Metadata Datasource JCR specification.

Metadata datasources and associated locale files are stored in JCR under /etc/metadata/<file> where <file> is a JCR node containing the metadata schema. Since Domain IDs are the unique identifier for Pentaho Metadata domains and may contain any character (including repository folder separator character(s) like '/', a UUID is created to store each file. The metadata for the file will be used to store the information (such as the Domain ID).The JCR node also contains the following properties:

1. domain-id

    Domain id associated with this file.

2. file-type (domain|locale)

    Specifies if the file is a metadata schema or a locale.

3. locale

    The locale associated with this file (or null for a domain file).

Metadata Datasource Import API.

pentaho-platform-extensions project.

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

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

org.pentaho.platform.plugin.services.metadata.PentahoMetadataDomainRepository
Is the concrete 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
 metadata importer.