00197193-01_IM_SIPLACE_EDM_2_0_EN.pdf - 第46页

EDM V2.0 / Installation Manual Ausgabe 04/2012 Edition 6.3.2 Machine Configuration The Machine Configuration consists of a “< machines >” section cont aining a list of “< host >” entries. Each entry has the f…

100%1 / 74
EDM V2.0 / Installation Manual Ausgabe 04/2012 Edition
6.3.1 Configuration Sets
An EDM Configuration Set has a configuration type of
“Siemens.SiplacePro.EDM.Common.Configuration.ConfigurationSet” and contains a
list of configuration files associated with the configuration set. EDM uses 15 standard entries,
custom configuration files (e.g. used in workflows) may be added as needed. All files referenced in
the configuration set must be stored in the EDM configuration directory (or any sub-folder except
“_cache”). The default configuration set (used by the configuration server or in local mode) is
named “EdmConfiguration.xml” and has to reside in the EDM Configuration folder.
Name Default Type
1
MachineConfig global\MachineConfig.xml ….Common.Configuration.MachineConfig
RoleConfig global\RoleConfig.xml ….Common.Configuration.RoleConfig
SystemConfig default\SystemConfig.xml ….Common.Configuration.SystemConfig
CommentConfig default\CommentConfig.xml ….Common.Configuration.CommentConfig
CustomConfig default\CustomConfig.xml ….Common.Configuration.CustomConfig
RequestConfig default\RequestConfig.xml ….Common.Configuration.RequestConfig
DataTransferConfig default\DataTransferConfig.xml ….DataTransferExtension.PushModeConfig
Rules default\NotificationFilterConfig.xml …Common.NotificationFilterConfig
Rules_DirectImport default\ClearingPoolImportFilterConfig.xml ….Common.NotificationFilterConfig
Rules_AutoReject default\ClearingPoolRejectFilterConfig.xml ….Common.NotificationFilterConfig
EmailFilter default\EmailNotificationFilterConfig.xml ….Common.NotificationFilterConfig
EmailSettings default\EmailConfig.xml (EDM EmailConfig)
DisplayConversionConfig default\DisplayConversionConfig.xml (Generic XML)
Log4Net default\log4net_debug.config (Log4Net)
ClientWorkflow workflows\clientWorkflow.xml (EDM Workflow)
Table 6-8: Standard EDM Configuration Set entries
NOTICE
The paths to the configuration files are relative to the location of the configuration set!
1
“…”: refers to „Siemens.SiplacePro.EDM“
45
EDM V2.0 / Installation Manual Ausgabe 04/2012 Edition
6.3.2 Machine Configuration
The Machine Configuration consists of a “<machines>” section containing a list of “<host>”
entries. Each entry has the following attributes:
• id (DNS-Name),
• alias (EDM-Display-Name)
• serverType (the type of the EDM installation, generally “LINE”)
• xmlHanling Flag
(See 6.3.6.31 for a description of the possible values. The default is “-1” which means
“ByServerType” and results in “1” for Lines and “9” for the Master)
Each host entry may also contain a list of <spiLine> child elements with the ‘path’ attribute
specifying the SIPLACE Pro path of the associated Line. The special values “[ALL]” and “[NONE]”
may also be used to indicate, that a host shall be assigned to all or no line. If no entry is found
EDM assumes, that it is assigned to all lines found in the local SIPLACE Pro installation.
Please remember, that An EDM Line Alias must meet the following criteria:
1. It must be unique
2. It must not be equal to the “id” of another entry (it may be equal to it’s own id though)
3. It may not be empty or consist of only whitespace characters (spaces tabs etc.)
4. It should not contain new lines.
The “id” (hostname) has to fulfil these criteria:
1. It must be unique
2. It must not be equal to the “alias” of another entry (it may be equal to it’s own alias though)
3. It may not be empty or consist of only whitespace characters (spaces tabs etc.)
4. It cannot contain new lines.
5. Only hostnames are allowed (EDM will not resolve IP-Addresses)
A sample Machine-Config file:
<configuration>
<configurationInfoname="Demo"version="2.0.0.0"comment="SampleConfiguration"
type="Siemens.SiplacePro.EDM.Common.Configuration.MachineConfig"/>
<machines>
<hostid="PC4711"alias="Lin e_01"serverType="LINE"xmlHandling="‐1 ">
<spiLinepath="System\Line1_A"/>
<spiLinepath="System\Line1_B"/>
</host>
</machines>
</configuration>
46
EDM V2.0 / Installation Manual Ausgabe 04/2012 Edition
6.3.3 Comment Categories
All entries consist of a value and an optional index (used to determine the display order)
A comment category entry has to fulfil these criteria:
1. It must be unique
2. It should not be empty or consist of only whitespace characters (spaces tabs etc.)
3. It should not contain new lines.
A sample Comment-Config file:
<configuration>
<configurationInfoname="Commentcategories"comment="Sample"version="2.0.0.0"
type="Siemens.SiplacePro.EDM.Common.Configuration.CommentConfig"/>
<commentCategories>
<categoryvalue="Production"index="0"/>
<categoryvalue="Importantchange"index="1"/>
<categoryvalue="Test"index="2"/>
<categoryvalue="Filter"index="3"/>
</commentCategories>
</configuration>
6.3.4 Request Configuration
All entries consist of a name (key) and a value:
<add key="[request]" value="[Class]"/>
There is one entry for each of the services provided by the Master Server. These settings should
only be changed by the developer since they depend on the implementation of the Master Server,
and improper settings can affect the integrity and operation of the system as a whole.
A request command entry has to fulfil these criteria:
1. The key must be unique
2. The key cannot be empty or consist of only whitespace characters (spaces tabs etc.)
3. The key cannot contain new lines
4. The value should point to an existing class
5. The value has to point to a class that can be loaded by EDM (.Net Framework ≤ 4.0; x86)
Sample excerpt from a Request-Config file:
<configuration>
<configurationInfoname="RequestSample"comment="Demo"version="2.0.0.0"
type="Siemens.SiplacePro.EDM.Common.Configuration.RequestConfig"/>
<requestCommandConfig>
<addkey="objectData"
value="Siemens.SiplacePro.EDM.DataExchange.Commands.RequestDataCommand,DataExchange"/>
</requestCommandConfig>
<!‐‐…Æ
</configuration>
47