aboutsummaryrefslogtreecommitdiff
path: root/basicConfig
diff options
context:
space:
mode:
authorThomas <>2023-09-27 14:07:56 +0200
committerThomas <>2024-01-26 18:49:57 +0100
commitb3a0302041d08ba8360d96216b6da67580850717 (patch)
tree9dc2fc819ce886ce1365c94ac3ae9f2a9adbab35 /basicConfig
parent1a77d8ff850d014cd81fcc1fd867a2953b497833 (diff)
downloadNational_eIDAS_Gateway-b3a0302041d08ba8360d96216b6da67580850717.tar.gz
National_eIDAS_Gateway-b3a0302041d08ba8360d96216b6da67580850717.tar.bz2
National_eIDAS_Gateway-b3a0302041d08ba8360d96216b6da67580850717.zip
feat(eidas): refactoring to eIDAS node v2.7
Diffstat (limited to 'basicConfig')
-rw-r--r--basicConfig/eIDAS/igniteSpecificCommunication.xml126
1 files changed, 0 insertions, 126 deletions
diff --git a/basicConfig/eIDAS/igniteSpecificCommunication.xml b/basicConfig/eIDAS/igniteSpecificCommunication.xml
deleted file mode 100644
index da61cbf1..00000000
--- a/basicConfig/eIDAS/igniteSpecificCommunication.xml
+++ /dev/null
@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- ~ Copyright (c) 2018 by European Commission
- ~
- ~ Licensed under the EUPL, Version 1.2 or - as soon they will be
- ~ approved by the European Commission - subsequent versions of the
- ~ EUPL (the "Licence");
- ~ You may not use this work except in compliance with the Licence.
- ~ You may obtain a copy of the Licence at:
- ~ https://joinup.ec.europa.eu/page/eupl-text-11-12
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the Licence is distributed on an "AS IS" basis,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- ~ implied.
- ~ See the Licence for the specific language governing permissions and
- ~ limitations under the Licence.
- -->
-
-<!--
- Ignite Spring configuration file to startup Ignite cache.
-
- This file demonstrates how to configure cache using Spring. Provided cache
- will be created on node startup.
-
- Use this configuration file when running HTTP REST examples (see 'examples/rest' folder).
-
- When starting a standalone node, you need to execute the following command:
- {IGNITE_HOME}/bin/ignite.{bat|sh} examples/config/ignite-cache.xml
-
- When starting Ignite from Java IDE, pass path to this file to Ignition:
- Ignition.start("examples/config/ignite-cache.xml");
--->
-
-
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd">
-
- <bean id="igniteSpecificCommunication.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
-
- <property name="igniteInstanceName" value="igniteSpecificCommunication"/>
-
- <property name="cacheConfiguration">
- <list>
-
- <!--Specific Communication Caches-->
- <!-- Partitioned cache example configuration (Atomic mode). -->
- <bean class="org.apache.ignite.configuration.CacheConfiguration">
- <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"/>
- <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>
- </property>
-
- <!--Multicast discover of other nodes in the grid configuration-->
- <property name="discoverySpi">
- <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
- <property name="ipFinder">
- <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
- <property name="multicastGroup" value="228.10.10.157"/>
- </bean>
- </property>
- </bean>
- </property>
-
- <!-- how frequently Ignite will output basic node metrics into the log-->
- <property name="metricsLogFrequency" value="#{60 * 10 * 1000}"/>
-
- </bean>
-
- <!--
- Initialize property configurer so we can reference environment variables.
- -->
- <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
- <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_FALLBACK"/>
- <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>