monasca-events-api/policy-sample.yaml
Artur Basiak 620a477df0 Add events endpoint
Provide basic endpoint:
/v1.0/events/
/healthcheck
/version
Endpoint reads request and returns HTTP code 200.
Provide code to run application in gunicorn mode.

Story: 2001112
Task: 4863

Change-Id: Ic7c344360b5acec5af7751a825e2dff8346cf1f7
Depends-On: I18d9f4ec543c76bfe1311ed1ee940827d4162298
2017-12-18 13:42:02 +01:00

8 lines
170 B
YAML

# Admin role
# POST /
#"admin_required": "role:admin or is_admin:1"
# Send events to api
# POST /v1.0/events
#"events_api:agent_required": "role:monasca_events_agent"