This commit is contained in:
Lucio Lelii 2017-03-22 15:39:53 +00:00
parent 1c81ee8027
commit dec655f480
3 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,9 @@
<ReleaseNotes>
<Changeset component="common-smartgears-2.1.2" date="2017-03-22">
<Change>Modified the Authorization filter to accept also children
scope when authorizeChildrenContext is enabled on ContianerConfiguration</Change>
<Change>Shutdown of Accounting thread added</Change>
</Changeset>
<Changeset component="common-smartgears-2.1.1" date="2017-01-25">
<Change>Minor issue on filter exclusion fixed</Change>
</Changeset>

View File

@ -10,7 +10,7 @@
<groupId>org.gcube.core</groupId>
<artifactId>common-smartgears</artifactId>
<version>2.1.1-SNAPSHOT</version>
<version>2.1.2-SNAPSHOT</version>
<name>SmartGears</name>
<properties>

View File

@ -27,6 +27,7 @@ public class AccountingManager extends ContainerHandler {
public void onStop(ContainerLifecycleEvent.Stop e) {
logger.trace("Going to flush accounting data");
AccountingPersistenceFactory.flushAll(1000, TimeUnit.MILLISECONDS);
AccountingPersistenceFactory.shutDown();
}
@Override