Coverage for gwcelery/conf/minikube.py: 0%

10 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-04-25 18:01 +0000

1"""Application configuration for ``minikube`` local installation.""" 

2 

3from . import * # noqa: F401, F403 

4 

5expose_to_public = True 

6"""Set to True if events meeting the public alert threshold really should be 

7exposed to the public.""" 

8 

9igwn_alert_server = 'kafka://hopskotch-server' 

10"""IGWN alert server: None == DEFAULT_SERVER""" 

11 

12igwn_alert_noauth = True 

13"""IGWN alert server no-authetication""" 

14 

15igwn_alert_group = 'default' 

16"""IGWN alert group.""" 

17 

18gracedb_host = 'gracedb.default.svc.cluster.local' 

19"""GraceDB host.""" 

20 

21mock_events_simulate_multiple_uploads = False 

22"""If True, then upload each mock event several times in rapid succession with 

23random jitter in order to simulate multiple pipeline uploads.""" 

24 

25kafka_consumer_config = { 

26} 

27"""Kafka consumer configuration details. The keys describe the senders of the 

28messages to be consumed. The values are a dictionary of the URL to listen to 

29and information about the message serializer.""" 

30 

31kafka_alert_config = { 

32 'scimma': {'url': 'kafka://hopskotch-server/igwn.gwalert-minikube', 

33 'suffix': 'avro', 'skymap_encoder': lambda _: _, 

34 'auth': False} 

35} 

36"""Kafka broker configuration details"""