...
Code Block | ||
---|---|---|
| ||
<repoName>.protocolservice.type=database <repoName>.protocolservice.database.driver= <repoName>.protocolservice.database.url= <repoName>.protocolservice.database.user= <repoName>.protocolservice.database.password= #<repoName>.protocolservice.database.read-connections.max= #default: 32, not after 2.7.0 #<repoName>.protocolservice.database.read-connections.min= #default: 32, not after 2.7.0 #<repoName>.protocolservice.database.read-connections.shared= #default: false, not after 2.7.0 #<repoName>.protocolservice.database.write-connections.max= #default: 32, not after 2.7.0 #<repoName>.protocolservice.database.write-connections.min= #default: 32, not after 2.7.0 #<repoName>.protocolservice.database.cache-statements= #default: false, not after 2.7.0 #<repoName>.protocolservice.database.cache-statements.size= #default: 50, not after 2.7.0 #<repoName>.protocolservice.database.minimumIdle= #default: maximumPoolSize #<repoName>.protocolservice.database.maximumPoolSize= #default: 10 #<repoName>.protocolservice.database.connectionTimeout= #default: 30000 #<repoName>.protocolservice.database.idleTimeout= #default: 600000 #<repoName>.protocolservice.database.keepaliveTime= #default: 0 #<repoName>.protocolservice.database.maxLifetime= #default: 1800000 |
Info |
---|
As of version 2.7.0 we switched from EclipseLink to Hibernate, |
...
therefore some parameters have changed. |
H2
Code Block | ||
---|---|---|
| ||
<repoName>.protocolservice.database.driver=org.h2.Driver <repoName>.protocolservice.database.url=jdbc:h2:C:/h2db.db;FILE_LOCK=FS;TRACE_LEVEL_SYSTEM_OUT=0 |
...
Required Configuration for Searching in Protocols:
Make sure you configure as last these that your configuration has the following values:
Code Block |
---|
FI.protocolservice.document.properties=name,contentlength,path,contentDigest FI.protocolservice.container.properties= name,path |
...
name,path
Tables:
PROTOCOL
Contains on one record per access, defines acces modul and access data
Expand | ||
---|---|---|
| ||
CREATE TABLE [dbo].[PROTOCOL]( |
PROTKEY_VALUES
multiple record records per access, contains details according to configuration
...
ArchiveLink based Queries
all All protocols ArchiveLink entries:
Protocols fpr Doicuments for documents and components create seperate protocoll entries. A “Create” exists for creation of the document and for each component. Same applies for other commands.
COMMANDOBJECT | Description |
---|---|
document | Protocols for the ArchiveLink Component |
container | Protocol fpr for the ArchiveLink Document |
Code Block | ||
---|---|---|
| ||
select CLIENT,COMMANDOBJECT,COMMANDMESSAGE, COMMANDCATEGORY,COMMANDSTATUS,STARTTIME,ENDTIME,MODULENAME,REPOSITORYNAME,REQUESTID, (select FIELDSTRINGVALUE from PROTKEY_VALUES pv inner join PROTOCOL prot on PROT.RECORDID = pv.RECORDID and prot.REQUESTID = P.REQUESTID where FIELDID = 'path' and prot.COMMANDOBJECT = 'document') as DOCUMENT, (select FIELDSTRINGVALUE from PROTKEY_VALUES pv inner join PROTOCOL prot on PROT.RECORDID = pv.RECORDID and prot.REQUESTID = P.REQUESTID where FIELDID = 'name' and prot.COMMANDOBJECT = 'document') as COMPONENT, (select FIELDINTVALUE from PROTKEY_VALUES pv inner join PROTOCOL prot on PROT.RECORDID = pv.RECORDID and prot.REQUESTID = P.REQUESTID where FIELDID = 'contentlength' and prot.COMMANDOBJECT = 'document') as SIZE, (select FIELDSTRINGVALUE from PROTKEY_VALUES pv inner join PROTOCOL prot on PROT.RECORDID = pv.RECORDID and prot.REQUESTID = P.REQUESTID where FIELDID = 'contentDigest' and prot.COMMANDOBJECT = 'document') as HASHVALUE from Protocol p where MODULENAME = 'ContentServer4ArchiveLink' |
filter Filter based on docID:
enter Enter docID instead of example value 85DCD9A03683496DB7B9A8BFED0EBEAD
...