Coverage for gwcelery/conf/minikube.py: 0%
19 statements
« prev ^ index » next coverage.py v7.4.4, created at 2024-11-14 05:52 +0000
« prev ^ index » next coverage.py v7.4.4, created at 2024-11-14 05:52 +0000
1"""Application configuration for ``minikube`` local installation."""
3import os
5from . import * # noqa: F401, F403
7expose_to_public = True
8"""Set to True if events meeting the public alert threshold really should be
9exposed to the public."""
11gracedb_host = os.getenv('GRACEDB_HOSTNAME',
12 'gracedb.default.svc.cluster.local')
13"""GraceDB host."""
16igwn_alert_server = os.getenv('IGWN_HOSTNAME',
17 'kafka://hopskotch-server')
18"""IGWN alert server: None == DEFAULT_SERVER"""
20igwn_alert_noauth = True
21"""IGWN alert server no-authetication"""
23igwn_alert_group = 'default'
24"""IGWN alert group."""
26mock_events_simulate_multiple_uploads = False
27"""If True, then upload each mock event several times in rapid succession with
28random jitter in order to simulate multiple pipeline uploads."""
30kafka_consumer_config = {
31}
32"""Kafka consumer configuration details. The keys describe the senders of the
33messages to be consumed. The values are a dictionary of the URL to listen to
34and information about the message serializer."""
36kafka_alert_server = os.getenv('KAFKA_HOSTNAME',
37 'kafka://hopskotch-server')
38kafka_alert_config = {
39 'scimma': {'url': kafka_alert_server + '/igwn.gwalert-minikube',
40 'suffix': 'avro', 'skymap_encoder': lambda _: _,
41 'auth': False}
42}
43"""Kafka broker configuration details"""