dcadfd4c76
- add getting a single incident, getting multiple (with pages), and creating an incident - blueprints.streaming: add incident related OP codes - consts: add IncidentType - manager: add incidents channel, add publish_incident - elstat: add snowflake.py
13 lines
230 B
Python
13 lines
230 B
Python
from .adapters import HttpAdapter, PingAdapter
|
|
|
|
|
|
ADAPTERS = {
|
|
'http': HttpAdapter,
|
|
'ping': PingAdapter,
|
|
}
|
|
|
|
|
|
class IncidentType:
|
|
OUTAGE = 'outage'
|
|
PARTIAL_OUTAGE = 'partial_outage'
|
|
DEGRADED = 'degraded_service'
|