1) An administrator should be able to adjust the replication frequency.
(Originally defined as 1 hour, but run at present every 15 minutes)
2) The full Java code source is in Part 6 of this chapter.
3) The Replication script should be compatible for future FileNet 5.x versions. (All API calls are compatible with the base FileNet 5.2 version.)
Development Tools Used
1) VMware Red Hat Enterprise Linux Server RHEL 8.0 with full IBM FileNet P8 5.5.5 system
Figure 4-2The Red Hat Linux server specification used for the development
Figure 4-3The VMware Host server and version details
The P8 5.5.5 Environment
Red Hat Linux Enterprise 8.0 Server
Installation IBM Security Directory Services 6.4
Installation DB2 Enterprise Server 11.5
Product name: “IBM Data Server Client”
Product identifier: “db2client”
Version information: “11.5”
Product name: “IBM DB2 Developer-C Edition”
License type: “Community”
Expiry date: “Permanent”
Product identifier: “db2dec”
Version information: “11.5”
Max amount of memory (GB): “16”
Max number of cores: “4”
Max amount of table space (GB): “100”
IBM FileNet Case Manager 5.5.3
IBM FileNet Content Engine 5.5.5
Eclipse IDE Version 2021-12 (4.22.0) for Red Hat Linux 8.0
Figure 4-4The Eclipse IDE Java version used for the development in this book
www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2022-03/R/eclipse-java-2022-03-R-linux-gtk-x86_64.tar.gz
(Download eclipse-java-2022-03-R-linux-gtk-x86_64.tar.gz for unpacking and installation.)
At IBM FileNet Content Engine 5.x, there are Java packages and classes which help with the Java API calls used in the Replication code, especially as follows:
com.ibm.ce.rep.utils.CEReplicate
com.ibm.ce.utils.CEReplicateConfig
(These can all be found in the /opt/IBM/FileNet/CEClient folder path.)
WcmApiConfig_ejb.properties
WcmApiConfig_wsi.properties
Unit Test Data
The Root “/AUDIT_TEST” folder in the OS2 “Target” object store was used for initial testing, Test Data, as shown in Figure 4-5.
Figure 4-5The Test Data folder structure and example Document for the first tests
Project references required for the Java Replication program
Folder Referenced Object properties replicated
a) | Permissions (Security ACLs) | |
b) | Containers | |
c) | Containees | |
d) | SubFolders | |
e) | Contained Documents (retrieved separately in the importDocuments method) |
Folder Referenced Object properties NOT replicated
a) | Replication Group | |
b) | External Replica Identities | |
c) | Active Markings | |
d) | Annotations | |
e) | Security Policy | |
f) | Coordinated Tasks | |
g) | Workflow Subscriptions |
NoteThe following is required to write DateCreated and Creator properties, etc.
Leave a Reply