Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build-and-deploy-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
run: |
sleep 5
[[ $(curl -f -s http://localhost:8080/vss/version | xxd -p) == "0801" ]] || { echo "Version check failed"; exit 1; }
# Put request with store='storeId' and key=k1
hex=0A0773746F726549641A150A026B3110FFFFFFFFFFFFFFFFFF011A046B317631
curl -f --data-binary "$(echo "$hex" | xxd -r -p)" http://localhost:8080/vss/putObjects
Expand Down
17 changes: 17 additions & 0 deletions proto/vss.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ package vss;
option java_multiple_files = true;
option java_package = "org.vss";

// Server response on the `/version` endpoint.
message VersionResponse {

// The API version supported by the server.
Version version = 1;
}

// Versions of the VSS API.
enum Version {

// Default protobuf Enum value. Will not be used as `Version` by server.
VUNKNOWN = 0;

// The initial version of the VSS API.
V1 = 1;
}

// Request payload to be used for `GetObject` API call to server.
message GetObjectRequest {

Expand Down
Loading
Loading