stable

Clone or download

Read-only

Invalidate SVN authentication Redis cache when project status is changed

The cache is also invalidated when a project is switched to private. This is part of story #12160: have a clean way to suspend a project Change-Id: I30c928aad31224a4a615f19c98c52657f2242a2c

Modified Files

Name
M src/common/Instrument/Prometheus/Prometheus.php +1 −2 Go to diff View file
M src/common/Queue/QueueFactory.php +2 −1 Go to diff View file
M src/common/Queue/Redis/RedisPersistentQueue.php +9 −13 Go to diff View file
A src/common/Redis/ClientFactory.php +50 −0 Go to diff View file
A src/common/Redis/RedisConnectionException.php +25 −0 Go to diff View file
A src/common/Redis/RedisInitializer.php +79 −0 Go to diff View file
A src/common/svn/SVNAuthenticationCacheInvalidator.php +51 −0 Go to diff View file
M src/common/system_event/SystemEvent.class.php +28 −30 Go to diff View file
M src/common/system_event/SystemEventManager.class.php +22 −30 Go to diff View file
R src/common/system_event/include/SystemEvent_PROJECT_ACTIVE.php Go to diff View file
M src/common/system_event/include/SystemEvent_PROJECT_DELETE.class.php +17 −3 Go to diff View file
M src/common/system_event/include/SystemEvent_PROJECT_IS_PRIVATE.class.php +13 −1 Go to diff View file
D src/common/system_event/include/SystemEvent_PROJECT_SUSPENDED.php +0 −64 Go to diff View file
A tests/phpunit/common/Redis/RedisInitializerTest.php +88 −0 Go to diff View file
M tests/phpunit/phpunit.xml +1 −0 Go to diff View file
M tests/simpletest/common/system_event/include/SystemEvent_PROJECT_DELETE_Test.php +16 −6 Go to diff View file
M tools/rpm/tuleap.rhel6.spec +1 −1 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +1 −1 Go to diff View file