This documentation is for WSO2 Governance Registry 5.1.0. View documentation for the latest release.
Skip to end of metadata
Go to start of metadata

The state duration of a lifecycle is shown in the dd:hh:mm:ss format as shown below:

Using the state duration, it is possible to define checkpoints for a particular lifecycle state, and define a custom color by editing the Lifecycle Source as follows:

        <checkpoint id="DevelopmentOne" durationColour="green">   
            <boundary min="1d:0h:00m:20s" max="23d:2h:5m:52s"/>       
        <checkpoint id="DevelopmentTwo" durationColour="red">            
            <boundary min="0d:0h:0m:0s" max="1d:0h:00m:20s"/>

The state duration will be displayed in the relevant color, as shown below:

By defining checkpoints, you can get notifications when each checkpoint is reached. To enable this feature, subscribe to LC Checkpoint Notification for the services/resources that you require as shown below:

These notifications are sent using a scheduled task, which has to be defined in the <GREG_HOME>/repository/conf/registry.xml file as follows:

<task name="LCNotificationSchedulerTask" class="org.wso2.carbon.governance.lcm.tasks.LCNotificationSchedulerTask">
     <trigger cron="0/10 * * * * ?"/>
  • No labels