File tree Expand file tree Collapse file tree 6 files changed +13
-17
lines changed
client/src/main/proto/spine
server/src/main/proto/spine/server/storage Expand file tree Collapse file tree 6 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -109,4 +109,4 @@ extend google.protobuf.FileOptions {
109109extend google.protobuf.ServiceOptions {
110110 // Indicates that the service is a part of Service Provider Interface (SPI).
111111 bool SPI_service = 58012 ;
112- }
112+ }
Original file line number Diff line number Diff line change @@ -34,12 +34,11 @@ option java_multiple_files = true;
3434option java_outer_classname = "ValidationProto" ;
3535option java_package = "org.spine3.validate.internal" ;
3636
37+ option (internal_all) = true ;
38+
3739import "google/protobuf/descriptor.proto" ;
3840import "spine/annotations.proto" ;
3941
40-
41- option (internal_all) = true ;
42-
4342// TODO:2016-02-18:alexander.litus: obtain globally unique field number(s) for opts from Google.
4443
4544// A type of an entity.
Original file line number Diff line number Diff line change @@ -26,13 +26,12 @@ option java_outer_classname = "AggregateStorageProto";
2626option java_multiple_files = true ;
2727option java_generate_equals_and_hash = true ;
2828
29+ option (SPI_all) = true ;
30+
2931import public "spine/server/aggregate/snapshot.proto" ;
3032import public "spine/base/event.proto" ;
3133import "spine/annotations.proto" ;
3234
33-
34- option (SPI_all) = true ;
35-
3635// A record in the storage of events and snapshots of an aggregate type.
3736//
3837// Different types of aggregates are managed by different storages.
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ option java_multiple_files = true;
2626option java_outer_classname = "CommandStoreProto" ;
2727option java_generate_equals_and_hash = true ;
2828
29+ option (SPI_all) = true ;
30+
2931import "google/protobuf/timestamp.proto" ;
3032import "google/protobuf/any.proto" ;
3133
@@ -34,9 +36,6 @@ import "spine/base/error.proto";
3436import "spine/base/failure.proto" ;
3537import "spine/annotations.proto" ;
3638
37-
38- option (SPI_all) = true ;
39-
4039// This type defines the way commands are stored in command storage.
4140// Some of the fields are defined as string representation of corresponding message types
4241// so that these fields are available for querying.
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ option java_multiple_files = true;
2626option java_outer_classname = "EntityStorageProto" ;
2727option java_package = "org.spine3.server.storage" ;
2828
29- import public "google/protobuf/timestamp.proto" ;
30- import public "google/protobuf/any.proto" ;
31- import "spine/annotations.proto" ;
29+ option (SPI_all) = true ;
3230
31+ import "google/protobuf/timestamp.proto" ;
32+ import "google/protobuf/any.proto" ;
3333
34- option (SPI_all) = true ;
34+ import "spine/annotations.proto" ;
3535
3636// Used to store entities in the entity storage.
3737message EntityStorageRecord {
Original file line number Diff line number Diff line change @@ -26,14 +26,13 @@ option java_multiple_files = true;
2626option java_outer_classname = "EventStorageProto" ;
2727option java_generate_equals_and_hash = true ;
2828
29+ option (SPI_all) = true ;
30+
2931import "google/protobuf/any.proto" ;
3032import "google/protobuf/timestamp.proto" ;
3133import "spine/base/event.proto" ;
3234import "spine/annotations.proto" ;
3335
34-
35- option (SPI_all) = true ;
36-
3736// This type defines the way events are stored in event storage.
3837// Some of the fields are defined as string representation of corresponding message types
3938// so that these fields are available for querying.
You can’t perform that action at this time.
0 commit comments