Skip to content

Commit 2fe0bab

Browse files
committed
Updated subtree from https://github.com/azure/azure-functions-language-worker-protobug. Branch: dev. Commit: 4316d246e2982805e4def347899a7bd1de6de38e
1 parent 8b08e7d commit 2fe0bab

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

src/WebJobs.Script.Grpc/azure-functions-language-worker-protobuf/src/proto/FunctionRpc.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ message FunctionLoadRequest {
202202

203203
// Metadata for the request
204204
RpcFunctionMetadata metadata = 2;
205+
206+
// A flag indicating if managed dependency is enabled or not
207+
bool managed_dependency_enabled = 3;
205208
}
206209

207210
// Worker tells host result of reload
@@ -212,6 +215,9 @@ message FunctionLoadResponse {
212215
// Result of load operation
213216
StatusResult result = 2;
214217
// TODO: return type expected?
218+
219+
// Result of load operation
220+
bool is_dependency_downloaded = 3;
215221
}
216222

217223
// Information on how a Function should be loaded and its bindings

src/WebJobs.Script.Grpc/azure-functions-language-worker-protobuf/src/proto/identity/ClaimsIdentityRpc.proto

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
syntax = "proto3";
22
// protobuf vscode extension: https://marketplace.visualstudio.com/items?itemName=zxh404.vscode-proto3
33

4+
import "shared/NullableString.proto";
5+
46
// Light-weight representation of a .NET System.Security.Claims.ClaimsIdentity object.
57
// This is the same serialization as found in EasyAuth, and needs to be kept in sync with
68
// its ClaimsIdentitySlim definition, as seen in the WebJobs extension:
79
// https://github.com/Azure/azure-webjobs-sdk-extensions/blob/dev/src/WebJobs.Extensions.Http/ClaimsIdentitySlim.cs
810
message RpcClaimsIdentity {
9-
string authentication_type = 1;
10-
string name_claim_type = 2;
11-
string role_claim_type = 3;
11+
NullableString authentication_type = 1;
12+
NullableString name_claim_type = 2;
13+
NullableString role_claim_type = 3;
1214
repeated RpcClaim claims = 4;
1315
}
1416

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
syntax = "proto3";
2+
// protobuf vscode extension: https://marketplace.visualstudio.com/items?itemName=zxh404.vscode-proto3
3+
4+
message NullableString {
5+
oneof string {
6+
string value = 1;
7+
}
8+
}

0 commit comments

Comments
 (0)