Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook Handling #1036

Closed
wants to merge 61 commits into from
Closed

Webhook Handling #1036

wants to merge 61 commits into from

Conversation

shariff6
Copy link

Adds all events to the gitlabhandler, previously events were configured in gitlab_config but handler was not setup t setup the hooks

Removes if else statements, wraps kinds in dictionary(resource_map)
…dual handlers for each resource type - Replaced the single 'on_resync' function with dedicated handlers for GitLab groups, projects, merge requests, and issues. - Each resource type now has its own on_resync function to manage synchronization. - Added fetch_resource helper function to collect and return items from the respective fetch methods.
… on information in reponse from gitlab headers,
…class.

Creates a mapper_factory helper class for easier adding of resource type and resource mappings
Adds setting up webhooks once Gitlab Integrations has began

Create, List and Update Webhooks
Adjust setupwebhooks accross all projects
…itional resources

Moves fetch resources logic into get_paginated_resource function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant