Skip to content

Commit b904d15

Browse files
committed
fix: change transactioners bundle to targetSystems
1 parent 5938341 commit b904d15

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

buildSrc/src/main/kotlin/flamingock.project-structure.gradle.kts

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,21 @@ val communityProjects = setOf(
2222
"flamingock-community-bom",
2323
"flamingock-community",
2424
"flamingock-auditstore-mongodb-sync",
25-
"flamingock-auditstore-mongodb-springdata",
2625
"flamingock-auditstore-couchbase",
27-
"flamingock-auditstore-dynamodb",
28-
"flamingock-importer"
26+
"flamingock-auditstore-dynamodb"
2927
)
3028

3129
val pluginProjects = setOf(
3230
"flamingock-springboot-integration"
3331
)
3432

35-
val transactionerProjects = setOf(
36-
"sql-target-system",
33+
val targetSystemProjects = setOf(
34+
"nontransactional-target-system",
3735
"mongodb-sync-target-system",
38-
"dynamodb-transactioner"
36+
"mongodb-springdata-target-system",
37+
"sql-target-system",
38+
"dynamodb-target-system",
39+
"couchbase-target-system"
3940
)
4041

4142
val templateProjects = setOf(
@@ -47,10 +48,11 @@ val utilProjects = setOf(
4748
"general-util",
4849
"test-util",
4950
"mongodb-util",
50-
"dynamodb-util"
51+
"dynamodb-util",
52+
"couchbase-util"
5153
)
5254

53-
val allProjects = coreProjects + cloudProjects + communityProjects + pluginProjects + transactionerProjects + templateProjects + utilProjects
55+
val allProjects = coreProjects + cloudProjects + communityProjects + pluginProjects + targetSystemProjects + templateProjects + utilProjects
5456

5557
// Project classification utilities
5658
fun Project.isBomModule(): Boolean = name.endsWith("-bom")
@@ -62,7 +64,7 @@ fun Project.getProjectCategory(): String? = when (name) {
6264
in cloudProjects -> "cloud"
6365
in communityProjects -> "community"
6466
in pluginProjects -> "plugins"
65-
in transactionerProjects -> "transactioners"
67+
in targetSystemProjects -> "targetSystems"
6668
in templateProjects -> "templates"
6769
in utilProjects -> "utils"
6870
else -> null
@@ -74,7 +76,7 @@ fun getProjectsForBundle(bundle: String?): Set<String> = when (bundle) {
7476
"cloud" -> cloudProjects
7577
"community" -> communityProjects
7678
"plugins" -> pluginProjects
77-
"transactioners" -> transactionerProjects
79+
"targetSystems" -> targetSystemProjects
7880
"templates" -> templateProjects
7981
"utils" -> utilProjects
8082
"all" -> allProjects
@@ -86,7 +88,7 @@ extra["coreProjects"] = coreProjects
8688
extra["cloudProjects"] = cloudProjects
8789
extra["communityProjects"] = communityProjects
8890
extra["pluginProjects"] = pluginProjects
89-
extra["transactionerProjects"] = transactionerProjects
91+
extra["targetSystemProjects"] = targetSystemProjects
9092
extra["templateProjects"] = templateProjects
9193
extra["utilProjects"] = utilProjects
9294
extra["allProjects"] = allProjects

buildSrc/src/main/kotlin/flamingock.release-management.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ val projectsToRelease = if (module != null) {
3030
val cloudProjects = project.extra["cloudProjects"] as Set<String>
3131
val communityProjects = project.extra["communityProjects"] as Set<String>
3232
val pluginProjects = project.extra["pluginProjects"] as Set<String>
33-
val transactionerProjects = project.extra["transactionerProjects"] as Set<String>
33+
val targetSystemProjects = project.extra["targetSystemProjects"] as Set<String>
3434
val templateProjects = project.extra["templateProjects"] as Set<String>
3535
val utilProjects = project.extra["utilProjects"] as Set<String>
3636

@@ -39,7 +39,7 @@ val projectsToRelease = if (module != null) {
3939
"cloud" -> cloudProjects
4040
"community" -> communityProjects
4141
"plugins" -> pluginProjects
42-
"transactioners" -> transactionerProjects
42+
"targetSystems" -> targetSystemProjects
4343
"templates" -> templateProjects
4444
"utils" -> utilProjects
4545
"all" -> allProjects

infra/bundle-release-with-retry.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
validate_bundle() {
44
case "$1" in
5-
all|core|cloud|community|plugins|transactioners|templates|utils)
5+
all|core|cloud|community|plugins|targetSystems|templates|utils)
66
return 0
77
;;
88
*)
@@ -31,4 +31,4 @@ for (( i=1; i<=maxAttempts; i++ )); do
3131
sleep "$waitingSeconds"
3232
echo
3333
echo "********************************************************************************** RELEASE ATTEMPT($((i + 1))) **********************************************************************************"
34-
done
34+
done

0 commit comments

Comments
 (0)