From 098c3ab52eb12dbd1d48989b46831cb27b277358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lovro=20Ma=C5=BEgon?= Date: Tue, 5 Mar 2024 19:52:11 +0100 Subject: [PATCH] deprecate ListPlugins --- .../swagger-ui/api/v1/api.swagger.json | 14 ++- proto/api/v1/api.pb.go | 100 +++++++++--------- proto/api/v1/api.proto | 13 +-- proto/api/v1/api.swagger.json | 14 ++- proto/api/v1/api_grpc.pb.go | 7 +- 5 files changed, 74 insertions(+), 74 deletions(-) diff --git a/pkg/web/openapi/swagger-ui/api/v1/api.swagger.json b/pkg/web/openapi/swagger-ui/api/v1/api.swagger.json index 7cb9f401f..e05ca5e28 100644 --- a/pkg/web/openapi/swagger-ui/api/v1/api.swagger.json +++ b/pkg/web/openapi/swagger-ui/api/v1/api.swagger.json @@ -1036,7 +1036,7 @@ }, "/v1/plugins": { "get": { - "summary": "deprecated: use ListConnectorPlugins instead", + "summary": "Deprecated: use ListConnectorPlugins instead.", "operationId": "PluginService_ListPlugins", "responses": { "200": { @@ -1601,7 +1601,7 @@ "description": "The value to be compared with the parameter,\nor a comma separated list in case of Validation.TYPE_INCLUSION or Validation.TYPE_EXCLUSION." } }, - "title": "Deprecated: use config.v1.Validation instead" + "description": "Deprecated: use config.v1.Validation instead." }, "PluginSpecificationsParameterValidationType": { "type": "string", @@ -1615,8 +1615,7 @@ "TYPE_REGEX" ], "default": "TYPE_UNSPECIFIED", - "description": "- TYPE_REQUIRED: Parameter must be present.\n - TYPE_GREATER_THAN: Parameter must be greater than {value}.\n - TYPE_LESS_THAN: Parameter must be less than {value}.\n - TYPE_INCLUSION: Parameter must be included in the comma separated list {value}.\n - TYPE_EXCLUSION: Parameter must not be included in the comma separated list {value}.\n - TYPE_REGEX: Parameter must match the regex {value}.", - "title": "Deprecated: use config.v1.Validation.Type instead" + "description": "Deprecated: use config.v1.Validation.Type instead.\n\n - TYPE_REQUIRED: Parameter must be present.\n - TYPE_GREATER_THAN: Parameter must be greater than {value}.\n - TYPE_LESS_THAN: Parameter must be less than {value}.\n - TYPE_INCLUSION: Parameter must be included in the comma separated list {value}.\n - TYPE_EXCLUSION: Parameter must not be included in the comma separated list {value}.\n - TYPE_REGEX: Parameter must match the regex {value}." }, "ProcessorParent": { "type": "object", @@ -2225,7 +2224,7 @@ } } }, - "title": "Deprecated: use ConnectorPluginSpecifications instead" + "description": "Deprecated: use ConnectorPluginSpecifications instead." }, "v1PluginSpecificationsParameter": { "type": "object", @@ -2247,7 +2246,7 @@ } } }, - "title": "Deprecated: use config.v1.Parameter instead" + "description": "Deprecated: use config.v1.Parameter instead." }, "v1PluginSpecificationsParameterType": { "type": "string", @@ -2261,8 +2260,7 @@ "TYPE_DURATION" ], "default": "TYPE_UNSPECIFIED", - "description": "- TYPE_STRING: Parameter is a string.\n - TYPE_INT: Parameter is an integer.\n - TYPE_FLOAT: Parameter is a float.\n - TYPE_BOOL: Parameter is a boolean.\n - TYPE_FILE: Parameter is a file.\n - TYPE_DURATION: Parameter is a duration.", - "title": "Deprecated: use config.v1.Parameter.Type instead" + "description": "Deprecated: use config.v1.Parameter.Type instead.\n\n - TYPE_STRING: Parameter is a string.\n - TYPE_INT: Parameter is an integer.\n - TYPE_FLOAT: Parameter is a float.\n - TYPE_BOOL: Parameter is a boolean.\n - TYPE_FILE: Parameter is a file.\n - TYPE_DURATION: Parameter is a duration." }, "v1Processor": { "type": "object", diff --git a/proto/api/v1/api.pb.go b/proto/api/v1/api.pb.go index 428a8e7f2..27e0d0663 100644 --- a/proto/api/v1/api.pb.go +++ b/proto/api/v1/api.pb.go @@ -185,7 +185,7 @@ func (Processor_Parent_Type) EnumDescriptor() ([]byte, []int) { return file_api_v1_api_proto_rawDescGZIP(), []int{2, 0, 0} } -// Deprecated: use config.v1.Parameter.Type instead +// Deprecated: use config.v1.Parameter.Type instead. // // Deprecated: Marked as deprecated in api/v1/api.proto. type PluginSpecifications_Parameter_Type int32 @@ -255,7 +255,7 @@ func (PluginSpecifications_Parameter_Type) EnumDescriptor() ([]byte, []int) { return file_api_v1_api_proto_rawDescGZIP(), []int{5, 0, 0} } -// Deprecated: use config.v1.Validation.Type instead +// Deprecated: use config.v1.Validation.Type instead. // // Deprecated: Marked as deprecated in api/v1/api.proto. type PluginSpecifications_Parameter_Validation_Type int32 @@ -871,7 +871,7 @@ func (x *ProcessorPluginSpecifications) GetParameters() map[string]*v1.Parameter return nil } -// Deprecated: use ConnectorPluginSpecifications instead +// Deprecated: use ConnectorPluginSpecifications instead. // // Deprecated: Marked as deprecated in api/v1/api.proto. type PluginSpecifications struct { @@ -4272,7 +4272,7 @@ func (x *Processor_Config) GetWorkers() int32 { return 0 } -// Deprecated: use config.v1.Parameter instead +// Deprecated: use config.v1.Parameter instead. // // Deprecated: Marked as deprecated in api/v1/api.proto. type PluginSpecifications_Parameter struct { @@ -4346,7 +4346,7 @@ func (x *PluginSpecifications_Parameter) GetValidations() []*PluginSpecification return nil } -// Deprecated: use config.v1.Validation instead +// Deprecated: use config.v1.Validation instead. // // Deprecated: Marked as deprecated in api/v1/api.proto. type PluginSpecifications_Parameter_Validation struct { @@ -5347,59 +5347,59 @@ var file_api_v1_api_proto_rawDesc = []byte{ 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0d, 0x62, - 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x05, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x32, 0x8f, 0x03, 0x0a, - 0x0d, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x64, + 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x05, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x32, 0x92, 0x03, 0x0a, + 0x0d, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x67, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x62, 0x07, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x62, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x73, 0x12, 0x8a, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x23, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, - 0x63, 0x74, 0x6f, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x67, 0x69, 0x6e, 0x73, 0x88, 0x02, 0x01, 0x12, 0x8a, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x21, 0x62, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x16, 0x2f, 0x76, + 0x31, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x73, 0x12, 0x8a, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x23, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x6f, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x62, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, - 0x73, 0x12, 0x8a, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, - 0x73, 0x6f, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, - 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, - 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x62, 0x07, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x42, 0xa2, - 0x03, 0x92, 0x41, 0x9e, 0x02, 0x12, 0xac, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x64, 0x75, 0x69, - 0x74, 0x20, 0x52, 0x45, 0x53, 0x54, 0x20, 0x41, 0x50, 0x49, 0x22, 0x37, 0x0a, 0x0f, 0x43, 0x6f, - 0x6e, 0x64, 0x75, 0x69, 0x74, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x68, - 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, 0x69, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x64, - 0x75, 0x69, 0x74, 0x2a, 0x57, 0x0a, 0x1a, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x20, 0x4c, 0x69, - 0x63, 0x65, 0x6e, 0x73, 0x65, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x32, 0x2e, - 0x30, 0x12, 0x39, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, 0x49, 0x4f, 0x2f, - 0x63, 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x69, - 0x6e, 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x2e, 0x6d, 0x64, 0x32, 0x06, 0x76, 0x30, - 0x2e, 0x31, 0x2e, 0x30, 0x52, 0x6d, 0x0a, 0x03, 0x35, 0x30, 0x30, 0x12, 0x66, 0x12, 0x16, 0x0a, - 0x14, 0x1a, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4c, 0x0a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x12, 0x38, 0x7b, 0x20, 0x22, 0x63, 0x6f, - 0x64, 0x65, 0x22, 0x3a, 0x20, 0x31, 0x33, 0x2c, 0x20, 0x22, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x22, 0x3a, 0x20, 0x22, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x22, 0x2c, 0x20, 0x22, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x3a, 0x20, 0x5b, - 0x5d, 0x20, 0x7d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, - 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, 0x69, - 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x41, - 0x58, 0x58, 0xaa, 0x02, 0x06, 0x41, 0x70, 0x69, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, 0x41, 0x70, - 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x41, 0x70, 0x69, 0x3a, - 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, + 0x73, 0x42, 0xa2, 0x03, 0x92, 0x41, 0x9e, 0x02, 0x12, 0xac, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6e, + 0x64, 0x75, 0x69, 0x74, 0x20, 0x52, 0x45, 0x53, 0x54, 0x20, 0x41, 0x50, 0x49, 0x22, 0x37, 0x0a, + 0x0f, 0x43, 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x12, 0x24, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, 0x69, 0x6f, 0x2f, 0x63, + 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, 0x2a, 0x57, 0x0a, 0x1a, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, + 0x20, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x20, 0x32, 0x2e, 0x30, 0x12, 0x39, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, + 0x49, 0x4f, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, + 0x6d, 0x61, 0x69, 0x6e, 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x2e, 0x6d, 0x64, 0x32, + 0x06, 0x76, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x52, 0x6d, 0x0a, 0x03, 0x35, 0x30, 0x30, 0x12, 0x66, + 0x12, 0x16, 0x0a, 0x14, 0x1a, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4c, 0x0a, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x12, 0x38, 0x7b, 0x20, + 0x22, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x3a, 0x20, 0x31, 0x33, 0x2c, 0x20, 0x22, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x22, 0x2c, 0x20, 0x22, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, + 0x3a, 0x20, 0x5b, 0x5d, 0x20, 0x7d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x75, + 0x69, 0x74, 0x69, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x75, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, + 0x02, 0x03, 0x41, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x41, 0x70, 0x69, 0x2e, 0x56, 0x31, 0xca, 0x02, + 0x06, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x41, + 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/api/v1/api.proto b/proto/api/v1/api.proto index 71cf733ff..c65d2730b 100644 --- a/proto/api/v1/api.proto +++ b/proto/api/v1/api.proto @@ -186,19 +186,19 @@ message ProcessorPluginSpecifications{ map parameters = 6; } -// Deprecated: use ConnectorPluginSpecifications instead +// Deprecated: use ConnectorPluginSpecifications instead. message PluginSpecifications{ option deprecated = true; - // Deprecated: use config.v1.Parameter instead + // Deprecated: use config.v1.Parameter instead. message Parameter { option deprecated = true; - // Deprecated: use config.v1.Validation instead + // Deprecated: use config.v1.Validation instead. message Validation{ option deprecated = true; - // Deprecated: use config.v1.Validation.Type instead + // Deprecated: use config.v1.Validation.Type instead. enum Type { option deprecated = true; TYPE_UNSPECIFIED = 0; @@ -222,7 +222,7 @@ message PluginSpecifications{ string value = 2; } - // Deprecated: use config.v1.Parameter.Type instead + // Deprecated: use config.v1.Parameter.Type instead. enum Type { option deprecated = true; TYPE_UNSPECIFIED = 0; @@ -1088,8 +1088,9 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { }; service PluginService { - // deprecated: use ListConnectorPlugins instead + // Deprecated: use ListConnectorPlugins instead. rpc ListPlugins(ListPluginsRequest) returns (ListPluginsResponse) { + option deprecated = true; option (google.api.http) = { get: "/v1/plugins" response_body: "plugins" diff --git a/proto/api/v1/api.swagger.json b/proto/api/v1/api.swagger.json index 7cb9f401f..e05ca5e28 100644 --- a/proto/api/v1/api.swagger.json +++ b/proto/api/v1/api.swagger.json @@ -1036,7 +1036,7 @@ }, "/v1/plugins": { "get": { - "summary": "deprecated: use ListConnectorPlugins instead", + "summary": "Deprecated: use ListConnectorPlugins instead.", "operationId": "PluginService_ListPlugins", "responses": { "200": { @@ -1601,7 +1601,7 @@ "description": "The value to be compared with the parameter,\nor a comma separated list in case of Validation.TYPE_INCLUSION or Validation.TYPE_EXCLUSION." } }, - "title": "Deprecated: use config.v1.Validation instead" + "description": "Deprecated: use config.v1.Validation instead." }, "PluginSpecificationsParameterValidationType": { "type": "string", @@ -1615,8 +1615,7 @@ "TYPE_REGEX" ], "default": "TYPE_UNSPECIFIED", - "description": "- TYPE_REQUIRED: Parameter must be present.\n - TYPE_GREATER_THAN: Parameter must be greater than {value}.\n - TYPE_LESS_THAN: Parameter must be less than {value}.\n - TYPE_INCLUSION: Parameter must be included in the comma separated list {value}.\n - TYPE_EXCLUSION: Parameter must not be included in the comma separated list {value}.\n - TYPE_REGEX: Parameter must match the regex {value}.", - "title": "Deprecated: use config.v1.Validation.Type instead" + "description": "Deprecated: use config.v1.Validation.Type instead.\n\n - TYPE_REQUIRED: Parameter must be present.\n - TYPE_GREATER_THAN: Parameter must be greater than {value}.\n - TYPE_LESS_THAN: Parameter must be less than {value}.\n - TYPE_INCLUSION: Parameter must be included in the comma separated list {value}.\n - TYPE_EXCLUSION: Parameter must not be included in the comma separated list {value}.\n - TYPE_REGEX: Parameter must match the regex {value}." }, "ProcessorParent": { "type": "object", @@ -2225,7 +2224,7 @@ } } }, - "title": "Deprecated: use ConnectorPluginSpecifications instead" + "description": "Deprecated: use ConnectorPluginSpecifications instead." }, "v1PluginSpecificationsParameter": { "type": "object", @@ -2247,7 +2246,7 @@ } } }, - "title": "Deprecated: use config.v1.Parameter instead" + "description": "Deprecated: use config.v1.Parameter instead." }, "v1PluginSpecificationsParameterType": { "type": "string", @@ -2261,8 +2260,7 @@ "TYPE_DURATION" ], "default": "TYPE_UNSPECIFIED", - "description": "- TYPE_STRING: Parameter is a string.\n - TYPE_INT: Parameter is an integer.\n - TYPE_FLOAT: Parameter is a float.\n - TYPE_BOOL: Parameter is a boolean.\n - TYPE_FILE: Parameter is a file.\n - TYPE_DURATION: Parameter is a duration.", - "title": "Deprecated: use config.v1.Parameter.Type instead" + "description": "Deprecated: use config.v1.Parameter.Type instead.\n\n - TYPE_STRING: Parameter is a string.\n - TYPE_INT: Parameter is an integer.\n - TYPE_FLOAT: Parameter is a float.\n - TYPE_BOOL: Parameter is a boolean.\n - TYPE_FILE: Parameter is a file.\n - TYPE_DURATION: Parameter is a duration." }, "v1Processor": { "type": "object", diff --git a/proto/api/v1/api_grpc.pb.go b/proto/api/v1/api_grpc.pb.go index 647901c1f..674c40c9f 100644 --- a/proto/api/v1/api_grpc.pb.go +++ b/proto/api/v1/api_grpc.pb.go @@ -1289,7 +1289,8 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type PluginServiceClient interface { - // deprecated: use ListConnectorPlugins instead + // Deprecated: Do not use. + // Deprecated: use ListConnectorPlugins instead. ListPlugins(ctx context.Context, in *ListPluginsRequest, opts ...grpc.CallOption) (*ListPluginsResponse, error) ListConnectorPlugins(ctx context.Context, in *ListConnectorPluginsRequest, opts ...grpc.CallOption) (*ListConnectorPluginsResponse, error) ListProcessorPlugins(ctx context.Context, in *ListProcessorPluginsRequest, opts ...grpc.CallOption) (*ListProcessorPluginsResponse, error) @@ -1303,6 +1304,7 @@ func NewPluginServiceClient(cc grpc.ClientConnInterface) PluginServiceClient { return &pluginServiceClient{cc} } +// Deprecated: Do not use. func (c *pluginServiceClient) ListPlugins(ctx context.Context, in *ListPluginsRequest, opts ...grpc.CallOption) (*ListPluginsResponse, error) { out := new(ListPluginsResponse) err := c.cc.Invoke(ctx, PluginService_ListPlugins_FullMethodName, in, out, opts...) @@ -1334,7 +1336,8 @@ func (c *pluginServiceClient) ListProcessorPlugins(ctx context.Context, in *List // All implementations must embed UnimplementedPluginServiceServer // for forward compatibility type PluginServiceServer interface { - // deprecated: use ListConnectorPlugins instead + // Deprecated: Do not use. + // Deprecated: use ListConnectorPlugins instead. ListPlugins(context.Context, *ListPluginsRequest) (*ListPluginsResponse, error) ListConnectorPlugins(context.Context, *ListConnectorPluginsRequest) (*ListConnectorPluginsResponse, error) ListProcessorPlugins(context.Context, *ListProcessorPluginsRequest) (*ListProcessorPluginsResponse, error)