-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
274 additions
and
318 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
apps/sepuling/src/main/java/smecalculus/bezmen/construction/App.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
apps/sepuling/src/main/java/smecalculus/bezmen/storage/SepulkaStateMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
package smecalculus.bezmen.storage; | ||
|
||
import org.mapstruct.Mapper; | ||
import smecalculus.bezmen.core.ServerSide; | ||
import smecalculus.bezmen.core.StateDomain; | ||
import smecalculus.bezmen.mapping.EdgeMapper; | ||
|
||
@Mapper | ||
public interface SepulkaStateMapper extends EdgeMapper { | ||
EdgeSide.AggregateState toEdge(ServerSide.AggregateState state); | ||
StateEdge.AggregateState toEdge(StateDomain.AggregateState state); | ||
|
||
ServerSide.AggregateState toDomain(EdgeSide.AggregateState state); | ||
StateDomain.AggregateState toDomain(StateEdge.AggregateState state); | ||
|
||
EdgeSide.TouchState toEdge(ServerSide.TouchState state); | ||
StateEdge.TouchState toEdge(StateDomain.TouchState state); | ||
|
||
ServerSide.ExistenceState toDomain(EdgeSide.ExistenceState state); | ||
StateDomain.ExistenceState toDomain(StateEdge.ExistenceState state); | ||
|
||
EdgeSide.PreviewState toEdge(ServerSide.PreviewState state); | ||
StateEdge.PreviewState toEdge(StateDomain.PreviewState state); | ||
|
||
ServerSide.PreviewState toDomain(EdgeSide.PreviewState state); | ||
StateDomain.PreviewState toDomain(StateEdge.PreviewState state); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
apps/sepuling/src/test/java/smecalculus/bezmen/construction/StoragePropsBeans.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
package smecalculus.bezmen.construction; | ||
|
||
import static smecalculus.bezmen.configuration.StateMappingMode.MY_BATIS; | ||
import static smecalculus.bezmen.configuration.StateMappingMode.SPRING_DATA; | ||
import static smecalculus.bezmen.configuration.StorageMappingMode.MY_BATIS; | ||
import static smecalculus.bezmen.configuration.StorageMappingMode.SPRING_DATA; | ||
import static smecalculus.bezmen.configuration.StorageProtocolMode.H2; | ||
import static smecalculus.bezmen.configuration.StorageProtocolMode.POSTGRES; | ||
|
||
import org.springframework.context.annotation.Bean; | ||
import smecalculus.bezmen.configuration.ServerSide.StorageProps; | ||
import smecalculus.bezmen.configuration.ServerSideEg; | ||
import smecalculus.bezmen.configuration.StorageDomain.StorageProps; | ||
import smecalculus.bezmen.configuration.StorageDomainEg; | ||
|
||
public class StoragePropsBeans { | ||
|
||
public static class SpringDataPostgres { | ||
@Bean | ||
public StorageProps storageProps() { | ||
return ServerSideEg.storageProps(SPRING_DATA, POSTGRES).build(); | ||
return StorageDomainEg.storageProps(SPRING_DATA, POSTGRES).build(); | ||
} | ||
} | ||
|
||
public static class SpringDataH2 { | ||
@Bean | ||
public StorageProps storageProps() { | ||
return ServerSideEg.storageProps(SPRING_DATA, H2).build(); | ||
return StorageDomainEg.storageProps(SPRING_DATA, H2).build(); | ||
} | ||
} | ||
|
||
public static class MyBatisPostgres { | ||
@Bean | ||
public StorageProps storageProps() { | ||
return ServerSideEg.storageProps(MY_BATIS, POSTGRES).build(); | ||
return StorageDomainEg.storageProps(MY_BATIS, POSTGRES).build(); | ||
} | ||
} | ||
|
||
public static class MyBatisH2 { | ||
@Bean | ||
public StorageProps storageProps() { | ||
return ServerSideEg.storageProps(MY_BATIS, H2).build(); | ||
return StorageDomainEg.storageProps(MY_BATIS, H2).build(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
libs/abstraction-client/src/main/java/smecalculus/bezmen/messaging/SepulkaClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.