Before beginning the configuration of the task, consider whether your synchronization will map data on ExtraView's repeating rows. If this is the case, then ensure the behavior setting named MULTI_RELEASE_XML is set to a value of YES. Similarly, if you intend to map the ORIGINATOR field, then the behavior setting named ALLOW_CLI_UPDATE_ORIGINATOR must be set to a value of YES.
Go to Administration --> Operational Tasks --> Task Manager to view all the tasks. Add a new task and choose the ExtraView Peer Daemon Task - Handles replication between ExtraView instances to begin the configuration of the task.
To describe a specific synchronization, each configured integration has the following fields:
START_NOW
EVPOLLWAITTIME
and EVPOLLWAITTIME2
also have an effect on timing. See below for a note on this topiccom.extraview.sccintegration.EVPeerDaemonTask
You may configure more than one ExtraView Peer Daemon task. This should be done when you want to integrate an instance with two or more other instances. The properties and mappings of the synchronization are defined within several sections as shown in the remainder of this page.
SERVER |
Required | This required entry specifies the URL of the first ExtraView server API |
SERVER2 |
Required | This required entry specifies the URL of the second ExtraView server API |
USER |
Required | The ExtraView User ID that accesses the SERVER |
PASSWORD |
Required | The password associated with USER |
USER2 |
Required | The ExtraView User ID that accesses the SERVER2 |
PASSWORD2 |
Required | The password associated with USER2 |
BYPASS_EDIT_TEST |
Optional | The fields for replication may be chosen from either server without being part of the EDIT_PROBLEM layout. When this is set to TRUE, the fields in the replication must be in the associated layout for the authorized user / area / project |
BYPASS_ADD_TEST |
Optional | The fields for replication may be chosen from either server without being part of the ADD_PROBLEM layout. When this is set to TRUE, the fields in the replication must be in the associated layout for the authorized user / area / project |
BYPASS_DETAILED_ |
Optional | The fields for replication may be chosen from either server without being part of the DETAILED_REPORT layout. When this is set to TRUE, the fields in the replication must be in the associated layout for the authorized user / area / project |
Mappings may be bi-drectional or uni-drectional. This syntax is only used within the mapping section of the configuration properties and is not used elsewhere. Consider the following:
evfn.<ExtraView field name> = evfn2.<ExtraView field name> |
The mapping of the field is bidirectional |
evfn.<ExtraView field name> => evfn2.<ExtraView field name> |
This only maps from SERVER to SERVER2 |
evfn.<ExtraView field name> <= evfn2.<ExtraView field name> |
This only maps from SERVER2 to SERVER |
The three classes of metadata objects which can be synchronized are:
An issue upsert is received from the peer, containing a UDF list value reference that does not map to any existing UDF list value on the server
This triggers the insertion of the UDF list entry on the server, and an identity mapping to be established, thereby allowing the issue upsert to complete. This only inserts a single locale’s value and no value is set in the ENABLED or SORT_SEQ fields of the UDF list entry
During a later poll of the peer server, the UDF list value(s) that were inserted in the previous step are replicated by generating a metadata upsert from the UDF list values, as retrieved from the peer. Note that this step bypasses the timestamp restriction that normally would prevent a UDF list update.
Global Mapping of Field Names | Required | evfn.<ExtraView field name> = evfn2.<ExtraView field name>
Map the named field Note: The Examples |
Field Value Mapping | Optional | evv.<ExtraView field name>.<ExtraView field value> = evv2.<ExtraView field name>.<ExtraView field value>
Map the field value Note: These value mappings must be defined for mapped fields with a enumerated display type,(list, popup, radio, checkbox), in order for the synchronization to work. Note that the mappings occur by comparing the titles to the fields. If the values do not match exactly between servers, then the field is omitted from the synchronization transaction with a warning in the log. Note: spaces in field values must be escaped with the \ character. Examples
|
Field Value Mapping within a Business Area / Project | Optional | evv.<AREA name>.<PROJECT name>.<ExtraView field name>.<ExtraView field value> = evv2.<AREA name>.<PROJECT name>.<ExtraView field name>.<ExtraView field value>
Map the field value |
User Mapping | Optional | evv.user.<ExtraView user id> = evv2.user.<ExtraView user id>
Maps the information for the |
SERVER Item ID Mapping |
Required | EVID_FIELD = <ExtraView Field Name>
Identify the name of the field in the first ExtraView server containing the mapped item ID in the second ExtraView server. The field used for this purpose should have the following data dictionary attributes: - Display type = Text The Example
If you are synchronizing more than two ExtraView instances, you should use different fields to map the IDs on each server.
|
SERVER2 Item ID Mapping |
Required | EVID_FIELD2 = <ExtraView Field Name>
Identify the name of the field in the second ExtraView server containing the mapped item ID in the first ExtraView server. The field used for this purpose should have the following data dictionary attributes: - Display type = Text The Example |
Relationship Group Mapping | Optional | rg.<Relationship Group Name> = rg2.<Relationship Group Name>
This mapping provides for the replication of relationship group entries between the instances. Note that you may map between relationship groups with different names on each server. Only those relationship group entries that have issues that are replicated by the integration task are replicated. At this point only parent-child relationships are support for synchronization. Example |
Repeating Row mapping | Optional | You must have a repeating row field with a text display type defined in both servers to facilitate the mapping. These fields should not be placed on the repeating row layouts. The fields are analogous to the EVID_FIELD and EVID_FIELD2 fields that map issues and should have the same data dictionary attributes as specified for these fields. The fields do not need to be on the screen layouts.
As described in the Administration Guide, there is one built-in repeating row type in ExtraView, named RELEASE. If you are mapping this repeating row type from
where Example
|
INSERT_VALUES |
Optional | INSERT_VALUES.<ExtraView field name> = <ExtraView field value>
This property is used to provide a value to be used to set a field in all issue INSERT operations in the first ExtraView |
INSERT_VALUES2 |
Optional | INSERT_VALUES2.<ExtraView field name> = <ExtraView field value>
This property is used to provide a value to be used to set a field in all issue INSERT operations in |
The properties that begin with the characters MI_
refer to SERVER
, whilst the properties that begin with the characters MJ_
refer to the SERVER2
.
Identifying the field in SERVER upon which synchronization occurs |
Optional | MI_FIELD = <ExtraView field name>
Identify the field to be inspected for the |
The expression which evaluates MI_FIELD in SERVER |
Optional | MI_REGEX = <regular expression>
The expression that is used with the |
Identifying the field in SERVER2 upon which synchronization occurs |
Optional | MI_FIELD2 = <ExtraView field name>
Identify the field to be inspected for the |
The expression which evaluates MI_FIELD2 in SERVER2 |
Optional | MI_REGEX2 = <regular expression>
The expression that is used with the |
The expression which determines whether an issue in SERVER maps to an issue in SERVER2 |
Optional | In this expression, a string in the form "__NAME__" refers to a field name in the ExtraView issue; when the expression is evaluated, this string is substituted with the value of the field in the issue being tested.
Examples |
The expression which determines whether an issue in SERVER2 maps to an issue in SERVER |
Optional | In this expression, a string in the form "__NAME__" refers to a field name in the ExtraView issue; when the expression is evaluated, this string is substituted with the value of the field in the issue being tested.
Examples |
EVPOLLWAITTIME |
Optional | The number of milliseconds between poll times of the first server (SERVER ). The default is 10,000 milliseconds (10 seconds) |
EVPOLLWAITTIME2 |
Optional | The number of milliseconds between poll times of the second server (SERVER2 ). The default is 10,000 milliseconds (10 seconds) |
ATTACHMENT_UPSERT |
Optional | This is a switch which can have the values of YES or NO . When the value is YES , attachments are uperted along with the issues upon synchronization |
Note: The Poll Interval for the task and the configuration options EVPOLLWAITTIME
and EVPOLLWAITTIME2
have different purposes. The default times for these three options should work well for most instances. The task's Poll Interval is the frequency with which commands to the task (such as START_NOW
and STOP_NOW
) are processed. The EVPOLLWAITTIME
and EVPOLLWAITTIME2
are independent timers that control how often the two background threads (EVPOLLWAITTIME
and EVPOLLWAITTIME2
) check their work queues, once the task is running. Note that the Poll Interval is set in seconds, while EVPOLLWAITTIME
and EVPOLLWAITTIME2 are set in milliseconds.
Notification is provided to administrators via email upon error conditions as follows
DAEMON_ERROR_ |
Optional | Notifications will be sent to the administrators no more often than the number of minutes specified in this property |
DAEMON_WARN_ |
Optional | Error email notification will not be sent until DAEMON_WARN_NOTIFICATION_COUNT error logs have occurred in DAEMON_WARN_NOTIFICATION_INTERVAL minutes |
DAEMON_WARN_ |
Optional | Error email notification will not be sent until DAEMON_WARN_NOTIFICATION_COUNT error logs have occurred in DAEMON_WARN_NOTIFICATION_INTERVAL minutes |
DAEMON_ERROR_ |
Optional | Errors that are sent to the log are not reported until there are DAEMON_ERROR_THRESHOLD errors |
LOG_FILE_PATH_NAME |
The EV Peer Daemon log file |
LOG_FILE_PATH_ |
This setting may be used for standalone installations on Windows, or when ExtraView is running within a war file |
USE_SYSTEM_LOG |
If this setting is Y, the daemon will use the ExtraView application server log file as opposed to the log file defined in LOG_FILE_PATH_NAME |
PSP_LOG |
Use this statement with a value of Y if you want to write the SQL from the task to the log file |
XML_LOG_FLAG |
Set this to a value of TRUE if you want to use XML format within the log file |
LOG_FILE_MAX_SIZE |
The maximum size of the log file, before it rolls over to a new file, in kB |
LOG_CHARSET |
This should be UTF-8 |
LOG_INCLUDE_ |
A value of YES writes the Java thread name with each entry into the log file |
DEFAULT_LOG_LEVEL |
The default log level for the daemon. The usual value is 6 |
LOG_LEVEL |
The log level for the daemon. The usual value is 6 |
LOG_DATE_FORMAT |
A valid date format to use in generating log records. The default is yyyy-MM-dd |
LOG_TIME_FORMAT |
A valid time format to use in generating log records. The default is kk:mm:ss |
LOG_TIME_AT_CREATION |
This entry may be true or false. If true, the log file name is generated with a creation date/time string appended. The default is false. |
LOG_FILE_MANAGE_SCRIPT |
The name of a script to run when switching log files. The default is none |
If an issue that is mapped is subsequently cloned, the mapping identity field should not be propagated to the cloned issue. The reason for this is that it would establish a mapping from one peer issue to two issues (i.e. the original issue and its clone). This is not a fatal error, but the behavior would be odd, causing updates to the peer issue for each update to either the original issue or the cloned issue. To handle this behavior, there is a data dictionary attribute that prevents the cloning of the field value for specific fields. This attribute is set when the field is used as a mapping field in the integration daemon.
Setting the DO_NOT_CLONE data dictionary attribute for a field means that the containing field's value will not be propagated to any clone of an issue -- its value will be null in the cloned issue.