new configuration version
This commit is contained in:
parent
55ef406a42
commit
29ada34680
|
@ -46,7 +46,7 @@ spec:
|
|||
podDisruptionBudget:
|
||||
maxUnavailable: "50%"
|
||||
git:
|
||||
tag: "r-ea50f2ef1ae49b730adae6a5cd141c33b1be1c9a"
|
||||
tag: "r-cf63f13a99c537e7132c544cde2b238ac9f94461"
|
||||
dir: "DEFAULT-ADN-AGOV-ADMIN-PROJECT/DEFAULT-ADN-AGOV-ADMIN-INV/idm"
|
||||
credentials: "git-credentials"
|
||||
keystores:
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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 class="org.springframework.scheduling.quartz.SchedulerFactoryBean" id="exportScheduler">
|
||||
<property name="jobDetails">
|
||||
<list>
|
||||
<ref bean="pruneUrlTicketsJob"/>
|
||||
</list>
|
||||
</property>
|
||||
<property name="triggers">
|
||||
<list>
|
||||
<ref bean="pruneUrlTicketsJobTrigger"/>
|
||||
</list>
|
||||
</property>
|
||||
<property name="dataSource">
|
||||
<ref bean="dataSource"/>
|
||||
</property>
|
||||
<property name="quartzProperties">
|
||||
<props>
|
||||
<prop key="org.quartz.scheduler.instanceId">AUTO</prop>
|
||||
<prop key="org.quartz.scheduler.instanceName">exportScheduler</prop>
|
||||
<prop key="org.quartz.scheduler.makeSchedulerThreadDaemon">true</prop>
|
||||
<prop key="org.quartz.threadPool.class">org.quartz.simpl.SimpleThreadPool</prop>
|
||||
<prop key="org.quartz.threadPool.makeThreadsDaemons">true</prop>
|
||||
<prop key="org.quartz.threadPool.threadCount">1</prop>
|
||||
<prop key="org.quartz.jobStore.tablePrefix">TIDMQ_</prop>
|
||||
<prop key="org.quartz.jobStore.class">org.springframework.scheduling.quartz.LocalDataSourceJobStore</prop>
|
||||
<prop key="org.quartz.jobStore.driverDelegateClass">#{databaseConfigurationService.getDatabaseType() == T(ch.adnovum.nevisidm.service.properties.DatabaseType).POSTGRESQL ? 'org.quartz.impl.jdbcjobstore.PostgreSQLDelegate' : 'org.quartz.impl.jdbcjobstore.StdJDBCDelegate' }</prop>
|
||||
<prop key="org.quartz.jobStore.isClustered">true</prop>
|
||||
<prop key="org.quartz.jobStore.useProperties">false</prop>
|
||||
</props>
|
||||
</property>
|
||||
<property name="applicationContextSchedulerContextKey" value="applicationContext"/>
|
||||
</bean>
|
||||
<bean class="org.springframework.scheduling.quartz.JobDetailFactoryBean" id="pruneUrlTicketsJob">
|
||||
<property name="description" value="Delete expired URL Tickets"/>
|
||||
<property name="jobClass" value="ch.nevis.idm.batch.jobs.UpdateCredentialStateJob"/>
|
||||
<property name="durability" value="true"/>
|
||||
<property name="jobDataMap">
|
||||
<bean class="org.quartz.JobDataMap">
|
||||
<constructor-arg>
|
||||
<map>
|
||||
<entry key="restrictToClients" value="d9a334a6-b6f5-4982-a24e-13ae095a60fa"/>
|
||||
<entry key="sendingMethod" value="None"/>
|
||||
<entry key="credentialTypes" value="URL_TICKET"/>
|
||||
<entry key="expireAction" value="delete"/>
|
||||
</map>
|
||||
</constructor-arg>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
<bean class="org.springframework.scheduling.quartz.CronTriggerFactoryBean" id="pruneUrlTicketsJobTrigger">
|
||||
<property name="description" value="Delete expired URL Tickets"/>
|
||||
<property name="jobDetail" ref="pruneUrlTicketsJob"/>
|
||||
<property name="cronExpression" value="45 0 0 * * ?"/>
|
||||
</bean>
|
||||
</beans>
|
|
@ -71,6 +71,8 @@ management.server.host=0.0.0.0
|
|||
# source: pattern://ba7c7a3b091df0c4b8ba0bb2
|
||||
management.server.port=8998
|
||||
# source: pattern://ba7c7a3b091df0c4b8ba0bb2
|
||||
application.modules.batch.context=/var/opt/nevisidm/default/conf/batch.xml
|
||||
# source: pattern://ba7c7a3b091df0c4b8ba0bb2
|
||||
application.config.file.idmrole.authorization=/var/opt/nevisidm/default/conf/authorizationConfig.properties
|
||||
# source: pattern://ba7c7a3b091df0c4b8ba0bb2
|
||||
application.config.file.idmrole.mapping=/var/opt/nevisidm/default/conf/rolesMapping.properties
|
||||
|
|
Loading…
Reference in New Issue