diff options
author | Thomas <> | 2021-09-02 08:58:17 +0200 |
---|---|---|
committer | Thomas <> | 2021-09-02 08:58:17 +0200 |
commit | 34094edfbf91cf445dbeae12b1b63cbfef543244 (patch) | |
tree | 88e2bbd008a7fd9f3a425bbcfdb53cfac4e24079 /basicConfig/eIDAS/igniteSpecificCommunication.xml | |
parent | 847e690da4a2f6b08ca604538f1f42e6e6717d0b (diff) | |
parent | e0a9aad4a321bae3b9c9afe7ea178d93b258749a (diff) | |
download | National_eIDAS_Gateway-34094edfbf91cf445dbeae12b1b63cbfef543244.tar.gz National_eIDAS_Gateway-34094edfbf91cf445dbeae12b1b63cbfef543244.tar.bz2 National_eIDAS_Gateway-34094edfbf91cf445dbeae12b1b63cbfef543244.zip |
Merge branch 'master' into feature/matching_rebased
# Conflicts:
# connector/src/main/java/at/asitplus/eidas/specific/connector/provider/StatusMessageProvider.java
# connector/src/main/resources/specific_eIDAS_connector.beans.xml
# connector/src/test/java/at/asitplus/eidas/specific/connector/test/FullStartUpAndProcessTest.java
# connector/src/test/java/at/asitplus/eidas/specific/connector/test/utils/AuthenticationDataBuilderTest.java
# connector/src/test/resources/spring/SpringTest_connector.beans.xml
# eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/handler/AbstractEidProcessor.java
# eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/tasks/GenerateAuthnRequestTask.java
# eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/tasks/ReceiveAuthnResponseTask.java
# eidas_modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/SzrClientTest.java
# eidas_modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/CreateIdentityLinkTaskEidNewTest.java
# eidas_modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/CreateIdentityLinkTaskTest.java
# eidas_modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveAuthnResponseTaskTest.java
# pom.xml
Diffstat (limited to 'basicConfig/eIDAS/igniteSpecificCommunication.xml')
-rw-r--r-- | basicConfig/eIDAS/igniteSpecificCommunication.xml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/basicConfig/eIDAS/igniteSpecificCommunication.xml b/basicConfig/eIDAS/igniteSpecificCommunication.xml index f817f5a4..da61cbf1 100644 --- a/basicConfig/eIDAS/igniteSpecificCommunication.xml +++ b/basicConfig/eIDAS/igniteSpecificCommunication.xml @@ -53,30 +53,35 @@ <property name="name" value="specificNodeConnectorRequestCache"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> + <property name="expiryPolicyFactory" ref="7_minutes_duration"/> </bean> <!-- Partitioned cache example configuration (Atomic mode). --> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="nodeSpecificProxyserviceRequestCache"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> + <property name="expiryPolicyFactory" ref="7_minutes_duration"/> </bean> <!-- Partitioned cache example configuration (Atomic mode). --> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="specificNodeProxyserviceResponseCache"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> - </bean> + <property name="expiryPolicyFactory" ref="7_minutes_duration"/> + </bean> <!-- Partitioned cache example configuration (Atomic mode). --> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="nodeSpecificConnectorResponseCache"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> + <property name="expiryPolicyFactory" ref="7_minutes_duration"/> </bean> <!-- Partitioned cache example configuration (Atomic mode). --> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="msConnectorCache"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> + <property name="expiryPolicyFactory" ref="7_minutes_duration"/> </bean> </list> @@ -106,4 +111,16 @@ <property name="searchSystemEnvironment" value="true"/> </bean> + <!-- + Defines expiry policy based on moment of creation for ignite cache. + --> + <bean id="7_minutes_duration" class="javax.cache.expiry.CreatedExpiryPolicy" factory-method="factoryOf" scope="prototype"> + <constructor-arg> + <bean class="javax.cache.expiry.Duration"> + <constructor-arg value="MINUTES"/> + <constructor-arg value="7"/> + </bean> + </constructor-arg> + </bean> + </beans> |