mirror of
				https://github.com/onepanelio/onepanel.git
				synced 2025-10-31 16:56:19 +08:00 
			
		
		
		
	Added "authorization bearer" piece to proto.
This commit is contained in:
		| @@ -1,9 +1,13 @@ | |||||||
| { | { | ||||||
|   "swagger": "2.0", |   "swagger": "2.0", | ||||||
|   "info": { |   "info": { | ||||||
|     "title": "metric.proto", |     "title": "workflow.proto", | ||||||
|     "version": "version not set" |     "version": "version not set" | ||||||
|   }, |   }, | ||||||
|  |   "schemes": [ | ||||||
|  |     "http", | ||||||
|  |     "https" | ||||||
|  |   ], | ||||||
|   "consumes": [ |   "consumes": [ | ||||||
|     "application/json" |     "application/json" | ||||||
|   ], |   ], | ||||||
| @@ -1277,7 +1281,7 @@ | |||||||
|       "properties": { |       "properties": { | ||||||
|         "type_url": { |         "type_url": { | ||||||
|           "type": "string", |           "type": "string", | ||||||
|           "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n  value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n  URL, or have them precompiled into a binary to avoid any\n  lookup. Therefore, binary compatibility needs to be preserved\n  on changes to types. (Use versioned type names to manage\n  breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.google.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." |           "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n  value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n  URL, or have them precompiled into a binary to avoid any\n  lookup. Therefore, binary compatibility needs to be preserved\n  on changes to types. (Use versioned type names to manage\n  breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." | ||||||
|         }, |         }, | ||||||
|         "value": { |         "value": { | ||||||
|           "type": "string", |           "type": "string", | ||||||
| @@ -1285,7 +1289,7 @@ | |||||||
|           "description": "Must be a valid serialized protocol buffer of the above specified type." |           "description": "Must be a valid serialized protocol buffer of the above specified type." | ||||||
|         } |         } | ||||||
|       }, |       }, | ||||||
|       "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n    Foo foo = ...;\n    Any any;\n    any.PackFrom(foo);\n    ...\n    if (any.UnpackTo(&foo)) {\n      ...\n    }\n\nExample 2: Pack and unpack a message in Java.\n\n    Foo foo = ...;\n    Any any = Any.pack(foo);\n    ...\n    if (any.is(Foo.class)) {\n      foo = any.unpack(Foo.class);\n    }\n\n Example 3: Pack and unpack a message in Python.\n\n    foo = Foo(...)\n    any = Any()\n    any.Pack(foo)\n    ...\n    if any.Is(Foo.DESCRIPTOR):\n      any.Unpack(foo)\n      ...\n\n Example 4: Pack and unpack a message in Go\n\n     foo := &pb.Foo{...}\n     any, err := ptypes.MarshalAny(foo)\n     ...\n     foo := &pb.Foo{}\n     if err := ptypes.UnmarshalAny(any, foo); err != nil {\n       ...\n     }\n\nThe pack methods provided by protobuf library will by default use\n'type.google.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n    package google.profile;\n    message Person {\n      string first_name = 1;\n      string last_name = 2;\n    }\n\n    {\n      \"@type\": \"type.google.com/google.profile.Person\",\n      \"firstName\": <string>,\n      \"lastName\": <string>\n    }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n    {\n      \"@type\": \"type.google.com/google.protobuf.Duration\",\n      \"value\": \"1.212s\"\n    }" |       "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n    Foo foo = ...;\n    Any any;\n    any.PackFrom(foo);\n    ...\n    if (any.UnpackTo(&foo)) {\n      ...\n    }\n\nExample 2: Pack and unpack a message in Java.\n\n    Foo foo = ...;\n    Any any = Any.pack(foo);\n    ...\n    if (any.is(Foo.class)) {\n      foo = any.unpack(Foo.class);\n    }\n\n Example 3: Pack and unpack a message in Python.\n\n    foo = Foo(...)\n    any = Any()\n    any.Pack(foo)\n    ...\n    if any.Is(Foo.DESCRIPTOR):\n      any.Unpack(foo)\n      ...\n\n Example 4: Pack and unpack a message in Go\n\n     foo := &pb.Foo{...}\n     any, err := ptypes.MarshalAny(foo)\n     ...\n     foo := &pb.Foo{}\n     if err := ptypes.UnmarshalAny(any, foo); err != nil {\n       ...\n     }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n    package google.profile;\n    message Person {\n      string first_name = 1;\n      string last_name = 2;\n    }\n\n    {\n      \"@type\": \"type.googleapis.com/google.profile.Person\",\n      \"firstName\": <string>,\n      \"lastName\": <string>\n    }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n    {\n      \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n      \"value\": \"1.212s\"\n    }" | ||||||
|     }, |     }, | ||||||
|     "grpc.gateway.runtime.Error": { |     "grpc.gateway.runtime.Error": { | ||||||
|       "type": "object", |       "type": "object", | ||||||
| @@ -1333,5 +1337,18 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   } |   }, | ||||||
|  |   "securityDefinitions": { | ||||||
|  |     "bearer": { | ||||||
|  |       "type": "apiKey", | ||||||
|  |       "description": "Authentication token, prefixed by Bearer: Bearer <token>", | ||||||
|  |       "name": "authorization", | ||||||
|  |       "in": "header" | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "security": [ | ||||||
|  |     { | ||||||
|  |       "bearer": [] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
| } | } | ||||||
|   | |||||||
| @@ -777,82 +777,88 @@ func init() { | |||||||
| func init() { proto.RegisterFile("workflow.proto", fileDescriptor_892c7f566756b0be) } | func init() { proto.RegisterFile("workflow.proto", fileDescriptor_892c7f566756b0be) } | ||||||
|  |  | ||||||
| var fileDescriptor_892c7f566756b0be = []byte{ | var fileDescriptor_892c7f566756b0be = []byte{ | ||||||
| 	// 1195 bytes of a gzipped FileDescriptorProto | 	// 1295 bytes of a gzipped FileDescriptorProto | ||||||
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4b, 0x6f, 0x1b, 0x55, | 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4b, 0x6f, 0x1b, 0xd5, | ||||||
| 	0x14, 0xd6, 0x8d, 0x9b, 0x26, 0x39, 0xa1, 0xd0, 0x9e, 0xa6, 0x89, 0x99, 0xe6, 0xd5, 0x49, 0x0a, | 	0x17, 0xff, 0x5f, 0xbb, 0x69, 0x93, 0xd3, 0xf6, 0x4f, 0x7b, 0xda, 0x26, 0x66, 0xda, 0xb4, 0xee, | ||||||
| 	0xa9, 0xd4, 0x78, 0xd2, 0x50, 0x10, 0x0a, 0x2d, 0x25, 0x09, 0x49, 0x91, 0x48, 0x79, 0x38, 0x09, | 	0x24, 0x85, 0x14, 0x25, 0x9e, 0x34, 0x14, 0x54, 0x99, 0xb4, 0x25, 0x09, 0x49, 0x91, 0x48, 0x78, | ||||||
| 	0x95, 0xd8, 0xc0, 0xcd, 0xf8, 0xc6, 0x19, 0xd5, 0x9e, 0x19, 0xe6, 0x5e, 0x27, 0x14, 0xcb, 0x0b, | 	0x38, 0x09, 0x11, 0xdd, 0xc0, 0xf5, 0xf8, 0xda, 0x1e, 0x62, 0xcf, 0x0c, 0x73, 0xaf, 0x93, 0xa6, | ||||||
| 	0x1e, 0x6b, 0x36, 0x65, 0x81, 0x60, 0x03, 0x12, 0x0b, 0x7e, 0x02, 0x2b, 0x16, 0x48, 0x48, 0x48, | 	0x91, 0x17, 0x3c, 0xd6, 0x48, 0x50, 0x90, 0x10, 0x6c, 0x40, 0x62, 0xc1, 0x47, 0x60, 0xc5, 0x02, | ||||||
| 	0x2c, 0xbb, 0x62, 0x0f, 0x6b, 0xfe, 0x02, 0x9a, 0xfb, 0x98, 0xfa, 0x31, 0xe3, 0xc4, 0x6e, 0x58, | 	0x09, 0x09, 0x89, 0x65, 0x57, 0xec, 0x61, 0xcd, 0x57, 0x40, 0x73, 0xe7, 0xce, 0xd4, 0x8f, 0x19, | ||||||
| 	0xd9, 0xe7, 0x71, 0xcf, 0xf9, 0xce, 0xe3, 0x9e, 0x73, 0x07, 0x9e, 0x3d, 0x0a, 0xa2, 0x07, 0xfb, | 	0x27, 0x76, 0xc3, 0xca, 0x73, 0x1e, 0x73, 0xce, 0xef, 0x3c, 0xee, 0x39, 0x77, 0x0c, 0xff, 0xdf, | ||||||
| 	0x95, 0xe0, 0xa8, 0x10, 0x46, 0x81, 0x08, 0x30, 0x47, 0x43, 0xcf, 0x9a, 0x2c, 0x07, 0x41, 0xb9, | 	0x75, 0xbc, 0xed, 0x72, 0xcd, 0xd9, 0xcd, 0xb9, 0x9e, 0x23, 0x1c, 0x4c, 0x53, 0xd7, 0xd2, 0x2e, | ||||||
| 	0xc2, 0x1c, 0x1a, 0x7a, 0x0e, 0xf5, 0xfd, 0x40, 0x50, 0xe1, 0x05, 0x3e, 0x57, 0x2a, 0xd6, 0x65, | 	0x55, 0x1c, 0xa7, 0x52, 0x63, 0x06, 0x75, 0x2d, 0x83, 0xda, 0xb6, 0x23, 0xa8, 0xb0, 0x1c, 0x9b, | ||||||
| 	0x2d, 0x95, 0xd4, 0x5e, 0x6d, 0xdf, 0x61, 0xd5, 0x50, 0x3c, 0xd4, 0xc2, 0xeb, 0xf2, 0xc7, 0x5d, | 	0x07, 0x2a, 0xda, 0x45, 0x25, 0x95, 0x54, 0xb1, 0x51, 0x36, 0x58, 0xdd, 0x15, 0x7b, 0x4a, 0x38, | ||||||
| 	0x2c, 0x33, 0x7f, 0x91, 0x1f, 0xd1, 0x72, 0x99, 0x45, 0x4e, 0x10, 0xca, 0xe3, 0x29, 0xa6, 0x26, | 	0x2d, 0x7f, 0xcc, 0x99, 0x0a, 0xb3, 0x67, 0xf8, 0x2e, 0xad, 0x54, 0x98, 0x67, 0x38, 0xae, 0x7c, | ||||||
| 	0x8c, 0xf7, 0x8f, 0x04, 0xab, 0x86, 0x15, 0x2a, 0x98, 0x16, 0x3c, 0x53, 0x65, 0x22, 0xf2, 0x5c, | 	0x3d, 0xc6, 0xd4, 0x58, 0xe8, 0xfd, 0x7d, 0xc1, 0xea, 0x6e, 0x8d, 0x0a, 0xa6, 0x04, 0xa7, 0xea, | ||||||
| 	0x45, 0xd9, 0x5f, 0x11, 0x98, 0x5e, 0x8f, 0x18, 0x15, 0xec, 0xbe, 0xd6, 0xdf, 0xf8, 0x94, 0xb9, | 	0x4c, 0x78, 0x96, 0x19, 0x50, 0xfa, 0x67, 0x04, 0x2e, 0x2f, 0x79, 0x8c, 0x0a, 0xb6, 0xa5, 0xf4, | ||||||
| 	0xb5, 0xd8, 0x52, 0x91, 0x7d, 0x52, 0x63, 0x5c, 0xe0, 0x24, 0x8c, 0xf8, 0xb4, 0xca, 0x78, 0x48, | 	0x97, 0x1f, 0x30, 0xb3, 0xe1, 0x5b, 0x2a, 0xb0, 0x8f, 0x1a, 0x8c, 0x0b, 0xbc, 0x04, 0x23, 0x36, | ||||||
| 	0x5d, 0x96, 0x27, 0xb3, 0x64, 0x61, 0xa4, 0xf8, 0x84, 0x81, 0x6f, 0xc2, 0x85, 0xa3, 0xf6, 0x93, | 	0xad, 0x33, 0xee, 0x52, 0x93, 0x65, 0x48, 0x96, 0x4c, 0x8d, 0x14, 0x9e, 0x30, 0xf0, 0x35, 0x38, | ||||||
| 	0xf9, 0x81, 0x59, 0xb2, 0x30, 0xba, 0x3c, 0x5e, 0xa0, 0xa1, 0x57, 0xe8, 0xb4, 0xdb, 0x79, 0xc0, | 	0xbb, 0xdb, 0xf9, 0x66, 0x26, 0x95, 0x25, 0x53, 0x27, 0xe7, 0x46, 0x73, 0xd4, 0xb5, 0x72, 0xdd, | ||||||
| 	0x7e, 0x17, 0x2e, 0xdf, 0x65, 0xa2, 0x4f, 0x08, 0x08, 0x67, 0x62, 0x42, 0x7a, 0x1d, 0x29, 0xca, | 	0x76, 0xbb, 0x5f, 0xd0, 0xdf, 0x82, 0x8b, 0xf7, 0x98, 0x18, 0x10, 0x02, 0xc2, 0x31, 0x9f, 0x90, | ||||||
| 	0xff, 0xf6, 0xfb, 0x30, 0x75, 0x9f, 0x0a, 0xf7, 0xe0, 0x14, 0x4d, 0xee, 0xc0, 0x6c, 0x91, 0xf1, | 	0x5e, 0x47, 0x0a, 0xf2, 0x59, 0x7f, 0x07, 0xc6, 0xb7, 0xa8, 0x30, 0xab, 0x47, 0x68, 0x72, 0x03, | ||||||
| 	0xda, 0x5e, 0xd5, 0x3b, 0x4d, 0xa0, 0xbb, 0x70, 0x65, 0x87, 0x45, 0x55, 0xcf, 0xef, 0xbf, 0x04, | 	0xb2, 0x05, 0xc6, 0x1b, 0xc5, 0xba, 0x75, 0x94, 0x40, 0x37, 0xe1, 0xea, 0x06, 0xf3, 0xea, 0x96, | ||||||
| 	0x69, 0x66, 0x1f, 0x11, 0x98, 0x49, 0xcb, 0xe8, 0x56, 0x50, 0xe6, 0x7d, 0x5b, 0xc5, 0x3c, 0x0c, | 	0x3d, 0x78, 0x09, 0xe2, 0xcc, 0x3e, 0x22, 0x70, 0x25, 0x2e, 0xa3, 0xab, 0x4e, 0x85, 0x0f, 0x6c, | ||||||
| 	0x85, 0x41, 0xe9, 0x9d, 0x98, 0x9d, 0x93, 0x6c, 0x43, 0xe2, 0x3c, 0x9c, 0x73, 0x03, 0x5f, 0x50, | 	0x15, 0x33, 0x70, 0xc2, 0x75, 0x4a, 0x6f, 0xfa, 0xec, 0xb4, 0x64, 0x87, 0x24, 0x4e, 0xc2, 0x69, | ||||||
| 	0xcf, 0x67, 0x91, 0x94, 0x9f, 0x91, 0xf2, 0x56, 0xa6, 0x1d, 0x82, 0x9d, 0x06, 0xea, 0x9e, 0xec, | 	0xd3, 0xb1, 0x05, 0xb5, 0x6c, 0xe6, 0x49, 0xf9, 0x31, 0x29, 0x6f, 0x67, 0xea, 0x2e, 0xe8, 0x71, | ||||||
| 	0xc8, 0xff, 0x03, 0x97, 0xbd, 0x05, 0x73, 0x5d, 0x3d, 0xf2, 0x30, 0xf0, 0x39, 0xc3, 0xab, 0x30, | 	0xa0, 0xd6, 0x64, 0x47, 0xfe, 0x17, 0xb8, 0xf4, 0x55, 0x98, 0xe8, 0xe9, 0x91, 0xbb, 0x8e, 0xcd, | ||||||
| 	0xa4, 0xae, 0x05, 0xcf, 0x93, 0xd9, 0xdc, 0xc2, 0xe8, 0xf2, 0xa8, 0xec, 0x5d, 0xa5, 0x56, 0x34, | 	0x19, 0x5e, 0x83, 0x13, 0xc1, 0xb1, 0xe0, 0x19, 0x92, 0x4d, 0x4f, 0x9d, 0x9c, 0x3b, 0x29, 0x7b, | ||||||
| 	0x32, 0xfb, 0x2f, 0x02, 0x53, 0x5b, 0x1e, 0xef, 0xb4, 0x77, 0x42, 0xec, 0x4b, 0x70, 0xd1, 0xf4, | 	0x37, 0x50, 0x2b, 0x84, 0x32, 0xfd, 0x4f, 0x02, 0xe3, 0xab, 0x16, 0xef, 0xb6, 0x77, 0x48, 0xec, | ||||||
| 	0xfe, 0x8e, 0xbe, 0x95, 0xbb, 0x5e, 0x49, 0x87, 0x92, 0x26, 0xc2, 0x57, 0x61, 0xa2, 0x9d, 0xfd, | 	0xb3, 0x70, 0x2e, 0xec, 0xfd, 0x0d, 0x75, 0x2a, 0x37, 0xad, 0x92, 0x0a, 0x25, 0x4e, 0x84, 0xb7, | ||||||
| 	0x01, 0x8b, 0x78, 0x7c, 0xc9, 0x54, 0xa4, 0x59, 0x62, 0xb4, 0x60, 0x38, 0xa4, 0x65, 0xb6, 0xed, | 	0x60, 0xac, 0x93, 0xfd, 0x2e, 0xf3, 0xb8, 0x7f, 0xc8, 0x82, 0x48, 0x93, 0xc4, 0xa8, 0xc1, 0xb0, | ||||||
| 	0x7d, 0xa6, 0x8a, 0x31, 0x58, 0x4c, 0xe8, 0x38, 0x87, 0xf1, 0xff, 0xfc, 0xa0, 0xe4, 0xcb, 0xff, | 	0x4b, 0x2b, 0x6c, 0xdd, 0x7a, 0x18, 0x14, 0x63, 0xa8, 0x10, 0xd1, 0x7e, 0x0e, 0xfd, 0xe7, 0xcc, | ||||||
| 	0xf6, 0x1f, 0x04, 0xa6, 0xb3, 0x62, 0xd3, 0x59, 0x1a, 0x83, 0x41, 0x37, 0xa8, 0xf9, 0x42, 0x06, | 	0x90, 0xe4, 0xcb, 0x67, 0xfd, 0x77, 0x02, 0x97, 0x93, 0x62, 0x53, 0x59, 0x3a, 0x0f, 0x43, 0xa6, | ||||||
| 	0x36, 0x58, 0x54, 0x04, 0x6e, 0x02, 0x76, 0x5c, 0x68, 0x9e, 0x1f, 0x90, 0x69, 0xcc, 0x1a, 0x01, | 	0xd3, 0xb0, 0x85, 0x0c, 0x6c, 0xa8, 0x10, 0x10, 0xb8, 0x02, 0xd8, 0x75, 0xa0, 0x79, 0x26, 0x25, | ||||||
| 	0x29, 0x27, 0x12, 0x50, 0xb9, 0x27, 0xa0, 0x62, 0x8f, 0xf1, 0x2f, 0xd7, 0x11, 0x28, 0x02, 0xa7, | 	0xd3, 0x98, 0x34, 0x02, 0x62, 0xde, 0x88, 0x40, 0xa5, 0x9f, 0x80, 0xf2, 0x3d, 0xfa, 0xbf, 0x5c, | ||||||
| 	0x01, 0x44, 0x20, 0x68, 0x65, 0x5d, 0x82, 0x51, 0x41, 0x34, 0x71, 0xec, 0x35, 0x18, 0xde, 0x0a, | 	0x45, 0x10, 0x10, 0x78, 0x19, 0x40, 0x38, 0x82, 0xd6, 0x96, 0x24, 0x98, 0x20, 0x88, 0x16, 0x8e, | ||||||
| 	0xca, 0x1b, 0xbe, 0x88, 0x1e, 0xc6, 0x05, 0x11, 0x5e, 0x95, 0x71, 0x41, 0xab, 0xa1, 0x29, 0x48, | 	0xbe, 0x08, 0xc3, 0xab, 0x4e, 0x65, 0xd9, 0x16, 0xde, 0x9e, 0x5f, 0x10, 0x61, 0xd5, 0x19, 0x17, | ||||||
| 	0xc2, 0x88, 0x1b, 0x27, 0xee, 0x50, 0xe6, 0x0b, 0x5d, 0x04, 0x43, 0xda, 0x7f, 0x0e, 0xc0, 0x85, | 	0xb4, 0xee, 0x86, 0x05, 0x89, 0x18, 0x7e, 0xe3, 0xf8, 0x1d, 0xca, 0x6c, 0xa1, 0x8a, 0x10, 0x92, | ||||||
| 	0x0e, 0xdc, 0xb1, 0x35, 0x57, 0x4e, 0xcb, 0xd2, 0xaa, 0x30, 0xd6, 0x12, 0x06, 0x9e, 0x87, 0x5c, | 	0xfa, 0x1f, 0x29, 0x38, 0xdb, 0x85, 0xdb, 0xb7, 0x66, 0xca, 0x69, 0x59, 0x5a, 0x10, 0xa1, 0xb5, | ||||||
| 	0x2d, 0x29, 0x67, 0xfc, 0x37, 0x69, 0xd6, 0x5c, 0x53, 0xb3, 0xc6, 0x31, 0x1d, 0x50, 0x6e, 0xae, | 	0x88, 0x81, 0x67, 0x20, 0xdd, 0x88, 0xca, 0xe9, 0x3f, 0x46, 0xcd, 0x9a, 0x6e, 0x69, 0x56, 0x3f, | ||||||
| 	0x88, 0x22, 0x62, 0xcb, 0x5c, 0xd0, 0x48, 0x59, 0x1e, 0x54, 0x96, 0x13, 0x46, 0x1c, 0xf1, 0xbe, | 	0xa6, 0x2a, 0xe5, 0xe1, 0x11, 0x09, 0x08, 0xdf, 0x32, 0x17, 0xd4, 0x0b, 0x2c, 0x0f, 0x05, 0x96, | ||||||
| 	0xe7, 0x7b, 0xfc, 0x40, 0x8a, 0xcf, 0x4a, 0x71, 0x13, 0x27, 0x2e, 0x76, 0x95, 0xfa, 0xde, 0x3e, | 	0x23, 0x86, 0x1f, 0x71, 0xd9, 0xb2, 0x2d, 0x5e, 0x95, 0xe2, 0xe3, 0x52, 0xdc, 0xc2, 0xf1, 0x8b, | ||||||
| 	0xe3, 0x22, 0x3f, 0x24, 0xa5, 0x09, 0x8d, 0x77, 0x00, 0x42, 0x1a, 0xd1, 0x2a, 0x13, 0x2c, 0xe2, | 	0x5d, 0xa7, 0xb6, 0x55, 0x66, 0x5c, 0x64, 0x4e, 0x48, 0x69, 0x44, 0xe3, 0x5d, 0x00, 0x97, 0x7a, | ||||||
| 	0xf9, 0x61, 0x59, 0x97, 0x99, 0xf4, 0xba, 0xbc, 0x67, 0xf4, 0x8a, 0x4d, 0x47, 0x70, 0x15, 0xce, | 	0xb4, 0xce, 0x04, 0xf3, 0x78, 0x66, 0x58, 0xd6, 0xe5, 0x4a, 0x7c, 0x5d, 0xde, 0x0e, 0xf5, 0x0a, | ||||||
| 	0xb7, 0x37, 0x59, 0x7e, 0x44, 0x4e, 0xf8, 0x4b, 0x2d, 0x66, 0x8c, 0xb0, 0xd8, 0xa1, 0x6e, 0x6f, | 	0x2d, 0xaf, 0xe0, 0x02, 0x9c, 0xe9, 0x6c, 0xb2, 0xcc, 0x88, 0x9c, 0xf0, 0x17, 0xda, 0xcc, 0x84, | ||||||
| 	0x82, 0x95, 0xed, 0x2c, 0xc9, 0x12, 0x69, 0xcd, 0xd2, 0x21, 0xad, 0xd4, 0xcc, 0x3d, 0x57, 0xc4, | 	0xc2, 0x42, 0x97, 0xba, 0xbe, 0x02, 0x5a, 0xb2, 0xb3, 0x28, 0x4b, 0xa4, 0x3d, 0x4b, 0x3b, 0xb4, | ||||||
| 	0xf2, 0xbf, 0x63, 0xf0, 0x9c, 0x31, 0xb4, 0xcd, 0xa2, 0x43, 0xcf, 0x65, 0xf8, 0x03, 0x81, 0x89, | 	0xd6, 0x08, 0xcf, 0x79, 0x40, 0xcc, 0xfd, 0x73, 0x1e, 0x9e, 0x09, 0x0d, 0xad, 0x33, 0x6f, 0xc7, | ||||||
| 	0x8c, 0x15, 0x86, 0x73, 0x12, 0x60, 0xf7, 0x05, 0x67, 0x65, 0x34, 0xa9, 0xfd, 0xd6, 0x17, 0x8f, | 	0x32, 0x19, 0x7e, 0x4f, 0x60, 0x2c, 0x61, 0x85, 0xe1, 0x84, 0x04, 0xd8, 0x7b, 0xc1, 0x69, 0x09, | ||||||
| 	0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0xcf, 0x27, 0xc6, 0xd0, 0xbe, | ||||||
| 	0xfb, 0x60, 0x5b, 0x46, 0x78, 0x0f, 0xdf, 0x3e, 0x8d, 0x08, 0xf5, 0x26, 0xc6, 0x1f, 0x09, 0x3c, | 	0xa4, 0xb5, 0xa9, 0x83, 0x15, 0x55, 0x1f, 0xac, 0xcb, 0x08, 0xd7, 0xf0, 0x8d, 0xa3, 0x88, 0x50, | ||||||
| 	0x9f, 0xf9, 0x1a, 0xc3, 0xab, 0x12, 0xdc, 0x71, 0xaf, 0xb5, 0xcc, 0x5e, 0xd9, 0x90, 0x88, 0xef, | 	0x6d, 0x62, 0xfc, 0x81, 0xc0, 0xb3, 0x89, 0xb7, 0x31, 0xbc, 0x26, 0xc1, 0x1d, 0x74, 0x5b, 0x4b, | ||||||
| 	0x58, 0xb7, 0xfb, 0x42, 0x1c, 0x69, 0xb7, 0xf8, 0x13, 0x01, 0x2b, 0xfb, 0x6d, 0x87, 0x2f, 0x48, | 	0xec, 0x95, 0x65, 0x89, 0xf8, 0xae, 0x76, 0x7b, 0x20, 0xc4, 0x9e, 0x72, 0x8b, 0x3f, 0x12, 0xd0, | ||||||
| 	0xef, 0xc7, 0x3e, 0xfe, 0xac, 0xf1, 0x82, 0xfa, 0x2a, 0x28, 0x98, 0xaf, 0x82, 0xc2, 0x46, 0xfc, | 	0x92, 0xef, 0x76, 0xf8, 0x9c, 0xf4, 0x7e, 0xe0, 0xe5, 0x4f, 0x1b, 0xcd, 0x05, 0x5f, 0x05, 0xb9, | ||||||
| 	0x55, 0x60, 0x6f, 0x4a, 0x94, 0x6f, 0x58, 0xaf, 0xf7, 0x85, 0x52, 0x18, 0xbf, 0xf8, 0x3d, 0x81, | 	0xf0, 0xab, 0x20, 0xb7, 0xec, 0x7f, 0x15, 0xe8, 0x2b, 0x12, 0xe5, 0xab, 0xda, 0x9d, 0x81, 0x50, | ||||||
| 	0xf1, 0xd6, 0x09, 0x69, 0xc6, 0xb6, 0xbe, 0x70, 0xe9, 0x42, 0x03, 0x2f, 0x7d, 0x07, 0x18, 0x74, | 	0x8a, 0xd0, 0x2f, 0x7e, 0x47, 0x60, 0xb4, 0x7d, 0x42, 0x86, 0x63, 0x5b, 0x1d, 0xb8, 0x78, 0x61, | ||||||
| 	0xf6, 0xf5, 0x13, 0xa0, 0x33, 0x5f, 0x28, 0x7c, 0xa5, 0x63, 0x73, 0xe0, 0x3f, 0x04, 0xa6, 0x76, | 	0x08, 0x2f, 0x7e, 0x07, 0x84, 0xe8, 0xf4, 0xe9, 0x43, 0xa0, 0x0b, 0xbf, 0x50, 0x78, 0xbe, 0x6b, | ||||||
| 	0xc3, 0x52, 0x0a, 0x00, 0xf3, 0xd0, 0xb9, 0x26, 0x01, 0x74, 0xd5, 0x39, 0x06, 0xeb, 0xe7, 0x44, | 	0x73, 0xe0, 0xdf, 0x04, 0xc6, 0x37, 0xdd, 0x52, 0x0c, 0x80, 0xf0, 0xa2, 0x73, 0x5d, 0x02, 0xe8, | ||||||
| 	0x82, 0xad, 0x5b, 0xe5, 0x5e, 0xc0, 0x3a, 0xf5, 0x76, 0xb0, 0x85, 0x9a, 0x57, 0x6a, 0x38, 0x87, | 	0xa9, 0x73, 0x00, 0xd6, 0x8f, 0x89, 0x04, 0xbb, 0xaf, 0x55, 0xfa, 0x01, 0x6b, 0xec, 0x77, 0x82, | ||||||
| 	0xca, 0x67, 0x9a, 0x5c, 0x8b, 0x1a, 0x29, 0x71, 0xfe, 0x46, 0x60, 0x2a, 0x3d, 0xd1, 0x26, 0xce, | 	0xcd, 0x35, 0xac, 0x52, 0xd3, 0xd8, 0x09, 0x7c, 0xc6, 0xc9, 0x95, 0xa8, 0x19, 0x13, 0xe7, 0xaf, | ||||||
| 	0xa7, 0x28, 0xc6, 0xbe, 0x8c, 0xef, 0x63, 0x7b, 0xeb, 0x34, 0xe3, 0x4b, 0x09, 0xe2, 0x31, 0x81, | 	0x04, 0xc6, 0xe3, 0x13, 0x1d, 0xc6, 0xf9, 0x14, 0xc5, 0x28, 0xcb, 0xf8, 0x3e, 0xd0, 0x57, 0x8f, | ||||||
| 	0x8b, 0x4d, 0x23, 0x21, 0xe1, 0xcf, 0xb4, 0x0f, 0x8b, 0x13, 0xe2, 0xfe, 0x52, 0x15, 0xa6, 0x81, | 	0x32, 0xbe, 0x98, 0x20, 0x1e, 0x13, 0x38, 0xd7, 0x32, 0x12, 0x22, 0xfe, 0x95, 0xce, 0x61, 0x71, | ||||||
| 	0xcb, 0xbd, 0x01, 0x8f, 0x71, 0x7e, 0x78, 0x17, 0x37, 0x7a, 0x3f, 0xd5, 0x54, 0x3d, 0x53, 0x2c, | 	0x48, 0xdc, 0x9f, 0x06, 0x85, 0x69, 0xe2, 0x5c, 0x7f, 0xc0, 0x7d, 0x9c, 0xf7, 0xef, 0xe1, 0x72, | ||||||
| 	0xfc, 0x85, 0xc0, 0x64, 0xf3, 0xae, 0x6b, 0x2b, 0x0c, 0xc7, 0x85, 0x8e, 0x75, 0xd8, 0xae, 0x62, | 	0xff, 0x6f, 0xb5, 0x54, 0x2f, 0x2c, 0x16, 0xfe, 0x4c, 0xe0, 0x52, 0xeb, 0xae, 0xeb, 0x28, 0x0c, | ||||||
| 	0xe2, 0xbc, 0x76, 0x02, 0x4d, 0x3d, 0x36, 0xd7, 0x65, 0xe8, 0xb7, 0xf1, 0xb5, 0xa7, 0x08, 0x02, | 	0xc7, 0xa9, 0xae, 0x75, 0xd8, 0xa9, 0x12, 0xc6, 0x79, 0xfd, 0x10, 0x9a, 0x6a, 0x6c, 0x2e, 0xc9, | ||||||
| 	0xbf, 0x21, 0x70, 0x29, 0xcd, 0x1b, 0xc7, 0x2b, 0x99, 0x48, 0x12, 0xb0, 0x76, 0x37, 0x15, 0x8d, | 	0xd0, 0x6f, 0xe3, 0x2b, 0x4f, 0x11, 0x04, 0x7e, 0x45, 0xe0, 0x42, 0x9c, 0x37, 0x8e, 0x57, 0x13, | ||||||
| 	0xf2, 0xa6, 0x44, 0x59, 0xc0, 0x9e, 0xae, 0x39, 0xfe, 0x4c, 0x60, 0x62, 0x35, 0x72, 0x0f, 0xbc, | 	0x91, 0x44, 0x60, 0xf5, 0x5e, 0x2a, 0x0a, 0xe5, 0x4d, 0x89, 0x32, 0x87, 0x7d, 0x1d, 0x73, 0xfc, | ||||||
| 	0xc3, 0xce, 0x99, 0xa3, 0xde, 0x16, 0x19, 0x52, 0x03, 0x6d, 0xbe, 0xbb, 0x92, 0x06, 0xa7, 0x77, | 	0x89, 0xc0, 0xd8, 0x82, 0x67, 0x56, 0xad, 0x9d, 0xee, 0x99, 0x13, 0xdc, 0x2d, 0x12, 0xa4, 0x21, | ||||||
| 	0xbe, 0xb5, 0xd2, 0x47, 0x0a, 0xa9, 0xb2, 0xbd, 0x77, 0x56, 0x4e, 0xdd, 0x97, 0xfe, 0x0b, 0x00, | 	0xb4, 0xc9, 0xde, 0x4a, 0x0a, 0x9c, 0xda, 0xf9, 0x5a, 0x7e, 0x80, 0x14, 0xd2, 0xc0, 0xf6, 0xe2, | ||||||
| 	0x00, 0xff, 0xff, 0x8c, 0x00, 0xee, 0x15, 0xce, 0x11, 0x00, 0x00, | 	0xd7, 0xe4, 0xcb, 0x85, 0x2f, 0xc8, 0x0b, 0x29, 0x92, 0x9a, 0x3b, 0x43, 0x5d, 0xb7, 0x66, 0x99, | ||||||
|  | 	0xf2, 0x6f, 0x16, 0xe3, 0x43, 0xee, 0xd8, 0xf9, 0x2e, 0xce, 0xfd, 0xf7, 0x60, 0x0b, 0x8e, 0x17, | ||||||
|  | 	0x19, 0xf5, 0x98, 0x87, 0x6b, 0xc3, 0x29, 0xbc, 0xb5, 0xd0, 0x10, 0x55, 0x66, 0x0b, 0xa5, 0x94, | ||||||
|  | 	0x15, 0xce, 0x36, 0xb3, 0xa7, 0xb3, 0xae, 0xc7, 0xca, 0xd6, 0x03, 0x56, 0xca, 0x16, 0xf7, 0xb2, | ||||||
|  | 	0x8b, 0x52, 0x3b, 0xaf, 0x7e, 0xb3, 0xf3, 0x52, 0xe5, 0x8e, 0x76, 0x9a, 0x36, 0x44, 0xd5, 0xf1, | ||||||
|  | 	0xac, 0x87, 0xc1, 0x8b, 0xa9, 0xe2, 0x29, 0x80, 0xc8, 0xf4, 0xff, 0x8a, 0xc7, 0xe5, 0x36, 0x78, | ||||||
|  | 	0xf1, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xab, 0x0b, 0x19, 0xaf, 0x66, 0x12, 0x00, 0x00, | ||||||
| } | } | ||||||
|  |  | ||||||
| // Reference imports to suppress errors if they are not otherwise used. | // Reference imports to suppress errors if they are not otherwise used. | ||||||
|   | |||||||
| @@ -8,6 +8,31 @@ import "protoc-gen-swagger/options/annotations.proto"; | |||||||
| import "workflow_template.proto"; | import "workflow_template.proto"; | ||||||
| import "metric.proto"; | import "metric.proto"; | ||||||
|  |  | ||||||
|  | option (grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger) = { | ||||||
|  | 	schemes: HTTP; | ||||||
|  | 	schemes: HTTPS; | ||||||
|  | 	consumes: "application/json"; | ||||||
|  | 	produces: "application/json"; | ||||||
|  | 	security_definitions: { | ||||||
|  | 		security: { | ||||||
|  | 			key: "bearer"; | ||||||
|  | 			value: { | ||||||
|  | 				type: TYPE_API_KEY; | ||||||
|  | 				in: IN_HEADER; | ||||||
|  | 				name: "authorization"; | ||||||
|  | 				description: "Authentication token, prefixed by Bearer: Bearer <token>" | ||||||
|  | 			} | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 	security: { | ||||||
|  | 		security_requirement: { | ||||||
|  | 			key: "bearer"; | ||||||
|  | 			value: {}; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | }; | ||||||
|  |  | ||||||
|  |  | ||||||
| service WorkflowService { | service WorkflowService { | ||||||
|     // Creates a Workflow |     // Creates a Workflow | ||||||
|     rpc CreateWorkflowExecution (CreateWorkflowExecutionRequest) returns (WorkflowExecution) { |     rpc CreateWorkflowExecution (CreateWorkflowExecutionRequest) returns (WorkflowExecution) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aleksandr Melnikov
					Aleksandr Melnikov