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