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

chore: add grpc auth header #9

Merged
merged 1 commit into from
Feb 21, 2023
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
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# JetBrains IDE config directory
.idea/
*.iml

# VSCode IDE config directory
.vscode/
102 changes: 57 additions & 45 deletions go/greptime/v1/database.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 17 additions & 20 deletions go/greptime/v1/meta/cluster.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions proto/greptime/v1/database.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ message RequestHeader {
string catalog = 1;
// The `schema` that is selected to be used in this request.
string schema = 2;
// The `authorization` header string, much like http's authorization header.
fengys1996 marked this conversation as resolved.
Show resolved Hide resolved
string authorization = 3;
}

message GreptimeRequest {
Expand Down
1 change: 0 additions & 1 deletion proto/greptime/v1/meta/cluster.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package greptime.v1.meta;

option go_package = "github.com/GreptimeTeam/greptime-proto/go/greptime/v1/meta";

import "greptime/v1/meta/common.proto";
import "greptime/v1/meta/store.proto";

// Cluster service is used for communication between meta nodes.
Expand Down