You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte_cdk/sources/declarative/declarative_component_schema.yaml
+67-20Lines changed: 67 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -678,7 +678,7 @@ definitions:
678
678
properties:
679
679
type:
680
680
type: string
681
-
enum: [CustomSchemaNormalization]
681
+
enum: [CustomSchemaNormalization]
682
682
class_name:
683
683
title: Class Name
684
684
description: Fully-qualified name of the class that will be implementing the custom normalization. The format is `source_<name>.<package>.<class_name>`.
@@ -1047,20 +1047,41 @@ definitions:
1047
1047
type:
1048
1048
type: string
1049
1049
enum: [OAuthAuthenticator]
1050
+
client_id_name:
1051
+
title: Client ID Property Name
1052
+
description: The name of the property to use to refresh the `access_token`.
1053
+
type: string
1054
+
default: "client_id"
1055
+
examples:
1056
+
- custom_app_id
1050
1057
client_id:
1051
1058
title: Client ID
1052
1059
description: The OAuth client ID. Fill it in the user inputs.
1053
1060
type: string
1054
1061
examples:
1055
1062
- "{{ config['client_id }}"
1056
1063
- "{{ config['credentials']['client_id }}"
1064
+
client_secret_name:
1065
+
title: Client Secret Property Name
1066
+
description: The name of the property to use to refresh the `access_token`.
1067
+
type: string
1068
+
default: "client_secret"
1069
+
examples:
1070
+
- custom_app_secret
1057
1071
client_secret:
1058
1072
title: Client Secret
1059
1073
description: The OAuth client secret. Fill it in the user inputs.
1060
1074
type: string
1061
1075
examples:
1062
1076
- "{{ config['client_secret }}"
1063
1077
- "{{ config['credentials']['client_secret }}"
1078
+
refresh_token_name:
1079
+
title: Refresh Token Property Name
1080
+
description: The name of the property to use to refresh the `access_token`.
1081
+
type: string
1082
+
default: "refresh_token"
1083
+
examples:
1084
+
- custom_app_refresh_value
1064
1085
refresh_token:
1065
1086
title: Refresh Token
1066
1087
description: Credential artifact used to get a new access token.
@@ -1094,6 +1115,13 @@ definitions:
1094
1115
default: "expires_in"
1095
1116
examples:
1096
1117
- expires_in
1118
+
grant_type_name:
1119
+
title: Grant Type Property Name
1120
+
description: The name of the property to use to refresh the `access_token`.
1121
+
type: string
1122
+
default: "grant_type"
1123
+
examples:
1124
+
- custom_grant_type
1097
1125
grant_type:
1098
1126
title: Grant Type
1099
1127
description: Specifies the OAuth2 grant type. If set to refresh_token, the refresh_token needs to be provided as well. For client_credentials, only client id and secret are required. Other grant types are not officially supported.
@@ -2212,15 +2240,15 @@ definitions:
2212
2240
Pertains to the fields defined by the connector relating to the OAuth flow.
2213
2241
2214
2242
Interpolation capabilities:
2215
-
- The variables placeholders are declared as `{my_var}`.
2216
-
- The nested resolution variables like `{{my_nested_var}}` is allowed as well.
2243
+
- The variables placeholders are declared as `{{my_var}}`.
2244
+
- The nested resolution variables like `{{ {{my_nested_var}} }}` is allowed as well.
2217
2245
2218
2246
- The allowed interpolation context is:
2219
-
+ base64Encoder - encode to `base64`, {base64Encoder:{my_var_a}:{my_var_b}}
2220
-
+ base64Decorer - decode from `base64` encoded string, {base64Decoder:{my_string_variable_or_string_value}}
2221
-
+ urlEncoder - encode the input string to URL-like format, {urlEncoder:https://test.host.com/endpoint}
2222
-
+ urlDecorer - decode the input url-encoded string into text format, {urlDecoder:https%3A%2F%2Fairbyte.io}
2223
-
+ codeChallengeS256 - get the `codeChallenge` encoded value to provide additional data-provider specific authorisation values, {codeChallengeS256:{state_value}}
+ urlEncoder - encode the input string to URL-like format, {{ https://test.host.com/endpoint | urlEncoder}}
2250
+
+ urlDecorer - decode the input url-encoded string into text format, {{ urlDecoder:https%3A%2F%2Fairbyte.io | urlDecoder}}
2251
+
+ codeChallengeS256 - get the `codeChallenge` encoded value to provide additional data-provider specific authorisation values, {{ {{state_value}} | codeChallengeS256 }}
description: Parser used for parsing str, bytes, or bytearray data and returning data in a dictionary format.
2918
+
type: object
2919
+
required:
2920
+
- type
2921
+
properties:
2922
+
type:
2923
+
type: string
2924
+
enum: [JsonParser]
2925
+
encoding:
2926
+
type: string
2927
+
default: utf-8
2886
2928
JsonLineParser:
2887
2929
type: object
2888
2930
required:
@@ -2985,6 +3027,11 @@ definitions:
2985
3027
anyOf:
2986
3028
- "$ref": "#/definitions/CustomRequester"
2987
3029
- "$ref": "#/definitions/HttpRequester"
3030
+
url_requester:
3031
+
description: Requester component that describes how to prepare HTTP requests to send to the source API to extract the url from polling response by the completed async job.
3032
+
anyOf:
3033
+
- "$ref": "#/definitions/CustomRequester"
3034
+
- "$ref": "#/definitions/HttpRequester"
2988
3035
download_requester:
2989
3036
description: Requester component that describes how to prepare HTTP requests to send to the source API to download the data provided by the completed async job.
0 commit comments