From e1fca26f75151c09a156740df05514b6f26846e5 Mon Sep 17 00:00:00 2001 From: nk-coding Date: Mon, 2 Sep 2024 01:56:14 +0200 Subject: [PATCH] rename sync modules --- settings.gradle.kts | 4 ++-- {github => sync-github}/build.gradle.kts | 0 .../src/main/graphql/gropius/sync/github/CommentRead.graphql | 0 .../src/main/graphql/gropius/sync/github/CommonData.graphql | 0 .../main/graphql/gropius/sync/github/IssueMutation.graphql | 0 .../src/main/graphql/gropius/sync/github/IssueRead.graphql | 0 .../graphql/gropius/sync/github/IssueReadTimeline.graphql | 0 .../src/main/graphql/gropius/sync/github/schema.graphqls | 0 .../src/main/kotlin/gropius/Application.kt | 0 .../src/main/kotlin/gropius/GithubConfigurationProperties.kt | 0 .../src/main/kotlin/gropius/sync/github/CommentWalker.kt | 0 .../kotlin/gropius/sync/github/GitHubResourceWalkerConfig.kt | 0 .../src/main/kotlin/gropius/sync/github/GithubDataService.kt | 0 .../kotlin/gropius/sync/github/GithubResourceWalkerBudget.kt | 0 .../src/main/kotlin/gropius/sync/github/GithubSync.kt | 0 .../src/main/kotlin/gropius/sync/github/GithubTokenManager.kt | 0 .../src/main/kotlin/gropius/sync/github/IssuePile.kt | 0 .../src/main/kotlin/gropius/sync/github/IssueWalker.kt | 0 .../src/main/kotlin/gropius/sync/github/Scheduler.kt | 0 .../src/main/kotlin/gropius/sync/github/TimelineWalker.kt | 0 .../src/main/kotlin/gropius/sync/github/config/IMSConfig.kt | 0 .../kotlin/gropius/sync/github/config/IMSConfigManager.kt | 0 .../kotlin/gropius/sync/github/config/IMSProjectConfig.kt | 0 .../main/kotlin/gropius/sync/github/model/RepoDescription.kt | 0 {github => sync-github}/src/main/resources/application.yml | 0 {jira => sync-jira}/build.gradle.kts | 0 {jira => sync-jira}/src/main/kotlin/gropius/Application.kt | 0 .../src/main/kotlin/gropius/JiraConfigurationProperties.kt | 0 .../src/main/kotlin/gropius/sync/jira/JiraDataService.kt | 0 .../main/kotlin/gropius/sync/jira/JiraResourceWalkerBudget.kt | 0 .../main/kotlin/gropius/sync/jira/JiraResourceWalkerConfig.kt | 0 .../src/main/kotlin/gropius/sync/jira/JiraSync.kt | 0 .../src/main/kotlin/gropius/sync/jira/JiraTokenManager.kt | 0 .../src/main/kotlin/gropius/sync/jira/Scheduler.kt | 0 .../src/main/kotlin/gropius/sync/jira/SyncStatus.kt | 0 .../src/main/kotlin/gropius/sync/jira/config/IMSConfig.kt | 0 .../main/kotlin/gropius/sync/jira/config/IMSConfigManager.kt | 0 .../main/kotlin/gropius/sync/jira/config/IMSProjectConfig.kt | 0 .../src/main/kotlin/gropius/sync/jira/model/IssueData.kt | 0 .../src/main/kotlin/gropius/sync/jira/model/IssueQuery.kt | 0 .../src/main/kotlin/gropius/sync/jira/model/ProjectQuery.kt | 0 .../main/kotlin/gropius/sync/jira/model/RepoDescription.kt | 0 {jira => sync-jira}/src/main/resources/application.yml | 0 43 files changed, 2 insertions(+), 2 deletions(-) rename {github => sync-github}/build.gradle.kts (100%) rename {github => sync-github}/src/main/graphql/gropius/sync/github/CommentRead.graphql (100%) rename {github => sync-github}/src/main/graphql/gropius/sync/github/CommonData.graphql (100%) rename {github => sync-github}/src/main/graphql/gropius/sync/github/IssueMutation.graphql (100%) rename {github => sync-github}/src/main/graphql/gropius/sync/github/IssueRead.graphql (100%) rename {github => sync-github}/src/main/graphql/gropius/sync/github/IssueReadTimeline.graphql (100%) rename {github => sync-github}/src/main/graphql/gropius/sync/github/schema.graphqls (100%) rename {github => sync-github}/src/main/kotlin/gropius/Application.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/GithubConfigurationProperties.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/CommentWalker.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/GitHubResourceWalkerConfig.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/GithubDataService.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/GithubResourceWalkerBudget.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/GithubSync.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/GithubTokenManager.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/IssuePile.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/IssueWalker.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/Scheduler.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/TimelineWalker.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/config/IMSConfig.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/config/IMSConfigManager.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/config/IMSProjectConfig.kt (100%) rename {github => sync-github}/src/main/kotlin/gropius/sync/github/model/RepoDescription.kt (100%) rename {github => sync-github}/src/main/resources/application.yml (100%) rename {jira => sync-jira}/build.gradle.kts (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/Application.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/JiraConfigurationProperties.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/JiraDataService.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/JiraResourceWalkerBudget.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/JiraResourceWalkerConfig.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/JiraSync.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/JiraTokenManager.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/Scheduler.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/SyncStatus.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/config/IMSConfig.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/config/IMSConfigManager.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/config/IMSProjectConfig.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/model/IssueData.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/model/IssueQuery.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/model/ProjectQuery.kt (100%) rename {jira => sync-jira}/src/main/kotlin/gropius/sync/jira/model/RepoDescription.kt (100%) rename {jira => sync-jira}/src/main/resources/application.yml (100%) diff --git a/settings.gradle.kts b/settings.gradle.kts index f1740f6b..c50ddcc6 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -18,6 +18,6 @@ include(":core") include(":api-common") include(":api-public") include(":api-internal") -include(":github") -include(":jira") +include(":sync-github") +include(":sync-jira") include(":sync") \ No newline at end of file diff --git a/github/build.gradle.kts b/sync-github/build.gradle.kts similarity index 100% rename from github/build.gradle.kts rename to sync-github/build.gradle.kts diff --git a/github/src/main/graphql/gropius/sync/github/CommentRead.graphql b/sync-github/src/main/graphql/gropius/sync/github/CommentRead.graphql similarity index 100% rename from github/src/main/graphql/gropius/sync/github/CommentRead.graphql rename to sync-github/src/main/graphql/gropius/sync/github/CommentRead.graphql diff --git a/github/src/main/graphql/gropius/sync/github/CommonData.graphql b/sync-github/src/main/graphql/gropius/sync/github/CommonData.graphql similarity index 100% rename from github/src/main/graphql/gropius/sync/github/CommonData.graphql rename to sync-github/src/main/graphql/gropius/sync/github/CommonData.graphql diff --git a/github/src/main/graphql/gropius/sync/github/IssueMutation.graphql b/sync-github/src/main/graphql/gropius/sync/github/IssueMutation.graphql similarity index 100% rename from github/src/main/graphql/gropius/sync/github/IssueMutation.graphql rename to sync-github/src/main/graphql/gropius/sync/github/IssueMutation.graphql diff --git a/github/src/main/graphql/gropius/sync/github/IssueRead.graphql b/sync-github/src/main/graphql/gropius/sync/github/IssueRead.graphql similarity index 100% rename from github/src/main/graphql/gropius/sync/github/IssueRead.graphql rename to sync-github/src/main/graphql/gropius/sync/github/IssueRead.graphql diff --git a/github/src/main/graphql/gropius/sync/github/IssueReadTimeline.graphql b/sync-github/src/main/graphql/gropius/sync/github/IssueReadTimeline.graphql similarity index 100% rename from github/src/main/graphql/gropius/sync/github/IssueReadTimeline.graphql rename to sync-github/src/main/graphql/gropius/sync/github/IssueReadTimeline.graphql diff --git a/github/src/main/graphql/gropius/sync/github/schema.graphqls b/sync-github/src/main/graphql/gropius/sync/github/schema.graphqls similarity index 100% rename from github/src/main/graphql/gropius/sync/github/schema.graphqls rename to sync-github/src/main/graphql/gropius/sync/github/schema.graphqls diff --git a/github/src/main/kotlin/gropius/Application.kt b/sync-github/src/main/kotlin/gropius/Application.kt similarity index 100% rename from github/src/main/kotlin/gropius/Application.kt rename to sync-github/src/main/kotlin/gropius/Application.kt diff --git a/github/src/main/kotlin/gropius/GithubConfigurationProperties.kt b/sync-github/src/main/kotlin/gropius/GithubConfigurationProperties.kt similarity index 100% rename from github/src/main/kotlin/gropius/GithubConfigurationProperties.kt rename to sync-github/src/main/kotlin/gropius/GithubConfigurationProperties.kt diff --git a/github/src/main/kotlin/gropius/sync/github/CommentWalker.kt b/sync-github/src/main/kotlin/gropius/sync/github/CommentWalker.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/CommentWalker.kt rename to sync-github/src/main/kotlin/gropius/sync/github/CommentWalker.kt diff --git a/github/src/main/kotlin/gropius/sync/github/GitHubResourceWalkerConfig.kt b/sync-github/src/main/kotlin/gropius/sync/github/GitHubResourceWalkerConfig.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/GitHubResourceWalkerConfig.kt rename to sync-github/src/main/kotlin/gropius/sync/github/GitHubResourceWalkerConfig.kt diff --git a/github/src/main/kotlin/gropius/sync/github/GithubDataService.kt b/sync-github/src/main/kotlin/gropius/sync/github/GithubDataService.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/GithubDataService.kt rename to sync-github/src/main/kotlin/gropius/sync/github/GithubDataService.kt diff --git a/github/src/main/kotlin/gropius/sync/github/GithubResourceWalkerBudget.kt b/sync-github/src/main/kotlin/gropius/sync/github/GithubResourceWalkerBudget.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/GithubResourceWalkerBudget.kt rename to sync-github/src/main/kotlin/gropius/sync/github/GithubResourceWalkerBudget.kt diff --git a/github/src/main/kotlin/gropius/sync/github/GithubSync.kt b/sync-github/src/main/kotlin/gropius/sync/github/GithubSync.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/GithubSync.kt rename to sync-github/src/main/kotlin/gropius/sync/github/GithubSync.kt diff --git a/github/src/main/kotlin/gropius/sync/github/GithubTokenManager.kt b/sync-github/src/main/kotlin/gropius/sync/github/GithubTokenManager.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/GithubTokenManager.kt rename to sync-github/src/main/kotlin/gropius/sync/github/GithubTokenManager.kt diff --git a/github/src/main/kotlin/gropius/sync/github/IssuePile.kt b/sync-github/src/main/kotlin/gropius/sync/github/IssuePile.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/IssuePile.kt rename to sync-github/src/main/kotlin/gropius/sync/github/IssuePile.kt diff --git a/github/src/main/kotlin/gropius/sync/github/IssueWalker.kt b/sync-github/src/main/kotlin/gropius/sync/github/IssueWalker.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/IssueWalker.kt rename to sync-github/src/main/kotlin/gropius/sync/github/IssueWalker.kt diff --git a/github/src/main/kotlin/gropius/sync/github/Scheduler.kt b/sync-github/src/main/kotlin/gropius/sync/github/Scheduler.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/Scheduler.kt rename to sync-github/src/main/kotlin/gropius/sync/github/Scheduler.kt diff --git a/github/src/main/kotlin/gropius/sync/github/TimelineWalker.kt b/sync-github/src/main/kotlin/gropius/sync/github/TimelineWalker.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/TimelineWalker.kt rename to sync-github/src/main/kotlin/gropius/sync/github/TimelineWalker.kt diff --git a/github/src/main/kotlin/gropius/sync/github/config/IMSConfig.kt b/sync-github/src/main/kotlin/gropius/sync/github/config/IMSConfig.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/config/IMSConfig.kt rename to sync-github/src/main/kotlin/gropius/sync/github/config/IMSConfig.kt diff --git a/github/src/main/kotlin/gropius/sync/github/config/IMSConfigManager.kt b/sync-github/src/main/kotlin/gropius/sync/github/config/IMSConfigManager.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/config/IMSConfigManager.kt rename to sync-github/src/main/kotlin/gropius/sync/github/config/IMSConfigManager.kt diff --git a/github/src/main/kotlin/gropius/sync/github/config/IMSProjectConfig.kt b/sync-github/src/main/kotlin/gropius/sync/github/config/IMSProjectConfig.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/config/IMSProjectConfig.kt rename to sync-github/src/main/kotlin/gropius/sync/github/config/IMSProjectConfig.kt diff --git a/github/src/main/kotlin/gropius/sync/github/model/RepoDescription.kt b/sync-github/src/main/kotlin/gropius/sync/github/model/RepoDescription.kt similarity index 100% rename from github/src/main/kotlin/gropius/sync/github/model/RepoDescription.kt rename to sync-github/src/main/kotlin/gropius/sync/github/model/RepoDescription.kt diff --git a/github/src/main/resources/application.yml b/sync-github/src/main/resources/application.yml similarity index 100% rename from github/src/main/resources/application.yml rename to sync-github/src/main/resources/application.yml diff --git a/jira/build.gradle.kts b/sync-jira/build.gradle.kts similarity index 100% rename from jira/build.gradle.kts rename to sync-jira/build.gradle.kts diff --git a/jira/src/main/kotlin/gropius/Application.kt b/sync-jira/src/main/kotlin/gropius/Application.kt similarity index 100% rename from jira/src/main/kotlin/gropius/Application.kt rename to sync-jira/src/main/kotlin/gropius/Application.kt diff --git a/jira/src/main/kotlin/gropius/JiraConfigurationProperties.kt b/sync-jira/src/main/kotlin/gropius/JiraConfigurationProperties.kt similarity index 100% rename from jira/src/main/kotlin/gropius/JiraConfigurationProperties.kt rename to sync-jira/src/main/kotlin/gropius/JiraConfigurationProperties.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/JiraDataService.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/JiraDataService.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/JiraDataService.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/JiraDataService.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/JiraResourceWalkerBudget.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/JiraResourceWalkerBudget.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/JiraResourceWalkerBudget.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/JiraResourceWalkerBudget.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/JiraResourceWalkerConfig.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/JiraResourceWalkerConfig.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/JiraResourceWalkerConfig.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/JiraResourceWalkerConfig.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/JiraSync.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/JiraSync.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/JiraSync.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/JiraSync.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/JiraTokenManager.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/JiraTokenManager.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/JiraTokenManager.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/JiraTokenManager.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/Scheduler.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/Scheduler.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/Scheduler.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/Scheduler.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/SyncStatus.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/SyncStatus.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/SyncStatus.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/SyncStatus.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/config/IMSConfig.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/config/IMSConfig.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/config/IMSConfig.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/config/IMSConfig.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/config/IMSConfigManager.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/config/IMSConfigManager.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/config/IMSConfigManager.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/config/IMSConfigManager.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/config/IMSProjectConfig.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/config/IMSProjectConfig.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/config/IMSProjectConfig.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/config/IMSProjectConfig.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/model/IssueData.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/model/IssueData.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/model/IssueData.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/model/IssueData.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/model/IssueQuery.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/model/IssueQuery.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/model/IssueQuery.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/model/IssueQuery.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/model/ProjectQuery.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/model/ProjectQuery.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/model/ProjectQuery.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/model/ProjectQuery.kt diff --git a/jira/src/main/kotlin/gropius/sync/jira/model/RepoDescription.kt b/sync-jira/src/main/kotlin/gropius/sync/jira/model/RepoDescription.kt similarity index 100% rename from jira/src/main/kotlin/gropius/sync/jira/model/RepoDescription.kt rename to sync-jira/src/main/kotlin/gropius/sync/jira/model/RepoDescription.kt diff --git a/jira/src/main/resources/application.yml b/sync-jira/src/main/resources/application.yml similarity index 100% rename from jira/src/main/resources/application.yml rename to sync-jira/src/main/resources/application.yml