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, waitUntilApiIsEnabled
public IntegrationTestDenormalisedContentPermissionsUpdate()
public void init()
public void updateAllPages() throws ExecutionException, InterruptedException
public void updateAllPagesWithOrphanPagesRemoval() throws ExecutionException, InterruptedException
public void testRemoveContentPermissionRecord() throws InterruptedException
InterruptedException
public void testPhysicallyRemoveContentRecord() throws InterruptedException
InterruptedException
public void testDeleteSpaceAndCheckThatDenormalisedPermissionsAreUpdated() throws InterruptedException
InterruptedException
public void testChangeLogTriggersDenormalisedPermissionsUpdate()
Copyright © 2003–2023 Atlassian. All rights reserved.