Skip to content
Merged
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: 1 addition & 1 deletion aruna/api/google
Submodule google updated 1955 files
11 changes: 11 additions & 0 deletions aruna/api/internal/v1/authorize.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ service InternalAuthorizeService {
option (google.api.api_visibility).restriction = "INTERNAL";
rpc Authorize(AuthorizeRequest) returns (AuthorizeResponse) {}
rpc GetSecret(GetSecretRequest) returns (GetSecretResponse) {}
rpc GetTokenFromSecret(GetTokenFromSecretRequest) returns (GetTokenFromSecretResponse) {}
}

message Authorization {
Expand Down Expand Up @@ -54,3 +55,13 @@ message GetSecretResponse {
Authorization authorization = 1;
}


message GetTokenFromSecretRequest {
Authorization authorization = 1;
}

message GetTokenFromSecretResponse {
string token = 1;
}


7 changes: 7 additions & 0 deletions aruna/api/internal/v1/proxy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,16 @@ message GetObjectLocationRequest {
string endpoint_id = 4;
}

message CORSConfig {
repeated string allowed_methods = 1;
repeated string allowed_origins = 2;
repeated string allowed_headers = 3;
}

message GetObjectLocationResponse {
aruna.api.storage.models.v1.Object object = 1;
Location location = 2;
repeated CORSConfig cors_configurations = 3;
}

message GetCollectionByBucketRequest {
Expand Down