All Downloads are FREE. Search and download functionalities are using the official Maven repository.

o.jobs-service.1.3.0.Final.source-code.application.properties Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
#
# Copyright 2019 Red Hat, Inc. and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

quarkus.package.type=uber-jar

#Log Config
quarkus.log.level=INFO
%dev.quarkus.log.category."org.kie.kogito.jobs".level=DEBUG

##Console
quarkus.log.console.enable=true
quarkus.log.console.format=%d{yyyy-MM-dd HH:mm:ss,SSS} %h %-5p [%c:%L] (%t) %s%e%n
quarkus.log.console.color=false
quarkus.log.console.async=true
##File
quarkus.log.file.enable=true
quarkus.log.file.format=%d{yyyy-MM-dd HH:mm:ss,SSS} %h %-5p [%c:%L] (%t) %s%e%n
quarkus.log.file.path=jobs-service.log
quarkus.log.file.async=true
quarkus.log.file.rotation.file-suffix=yyyy-MM-dd

#Container image
quarkus.container-image.build=true
quarkus.container-image.group=org.kie.kogito

#Web Config
quarkus.ssl.native=true
quarkus.resteasy.gzip.enabled=true
quarkus.resteasy.gzip.max-input=10M
quarkus.http.cors=true
quarkus.http.limits.max-body-size=10M
quarkus.http.port=8080

#Swagger
quarkus.smallrye-openapi.path=/swagger
quarkus.swagger-ui.always-include=true
quarkus.swagger-ui.path=/swagger-ui

#Infinispan - more specific configs on hotrod-client.properties file.
quarkus.infinispan-client.server-list=localhost:11222
quarkus.infinispan-client.auth-username=${infinispan_username:admin}
quarkus.infinispan-client.auth-password=${infinispan_password:admin}
#with infinispan 11 authentication should be set to true by default, running with 10 without auth, set to false
quarkus.infinispan-client.use-auth=${infinispan_useauth:true}
quarkus.infinispan-client.auth-realm=${infinispan_authrealm:default}
quarkus.infinispan-client.sasl-mechanism=${infinispan_saslmechanism:DIGEST-MD5}

#Job Service
#Persistence values = in-memory, infinispan
kogito.jobs-service.persistence=in-memory
kogito.jobs-service.maxIntervalLimitToRetryMillis=60000
kogito.jobs-service.backoffRetryMillis=1000
kogito.service.url=http://localhost:8080
kogito.jobs-service.schedulerChunkInMinutes=10
kogito.jobs-service.loadJobIntervalInMinutes=10
kogito.jobs-service.loadJobFromCurrentTimeIntervalInMinutes=60
kogito.jobs-service.forceExecuteExpiredJobs=true

#enabling in-memory connector in case kafka is not enabled, to avoid issues with DI
mp.messaging.outgoing.kogito-job-service-job-status-events.connector=smallrye-in-memory

#Removing beans related to Kafka from CDI when eventing is not enabled
quarkus.arc.exclude-types=io.smallrye.reactive.messaging.health.*,org.kie.kogito.jobs.service.stream.KafkaConfiguration

#Configure Events Publishing on Job Service using profile
#disabled by default
kogito.jobs-service.events-support=false
kogito.jobs-events-topic=kogito-jobs-events

#enabled with the profile: 'events-support' (-Dquarkus.profile=events-support)
%events-support.quarkus.kafka.health.enabled=true
%events-support.kafka.bootstrap.servers=localhost:9092
%events-support.kogito.jobs-service.events-support=true
%events-support.mp.messaging.outgoing.kogito-job-service-job-status-events.connector=smallrye-kafka
%events-support.mp.messaging.outgoing.kogito-job-service-job-status-events.bootstrap.servers=localhost:9092
%events-support.mp.messaging.outgoing.kogito-job-service-job-status-events.topic=${kogito.jobs-events-topic}
%events-support.mp.messaging.outgoing.kogito-job-service-job-status-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer
%events-support.quarkus.arc.exclude-types=

quarkus.oidc.enabled=true
quarkus.oidc.tenant-enabled=false

# HTTP Security Configuration
quarkus.http.auth.permission.authenticated.paths=/*
quarkus.http.auth.permission.authenticated.policy=permit

#enabled with the profile: 'keycloak' (-Dquarkus.profile=keycloak)
%keycloak.quarkus.oidc.enabled=true
%keycloak.quarkus.oidc.tenant-enabled=true
%keycloak.quarkus.oidc.auth-server-url=http://localhost:8280/auth/realms/kogito
%keycloak.quarkus.oidc.client-id=kogito-jobs-service
%keycloak.quarkus.oidc.credentials.secret=secret
%keycloak.quarkus.http.auth.policy.role-policy1.roles-allowed=confidential
%keycloak.quarkus.http.auth.permission.roles1.paths=/*
%keycloak.quarkus.http.auth.permission.roles1.policy=role-policy1

#Configure Events Publishing and security on Job Service using profile
#enabled with the profile: 'events-support-auth' (-Dquarkus.profile=events-support-auth)
%events-support-auth.kogito.jobs-service.events-support=true
%events-support-auth.quarkus.kafka.health.enabled=true
%events-support-auth.kafka.bootstrap.servers=localhost:9092
%events-support-auth.mp.messaging.outgoing.kogito-job-service-job-status-events.connector=smallrye-kafka
%events-support-auth.mp.messaging.outgoing.kogito-job-service-job-status-events.bootstrap.servers=localhost:9092
%events-support-auth.mp.messaging.outgoing.kogito-job-service-job-status-events.topic=${kogito.jobs-events-topic}
%events-support-auth.mp.messaging.outgoing.kogito-job-service-job-status-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer
%events-support-auth.quarkus.arc.exclude-types=

%events-support-auth.quarkus.oidc.enabled=true
%events-support-auth.quarkus.oidc.tenant-enabled=false
%events-support-auth.quarkus.oidc.auth-server-url=http://localhost:8280/auth/realms/kogito
%events-support-auth.quarkus.oidc.client-id=kogito-job-service
%events-support-auth.quarkus.oidc.credentials.secret=secret
%events-support-auth.quarkus.http.auth.policy.role-policy1.roles-allowed=confidential
%events-support-auth.quarkus.http.auth.permission.roles1.paths=/*
%events-support-auth.quarkus.http.auth.permission.roles1.policy=role-policy1




© 2015 - 2025 Weber Informatics LLC | Privacy Policy