gitlab_platform#
- class besser.agent.platforms.gitlab.gitlab_platform.GitLabPlatform(agent)[source]#
Bases:
Platform
The GitLab Platform allows an agent to receive events from GitLab webhooks and make calls to its REST API
This platform implements a webserver exposing an endpoint to receive webhooks events from GitLab. In addition, the platform provides abstractions for interacting with issues (e.g., open, get, comment).
- Parameters:
agent (Agent) – the agent the platform belongs to
- _app#
Web application routing webhooks to our entrypoint
- Type:
web.Application
- _post_entrypoint#
The method handling the webhooks events
- Type:
Request -> web.Response
- _abc_impl = <_abc._abc_data object>#
- initialize()[source]#
Initialize the platform. This function is called right before starting the platform.