![JAR search and dependency download from the Maven repository](/logo.png)
META-INF.microprofile-config.properties Maven / Gradle / Ivy
#
# Copyright 2021 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.
#
# This file contains the default configurations for the Quarkus http connector.
# Job status change events notification disabled by default
kogito.jobs-service.http.job-status-change-events=false
# Job status change events are automatically enabled with the profile: http-events-support (-Dquarkus.profile=http-events-support)
%http-events-support.kogito.jobs-service.http.job-status-change-events=true
# Unlike the smallrye-kafka connector, quarkus-http connector doesn't have a way to disable an incoming connector at runtime.
# So by now, similar to REST API, the http eventing API is always enabled.
# Future work might introduce a http-events-support.kogito.jobs-service.http.events-api=true/false property do disable http eventing API dynamically.
# Incoming connector to receive knative events via http to create/update/cancel a Job
mp.messaging.incoming.kogito-job-service-job-request-events-http.connector=quarkus-http
mp.messaging.incoming.kogito-job-service-job-request-events-http.path=/jobs/events
mp.messaging.incoming.kogito-job-service-job-request-events-http.method=POST
# Knative V2
mp.messaging.incoming.kogito-job-service-job-request-events-http-v2.connector=quarkus-http
mp.messaging.incoming.kogito-job-service-job-request-events-http-v2.path=/v2/jobs/events
mp.messaging.incoming.kogito-job-service-job-request-events-http-v2.method=POST
# Enable the K_SINK environment variable check
quarkus.smallrye-health.check."org.kie.kogito.jobs.service.messaging.http.health.knative.KSinkInjectionHealthCheck".enabled=${kogito.jobs-service.http.job-status-change-events:false}
# Outgoing connector to send Job status change knative events via http
mp.messaging.outgoing.kogito-job-service-job-status-events-http.connector=quarkus-http
mp.messaging.outgoing.kogito-job-service-job-status-events-http.url=${K_SINK:http://localhost:8180/jobs}
mp.messaging.outgoing.kogito-job-service-job-status-events-http.method=POST
© 2015 - 2025 Weber Informatics LLC | Privacy Policy