public class IntegrationTestDenormalisedContentPermissionsUpdate extends AbstractDenormalisedPermissionsIntegrationTestBase
admin, bulkPermissionService, denormalisedPermissionsDdlExecutor, denormalisedPermissionStateManager, denormalisedSpaceChangeLogDao, eventPublisher, pageManager, SERVICE_READY_TIMEOUT, spaceDao, spaceManager, spacePermissionManager, state| Constructor and Description |
|---|
IntegrationTestDenormalisedContentPermissionsUpdate() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
void |
testChangeLogTriggersDenormalisedPermissionsUpdate()
Add a record to content change log record, and check that denormalised content permissions are updated
|
void |
testDeleteSpaceAndCheckThatDenormalisedPermissionsAreUpdated()
Delete a space and check that the changed log record was processed.
|
void |
testPhysicallyRemoveContentRecord()
Physically remove a content record and check that the changed log record was processed.
|
void |
testRemoveContentPermissionRecord()
Remove a content permission record and check that the change log record was processed.
|
void |
updateAllPages()
Check that initial denormalised content permission update works properly.
|
void |
updateAllPagesWithOrphanPagesRemoval()
Checks that orphan simple content objects and their permissions are removed during the
full content permissions synchronisation.
|
clearEverything, createPage, deleteContentRecordFromDB, deleteSpace, disableServiceAndWaitUntilItsReady, enableServiceAndWaitUntilItsReady, getDialectName, processLogRecords, removeAllChangeLogRecords, setUpBase, waitForServiceState, waitUntilApiIsEnabledpublic IntegrationTestDenormalisedContentPermissionsUpdate()
public void init()
public void updateAllPages()
throws ExecutionException,
InterruptedException
public void updateAllPagesWithOrphanPagesRemoval()
throws ExecutionException,
InterruptedException
public void testRemoveContentPermissionRecord()
throws InterruptedException
InterruptedExceptionpublic void testPhysicallyRemoveContentRecord()
throws InterruptedException
InterruptedExceptionpublic void testDeleteSpaceAndCheckThatDenormalisedPermissionsAreUpdated()
throws InterruptedException
InterruptedExceptionpublic void testChangeLogTriggersDenormalisedPermissionsUpdate()
Copyright © 2003–2022 Atlassian. All rights reserved.