Unit Test Phases- A Replication Java Program for IBM FileNet Object Stores-2

Types/AUD_AuditDepartment/Cases/2022/06/19/0248/000000120007 Should be linked to :/AUDIT_TEST

IGNORED: New Folder: 07 found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/07 Should be linked to :/AUDIT_TEST

IGNORED: New Folder: 07 found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/07/07 Should be linked to :/AUDIT_TEST

IGNORED: New Folder: 0279 found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/07/07/0279 Should be linked to :/AUDIT_TEST

IGNORED: New Folder: 000000130001 found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/07/07/0279/000000130001 Should be linked to :/AUDIT_TEST

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Import 16 Folders took 6043 milliseconds

Begin Delete Docs …

SQL: SELECT TOP 500 e.CmAuditSequence,e.ClassDescription,e.Creator,e.DateCreated,e.SourceObjectId,e.DateLastModified, e.EventStatus, e.Id, e.InitiatingUser, e.LastModifier, e.Name, e.Owner, e.SourceClassId FROM Event AS e WITH INCLUDESUBCLASSES INNER JOIN CLASSDEFINITION AS cd WITH INCLUDESUBCLASSES ON e.SourceClassId = cd.Id WHERE (e.DateCreated >= 20220530T080541Z) AND (cd.SymbolicName <>’Folder’) AND (cd.SymbolicName <>’FOLDER_ATTRIBUTE’) AND (e.EventStatus = 0) ORDER BY e.CmAuditSequence,e.DateCreated

Delete 10 Docs took 6933 milliseconds

Begin Import Docs …

Start Search Date : 20220530T080541Z

Start Delta Hours : -1

SQL: SELECT TOP 500 d.* FROM Document AS d WITH INCLUDESUBCLASSES WHERE d.DateLastModified > 20220530T080541Z and d.IsCurrentVersion = true and d.IsReserved = false ORDER BY d.DateLastModified,d.MajorVersionNumber, d.MinorVersionNumber

IGNORED: New Document: PageResources.zip found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master Should be linked to :/AUDIT_TEST

IGNORED: New Document: ViewResources.zip found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master Should be linked to :/AUDIT_TEST

IGNORED: New Document: AC.pdf found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/06/09/0044/000000100001 Should be linked to :/AUDIT_TEST

IGNORED: New Document: AuditEventHandler found linked to external Folder Path : /CodeModules Should be linked to :/AUDIT_TEST

IGNORED: New Document: Test of the Audit Event found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/06/09/0044/000000100001 Should be linked to :/AUDIT_TEST

IGNORED: New Document: Test Audit Events found linked to external Folder Path : /Published Should be linked to :/AUDIT_TEST

IGNORED: New Document: Audit Event Test Version 2 found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/06/09/0044/000000100001 Should be linked to :/AUDIT_TEST

IGNORED: New Document: Automatic Folder ID added found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/06/11/0234/000000110001 Should be linked to :/AUDIT_TEST

IGNORED: New Document: Solution Workflow Collection not linked to any Folder Path !

IGNORED: New Document: Detail Deployment Log found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master Should be linked to :/AUDIT_TEST

IGNORED: New Document: Error Deployment Log found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master Should be linked to :/AUDIT_TEST

IGNORED: New Document: AUDOperations.jar found linked to external Folder Path : /CodeModules Should be linked to :/AUDIT_TEST

IGNORED: New Document: Solution Workflow Collection not linked to any Folder Path !

IGNORED: New Document: AUDOperations.jar found linked to external Folder Path : /CodeModules Should be linked to :/AUDIT_TEST

IGNORED: New Document: JMS Message Trigger found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/07/07/0279/000000130001 Should be linked to :/AUDIT_TEST

IGNORED: New Document: Second Audit Report Example 08-July-2022 found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/07/07/0279/000000130001 Should be linked to :/AUDIT_TEST

IGNORED: New Document: AUD_JMSMessageWorkflow found linked to external Folder Path : /Published Should be linked to :/AUDIT_TEST

IGNORED: New Document: AuditReport00005_Engineering.pdf found linked to external Folder Path : /IBM Case Manager/Solution Deployments/Audit Master/Case Types/AUD_AuditDepartment/Cases/2022/07/07/0279/000000130001 Should be linked to :/AUDIT_TEST

Realm Name: o=sample

IGNORED: New Document: Resources.js not linked to any Folder Path !

IGNORED: New Document: Solution Definition not linked to any Folder Path !

IGNORED: New Document: PE Configuration not linked to any Folder Path !

IGNORED: New Document: General Claim Workflow Definition not linked to any Folder Path !

IGNORED: New Document: Solution Definition not linked to any Folder Path !

IGNORED: New Document: PE Configuration not linked to any Folder Path !

IGNORED: New Document: Audit Department Workflow Definition not linked to any Folder Path !

Realm Name: o=sample

Realm Name: o=sample

Realm Name: o=sample

Import 13 Docs took 13420 milliseconds

Begin Delete Folders …

SQL: SELECT TOP 500 e.CmAuditSequence,e.ClassDescription,e.Creator,e.DateCreated,e.SourceObjectId,e.SourceObject,e.DateLastModified, e.EventStatus, e.Id, e.InitiatingUser, e.LastModifier, e.Name, e.Owner, e.SourceClassId FROM Event AS e WITH INCLUDESUBCLASSES INNER JOIN CLASSDEFINITION AS cd WITH INCLUDESUBCLASSES ON e.SourceClassId = cd.Id WHERE (e.DateCreated > 20220530T080541Z) AND ((cd.SymbolicName = ‘Folder’) OR (cd.SymbolicName = ‘FOLDER_ATTRIBUTE’) ) AND (e.EventStatus = 0) ORDER BY e.CmAuditSequence,e.DateCreated

Delete 0 Folders took 838 milliseconds

Begin Update Docs …

SQL: SELECT TOP 500 e.CmAuditSequence,e.ClassDescription,e.Creator,e.DateCreated,e.SourceObjectId,e.DateLastModified, e.EventStatus, e.Id, e.InitiatingUser, e.LastModifier, e.Name, e.Owner, e.SourceClassId FROM Event AS e WITH INCLUDESUBCLASSES INNER JOIN CLASSDEFINITION AS cd WITH INCLUDESUBCLASSES ON e.SourceClassId = cd.Id WHERE (e.DateCreated > 20220530T080541Z) AND (cd.SymbolicName <>’Folder’) AND (cd.SymbolicName <>’FOLDER_ATTRIBUTE’) AND (e.EventStatus = 0) ORDER BY e.CmAuditSequence,e.DateCreated

Update 242 Docs took 1591 milliseconds~

The OS1 replicate /AUDIT_TEST folder Object Store now has the replicated folder structure and linked documents exported from the OS2 Object Store source.

Figure 4-12AThe original OS2 test data folder and document structure to be replicated

Figure 4-12BThe OS1 test data folder and document structure from the OS2 original

Notice that the exported OS1, AUDIT_TEST folder document, Date Created property entry (July 31, 2022 at 3:58:37 PM PDT), is exactly the same as from the original document in the OS2 Object Store, as is required.

Leave a Reply

Your email address will not be published. Required fields are marked *