File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed
src/WebJobs.Script.Grpc/azure-functions-language-worker-protobuf/src/proto Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11syntax = "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
810message 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
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments