Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/open-hand/gitlab-service
Gitlab Service is responsible for establishing communication with GitLab, handling GitLab related logic and forwarding it to other services.
https://github.com/open-hand/gitlab-service
choerodon gitlab java spring spring-boot spring-cloud
Last synced: about 2 months ago
JSON representation
Gitlab Service is responsible for establishing communication with GitLab, handling GitLab related logic and forwarding it to other services.
- Host: GitHub
- URL: https://github.com/open-hand/gitlab-service
- Owner: open-hand
- License: apache-2.0
- Created: 2018-05-19T06:14:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-15T03:35:09.000Z (over 1 year ago)
- Last Synced: 2023-06-15T04:26:10.751Z (over 1 year ago)
- Topics: choerodon, gitlab, java, spring, spring-boot, spring-cloud
- Language: Java
- Homepage: http://choerodon.io
- Size: 693 KB
- Stars: 18
- Watchers: 5
- Forks: 34
- Open Issues: 3
-
Metadata Files:
- Readme: README.en_US.md
- Changelog: CHANGELOG_en_US.md
- License: LICENSE
Awesome Lists containing this project
README
English | [简体中文](./README.md)
# 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 ManagementThis function is used to manage Gitlab's group, including creating projects, deleting projects, querying projects, etc.
- WebHook ManagementThis function is used to manage Gitlab's WebHook, including creating WebHook, querying WebHook, etc.
- Issue ManagementThis 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 ManagementThis function is used to manage Gitlab's Merge Request, including create, delete, query Merge Request and other operations.
- Project ManagementThis 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
- JDK-8
- [Maven](http://www.maven-sf.com/)
- [MySQL](https://www.mysql.com)
- [Gitlab](https://gitlab.com)
- [Kafka](https://kafka.apache.org)## Installation and Getting Started
1. init database```sql
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```bash
mvn clean spring-boot:run
```
## Service dependencies
- `eureka-server`L 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](https://github.com/choerodon/choerodon/issues/new?template=issue_template.md).## Link
[Update Log](CHANGELOG_en_US.md)## How to Contribute
Pull requests are welcome! [Follow](https://github.com/choerodon/choerodon/blob/master/CONTRIBUTING.md) to know for more information on how to contribute.