'Test Name = %s' % STAXCurrentTestcase
'%s Add objectclass. Check schema replication when a new objectclass is added' % msg1
{ 'stepMessage' : '%s Load entries into "master" server.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'entryToBeAdded' : '%s/replication/Example.ldif' % \
clientDataDir
}
{ 'stepMessage' : '%s Add new object class.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'cn=schema',
'attributeName' : 'objectClasses',
'newAttributeValue' : newObjectclass,
'changetype' : 'add'
}
{ 'stepMessage' : '%s Add entry to "consumer" server using new objectclass.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : consumerHost,
'dsInstancePort' : consumer.getPort(),
'dsInstanceDn' : consumer.getRootDn(),
'dsInstancePswd' : consumer.getRootPwd(),
'entryToBeAdded' : '%s/replication/testuser-0.ldif' % \
clientDataDir
}
{ 'stepMessage' : '%s Verify the synchronization of the schema on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, '99-user.ldif' ]
{ 'stepMessage' : '%s Verify the synchronization of the trees on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s Add Attributetype. schema replication when a new Attributetype is added' % msg1
{ 'stepMessage' : '%s Add newAttributetype in "master" server.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'cn=schema',
'attributeName' : 'attributeTypes',
'newAttributeValue' : newAttributetype,
'changetype' : 'add'
}
{ 'stepMessage' : '%s Add newObjectclass in "master" server.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'cn=schema',
'attributeName' : 'objectClasses',
'newAttributeValue' : newObjectclass,
'changetype' : 'add'
}
{ 'stepMessage' : '%s Add entry to "consumer" server.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : consumerHost,
'dsInstancePort' : consumer.getPort(),
'dsInstanceDn' : consumer.getRootDn(),
'dsInstancePswd' : consumer.getRootPwd(),
'entryToBeAdded' : '%s/replication/testuser-1.ldif' % \
clientDataDir
}
{ 'stepMessage' : '%s Verify the synchronization of the schema on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, '99-user.ldif' ]
{ 'stepMessage' : '%s Verify the synchronization of the trees on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Test Name = %s' % STAXCurrentTestcase
'%s Delete objectclass. Check schema replication when an objectclass is deleted' % msg1
{ 'stepMessage' : '%s Delete newObjectclass in "master" server.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'cn=schema',
'attributeName' : 'objectClasses',
'newAttributeValue' : newObjectclass,
'changetype' : 'delete'
}
{ 'stepMessage' : '%s Delete previously added entry.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : master.getHostname(),
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsDn' : ['cn=testuser-0,ou=People,%s' % synchroSuffix]
}
{ 'stepMessage' : '%s Attempt to add entry to servers with deleted objectclass.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : server.getHostname(),
'dsInstancePort' : server.getPort(),
'dsInstanceDn' : server.getRootDn(),
'dsInstancePswd' : server.getRootPwd(),
'entryToBeAdded' : '%s/replication/testuser-0.ldif' % \
clientDataDir,
'expectedRC' : 65
}
{ 'stepMessage' : '%s Verify the synchronization of the schema on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, '99-user.ldif' ]
{ 'stepMessage' : '%s Verify the synchronization of the trees on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Test Name = %s' % STAXCurrentTestcase
'%s Modify objectclass. Check schema replication when an objectclass is modified' % msg1
{ 'stepMessage' : '%s Delete oldObjectclass in "master" server.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'cn=schema',
'attributeName' : 'objectClasses',
'newAttributeValue' : oldObjectclass,
'changetype' : 'delete'
}
{ 'stepMessage' : '%s Add newObjectclass in "master" server.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'cn=schema',
'attributeName' : 'objectClasses',
'newAttributeValue' : newObjectclass,
'changetype' : 'add'
}
{ 'stepMessage' : '%s Attempt to add entry to servers with deleted objectclass.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : server.getHostname(),
'dsInstancePort' : server.getPort(),
'dsInstanceDn' : server.getRootDn(),
'dsInstancePswd' : server.getRootPwd(),
'entryToBeAdded' : '%s/replication/testuser-2.ldif' % \
clientDataDir,
'expectedRC' : 65
}
{ 'stepMessage' : '%s Verify the synchronization of the schema on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, '99-user.ldif' ]
{ 'stepMessage' : '%s Verify the synchronization of the trees on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Test Name = %s' % STAXCurrentTestcase
'%s Add objectclass. (edit schema file). \
Check schema replication when a new objectclass \
is added manually ' % msg1
{ 'stepMessage' : '%s Stop the servers in the topology.' % msg1 }
[_topologyServerList]
{ 'stepMessage' : '%s Modify schema in "master" server.' % msg1 }
{ 'location' : masterHost,
'remotehost' : masterHost,
'srcfile' : currentSchemaFile,
'destfile' : provSchemaFile
}
{ 'stepMessage' : '%s Edit schema file.' % msg1 }
{ 'location' : masterHost,
'dsPath' : masterPath,
'sourceLdif' : provSchemaFile,
'changesLdif' : '%s/replication/schemamods-0.ldif' % \
masterDataDir,
'targetLdif' : currentSchemaFile
}
{ 'stepMessage' : '%s Stop the servers in the topology.' % msg1 }
[_topologyServerList]
{ 'sleepForMilliSeconds' : 1000 }
{ 'stepMessage' : '%s Add entry to "consumer" server.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : consumerHost,
'dsInstancePort' : consumer.getPort(),
'dsInstanceDn' : consumer.getRootDn(),
'dsInstancePswd' : consumer.getRootPwd(),
'entryToBeAdded' : '%s/replication/newtestuser-0.ldif' % \
clientDataDir,
'knownIssue' : 'OPENDJ-452'
}
{ 'stepMessage' : '%s Verify the synchronization of the schema on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, '99-user.ldif' ]
{ 'stepMessage' : '%s Verify the synchronization of the trees on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Schema Replication: Add attributetype (edit \
schema file). Check schema replication when a new \
attributetype is added manually'
{ 'stepMessage' : '%s Stop the servers in the topology.' % msg1 }
[_topologyServerList]
{ 'stepMessage' : '%s Modify schema in "master" server .' % msg1 }
{ 'location' : masterHost,
'remotehost' : masterHost,
'srcfile' : currentSchemaFile,
'destfile' : provSchemaFile
}
{ 'location' : masterHost,
'dsPath' : masterPath,
'sourceLdif' : provSchemaFile,
'changesLdif' : '%s/replication/schemamods-1.ldif' % \
masterDataDir,
'targetLdif' : currentSchemaFile
}
{ 'stepMessage' : '%s Start the servers in the topology.' % msg1 }
[_topologyServerList]
{ 'sleepForMilliSeconds' : 1000 }
{ 'stepMessage' : '%s Add entry to "consumer" server.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : consumerHost,
'dsInstancePort' : consumer.getPort(),
'dsInstanceDn' : consumer.getRootDn(),
'dsInstancePswd' : consumer.getRootPwd(),
'entryToBeAdded' : '%s/replication/newtestuser-1.ldif' % \
clientDataDir,
'knownIssue' : 'OPENDJ-452'
}
{ 'stepMessage' : '%s Verify the synchronization of the schema on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, '99-user.ldif' ]
{ 'stepMessage' : '%s Verify the synchronization of the trees on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Schema Replication: Delete objectclass (edit \
schema file). Check schema replication when an objectclass is \
deleted manually'
{ 'stepMessage' : '%s Stop the servers in the topology.' % msg1 }
[_topologyServerList]
{ 'stepMessage' : '%s Modify schema in "master" server.' % msg1 }
{ 'location' : masterHost,
'remotehost' : masterHost,
'srcfile' : currentSchemaFile,
'destfile' : provSchemaFile
}
{ 'location' : masterHost,
'dsPath' : masterPath,
'sourceLdif' : provSchemaFile,
'changesLdif' : '%s/replication/schemamods-2.ldif' % \
masterDataDir,
'targetLdif' : currentSchemaFile
}
{ 'stepMessage' : '%s Start the servers in the topology.' % msg1 }
[_topologyServerList]
{ 'stepMessage' : '%s Delete previously added entry.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : master.getHostname(),
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsDn' : ['cn=newtestuser-0,ou=People,%s' % synchroSuffix],
'knownIssue' : 'OPENDJ-452'
}
{ 'sleepForMilliSeconds' : 1000 }
{ 'stepMessage' : '%s Try to add entry to servers.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : server.getHostname(),
'dsInstancePort' : server.getPort(),
'dsInstanceDn' : server.getRootDn(),
'dsInstancePswd' : server.getRootPwd(),
'entryToBeAdded' : '%s/replication/newtestuser-0.ldif' % \
clientDataDir,
'expectedRC' : 65,
'knownIssue' : 'OPENDJ-453'
}
{ 'stepMessage' : '%s Verify the synchronization of the schema on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, '99-user.ldif' ]
{ 'stepMessage' : '%s Verify the synchronization of the trees on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Schema Replication: Modify objectclass (edit \
schema file). Check schema replication when an objectclass is \
modified manually'
{ 'stepMessage' : '%s Stop the servers in the topology.' % msg1 }
[_topologyServerList]
{ 'stepMessage' : '%s Modify schema in "master" server.' % msg1 }
{ 'location' : masterHost,
'remotehost' : masterHost,
'srcfile' : currentSchemaFile,
'destfile' : provSchemaFile
}
{ 'location' : masterHost,
'dsPath' : masterPath,
'sourceLdif' : provSchemaFile,
'changesLdif' : '%s/replication/schemamods-3.ldif' % \
masterDataDir,
'targetLdif' : currentSchemaFile
}
{ 'stepMessage' : '%s Start the servers in the topology.' % msg1 }
[_topologyServerList]
{ 'sleepForMilliSeconds' : 1000 }
{ 'stepMessage' : '%s Try to add entry to servers.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : server.getHostname(),
'dsInstancePort' : server.getPort(),
'dsInstanceDn' : server.getRootDn(),
'dsInstancePswd' : server.getRootPwd(),
'entryToBeAdded' : '%s/replication/newtestuser-2.ldif' % \
clientDataDir,
'expectedRC' : 65,
'knownIssue' : ['OPENDJ-453','OPENDJ-452']
}
{ 'stepMessage' : '%s Verify the synchronization of the schema on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, '99-user.ldif',
'OPENDJ-453' ]
{ 'stepMessage' : '%s Verify the synchronization of the trees on all the servers.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]