The Import Framework defines a set of interfaces and handlers that allow importing content into the BI-SERVER JCR repository from the file system based on mime types. Content can be imported individually (one file at the time) or in a bulk (zip archive). The import framework is located at the "pentaho-platform-extensions" (https://github.com/pentaho/pentaho-platform/tree/master/extensions) project in the "org.pentaho.platform.plugin.services.importer" package
The import framework components are registered in the "importExport.xml" located at the "bi-server/pentaho-solutions/system" folder in the BI-SERVER.
Required changes to the "importExport.xml" during development should be propagated into both community and ee platform version projects:
...
Import framework interfaces.
The import framework is located at the "pentaho-platform-extensions" project in the "org.pentaho.platform.plugin.services.importer" package and is composed of the following interfaces:
...
LocaleImportHandler (mime type: text/locale)
Import handler for locale property files. This handler identifies which property file qualifies as a locale and stores the name and/or description as nodes in JCR for the corresponding file that the localization belongs to. The JCR storage is performed by using the IUnifiedRepository.setLocalePropertiesForFile(RepositoryFile, String, Properties). The logic to identify a potential locale file is by parsing the file and making sure that it contains only name, title and/or description.