From 4e25adba5b977598af15005e20410bdaf6a1199e Mon Sep 17 00:00:00 2001 From: uPagge Date: Wed, 13 Jan 2021 20:39:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BA=D1=80=D0=BE?= =?UTF-8?q?=D0=B9=D0=BA=D0=B0=20pom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bitbucketbot-core/pom.xml | 20 ++-- {bitbucket-app => bot-app}/Dockerfile | 0 {bitbucket-app => bot-app}/pom.xml | 31 +++--- .../app/BitbucketbotApplication.java | 0 .../vcs/bitbucket/app/config/AppConfig.java | 0 .../property/CommentSchedulerProperty.java | 0 .../scheduler/CommentAndTaskScheduler.java | 0 .../app/scheduler/PersonScheduler.java | 0 .../scheduler/PullRequestParserScheduler.java | 0 .../app/scheduler/RatingScheduler.java | 0 .../app/service/CommentAndTaskParser.java | 0 .../app/service/ExecutorScanner.java | 0 .../app/service/executor/DataScan.java | 0 .../app/service/executor/Executor.java | 0 .../app/service/executor/ResultScan.java | 0 .../app/service/executor/Seeker.java | 0 .../service/parser/PersonBitbucketParser.java | 0 .../parser/PullRequestBitbucketParser.java | 0 .../src/main/resources/application-dev.yaml | 0 .../src/main/resources/application-prod.yaml | 0 .../src/main/resources/application.yaml | 0 .../main/resources/liquibase/change-log.xml | 0 .../v.2.0.0/2020-09-06-create-table.xml | 0 .../v.2.0.0/2020-09-06-cumulative.xml | 0 .../v.2.0.0/2020-09-15-fix-task-comments.xml | 0 .../v.2.0.0/2020-09-20-setting-notify.xml | 0 .../liquibase/v.2.0.0/2020-09-20-teamcity.xml | 0 .../liquibase/v.2.0.0/2020-10-01-rating.xml | 0 .../2020-10-02-add-column-status-teamcity.xml | 0 .../2020-10-07-add-colum-reviewer-date.xml | 0 .../v.2.0.0/2020-10-11-new-colum-reviewer.xml | 0 .../2020-10-11-teamcity-refactoring.xml | 0 .../v.3.0.0/2020-10-31-add-new-columns-pr.xml | 0 .../liquibase/v.3.0.0/cumulative.xml | 0 .../src/main/resources/logback-dev.xml | 0 .../src/main/resources/logback-prod.xml | 0 .../src/main/resources/public/index.html | 0 .../resources/public/static/css/signin.css | 0 {bitbucketbot-context => bot-context}/pom.xml | 8 +- .../bitbucketbot/context/domain/Answer.java | 0 .../context/domain/EntityType.java | 0 .../context/domain/IdAndStatusPr.java | 0 .../context/domain/MessageSend.java | 0 .../context/domain/PointType.java | 0 .../context/domain/TaskStatus.java | 0 .../context/domain/entity/Chat.java | 0 .../context/domain/entity/Comment.java | 0 .../context/domain/entity/NotifySetting.java | 0 .../context/domain/entity/Person.java | 0 .../context/domain/entity/PullRequest.java | 0 .../domain/entity/PullRequestMini.java | 0 .../context/domain/entity/RatingHistory.java | 0 .../context/domain/entity/RatingList.java | 0 .../context/domain/entity/Reviewer.java | 0 .../context/domain/entity/Task.java | 0 .../domain/filter/PullRequestFilter.java | 0 .../domain/notify/GoodMorningNotify.java | 0 .../context/domain/notify/Notify.java | 0 .../domain/notify/SimpleTextNotify.java | 0 .../notify/comment/AnswerCommentNotify.java | 0 .../domain/notify/comment/CommentNotify.java | 0 .../notify/pullrequest/ConflictPrNotify.java | 0 .../pullrequest/ForgottenSmartPrNotify.java | 0 .../notify/pullrequest/NewPrNotify.java | 0 .../domain/notify/pullrequest/PrNotify.java | 0 .../notify/pullrequest/ReviewersPrNotify.java | 0 .../notify/pullrequest/SmartPrNotify.java | 0 .../notify/pullrequest/StatusPrNotify.java | 0 .../notify/pullrequest/UpdatePrNotify.java | 0 .../domain/notify/task/TaskCloseNotify.java | 0 .../domain/notify/task/TaskNewNotify.java | 0 .../domain/notify/task/TaskNotify.java | 0 .../context/domain/util/ReviewerChange.java | 0 .../exception/BitbucketBotException.java | 0 .../context/exception/NotFoundException.java | 0 .../context/exception/RegException.java | 0 .../context/exception/UpdateException.java | 0 .../context/repository/ChatRepository.java | 0 .../context/repository/CommentRepository.java | 0 .../repository/NotifySettingRepository.java | 0 .../context/repository/PersonRepository.java | 0 .../repository/PullRequestsRepository.java | 0 .../repository/RatingHistoryRepository.java | 0 .../repository/RatingListRepository.java | 0 .../context/repository/TaskRepository.java | 0 .../context/service/ChatService.java | 0 .../context/service/CommentService.java | 0 .../context/service/MessageSendService.java | 0 .../context/service/NotifyService.java | 0 .../context/service/PersonService.java | 0 .../context/service/PullRequestsService.java | 0 .../context/service/RatingService.java | 0 .../context/service/TaskService.java | 0 .../context/service/parser/PersonParser.java | 0 .../context/utils/MessageUtils.java | 0 .../vsc/bitbucketbot/context/utils/Smile.java | 0 .../context/utils/UpdateDataComparator.java | 0 bot-core/pom.xml | 10 +- {bitbucketbot-data => bot-data}/pom.xml | 14 +-- .../data/impl/ChatRepositoryImpl.java | 0 .../data/impl/CommentRepositoryImpl.java | 0 .../impl/NotifySettingRepositoryImpl.java | 0 .../data/impl/PersonRepositoryImpl.java | 0 .../data/impl/PullRequestsRepositoryImpl.java | 0 .../impl/RatingHistoryRepositoryImpl.java | 0 .../data/impl/RatingListRepositoryImpl.java | 0 .../data/impl/TaskRepositoryImpl.java | 0 .../data/jpa/ChatJpaRepository.java | 0 .../data/jpa/CommentRepositoryJpa.java | 0 .../data/jpa/NotifySettingJpaRepository.java | 0 .../data/jpa/PersonJpaRepository.java | 0 .../jpa/PullRequestMiniRepositoryJpa.java | 0 .../data/jpa/PullRequestsRepositoryJpa.java | 0 .../data/jpa/RatingHistoryJpaRepository.java | 0 .../data/jpa/RatingListJpaRepository.java | 0 .../data/jpa/TaskRepositoryJpa.java | 0 bot-rest/pom.xml | 72 ------------- .../vcs/rest/controller/UserController.java | 33 ------ .../vcs/rest/converter/UserDtoConverter.java | 20 ---- .../org/sadtech/bot/vcs/rest/dto/UserDto.java | 14 --- {bitbucket-sdk => gitlab-sdk}/pom.xml | 8 +- .../sdk/domain/BitbucketUserRole.java | 0 .../vcs/bitbucket/sdk/domain/CommentJson.java | 0 .../bitbucket/sdk/domain/CommentState.java | 0 .../vcs/bitbucket/sdk/domain/FromRefJson.java | 0 .../vcs/bitbucket/sdk/domain/LinkJson.java | 0 .../vcs/bitbucket/sdk/domain/MergeResult.java | 0 .../bot/vcs/bitbucket/sdk/domain/Outcome.java | 0 .../vcs/bitbucket/sdk/domain/ProjectJson.java | 0 .../vcs/bitbucket/sdk/domain/Properties.java | 0 .../bitbucket/sdk/domain/PullRequestJson.java | 0 .../sdk/domain/PullRequestState.java | 0 .../bitbucket/sdk/domain/RepositoryJson.java | 0 .../vcs/bitbucket/sdk/domain/SelfJson.java | 0 .../vcs/bitbucket/sdk/domain/Severity.java | 0 .../bot/vcs/bitbucket/sdk/domain/Sheet.java | 0 .../sdk/domain/UserDecisionJson.java | 0 .../vcs/bitbucket/sdk/domain/UserJson.java | 0 .../sdk/domain/UserPullRequestStatus.java | 0 .../domain/sheet/PullRequestSheetJson.java | 0 .../sdk/domain/sheet/UserSheetJson.java | 0 .../LocalDateTimeFromEpochDeserializer.java | 0 pom.xml | 101 ++++++++---------- teamcity/pom.xml | 4 +- teamcity/teamcity-core/pom.xml | 8 +- teamcity/teamcity-sdk/pom.xml | 4 +- telegram-bot/pom.xml | 12 +-- 147 files changed, 104 insertions(+), 255 deletions(-) rename {bitbucket-app => bot-app}/Dockerfile (100%) rename {bitbucket-app => bot-app}/pom.xml (82%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/BitbucketbotApplication.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/config/AppConfig.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/config/property/CommentSchedulerProperty.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/CommentAndTaskScheduler.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/PersonScheduler.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/PullRequestParserScheduler.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/RatingScheduler.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/CommentAndTaskParser.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/ExecutorScanner.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/DataScan.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/Executor.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/ResultScan.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/Seeker.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/parser/PersonBitbucketParser.java (100%) rename {bitbucket-app => bot-app}/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/parser/PullRequestBitbucketParser.java (100%) rename {bitbucket-app => bot-app}/src/main/resources/application-dev.yaml (100%) rename {bitbucket-app => bot-app}/src/main/resources/application-prod.yaml (100%) rename {bitbucket-app => bot-app}/src/main/resources/application.yaml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/change-log.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.2.0.0/2020-09-06-create-table.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.2.0.0/2020-09-06-cumulative.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.2.0.0/2020-09-15-fix-task-comments.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.2.0.0/2020-09-20-setting-notify.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.2.0.0/2020-09-20-teamcity.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.2.0.0/2020-10-01-rating.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.2.0.0/2020-10-02-add-column-status-teamcity.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.2.0.0/2020-10-07-add-colum-reviewer-date.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.2.0.0/2020-10-11-new-colum-reviewer.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.2.0.0/2020-10-11-teamcity-refactoring.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.3.0.0/2020-10-31-add-new-columns-pr.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/liquibase/v.3.0.0/cumulative.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/logback-dev.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/logback-prod.xml (100%) rename {bitbucket-app => bot-app}/src/main/resources/public/index.html (100%) rename {bitbucket-app => bot-app}/src/main/resources/public/static/css/signin.css (100%) rename {bitbucketbot-context => bot-context}/pom.xml (92%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/Answer.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/EntityType.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/IdAndStatusPr.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/MessageSend.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/PointType.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/TaskStatus.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Chat.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Comment.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/NotifySetting.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Person.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/PullRequest.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/PullRequestMini.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/RatingHistory.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/RatingList.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Reviewer.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Task.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/filter/PullRequestFilter.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/GoodMorningNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/Notify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/SimpleTextNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/comment/AnswerCommentNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/comment/CommentNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ConflictPrNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ForgottenSmartPrNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/NewPrNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/PrNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ReviewersPrNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/SmartPrNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/StatusPrNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/UpdatePrNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskCloseNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskNewNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskNotify.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/util/ReviewerChange.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/BitbucketBotException.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/NotFoundException.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/RegException.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/UpdateException.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/ChatRepository.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/CommentRepository.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/NotifySettingRepository.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/PersonRepository.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/PullRequestsRepository.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/RatingHistoryRepository.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/RatingListRepository.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/TaskRepository.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/ChatService.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/CommentService.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/MessageSendService.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/NotifyService.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/PersonService.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/PullRequestsService.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/RatingService.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/TaskService.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/parser/PersonParser.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/MessageUtils.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/Smile.java (100%) rename {bitbucketbot-context => bot-context}/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/UpdateDataComparator.java (100%) rename {bitbucketbot-data => bot-data}/pom.xml (85%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/ChatRepositoryImpl.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/CommentRepositoryImpl.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/NotifySettingRepositoryImpl.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/PersonRepositoryImpl.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/PullRequestsRepositoryImpl.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/RatingHistoryRepositoryImpl.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/RatingListRepositoryImpl.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/TaskRepositoryImpl.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/ChatJpaRepository.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/CommentRepositoryJpa.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/NotifySettingJpaRepository.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PersonJpaRepository.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PullRequestMiniRepositoryJpa.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PullRequestsRepositoryJpa.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/RatingHistoryJpaRepository.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/RatingListJpaRepository.java (100%) rename {bitbucketbot-data => bot-data}/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/TaskRepositoryJpa.java (100%) delete mode 100644 bot-rest/pom.xml delete mode 100644 bot-rest/src/main/java/org/sadtech/bot/vcs/rest/controller/UserController.java delete mode 100644 bot-rest/src/main/java/org/sadtech/bot/vcs/rest/converter/UserDtoConverter.java delete mode 100644 bot-rest/src/main/java/org/sadtech/bot/vcs/rest/dto/UserDto.java rename {bitbucket-sdk => gitlab-sdk}/pom.xml (90%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/BitbucketUserRole.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/CommentJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/CommentState.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/FromRefJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/LinkJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/MergeResult.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Outcome.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/ProjectJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Properties.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/PullRequestJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/PullRequestState.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/RepositoryJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/SelfJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Severity.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Sheet.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserDecisionJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserPullRequestStatus.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/sheet/PullRequestSheetJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/sheet/UserSheetJson.java (100%) rename {bitbucket-sdk => gitlab-sdk}/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/utils/LocalDateTimeFromEpochDeserializer.java (100%) diff --git a/bitbucketbot-core/pom.xml b/bitbucketbot-core/pom.xml index 8b7040b..94a3669 100644 --- a/bitbucketbot-core/pom.xml +++ b/bitbucketbot-core/pom.xml @@ -3,33 +3,33 @@ xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - bitbucketbot - org.sadtech.bot.bitbucketbot + gitlab-bot + org.sadtech.bot.gitlab 3.0.1-RELEASE 4.0.0 - bitbucketbot-core - ${sadtech.bitbucketbot.context.version} + gitlab-core + ${gitlab.context.version} - Bitbucket Bot Server Core + GitLab Server Core Implementation of the Bitbucket server version service layer https://github.com/uPagge/bitbucketbot - org.sadtech.bot.bitbucketbot - bitbucketbot-context + org.sadtech.bot.gitlab + bot-context - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab bot-core - org.sadtech.bot.bitbucketbot - bitbucket-sdk + org.sadtech.bot.gitlab + gitlab-sdk diff --git a/bitbucket-app/Dockerfile b/bot-app/Dockerfile similarity index 100% rename from bitbucket-app/Dockerfile rename to bot-app/Dockerfile diff --git a/bitbucket-app/pom.xml b/bot-app/pom.xml similarity index 82% rename from bitbucket-app/pom.xml rename to bot-app/pom.xml index 1ffe046..ae0099b 100644 --- a/bitbucket-app/pom.xml +++ b/bot-app/pom.xml @@ -3,14 +3,14 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - org.sadtech.bot.bitbucketbot - bitbucketbot + org.sadtech.bot.gitlab + gitlab-bot 3.0.1-RELEASE 4.0.0 - bitbucket-app - ${sadtech.bitbucketbot.app.version} + gitlab-app + ${gitlab.app.version} Parent Bitbucket Server Notify Bot Notifications about Bitbucket Server events in Telegram @@ -46,38 +46,33 @@ - org.sadtech.bot.bitbucketbot - bitbucketbot-core - - - - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab bot-core - org.sadtech.bot.bitbucketbot - bitbucketbot-data + org.sadtech.bot.gitlab + bot-core - org.sadtech.bot.bitbucketbot - bot-rest + org.sadtech.bot.gitlab + bot-data - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab telegram-bot - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab teamcity-core - org.sadtech.bot.bitbucketbot - bitbucket-sdk + org.sadtech.bot.gitlab + gitlab-sdk diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/BitbucketbotApplication.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/BitbucketbotApplication.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/BitbucketbotApplication.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/BitbucketbotApplication.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/config/AppConfig.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/config/AppConfig.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/config/AppConfig.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/config/AppConfig.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/config/property/CommentSchedulerProperty.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/config/property/CommentSchedulerProperty.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/config/property/CommentSchedulerProperty.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/config/property/CommentSchedulerProperty.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/CommentAndTaskScheduler.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/CommentAndTaskScheduler.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/CommentAndTaskScheduler.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/CommentAndTaskScheduler.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/PersonScheduler.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/PersonScheduler.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/PersonScheduler.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/PersonScheduler.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/PullRequestParserScheduler.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/PullRequestParserScheduler.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/PullRequestParserScheduler.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/PullRequestParserScheduler.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/RatingScheduler.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/RatingScheduler.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/RatingScheduler.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/scheduler/RatingScheduler.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/CommentAndTaskParser.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/CommentAndTaskParser.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/CommentAndTaskParser.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/CommentAndTaskParser.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/ExecutorScanner.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/ExecutorScanner.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/ExecutorScanner.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/ExecutorScanner.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/DataScan.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/DataScan.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/DataScan.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/DataScan.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/Executor.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/Executor.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/Executor.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/Executor.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/ResultScan.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/ResultScan.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/ResultScan.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/ResultScan.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/Seeker.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/Seeker.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/Seeker.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/executor/Seeker.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/parser/PersonBitbucketParser.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/parser/PersonBitbucketParser.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/parser/PersonBitbucketParser.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/parser/PersonBitbucketParser.java diff --git a/bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/parser/PullRequestBitbucketParser.java b/bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/parser/PullRequestBitbucketParser.java similarity index 100% rename from bitbucket-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/parser/PullRequestBitbucketParser.java rename to bot-app/src/main/java/org/sadtech/bot/vcs/bitbucket/app/service/parser/PullRequestBitbucketParser.java diff --git a/bitbucket-app/src/main/resources/application-dev.yaml b/bot-app/src/main/resources/application-dev.yaml similarity index 100% rename from bitbucket-app/src/main/resources/application-dev.yaml rename to bot-app/src/main/resources/application-dev.yaml diff --git a/bitbucket-app/src/main/resources/application-prod.yaml b/bot-app/src/main/resources/application-prod.yaml similarity index 100% rename from bitbucket-app/src/main/resources/application-prod.yaml rename to bot-app/src/main/resources/application-prod.yaml diff --git a/bitbucket-app/src/main/resources/application.yaml b/bot-app/src/main/resources/application.yaml similarity index 100% rename from bitbucket-app/src/main/resources/application.yaml rename to bot-app/src/main/resources/application.yaml diff --git a/bitbucket-app/src/main/resources/liquibase/change-log.xml b/bot-app/src/main/resources/liquibase/change-log.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/change-log.xml rename to bot-app/src/main/resources/liquibase/change-log.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-09-06-create-table.xml b/bot-app/src/main/resources/liquibase/v.2.0.0/2020-09-06-create-table.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-09-06-create-table.xml rename to bot-app/src/main/resources/liquibase/v.2.0.0/2020-09-06-create-table.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-09-06-cumulative.xml b/bot-app/src/main/resources/liquibase/v.2.0.0/2020-09-06-cumulative.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-09-06-cumulative.xml rename to bot-app/src/main/resources/liquibase/v.2.0.0/2020-09-06-cumulative.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-09-15-fix-task-comments.xml b/bot-app/src/main/resources/liquibase/v.2.0.0/2020-09-15-fix-task-comments.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-09-15-fix-task-comments.xml rename to bot-app/src/main/resources/liquibase/v.2.0.0/2020-09-15-fix-task-comments.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-09-20-setting-notify.xml b/bot-app/src/main/resources/liquibase/v.2.0.0/2020-09-20-setting-notify.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-09-20-setting-notify.xml rename to bot-app/src/main/resources/liquibase/v.2.0.0/2020-09-20-setting-notify.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-09-20-teamcity.xml b/bot-app/src/main/resources/liquibase/v.2.0.0/2020-09-20-teamcity.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-09-20-teamcity.xml rename to bot-app/src/main/resources/liquibase/v.2.0.0/2020-09-20-teamcity.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-10-01-rating.xml b/bot-app/src/main/resources/liquibase/v.2.0.0/2020-10-01-rating.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-10-01-rating.xml rename to bot-app/src/main/resources/liquibase/v.2.0.0/2020-10-01-rating.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-10-02-add-column-status-teamcity.xml b/bot-app/src/main/resources/liquibase/v.2.0.0/2020-10-02-add-column-status-teamcity.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-10-02-add-column-status-teamcity.xml rename to bot-app/src/main/resources/liquibase/v.2.0.0/2020-10-02-add-column-status-teamcity.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-10-07-add-colum-reviewer-date.xml b/bot-app/src/main/resources/liquibase/v.2.0.0/2020-10-07-add-colum-reviewer-date.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-10-07-add-colum-reviewer-date.xml rename to bot-app/src/main/resources/liquibase/v.2.0.0/2020-10-07-add-colum-reviewer-date.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-10-11-new-colum-reviewer.xml b/bot-app/src/main/resources/liquibase/v.2.0.0/2020-10-11-new-colum-reviewer.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-10-11-new-colum-reviewer.xml rename to bot-app/src/main/resources/liquibase/v.2.0.0/2020-10-11-new-colum-reviewer.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-10-11-teamcity-refactoring.xml b/bot-app/src/main/resources/liquibase/v.2.0.0/2020-10-11-teamcity-refactoring.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.2.0.0/2020-10-11-teamcity-refactoring.xml rename to bot-app/src/main/resources/liquibase/v.2.0.0/2020-10-11-teamcity-refactoring.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.3.0.0/2020-10-31-add-new-columns-pr.xml b/bot-app/src/main/resources/liquibase/v.3.0.0/2020-10-31-add-new-columns-pr.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.3.0.0/2020-10-31-add-new-columns-pr.xml rename to bot-app/src/main/resources/liquibase/v.3.0.0/2020-10-31-add-new-columns-pr.xml diff --git a/bitbucket-app/src/main/resources/liquibase/v.3.0.0/cumulative.xml b/bot-app/src/main/resources/liquibase/v.3.0.0/cumulative.xml similarity index 100% rename from bitbucket-app/src/main/resources/liquibase/v.3.0.0/cumulative.xml rename to bot-app/src/main/resources/liquibase/v.3.0.0/cumulative.xml diff --git a/bitbucket-app/src/main/resources/logback-dev.xml b/bot-app/src/main/resources/logback-dev.xml similarity index 100% rename from bitbucket-app/src/main/resources/logback-dev.xml rename to bot-app/src/main/resources/logback-dev.xml diff --git a/bitbucket-app/src/main/resources/logback-prod.xml b/bot-app/src/main/resources/logback-prod.xml similarity index 100% rename from bitbucket-app/src/main/resources/logback-prod.xml rename to bot-app/src/main/resources/logback-prod.xml diff --git a/bitbucket-app/src/main/resources/public/index.html b/bot-app/src/main/resources/public/index.html similarity index 100% rename from bitbucket-app/src/main/resources/public/index.html rename to bot-app/src/main/resources/public/index.html diff --git a/bitbucket-app/src/main/resources/public/static/css/signin.css b/bot-app/src/main/resources/public/static/css/signin.css similarity index 100% rename from bitbucket-app/src/main/resources/public/static/css/signin.css rename to bot-app/src/main/resources/public/static/css/signin.css diff --git a/bitbucketbot-context/pom.xml b/bot-context/pom.xml similarity index 92% rename from bitbucketbot-context/pom.xml rename to bot-context/pom.xml index 63bf316..3fb410b 100644 --- a/bitbucketbot-context/pom.xml +++ b/bot-context/pom.xml @@ -3,14 +3,14 @@ xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - bitbucketbot - org.sadtech.bot.bitbucketbot + gitlab-bot + org.sadtech.bot.gitlab 3.0.1-RELEASE 4.0.0 - bitbucketbot-context - ${sadtech.bitbucketbot.context.version} + bot-context + ${gitlab.context.version} diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/Answer.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/Answer.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/Answer.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/Answer.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/EntityType.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/EntityType.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/EntityType.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/EntityType.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/IdAndStatusPr.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/IdAndStatusPr.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/IdAndStatusPr.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/IdAndStatusPr.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/MessageSend.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/MessageSend.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/MessageSend.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/MessageSend.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/PointType.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/PointType.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/PointType.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/PointType.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/TaskStatus.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/TaskStatus.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/TaskStatus.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/TaskStatus.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Chat.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Chat.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Chat.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Chat.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Comment.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Comment.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Comment.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Comment.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/NotifySetting.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/NotifySetting.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/NotifySetting.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/NotifySetting.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Person.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Person.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Person.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Person.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/PullRequest.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/PullRequest.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/PullRequest.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/PullRequest.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/PullRequestMini.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/PullRequestMini.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/PullRequestMini.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/PullRequestMini.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/RatingHistory.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/RatingHistory.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/RatingHistory.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/RatingHistory.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/RatingList.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/RatingList.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/RatingList.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/RatingList.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Reviewer.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Reviewer.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Reviewer.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Reviewer.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Task.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Task.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Task.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/entity/Task.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/filter/PullRequestFilter.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/filter/PullRequestFilter.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/filter/PullRequestFilter.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/filter/PullRequestFilter.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/GoodMorningNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/GoodMorningNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/GoodMorningNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/GoodMorningNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/Notify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/Notify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/Notify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/Notify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/SimpleTextNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/SimpleTextNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/SimpleTextNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/SimpleTextNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/comment/AnswerCommentNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/comment/AnswerCommentNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/comment/AnswerCommentNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/comment/AnswerCommentNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/comment/CommentNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/comment/CommentNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/comment/CommentNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/comment/CommentNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ConflictPrNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ConflictPrNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ConflictPrNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ConflictPrNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ForgottenSmartPrNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ForgottenSmartPrNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ForgottenSmartPrNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ForgottenSmartPrNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/NewPrNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/NewPrNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/NewPrNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/NewPrNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/PrNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/PrNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/PrNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/PrNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ReviewersPrNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ReviewersPrNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ReviewersPrNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/ReviewersPrNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/SmartPrNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/SmartPrNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/SmartPrNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/SmartPrNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/StatusPrNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/StatusPrNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/StatusPrNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/StatusPrNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/UpdatePrNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/UpdatePrNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/UpdatePrNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/pullrequest/UpdatePrNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskCloseNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskCloseNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskCloseNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskCloseNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskNewNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskNewNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskNewNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskNewNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskNotify.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskNotify.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskNotify.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/notify/task/TaskNotify.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/util/ReviewerChange.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/util/ReviewerChange.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/util/ReviewerChange.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/domain/util/ReviewerChange.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/BitbucketBotException.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/BitbucketBotException.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/BitbucketBotException.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/BitbucketBotException.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/NotFoundException.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/NotFoundException.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/NotFoundException.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/NotFoundException.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/RegException.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/RegException.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/RegException.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/RegException.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/UpdateException.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/UpdateException.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/UpdateException.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/exception/UpdateException.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/ChatRepository.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/ChatRepository.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/ChatRepository.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/ChatRepository.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/CommentRepository.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/CommentRepository.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/CommentRepository.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/CommentRepository.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/NotifySettingRepository.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/NotifySettingRepository.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/NotifySettingRepository.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/NotifySettingRepository.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/PersonRepository.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/PersonRepository.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/PersonRepository.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/PersonRepository.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/PullRequestsRepository.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/PullRequestsRepository.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/PullRequestsRepository.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/PullRequestsRepository.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/RatingHistoryRepository.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/RatingHistoryRepository.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/RatingHistoryRepository.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/RatingHistoryRepository.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/RatingListRepository.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/RatingListRepository.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/RatingListRepository.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/RatingListRepository.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/TaskRepository.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/TaskRepository.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/TaskRepository.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/repository/TaskRepository.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/ChatService.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/ChatService.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/ChatService.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/ChatService.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/CommentService.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/CommentService.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/CommentService.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/CommentService.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/MessageSendService.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/MessageSendService.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/MessageSendService.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/MessageSendService.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/NotifyService.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/NotifyService.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/NotifyService.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/NotifyService.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/PersonService.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/PersonService.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/PersonService.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/PersonService.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/PullRequestsService.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/PullRequestsService.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/PullRequestsService.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/PullRequestsService.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/RatingService.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/RatingService.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/RatingService.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/RatingService.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/TaskService.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/TaskService.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/TaskService.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/TaskService.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/parser/PersonParser.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/parser/PersonParser.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/parser/PersonParser.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/service/parser/PersonParser.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/MessageUtils.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/MessageUtils.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/MessageUtils.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/MessageUtils.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/Smile.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/Smile.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/Smile.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/Smile.java diff --git a/bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/UpdateDataComparator.java b/bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/UpdateDataComparator.java similarity index 100% rename from bitbucketbot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/UpdateDataComparator.java rename to bot-context/src/main/java/org/sadtech/bot/vsc/bitbucketbot/context/utils/UpdateDataComparator.java diff --git a/bot-core/pom.xml b/bot-core/pom.xml index b6f454e..b5957eb 100644 --- a/bot-core/pom.xml +++ b/bot-core/pom.xml @@ -3,14 +3,14 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - org.sadtech.bot.bitbucketbot - bitbucketbot + org.sadtech.bot.gitlab + gitlab-bot 3.0.1-RELEASE 4.0.0 bot-core - ${sadtech.bitbucketbot.core.version} + ${gitlab.core.version} @@ -19,8 +19,8 @@ - org.sadtech.bot.bitbucketbot - bitbucketbot-context + org.sadtech.bot.gitlab + bot-context diff --git a/bitbucketbot-data/pom.xml b/bot-data/pom.xml similarity index 85% rename from bitbucketbot-data/pom.xml rename to bot-data/pom.xml index 97b84bd..c2c84d2 100644 --- a/bitbucketbot-data/pom.xml +++ b/bot-data/pom.xml @@ -3,23 +3,23 @@ xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - bitbucketbot - org.sadtech.bot.bitbucketbot + gitlab-bot + org.sadtech.bot.gitlab 3.0.1-RELEASE 4.0.0 - bitbucketbot-data - ${sadtech.bitbucketbot.data.version} + bot-data + ${gitlab.data.version} - Bitbucket Bot Server Data + GitLab Server Data Implementation of the Bitbucket server version repository layer https://github.com/uPagge/bitbucketbot - org.sadtech.bot.bitbucketbot - bitbucketbot-context + org.sadtech.bot.gitlab + bot-context org.springframework.data diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/ChatRepositoryImpl.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/ChatRepositoryImpl.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/ChatRepositoryImpl.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/ChatRepositoryImpl.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/CommentRepositoryImpl.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/CommentRepositoryImpl.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/CommentRepositoryImpl.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/CommentRepositoryImpl.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/NotifySettingRepositoryImpl.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/NotifySettingRepositoryImpl.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/NotifySettingRepositoryImpl.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/NotifySettingRepositoryImpl.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/PersonRepositoryImpl.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/PersonRepositoryImpl.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/PersonRepositoryImpl.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/PersonRepositoryImpl.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/PullRequestsRepositoryImpl.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/PullRequestsRepositoryImpl.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/PullRequestsRepositoryImpl.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/PullRequestsRepositoryImpl.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/RatingHistoryRepositoryImpl.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/RatingHistoryRepositoryImpl.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/RatingHistoryRepositoryImpl.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/RatingHistoryRepositoryImpl.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/RatingListRepositoryImpl.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/RatingListRepositoryImpl.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/RatingListRepositoryImpl.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/RatingListRepositoryImpl.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/TaskRepositoryImpl.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/TaskRepositoryImpl.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/TaskRepositoryImpl.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/impl/TaskRepositoryImpl.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/ChatJpaRepository.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/ChatJpaRepository.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/ChatJpaRepository.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/ChatJpaRepository.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/CommentRepositoryJpa.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/CommentRepositoryJpa.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/CommentRepositoryJpa.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/CommentRepositoryJpa.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/NotifySettingJpaRepository.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/NotifySettingJpaRepository.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/NotifySettingJpaRepository.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/NotifySettingJpaRepository.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PersonJpaRepository.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PersonJpaRepository.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PersonJpaRepository.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PersonJpaRepository.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PullRequestMiniRepositoryJpa.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PullRequestMiniRepositoryJpa.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PullRequestMiniRepositoryJpa.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PullRequestMiniRepositoryJpa.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PullRequestsRepositoryJpa.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PullRequestsRepositoryJpa.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PullRequestsRepositoryJpa.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/PullRequestsRepositoryJpa.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/RatingHistoryJpaRepository.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/RatingHistoryJpaRepository.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/RatingHistoryJpaRepository.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/RatingHistoryJpaRepository.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/RatingListJpaRepository.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/RatingListJpaRepository.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/RatingListJpaRepository.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/RatingListJpaRepository.java diff --git a/bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/TaskRepositoryJpa.java b/bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/TaskRepositoryJpa.java similarity index 100% rename from bitbucketbot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/TaskRepositoryJpa.java rename to bot-data/src/main/java/org/sadtech/bot/vcs/bitbucketbot/data/jpa/TaskRepositoryJpa.java diff --git a/bot-rest/pom.xml b/bot-rest/pom.xml deleted file mode 100644 index 8afa76a..0000000 --- a/bot-rest/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - bitbucketbot - org.sadtech.bot.bitbucketbot - 3.0.1-RELEASE - - 4.0.0 - - bot-rest - ${sadtech.bitbucketbot.rest.version} - - - - org.sadtech.bot.bitbucketbot - bot-core - - - - org.projectlombok - lombok - true - - - - org.springframework.boot - spring-boot-starter-web - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - - true - - - - org.apache.maven.plugins - maven-source-plugin - - - org.apache.maven.plugins - maven-javadoc-plugin - - - org.apache.maven.plugins - maven-gpg-plugin - - - - - - - uPagge - Struchkov Mark - upagge@ya.ru - SADTECH - https://sadtech.org - https://uPagge.sadtech.org - - Project lead - - +3 - - - - \ No newline at end of file diff --git a/bot-rest/src/main/java/org/sadtech/bot/vcs/rest/controller/UserController.java b/bot-rest/src/main/java/org/sadtech/bot/vcs/rest/controller/UserController.java deleted file mode 100644 index 561dad0..0000000 --- a/bot-rest/src/main/java/org/sadtech/bot/vcs/rest/controller/UserController.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.sadtech.bot.vcs.rest.controller; - -import lombok.RequiredArgsConstructor; -import org.sadtech.bot.vcs.rest.dto.UserDto; -import org.sadtech.bot.vsc.bitbucketbot.context.domain.entity.Person; -import org.sadtech.bot.vsc.bitbucketbot.context.service.PersonService; -import org.springframework.core.convert.ConversionService; -import org.springframework.http.HttpStatus; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RestController; - -import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE; - -/** - * Контроллер отвечат за регистрацию пользователей. - * - * @author upagge - */ -@RestController -@RequiredArgsConstructor -public class UserController { - - private final PersonService personService; - private final ConversionService conversionService; - - @PostMapping(value = "/api/user/reg", consumes = APPLICATION_JSON_VALUE) - public HttpStatus register(@RequestBody UserDto userDto) { - personService.reg(conversionService.convert(userDto, Person.class)); - return HttpStatus.OK; - } - -} diff --git a/bot-rest/src/main/java/org/sadtech/bot/vcs/rest/converter/UserDtoConverter.java b/bot-rest/src/main/java/org/sadtech/bot/vcs/rest/converter/UserDtoConverter.java deleted file mode 100644 index 255ed31..0000000 --- a/bot-rest/src/main/java/org/sadtech/bot/vcs/rest/converter/UserDtoConverter.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.sadtech.bot.vcs.rest.converter; - -import org.sadtech.bot.vcs.rest.dto.UserDto; -import org.sadtech.bot.vsc.bitbucketbot.context.domain.entity.Person; -import org.springframework.core.convert.converter.Converter; -import org.springframework.stereotype.Component; - -@Component -public class UserDtoConverter implements Converter { - - @Override - public Person convert(UserDto source) { - final Person person = new Person(); - person.setLogin(source.getLogin()); - person.setToken(source.getToken()); - person.setTelegramId(source.getTelegramId()); - return person; - } - -} diff --git a/bot-rest/src/main/java/org/sadtech/bot/vcs/rest/dto/UserDto.java b/bot-rest/src/main/java/org/sadtech/bot/vcs/rest/dto/UserDto.java deleted file mode 100644 index e6b0446..0000000 --- a/bot-rest/src/main/java/org/sadtech/bot/vcs/rest/dto/UserDto.java +++ /dev/null @@ -1,14 +0,0 @@ -package org.sadtech.bot.vcs.rest.dto; - -import lombok.Getter; -import lombok.Setter; - -@Getter -@Setter -public class UserDto { - - private Long telegramId; - private String login; - private String token; - -} diff --git a/bitbucket-sdk/pom.xml b/gitlab-sdk/pom.xml similarity index 90% rename from bitbucket-sdk/pom.xml rename to gitlab-sdk/pom.xml index a5d565b..9e10727 100644 --- a/bitbucket-sdk/pom.xml +++ b/gitlab-sdk/pom.xml @@ -3,14 +3,14 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - bitbucketbot - org.sadtech.bot.bitbucketbot + gitlab-bot + org.sadtech.bot.gitlab 3.0.1-RELEASE 4.0.0 - bitbucket-sdk - ${sadtech.bitbucketbot.bitbucket.sdk.version} + gitlab-sdk + ${gitlab.sdk.version} diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/BitbucketUserRole.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/BitbucketUserRole.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/BitbucketUserRole.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/BitbucketUserRole.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/CommentJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/CommentJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/CommentJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/CommentJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/CommentState.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/CommentState.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/CommentState.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/CommentState.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/FromRefJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/FromRefJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/FromRefJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/FromRefJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/LinkJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/LinkJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/LinkJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/LinkJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/MergeResult.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/MergeResult.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/MergeResult.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/MergeResult.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Outcome.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Outcome.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Outcome.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Outcome.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/ProjectJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/ProjectJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/ProjectJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/ProjectJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Properties.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Properties.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Properties.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Properties.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/PullRequestJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/PullRequestJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/PullRequestJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/PullRequestJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/PullRequestState.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/PullRequestState.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/PullRequestState.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/PullRequestState.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/RepositoryJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/RepositoryJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/RepositoryJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/RepositoryJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/SelfJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/SelfJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/SelfJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/SelfJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Severity.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Severity.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Severity.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Severity.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Sheet.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Sheet.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Sheet.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/Sheet.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserDecisionJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserDecisionJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserDecisionJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserDecisionJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserPullRequestStatus.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserPullRequestStatus.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserPullRequestStatus.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/UserPullRequestStatus.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/sheet/PullRequestSheetJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/sheet/PullRequestSheetJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/sheet/PullRequestSheetJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/sheet/PullRequestSheetJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/sheet/UserSheetJson.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/sheet/UserSheetJson.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/sheet/UserSheetJson.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/domain/sheet/UserSheetJson.java diff --git a/bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/utils/LocalDateTimeFromEpochDeserializer.java b/gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/utils/LocalDateTimeFromEpochDeserializer.java similarity index 100% rename from bitbucket-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/utils/LocalDateTimeFromEpochDeserializer.java rename to gitlab-sdk/src/main/java/org/sadtech/bot/vcs/bitbucket/sdk/utils/LocalDateTimeFromEpochDeserializer.java diff --git a/pom.xml b/pom.xml index 20e8253..624772e 100644 --- a/pom.xml +++ b/pom.xml @@ -9,25 +9,24 @@ + bot-context telegram-bot - bitbucket-sdk + gitlab-sdk bot-core - bitbucket-app - bot-rest + bot-app teamcity bitbucketbot-core - bitbucketbot-context - bitbucketbot-data + bot-data - org.sadtech.bot.bitbucketbot - bitbucketbot + org.sadtech.bot.gitlab + gitlab-bot 3.0.1-RELEASE pom - Parent Bitbucket Server Notify Bot - Notifications about Bitbucket Server events in Telegram - https://github.com/uPagge/bitbucketbot + Parent GitLab Notify Bot + Notifications about gitlab events in Telegram + https://github.com/uPagge/gitlab-notification Apache License, Version 2.0 @@ -57,9 +56,9 @@ - scm:git:https://github.com/uPagge/bitbucketbot.git - https://github.com/uPagge/bitbucketbot - scm:git:https://github.com/uPagge/bitbucketbot.git + scm:git:https://github.com/uPagge/gitlab-notification.git + https://github.com/uPagge/gitlab-notification + scm:git:https://github.com/uPagge/gitlab-notification.git @@ -71,7 +70,7 @@ GitHub - https://github.com/uPagge/bitbucketbot/issues + https://github.com/uPagge/gitlab-notification/issues @@ -79,17 +78,17 @@ 1.8 1.8 - 3.0.1-RELEASE - 3.0.1-RELEASE - 3.0.1-RELEASE - 3.0.1-RELEASE - 3.0.1-RELEASE - 3.0.1-RELEASE - 3.0.1-RELEASE - 3.0.1-RELEASE - 3.0.1-RELEASE - 3.0.1-RELEASE - 3.0.1-RELEASE + 3.0.1-RELEASE + 3.0.1-RELEASE + 3.0.1-RELEASE + 3.0.1-RELEASE + 3.0.1-RELEASE + 3.0.1-RELEASE + 3.0.1-RELEASE + 3.0.1-RELEASE + 3.0.1-RELEASE + 3.0.1-RELEASE + 3.0.1-RELEASE 0.0.1-RELEASE 0.0.2-RELEASE @@ -117,57 +116,51 @@ - org.sadtech.bot.bitbucketbot - bitbucketbot-core - ${sadtech.bitbucketbot.core.version} - - - - org.sadtech.bot.bitbucketbot - bot-rest - ${sadtech.bitbucketbot.rest.version} - - - - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab bot-core - ${sadtech.bitbucketbot.core.version} + ${sadtech.gitlab.core.version} - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab + bot-core + ${gitlab.core.version} + + + + org.sadtech.bot.gitlab telegram-bot - ${sadtech.bitbucketbot.telegram.version} + ${gitlab.telegram.version} - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab teamcity-sdk - ${sadtech.bitbucketbot.teamcity.sdk.version} + ${gitlab.teamcity.sdk.version} - org.sadtech.bot.bitbucketbot - bitbucketbot-context - ${sadtech.bitbucketbot.context.version} + org.sadtech.bot.gitlab + bot-context + ${gitlab.context.version} - org.sadtech.bot.bitbucketbot - bitbucket-sdk - ${sadtech.bitbucketbot.bitbucket.sdk.version} + org.sadtech.bot.gitlab + gitlab-sdk + ${gitlab.sdk.version} - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab teamcity-core - ${sadtech.bitbucketbot.teamcity.core.version} + ${gitlab.teamcity.core.version} - org.sadtech.bot.bitbucketbot - bitbucketbot-data - ${sadtech.bitbucketbot.data.version} + org.sadtech.bot.gitlab + bot-data + ${gitlab.data.version} diff --git a/teamcity/pom.xml b/teamcity/pom.xml index 0f5221e..6cb6ee5 100644 --- a/teamcity/pom.xml +++ b/teamcity/pom.xml @@ -3,8 +3,8 @@ xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - bitbucketbot - org.sadtech.bot.bitbucketbot + gitlab-bot + org.sadtech.bot.gitlab 3.0.1-RELEASE 4.0.0 diff --git a/teamcity/teamcity-core/pom.xml b/teamcity/teamcity-core/pom.xml index 14a9600..9ae8472 100644 --- a/teamcity/teamcity-core/pom.xml +++ b/teamcity/teamcity-core/pom.xml @@ -4,22 +4,22 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> teamcity - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab 3.0.1-RELEASE 4.0.0 teamcity-core - ${sadtech.bitbucketbot.teamcity.core.version} + ${gitlab.teamcity.core.version} - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab bot-core - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab teamcity-sdk diff --git a/teamcity/teamcity-sdk/pom.xml b/teamcity/teamcity-sdk/pom.xml index bf99ece..e84feeb 100644 --- a/teamcity/teamcity-sdk/pom.xml +++ b/teamcity/teamcity-sdk/pom.xml @@ -3,14 +3,14 @@ xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab teamcity 3.0.1-RELEASE 4.0.0 teamcity-sdk - ${sadtech.bitbucketbot.teamcity.sdk.version} + ${gitlab.teamcity.sdk.version} diff --git a/telegram-bot/pom.xml b/telegram-bot/pom.xml index 850a02d..54e9c52 100644 --- a/telegram-bot/pom.xml +++ b/telegram-bot/pom.xml @@ -3,23 +3,23 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - bitbucketbot - org.sadtech.bot.bitbucketbot + gitlab-bot + org.sadtech.bot.gitlab 3.0.1-RELEASE 4.0.0 telegram-bot - ${sadtech.bitbucketbot.telegram.version} + ${gitlab.telegram.version} - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab bot-core - org.sadtech.bot.bitbucketbot + org.sadtech.bot.gitlab teamcity-core @@ -60,7 +60,7 @@ upagge@ya.ru SADTECH https://sadtech.org - https://uPagge.sadtech.org + https://uPagge.ru Project lead