Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 2.44 KB

README.en_US.md

File metadata and controls

69 lines (47 loc) · 2.44 KB

English | 简体中文

Gitlab Service

Gitlab Service is responsible for interacting with gitlab by introducing an external java client, this client directly calls the api provided by gitlab,Then gitlab-service handles gitlab logical requests from other services

Feature

Gitlab Service contains features as follows:

  • Group Management

    This function is used to manage Gitlab's group, including creating projects, deleting projects, querying projects, etc.

  • WebHook Management

    This function is used to manage Gitlab's WebHook, including creating WebHook, querying WebHook, etc.

  • Issue Management

    This function is used to manage Gitlab's issue, including create issue , update issue, close issue and other operations.

  • Label Management

    This function is used to manage Gitlab's labels, including querying label, deleting label, subscribing to labels, and so on.

  • Merge Request Management

    This function is used to manage Gitlab's Merge Request, including create, delete, query Merge Request and other operations.

  • Project Management

    This feature is used to manage Gitlab's projects, including creating , updating, deleting projects, and adding and removing Project members.

  • User Management This function is used to manage the User of Gitlab, including creating, updating, verifying the existence of User mailbox and other operations.

Requirements

Installation and Getting Started

  1. init database

    CREATE USER 'choerodon'@'%' IDENTIFIED BY "choerodon";
    CREATE DATABASE gitlab_service DEFAULT CHARACTER SET utf8;
    GRANT ALL PRIVILEGES ON gitlab_service.* TO choerodon@'%';
    FLUSH PRIVILEGES;
  2. run command as follow or run GitlabServiceApplication in IntelliJ IDEA

    mvn clean spring-boot:run

Service dependencies

  • eureka-serverL Register & configure center
  • oauth-server authentication center
  • MySQL: gitlab_service

Reporting Issues

If you find any shortcomings or bugs, please describe them in the issue.

Link

Update Log

How to Contribute

Pull requests are welcome! Follow to know for more information on how to contribute.