Release Control communicates with integrating products through provider plugins. In Release Control, you can focus on selecting and sequencing the deployment tasks that you need, and the provider plugin takes care of the integration details.
Documentation References
For information on creating your own plugins, refer to the Serena Release Control SDK Reference.
For information on selecting plugins while using Release Control, refer to the Serena Release Control Getting Started Guide or online Help.
After applying the configuration, you can access the Release Control Providers administrator page from SBM Configurator to add and configure plugins. The default plugins are already added for you.
You will need to add a default plugin only if the plugin has somehow been removed from your system or if you are adding a new version of the plugin. If you write your own plugins, you need to add them using this procedure.
If you have already added your plugins or want to use the default versions of the plugins installed with Release Control, continue to Adding Plugin Configurations.
Installing the Plugin
Before you can add a new plugin, you must ensure it is installed. If the version of the plugin you want to use is already installed, continue with Adding the Plugin.
If it has not yet been installed, install it as follows:
Default plugin version jar file names are as follows:
rlc-client-sbm-6.0.0.0-SNAPSHOT.jar and rlc-provider-sbm-6.0.0.0-SNAPSHOT.jar
rlc-client-sda-6.0.0.0-SNAPSHOT.jar
rlc-client-dim-6.0.0.0-SNAPSHOT.jar and rlc-provider-dim-6.0.0.0-SNAPSHOT.jar
rlc-client-zmf-6.0.0.0-SNAPSHOT.jar and rlc-provider-zmf-6.0.0.0-SNAPSHOT.jar
Serena\SBM\Common\jboss405\server\default\deploy\rlc.war\WEB-INF\lib
Adding the Plugin
To add a plugin to Release Control:
http://serverName/workcenter/tmtrack.dll?shell=swc&StdPage&template=rlm%2fprovideradmin
See the following table for information to enter for each of the default plugins, should you need to add any of these to your system.
Name | Description | XML Context File |
---|---|---|
SBM Provider | Serena Business Manager RLC provider implements execution and request provider types. | serena-provider-sbm-1_0.xml |
SDA Component Version Provider | Serena Deployment Automation RLC provider implements execution and deployment unit provider types for SDA Component Versions. | serena-provider-sdacomponentvers-1_0.xml |
SDA Snapshot Provider | Serena Deployment Automation RLC provider implements execution and deployment unit provider types for SDA Snapshots. | serena-provider-sdasnapshot-1_0.xml |
Dimensions CM Provider | Serena Dimensions CM RLC provider implements execution, deployment unit and request provider types for Dimensions CM integration. | serena-provider-dim-1_0.xml |
ChangeMan ZMF Provider | Serena ChangeMan ZMF RLC provider implements execution and deployment unit provider types for ChangeMan ZMF integration. | serena-provider-zmf-1_0.xml |
Before you can use a plugin, you must add a configuration for it. At minimum, you must configure your specific connection information for the default configuration. Each of the plugin configurations in the default implementation have example values, but you'll need to configure these according to your own implementation.
To update or add a plugin configuration:
http://serverName/workcenter/tmtrack.dll?shell=swc&StdPage&template=rlm%2fprovideradmin
The default SBM Provider plugin provides functionality for SBM requests and executions, where the requests that are associated and deployment tasks that are submitted or transitioned are items in SBM projects.
The provider types are used as follows:
After adding a plugin, you can add configurations for the plugin. Multiple configurations can be added. Here are some examples on why you would use different configurations:
The fields for an example SBM Provider plugin configuration are described in the following table.
Field / Description | Example Values |
---|---|
Name: Name of the provider configuration. Be as descriptive as possible, as this distinguishes the configuration from other configurations when users are selecting it. |
Release Control Sample Applications |
Description: Description of the item, which will appear as a tooltip |
Release Control Sample Applications Configuration - Requires Manual Deployment Tasks and Sample Request process Apps |
SBM Web Services: URL for the SBM application web services |
http://<serverName>:80/gsoap/gsoap_ssl.dll?sbmappservices72 |
Use Single Sign-On (SSO): Enable single sign-on to allow the provider service to log in to the SBM system using the authentication token of the user. Note that if you are logging into a separate SBM system that doesn't share the same SSO server, you will receive the following message "An error occurred while getting collection details" when trying to find an item on the other system. |
true |
User Name: If single sign-on is not enabled for this server, use this user name to log in to this system. |
|
Password: If single sign-on is not enabled for this server, use this password to log in to this system. | |
Open in workcenter | true |
Execution Properties | |
Provider Name: A descriptive name of the execution provider |
RLC - Manual Deployment Task |
Provider Description: A more detailed description of the provider. This information appears as a tooltip. |
Release Control Manual Deployment Task Process App |
SBM Table (DBNAME): The database table name of the SBM table that you want to submit or transition execution items |
TRM_RLM_DEPLOY_TASKS |
Extended Fields: A comma-separated list of fields to populate with data when submitting or transitioning items. The values are the database names for the fields. (See the related note below the table.) |
RLM_TASK_OWNER |
queryWhereClause: A SQL query where clause that is used to search fields to return the list of possible requests to relate. Refer to the SBM documentation about the GetItemsByQuery call for more information on the queryWhereClause. |
TS_PROJECTID=@{PROJECTID} AND (TS_TITLE LIKE '%@{SEARCHTERMS}%' OR TS_DESCRIPTION LIKE '%@{SEARCHTERMS}%') |
orderByClause: A SQL statement to order the results of the query. Use this statement to place newest items first in the list or to divide them up based on projects. Refer to the SBM documentation about the GetItemsByQuery call for more information on the orderByClause. |
TS_SUBMITDATE ASC |
Transitions: A comma-separated list of transitions that will be available if you choose the "Transition Item" action |
UPDATE, RETRY, COMPLETE |
Wait for Callback: Whether to wait
for the system to respond with results
Important: If you are integrating with an
external
SBM
system and set this to
true, refer to
Configuring for Callback from External Systems.
|
true |
Request Properties | |
Provider Name: A descriptive name of the request provider |
RLC - Sample Request |
Provider Description: A more detailed description of the provider. This information appears as a tooltip. |
Release Control Sample Request Process App |
SBM Table (DBNAME): The database table name of the SBM table that you want to search for requests to relate |
TRM_RLM_BUSINESS_REQ |
Extended Fields: A comma-separated list of fields to populate with data when submitting or transitioning items. The values are the database names for the fields. These fields will appear when the user chooses to view the items from the report. (See the related note below the table.) |
RLM_PROJECT, RLM_PROJECT_OWNER |
queryWhereClause: A SQL query where clause that is used to search fields to return the list of possible requests to relate. Refer to the SBM documentation about the GetItemsByQuery call for more information on the queryWhereClause. |
TS_PROJECTID=@{PROJECTID} AND (TS_TITLE LIKE '%@{SEARCHTERMS}%' OR TS_DESCRIPTION LIKE '%@{SEARCHTERMS}%') |
orderByClause: A SQL statement to order the results of the query. Use to the statement to place newest items first in the list or to divide them up based on projects. Refer to the SBM documentation about the GetItemsByQuery call for more information on the orderByClause. |
TS_SUBMITDATE ASC |
Provider Types | |
Execution: Provides functionality for executing deployment tasks |
Enabled |
Deployment Unit: Provides functionality for linking deployment units |
Not Supported |
Request: Provides functionality for associating requests |
Enabled |
Date/Time field format:
2015-08-03T11:12:59+03:00
Extended Fields configuration format:
RLM_TASK_OWNER:USER,(;)CREATED_DATE:DATETIME
Extended Fields multi-values format:
admin,(;)bill
Supported types:
TEXT (Text) USER (User) MULTI_USER (Multi-User) DATETIME (Date/Time) SINGLE_SELECTION (Single Selection) MULTI_SELECTION (Multi-Selection) SINGLE_RELATIONAL (Single Relational) MULTI_RELATIONAL (Multi-Relational) NUMERIC (Numeric)
If you configure your plugin to wait for callback from an external SBM system, you must complete these additional configuration steps; otherwise, the callback will fail with errors.
Perform the following in SBM Configurator for each system as indicated:
After the SBM Request Provider configuration has been added or updated as needed, users, such as Release Managers, can associate SBM items, as requests, with release packages.
The fields that are displayed when searching for requests from the Request Collection Widget are described in the following table.
Field | Description | Example Values |
---|---|---|
Project | The specific project that contains the SBM items for associating | Sample Requests |
Search Terms | Optional search term for filtering SBM items; filters based on the assumption that the term is within Title or Description | "Sample1" |
After the SBM Request Provider configuration has been added or updated as needed, users, such as Release Engineers, can create deployment tasks and select from actions to either create or transition SBM items.
The fields that are displayed when configuring a deployment task to create SBM items from the Task Collection Widget are described in the following table.
Field | Description | Example Values |
---|---|---|
Project | The specific project where the new SBM item should be created | Manual Deployment Tasks |
Submit Transition | Submit transition into the project | Submit |
Retry Transition | Transition attempted by SBM item when Release Package deployment is retried | Retry (note: comes from "Execution - Transitions" list) |
Cancel Transition | Transition attempted by SBM item when Release Package deployment is cancelled | Cancel (note: comes from "Execution - Transitions" list) |
Extended Fields | Choose to set extended fields for environments. When enabled, the fields specified in "Execution - Extended Fields" list will appear below each environment. | Extended fields |
After the SBM Request Provider configuration has been added or updated as needed, users, such as Release Engineers, can create deployment tasks and select from actions to either create or transition SBM items.
When the transition action is selected, Release Control will attempt to transition an existing SBM item from the table whose information is specified in the SBM plugin execution provider configuration field Execution - SBM Table (DBNAME). Any projects for the table will be shown in the Project list.
The fields that are displayed when configuring a deployment task to transition SBM items from the Task Collection Widget are described in the following table.
Field | Description | Example Values |
---|---|---|
Project | The specific project where the existing SBM item to be transitioned is located | Manual Deployment Tasks |
Search Terms | Optional search term for filtering the SBM items. Filters based on term being within Item ID or Title. | "002345" or "Task1" |
SBM Item | List of possible SBM items that can be transitioned. Optionally filtered by "Search Terms" | Complete (note: comes from "Execution - Transitions" list) |
Action Transition | Choose which transition should occur for the SBM Item | Cancel (note: comes from "Execution - Transitions" list) |
Retry Transition | Transition attempted by SBM item when Release Package deployment is retried | Retry (note: comes from "Execution - Transitions" list) |
Cancel Transition | Transition attempted by SBM item when Release Package deployment is cancelled | Cancel (note: comes from "Execution - Transitions" list) |
Extended Fields | Choose to set extended fields for environments. When enabled, the fields specified in "Execution - Extended Fields" list will appear below each environment. | Extended fields |
Copyright © 2011-2015 Serena Software, Inc. All rights reserved.