Versions Compared

Key

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

The sample named "asset-models" at [CARBON_HOME]/samples represents a set of Pre-built metadata models. This sample demonstrates how registry extensions are being created and how to create a corresponding report to registry extension artifacts. This sample contains following sub samples which are made to create different sets of RXTs in accordance with corresponding scenarios. 

 

  1. For each of these samples corresponding Configurable Governance Artifact (RXT) files are provided.  For some metadata models there can be several RXT files involved. And for some meta data models handler definitions and handler codes are also provided.

  2. To generate reports these samples also include reporting template which are jasper report templates (.jrxml). And similarly samples also contain report generator code to populate data to reports from the registry.
     
  3. A sample Populator is provided to easily execute each and every sample. The Populator would do following when executed for a particular metadata model. Refer the README of the populator to find out commands to execute samples.

    a. Add Registry Extension files to the Registry.

    b. Add Extension jar files needed.

    c. Add Handlers.

Application Model

Application governance model can be use to govern different applications. It allows you to store Applications from Application name, Application version, Application description etc. Also this sample includes a sample report generator to generate reports about the currently existing applications.

User can populate the model by executing ant run-application command inside the Populator directory.

Business Process Model

Business Process Model is use to govern different business processes defined using Business Process Execution Language(BPEL), Business Process Model and Notation (BPMN) or XML Process Definition Language(XPDL). This will process the definition files and identify the different sub tasks (service invocations, user interactions) in it and list down as Service Tasks and User Tasks. Also this sample includes a sample report generator to generate reports about the currently existing processes. 

You can populate the model by executing ant run-process command inside the Populator directory.

Refer README.txt of Business process model sample to test handler functionality. 

People Model

 

ProjectModel

TestPlanModel