mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 18:37:39 -02:30
Hook in the webhook receiver views into the urlconf
This commit is contained in:
14
awx/api/urls/webhooks.py
Normal file
14
awx/api/urls/webhooks.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from django.conf.urls import url
|
||||
|
||||
from awx.api.views import (
|
||||
GithubWebhookReceiver,
|
||||
GitlabWebhookReceiver,
|
||||
BitbucketWebhookReceiver,
|
||||
)
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^github/$', GithubWebhookReceiver.as_view(), name='webhook_receiver_github'),
|
||||
url(r'^gitlab/$', GitlabWebhookReceiver.as_view(), name='webhook_receiver_gitlab'),
|
||||
url(r'^bitbucket/$', BitbucketWebhookReceiver.as_view(), name='webhook_receiver_bitbucket'),
|
||||
]
|
||||
Reference in New Issue
Block a user