Skip to content

Commit 6ad91f4

Browse files
committed
Merge storage-commons into segment-commons
Collapses an unnecessary module layer by moving all RuleBasedSegment concerns (DTO, domain model, parser, cache interfaces, in-memory impl) directly into segment-commons, which was the sole consumer. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> AI-Session-Id: a0fded26-6434-4263-90b0-a163e1cf0faf AI-Tool: claude-code AI-Model: unknown
1 parent fbe14d6 commit 6ad91f4

11 files changed

Lines changed: 1 addition & 48 deletions

File tree

client/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,6 @@
177177
<artifactId>parsing-commons</artifactId>
178178
<version>${project.version}</version>
179179
</dependency>
180-
<dependency>
181-
<groupId>io.split.client</groupId>
182-
<artifactId>storage-commons</artifactId>
183-
<version>${project.version}</version>
184-
</dependency>
185180
<dependency>
186181
<groupId>io.split.client</groupId>
187182
<artifactId>segment-commons</artifactId>

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
<modules>
6767
<module>targeting-engine</module>
6868
<module>parsing-commons</module>
69-
<module>storage-commons</module>
7069
<module>segment-commons</module>
7170
<module>pluggable-storage</module>
7271
<module>redis-wrapper</module>

segment-commons/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<dependencies>
1919
<dependency>
2020
<groupId>io.split.client</groupId>
21-
<artifactId>storage-commons</artifactId>
21+
<artifactId>parsing-commons</artifactId>
2222
<version>${project.version}</version>
2323
</dependency>
2424
<dependency>

storage-commons/src/main/java/io/split/client/dtos/RuleBasedSegment.java renamed to segment-commons/src/main/java/io/split/client/dtos/RuleBasedSegment.java

File renamed without changes.

storage-commons/src/main/java/io/split/engine/experiments/ParsedRuleBasedSegment.java renamed to segment-commons/src/main/java/io/split/engine/experiments/ParsedRuleBasedSegment.java

File renamed without changes.

storage-commons/src/main/java/io/split/engine/experiments/RuleBasedSegmentParser.java renamed to segment-commons/src/main/java/io/split/engine/experiments/RuleBasedSegmentParser.java

File renamed without changes.

storage-commons/src/main/java/io/split/storages/RuleBasedSegmentCache.java renamed to segment-commons/src/main/java/io/split/storages/RuleBasedSegmentCache.java

File renamed without changes.

storage-commons/src/main/java/io/split/storages/RuleBasedSegmentCacheConsumer.java renamed to segment-commons/src/main/java/io/split/storages/RuleBasedSegmentCacheConsumer.java

File renamed without changes.

storage-commons/src/main/java/io/split/storages/RuleBasedSegmentCacheProducer.java renamed to segment-commons/src/main/java/io/split/storages/RuleBasedSegmentCacheProducer.java

File renamed without changes.

storage-commons/src/main/java/io/split/storages/memory/RuleBasedSegmentCacheInMemoryImp.java renamed to segment-commons/src/main/java/io/split/storages/memory/RuleBasedSegmentCacheInMemoryImp.java

File renamed without changes.

0 commit comments

Comments
 (0)