-
Notifications
You must be signed in to change notification settings - Fork 56
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
Gitlab Integration #1040
Closed
Closed
Gitlab Integration #1040
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…s king to port config
removes await
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,
…ects, groups and issues
…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
Gitlab v1
Adds support for all events to the setup group webhooks
Adds generic resync
Changes config to use single gitlab token env
Gitlab v1
Fixes pre-commit config
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
What:
This integration for GitLab and Port creates a system for synchronizing GitLab groups, issues, merge requests, and projects. It also sets up webhooks to handle live events from GitLab.
Why:
To ensure that data between GitLab and Port is consistently synchronized and up-to-date. The integration enables real-time updates and event handling through webhooks, improving data accuracy and responsiveness.
How:
gitlabToken
for secure API interactions.Type of change
Please leave one option from the following and delete the rest:
All tests should be run against the port production environment(using a testing org).
This implementation is pending tests
Core testing checklist
Integration testing checklist
examples
folder in the integration directory.Preflight checklist
Screenshots
Include screenshots from your environment showing how the resources of the integration will look.
Groups
Projects
Merge Requests
API Documentation
For this integration, the following GitLab API documentation links are used: