Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gRPC implementation to evitaDB version 2024.4 #6

Open
novoj opened this issue Apr 16, 2024 · 1 comment
Open

Update gRPC implementation to evitaDB version 2024.4 #6

novoj opened this issue Apr 16, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@novoj
Copy link
Contributor

novoj commented Apr 16, 2024

There were following changes in proto buffer definitions:

GrpcEnums.proto:

  • GrpcPriceInnerRecordHandling.FIRST_OCCURRENCE renamed to LOWEST_PRICE
  • new enum type GrpcCommitBehavior

GrpcEvitaAPI.proto:

  • GrpcEvitaSessionRequest added field: commitBehavior
  • GrpcEvitaSessionResponse added field: commitBehaviour

GrpcEvitaSessionAPI.proto:

  • added GrpcCloseRequest + GrpcCloseResponse
  • removed GrpcCloseTransactionRequest + GrpcOpenTransactionResponse and replaced with GrpcTransactionResponse
  • updated method signature: rpc Close(google.protobuf.Empty) returns (google.protobuf.Empty);
  • removed methods:
    • rpc OpenTransaction(google.protobuf.Empty) returns (GrpcOpenTransactionResponse);
    • rpc CloseTransaction(GrpcCloseTransactionRequest) returns (google.protobuf.Empty);
  • added method: rpc GetTransactionId(google.protobuf.Empty) returns (GrpcTransactionResponse);

From now on we will try to maintain backward compatibility where possible.

  • also provide option for disabling TLS on network protocol
@novoj
Copy link
Contributor Author

novoj commented May 30, 2024

We've already have version 2024.7. Also please provide support for non-TLS client.

@novoj novoj added the enhancement New feature or request label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants