-
Notifications
You must be signed in to change notification settings - Fork 4
/
consts.py
36 lines (34 loc) · 1.58 KB
/
consts.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
'''
Contains key constants to access variables embedded in the applications' or requests' context. Both
are dict-like objects, so the constants can be used to retrieve the desired variables like they were
globally available.
'''
APP_ADDRESSBOOK_ENTRIES = 'addressbook_entries'
APP_ADDRESSBOOK_GITHUB_MAPPINGS = 'addressbook_github_mappings'
APP_ADDRESSBOOK_SOURCE = 'addressbook_source'
APP_ARTEFACT_METADATA_CFG = 'artefact_metadata_cfg'
APP_BASE_URL = 'base_url'
APP_CFG_FACTORY = 'cfg_factory'
APP_COMPONENT_DESCRIPTOR_LOOKUP = 'component_descriptor_lookup'
APP_COMPONENT_WITH_TESTS_CALLBACK = 'component_with_tests_callback'
APP_RESCORING_RULE_SET_LOOKUP = 'rescoring_rule_set_lookup'
APP_DEFAULT_RULE_SET_FOR_TYPE_CALLBACK = 'default_rule_set_for_type_callback'
APP_DELIVERY_CFG = 'delivery_cfg'
APP_EOL_CLIENT = 'eol_client'
APP_GITHUB_API_LOOKUP = 'github_api_lookup'
APP_GITHUB_REPO_LOOKUP = 'github_repo_lookup'
APP_INVALID_SEMVER_OK = 'invalid_semver_ok'
APP_KUBERNETES_API_CALLBACK = 'kubernetes_api_callback'
APP_NAMESPACE_CALLBACK = 'namespace_callback'
APP_OCI_CLIENT = 'oci_client'
APP_SERVICE_EXTENSIONS_CALLBACK = 'service_extensions_callback'
APP_SPECIAL_COMPONENT_CALLBACK = 'special_component_callback'
APP_SPRINT_DATE_DISPLAY_NAME_CALLBACK = 'sprint_date_display_name_callback'
APP_SPRINTS = 'sprints'
APP_SPRINTS_METADATA = 'sprints_metadata'
APP_UPR_REGEX_CALLBACK = 'upr_regex_callback'
APP_VERSION_FILTER_CALLBACK = 'version_filter_callback'
APP_VERSION_LOOKUP = 'version_lookup'
REQUEST_DB_SESSION = 'db_session'
REQUEST_GITHUB_USER = 'github_user'
REQUEST_USER_PERMISSIONS = 'user_permissions'