Publish a domain to the Pentaho Server
You can share an XML representation of your domain with a Pentaho solution that your Pentaho Server recognizes, so that the server can access the metadata domain and its contents.
The implementation of metadata in the Pentaho Server requires that you follow some basic rules:
- There can only be one metadata domain per Pentaho solution.
- The metadata domain is associated with the solution by placing the XML format of the domain in the root directory of the solution.
- The domain XML file must be [myBusinessModel].xmi, where [myBusinessModel] is any name you want to give the model.
You can accomplish this by using the Pentaho Metadata Editor Publish feature, or you can export your domain file and copy it manually to the solution repository folder associated with the solution.
Once you have published a model, it becomes available as a public data source, unless you add security to the metadata business objects. Published models appear as data sources for these Pentaho design tools and components:
- Report Designer
- Interactive Reports
- Dashboard Designer
Before you begin
Before you publish a domain make sure you have this information available:
- The user name and password for the Pentaho Server. The default user name is admin.
- The base URL for your Pentaho Server. This consists of all URL information up to and including the Web application context. For example, the base URL of the Pentaho demo server is http://localhost:8080/pentaho. For publishing, you must append the base URL with the name of the publish service. The default is http://localhost:8080/pentaho/plugin...etadata/import. This is the value you must use, unless your server administrator has changed the service name.
- The solution to which you want to publish the domain. For example, the Pentaho demo server ships with two different solutions, the Samples solution and the Steel Wheels solution. No slashes are required.
Make a model available as a data source
In the Pentaho Metadata Editor go toThe . Publish to Server dialog box appears.
Enter the Web Publish URL, which is the Pentaho Server base URL followed by the publish service name.RepositoryFilePublisher is the default.
Enter the Server Userid.The default is admin.
Enter the Server Password.The default is password.
Enter the Domain Name, which is the domain name of the solution to which you want to publish.
Click OK to save and exit the dialog box.