Skip to content

Commit

Permalink
Add GitLab integration draft
Browse files Browse the repository at this point in the history
Signed-off-by: Diana <[email protected]>
  • Loading branch information
cloudjumpercat committed Jan 15, 2025
1 parent 1315ad1 commit 4da3a20
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/_data/docs_nav_konnect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@
url: /service-catalog/integrations/traceable/
- text: Datadog
url: /service-catalog/integrations/datadog/
- text: GitLab
url: /service-catalog/integrations/gitlab/

- title: API Products
icon: /assets/images/icons/konnect/icn-api-product.svg
Expand Down
5 changes: 5 additions & 0 deletions app/_data/tables/konnect/integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ integrations:
slug: datadog
events: true
description: View the performance and health of your services by ingesting Datadog monitors and dashboards
- name: GitLab
icon: gitlab.svg
slug: gitlab
events: true
description: Associate a service to one or more GitLab projects

##### Using this file ######
# - name: Name of the integration
Expand Down
1 change: 1 addition & 0 deletions app/assets/images/icons/third-party/gitlab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions app/konnect/service-catalog/integrations/gitlab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
title: GitLab Integration
content-type: reference
beta: true

discovery_support: true
discovery_default: true
bindable_entities: "Projects"
mechanism: "pull/ingestion model"
---

_Type: External_

The GitLab integration allows you to associate your {{site.service_catalog_name}} service to one or more [GitLab projects](https://docs.gitlab.com/ee/user/get_started/get_started_projects.html).

For each linked Project, the UI can show a **Project Summary** with simple data pulled from the GitLab API, such as the number of open issues, open merge requests, most recently closed merge requests, languages, and more.

## Authorize the GitLab integration

1. From the **{% konnect_icon servicehub %} Service Catalog** in {{site.konnect_product_name}}, select **[Integrations](https://cloud.konghq.com/us/service-catalog/integrations)**.
2. Select **GitLab**, then **Install GitLab**.
3. Select **Authorize**.

## Resources

Entity | Description
-------|-------------
Projects | Organizes all the data for a specific development project that relates to a Service Catalog Service.

## Events

This integration supports events.

You can view the following event types for linked projects from the {{site.konnect_product_name}} UI:

* Opened merge request
* Closed merge request
* Reopened merge request
* Updated merge request
* Approved merge request
* Unapproved merge request
* Merged merge request


## Discovery information

<!-- vale off-->

{% include_cached service-catalog-discovery.html
discovery_support=page.discovery_support
discovery_default=page.discovery_default
bindable_entities=page.bindable_entities
mechanism=page.mechanism %}

<!-- vale on-->

0 comments on commit 4da3a20

Please sign in to comment.