public class WanSecurity extends WANTest
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_PRIFIX |
static boolean |
isInvalid |
static String |
VALID_PRIFIX |
gatewaySenders, isBridgeClient, isBridgeConfiguration, isQueuePrinting, ITERATIONS, logger, maxOperations, opsClient, rand, regionDescriptNames, regionNames, rv, updateRegionSnapshot| Constructor and Description |
|---|
WanSecurity() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkKeyRegionEntries(String regionName,
String keyPrefix,
long expectedsize)
Check whether a vm has expected entries for the key prefix
|
static void |
checkKeys(String regionName,
String validKeyPrefix)
Checking for the security wan sites whether they have received keys not
valid to them
|
static void |
checkWriterRegionContentsEmpty()
Check whether the writer sites are having empty region
|
static void |
clientPutSequentialKeysTask()
Clients doing a putSequentialTask after checking whether the primary is a
valid or invalid server
|
static void |
clientValidateSequentialKeysTask()
validation of the edge clients for the sequential keys after checking for
valid and invalid primary servers
|
static void |
HydraTask_initSecurityPeerCache()
Initializes a peer cache based on the
CacheClientPrms. |
static void |
HydraTask_initWANComponents() |
static void |
initializeDatastore() |
void |
initSecurityPeerCache() |
void |
initSecurityServerCache() |
static void |
initSecurityServerCacheTask()
Initializes a server cache based on the
CacheServerPrms. |
void |
initWanComponents() |
static void |
printKeyListTask()
Prints the keyList (ArrayList
|
static void |
putSequentialKeysTaskForInValid()
Same as the putSequentialKeysTask() but with the keys prefixed with
"invalid"
|
static void |
putSequentialKeysTaskForReader()
Same as the putSequentialKeysTask() but with the keys prefixed with
"reader" Adds the key to the ArrayList
|
static void |
putSequentialKeysTaskForValid()
Same as the putSequentialKeysTask() but with the keys prefixed with "valid"
|
static void |
putSequentialKeysTaskForWriter()
Same as the putSequentialKeysTask() but with the keys prefixed with
"writer" Adds the key to the ArrayList
|
static void |
readerDestroyAllKeysTask()
Reader wan site destroys all the keys in its region
|
static void |
validateInvalidSequentialKeysTask()
validation for the valid wan clients with the right prefix *
|
static void |
validateReaderWanSiteEntriesTask()
Validating Reader Wan Sites
|
static void |
validateValidSequentialKeysTask()
validation for the valid wan clients with the right prefix *
|
static void |
validateWriterWanSiteEntriesTask()
Validating Writer Wan Sites
|
void |
waitForQueuesToDrain()
Waits
WANTestPrms.secToWaitForQueue for queues to drain. |
static void |
waitForQueuesToDrainTask() |
static void |
writerDestroyCreatedKeysTask()
Writer vms destroying only those keys that it created
|
closeEdgeClientCacheTask, createGatewaySenderIdsTask, createLocatorTask, doEntryOperationAllRegions, doEntryOperationTask, doHAEntryOperationTask, doHASenderOperationAndVerifyTask, doSenderOperationTask, generateAllRemoteDSNameLists, generateDoubleSuffixedNames, generateRandomRemoteDSName, generateRingRemoteDSName, getQueryObjectForCounter, HydraTask_initPeerTask, HydraTask_initServerTask, HydraTask_initWANComponentsTask, HydraTask_pauseSenders, HydraTask_resumeSenders, HydraTask_stopWANComponents, HydraTask_verifyQueueEviction, initAccessorRegionTask, initCQClient, initCQClientTask, initDatastoreRegion, initEdgeClientCache, initEdgeClientCacheTask, initGatewayReceiver, initGatewayReceiverTask, initGatewaySender, initGatewaySenderTask, initializeClient, initializeLocator, initPeerCache, initPeerCacheTask, initPeerRegionTask, initServerCacheTask, initServerRegionTask, killAndVerifyLocators, killAndVerifyLocatorsTask, killClient, killPeerAndDoNonCoordinatedOps, killPeerAndDoNonCoordinatedOpsTask, killPeerAndDoOps, killPeerAndDoOpsTask, mentionReferenceInBlackboard, printDistributionLocatorMapTask, printQueueContents, printQueueContentsTask, printRegionQueue, printSequentialKeys, printSequentialKeysTask, putSequentialKeys, putSequentialKeysAndHA, putSequentialKeysAndHATask, putSequentialKeysCQ, putSequentialKeysCQTask, putSequentialKeysTask, putSequentialKeyUsingPutAll, restartMembers, restartMembersTask, restartVerifyLocatorsTask, starAndVerifytLocatorAdminDSTask, startAndConnectAndVerifyLocatorTask, startAndConnectLocatorTask, startGatewaySender, startGatewaySenderTask, startLocatorAndAdminDSTask, startResumeSenders, startResumeSenderTask, stopGatewayReceiverTask, stopGatewaySenderTask, stopLocatorTask, updateRegionSnapshotTask, validateDoEntryOperationTask, validateDoEntryOperationTxTask, validateDoEntryOperationUniqueKeys, validateDoEntryOperationUniqueKeysTransactions, validateEventsReceived, validateRegion, validateSequentialKeysCQ, validateSequentialKeysCQTask, validateSequentialKeysInRegion, validateSequentialKeysTask, verifyLocators, verifyLocatorsTask, verifyQueueEviction, verifySenderOperationTask, waitForListenerSilence, waitForLocatorDiscovery, waitForRecovery, waitTaskpublic static String VALID_PRIFIX
public static String INVALID_PRIFIX
public static boolean isInvalid
public static void initializeDatastore()
public static void HydraTask_initSecurityPeerCache()
CacheClientPrms. The task is
same as initPeerCacheTask but it doesnot create GateWayHubpublic void initSecurityPeerCache()
public static void initSecurityServerCacheTask()
CacheServerPrms. Looks for
Security credentials if requiredpublic void initSecurityServerCache()
public static void HydraTask_initWANComponents()
public void initWanComponents()
public static void putSequentialKeysTaskForValid()
throws Exception
Exceptionpublic static void putSequentialKeysTaskForInValid()
throws Exception
Exceptionpublic static void clientPutSequentialKeysTask()
throws Exception
Exceptionpublic static void waitForQueuesToDrainTask()
public void waitForQueuesToDrain()
WANTestPrms.secToWaitForQueue for queues to drain.
Suitable for use as a helper method or hydra task.waitForQueuesToDrain in class WANTestpublic static void validateValidSequentialKeysTask()
throws Exception
Exceptionpublic static void validateInvalidSequentialKeysTask()
throws Exception
Exceptionpublic static void clientValidateSequentialKeysTask()
throws Exception
Exceptionpublic static void checkKeys(String regionName, String validKeyPrefix)
public static void putSequentialKeysTaskForReader()
throws Exception
Exceptionpublic static void putSequentialKeysTaskForWriter()
throws Exception
Exceptionpublic static void printKeyListTask()
public static void validateWriterWanSiteEntriesTask()
public static void validateReaderWanSiteEntriesTask()
protected static void checkKeyRegionEntries(String regionName, String keyPrefix, long expectedsize)
public static void readerDestroyAllKeysTask()
public static void writerDestroyCreatedKeysTask()
public static void checkWriterRegionContentsEmpty()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.