Greenwave query class and configuration update

Signed-off-by: Valerij Maljulin <vmaljuli@redhat.com>
This commit is contained in:
Valerij Maljulin
2019-04-02 19:43:07 +02:00
parent 7a39e1e893
commit 1b486b1625
8 changed files with 228 additions and 10 deletions

View File

@@ -120,7 +120,11 @@ class TestConfiguration(BaseConfiguration):
RESOLVER = "db"
ALLOWED_GROUPS_TO_IMPORT_MODULE = set(["mbs-import-module"])
GREENWAVE_DECISION_CONTEXT = "osci_compose_gate_modules"
# Greenwave configuration
GREENWAVE_URL = "https://greenwave.example.local/api/v1.0/"
GREENWAVE_DECISION_CONTEXT = "test_dec_context"
GREENWAVE_SUBJECT_TYPE = "some-module"
STREAM_SUFFIXES = {r"^el\d+\.\d+\.\d+\.z$": 0.1}