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
Gitlab Service
contains features as follows:
- Application template synchronization
- User synchronization
- Project synchronization
- Application synchronization
- Branch management
- Continuous integration
- Application version management
- MergeRequest management
- Webhook management
-
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;
-
run command
sh init-local-database.sh
-
run command as follow or run
GitlabServiceApplication
in IntelliJ IDEAmvn clean spring-boot:run
If you find any shortcomings or bugs, please describe them in the issue.
Pull requests are welcome! Follow to know for more information on how to contribute.