airbyte-internal-ops 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {airbyte_internal_ops-0.5.0.dist-info → airbyte_internal_ops-0.5.1.dist-info}/METADATA +2 -1
- {airbyte_internal_ops-0.5.0.dist-info → airbyte_internal_ops-0.5.1.dist-info}/RECORD +16 -85
- airbyte_ops_mcp/cli/cloud.py +4 -2
- airbyte_ops_mcp/cloud_admin/api_client.py +51 -51
- airbyte_ops_mcp/constants.py +58 -0
- airbyte_ops_mcp/{_legacy/airbyte_ci/metadata_service/docker_hub.py → docker_hub.py} +16 -10
- airbyte_ops_mcp/mcp/cloud_connector_versions.py +44 -23
- airbyte_ops_mcp/mcp/prod_db_queries.py +128 -4
- airbyte_ops_mcp/mcp/regression_tests.py +10 -5
- airbyte_ops_mcp/{_legacy/airbyte_ci/metadata_service/validators/metadata_validator.py → metadata_validator.py} +18 -12
- airbyte_ops_mcp/prod_db_access/queries.py +51 -0
- airbyte_ops_mcp/prod_db_access/sql.py +76 -0
- airbyte_ops_mcp/regression_tests/connection_fetcher.py +16 -5
- airbyte_ops_mcp/regression_tests/models.py +2 -2
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/README.md +0 -91
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/bin/bundle-schemas.js +0 -48
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/bin/generate-metadata-models.sh +0 -36
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ActorDefinitionResourceRequirements.py +0 -54
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/AirbyteInternal.py +0 -22
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/AllowedHosts.py +0 -18
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorBreakingChanges.py +0 -65
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorBuildOptions.py +0 -15
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorIPCOptions.py +0 -25
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorMetadataDefinitionV0.json +0 -897
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorMetadataDefinitionV0.py +0 -478
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorMetrics.py +0 -24
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorPackageInfo.py +0 -12
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorRegistryDestinationDefinition.py +0 -407
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorRegistryReleases.py +0 -406
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorRegistrySourceDefinition.py +0 -407
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorRegistryV0.py +0 -413
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorReleases.py +0 -98
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorTestSuiteOptions.py +0 -58
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/GeneratedFields.py +0 -62
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/GitInfo.py +0 -31
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/JobType.py +0 -23
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/NormalizationDestinationDefinitionConfig.py +0 -24
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/RegistryOverrides.py +0 -111
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ReleaseStage.py +0 -15
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/RemoteRegistries.py +0 -23
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ResourceRequirements.py +0 -18
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/RolloutConfiguration.py +0 -29
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/Secret.py +0 -34
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/SecretStore.py +0 -22
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/SourceFileInfo.py +0 -16
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/SuggestedStreams.py +0 -18
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/SupportLevel.py +0 -15
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/TestConnections.py +0 -14
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/__init__.py +0 -31
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/airbyte-connector-metadata-schema.json +0 -0
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ActorDefinitionResourceRequirements.yaml +0 -30
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/AirbyteInternal.yaml +0 -32
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/AllowedHosts.yaml +0 -13
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorBreakingChanges.yaml +0 -65
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorBuildOptions.yaml +0 -10
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorIPCOptions.yaml +0 -29
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorMetadataDefinitionV0.yaml +0 -172
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorMetrics.yaml +0 -30
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorPackageInfo.yaml +0 -9
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorRegistryDestinationDefinition.yaml +0 -90
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorRegistryReleases.yaml +0 -35
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorRegistrySourceDefinition.yaml +0 -92
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorRegistryV0.yaml +0 -18
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorReleases.yaml +0 -16
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorTestSuiteOptions.yaml +0 -28
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/GeneratedFields.yaml +0 -16
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/GitInfo.yaml +0 -21
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/JobType.yaml +0 -14
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/NormalizationDestinationDefinitionConfig.yaml +0 -21
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/RegistryOverrides.yaml +0 -38
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ReleaseStage.yaml +0 -11
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/RemoteRegistries.yaml +0 -25
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ResourceRequirements.yaml +0 -16
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/RolloutConfiguration.yaml +0 -29
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/Secret.yaml +0 -19
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/SecretStore.yaml +0 -16
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/SourceFileInfo.yaml +0 -17
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/SuggestedStreams.yaml +0 -13
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/SupportLevel.yaml +0 -10
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/TestConnections.yaml +0 -17
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/package-lock.json +0 -62
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/package.json +0 -12
- airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/transform.py +0 -71
- {airbyte_internal_ops-0.5.0.dist-info → airbyte_internal_ops-0.5.1.dist-info}/WHEEL +0 -0
- {airbyte_internal_ops-0.5.0.dist-info → airbyte_internal_ops-0.5.1.dist-info}/entry_points.txt +0 -0
|
@@ -1,406 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: ConnectorRegistryReleases.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from datetime import date, datetime
|
|
7
|
-
from typing import Any, Dict, List, Optional, Union
|
|
8
|
-
from uuid import UUID
|
|
9
|
-
|
|
10
|
-
from pydantic import AnyUrl, BaseModel, Extra, Field, conint, constr
|
|
11
|
-
from typing_extensions import Literal
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class RolloutConfiguration(BaseModel):
|
|
15
|
-
class Config:
|
|
16
|
-
extra = Extra.forbid
|
|
17
|
-
|
|
18
|
-
enableProgressiveRollout: Optional[bool] = Field(
|
|
19
|
-
False, description="Whether to enable progressive rollout for the connector."
|
|
20
|
-
)
|
|
21
|
-
initialPercentage: Optional[conint(ge=0, le=100)] = Field(
|
|
22
|
-
0,
|
|
23
|
-
description="The percentage of users that should receive the new version initially.",
|
|
24
|
-
)
|
|
25
|
-
maxPercentage: Optional[conint(ge=0, le=100)] = Field(
|
|
26
|
-
50,
|
|
27
|
-
description="The percentage of users who should receive the release candidate during the test phase before full rollout.",
|
|
28
|
-
)
|
|
29
|
-
advanceDelayMinutes: Optional[conint(ge=10)] = Field(
|
|
30
|
-
10,
|
|
31
|
-
description="The number of minutes to wait before advancing the rollout percentage.",
|
|
32
|
-
)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class StreamBreakingChangeScope(BaseModel):
|
|
36
|
-
class Config:
|
|
37
|
-
extra = Extra.forbid
|
|
38
|
-
|
|
39
|
-
scopeType: str = Field("stream", const=True)
|
|
40
|
-
impactedScopes: List[str] = Field(
|
|
41
|
-
...,
|
|
42
|
-
description="List of streams that are impacted by the breaking change.",
|
|
43
|
-
min_items=1,
|
|
44
|
-
)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
class ReleaseStage(BaseModel):
|
|
48
|
-
__root__: Literal["alpha", "beta", "generally_available", "custom"] = Field(
|
|
49
|
-
...,
|
|
50
|
-
description="enum that describes a connector's release stage",
|
|
51
|
-
title="ReleaseStage",
|
|
52
|
-
)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
class SupportLevel(BaseModel):
|
|
56
|
-
__root__: Literal["community", "certified", "archived"] = Field(
|
|
57
|
-
...,
|
|
58
|
-
description="enum that describes a connector's release stage",
|
|
59
|
-
title="SupportLevel",
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
class ResourceRequirements(BaseModel):
|
|
64
|
-
class Config:
|
|
65
|
-
extra = Extra.forbid
|
|
66
|
-
|
|
67
|
-
cpu_request: Optional[str] = None
|
|
68
|
-
cpu_limit: Optional[str] = None
|
|
69
|
-
memory_request: Optional[str] = None
|
|
70
|
-
memory_limit: Optional[str] = None
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
class JobType(BaseModel):
|
|
74
|
-
__root__: Literal[
|
|
75
|
-
"get_spec",
|
|
76
|
-
"check_connection",
|
|
77
|
-
"discover_schema",
|
|
78
|
-
"sync",
|
|
79
|
-
"reset_connection",
|
|
80
|
-
"connection_updater",
|
|
81
|
-
"replicate",
|
|
82
|
-
] = Field(
|
|
83
|
-
...,
|
|
84
|
-
description="enum that describes the different types of jobs that the platform runs.",
|
|
85
|
-
title="JobType",
|
|
86
|
-
)
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
class AllowedHosts(BaseModel):
|
|
90
|
-
class Config:
|
|
91
|
-
extra = Extra.allow
|
|
92
|
-
|
|
93
|
-
hosts: Optional[List[str]] = Field(
|
|
94
|
-
None,
|
|
95
|
-
description="An array of hosts that this connector can connect to. AllowedHosts not being present for the source or destination means that access to all hosts is allowed. An empty list here means that no network access is granted.",
|
|
96
|
-
)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
class SuggestedStreams(BaseModel):
|
|
100
|
-
class Config:
|
|
101
|
-
extra = Extra.allow
|
|
102
|
-
|
|
103
|
-
streams: Optional[List[str]] = Field(
|
|
104
|
-
None,
|
|
105
|
-
description="An array of streams that this connector suggests the average user will want. SuggestedStreams not being present for the source means that all streams are suggested. An empty list here means that no streams are suggested.",
|
|
106
|
-
)
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
class AirbyteInternal(BaseModel):
|
|
110
|
-
class Config:
|
|
111
|
-
extra = Extra.allow
|
|
112
|
-
|
|
113
|
-
sl: Optional[Literal[0, 100, 200, 300]] = None
|
|
114
|
-
ql: Optional[Literal[0, 100, 200, 300, 400, 500, 600]] = None
|
|
115
|
-
isEnterprise: Optional[bool] = False
|
|
116
|
-
requireVersionIncrementsInPullRequests: Optional[bool] = Field(
|
|
117
|
-
True,
|
|
118
|
-
description="When false, version increment checks will be skipped for this connector",
|
|
119
|
-
)
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
class GitInfo(BaseModel):
|
|
123
|
-
class Config:
|
|
124
|
-
extra = Extra.forbid
|
|
125
|
-
|
|
126
|
-
commit_sha: Optional[str] = Field(
|
|
127
|
-
None,
|
|
128
|
-
description="The git commit sha of the last commit that modified this file.",
|
|
129
|
-
)
|
|
130
|
-
commit_timestamp: Optional[datetime] = Field(
|
|
131
|
-
None,
|
|
132
|
-
description="The git commit timestamp of the last commit that modified this file.",
|
|
133
|
-
)
|
|
134
|
-
commit_author: Optional[str] = Field(
|
|
135
|
-
None,
|
|
136
|
-
description="The git commit author of the last commit that modified this file.",
|
|
137
|
-
)
|
|
138
|
-
commit_author_email: Optional[str] = Field(
|
|
139
|
-
None,
|
|
140
|
-
description="The git commit author email of the last commit that modified this file.",
|
|
141
|
-
)
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
class SourceFileInfo(BaseModel):
|
|
145
|
-
metadata_etag: Optional[str] = None
|
|
146
|
-
metadata_file_path: Optional[str] = None
|
|
147
|
-
metadata_bucket_name: Optional[str] = None
|
|
148
|
-
metadata_last_modified: Optional[str] = None
|
|
149
|
-
registry_entry_generated_at: Optional[str] = None
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
class ConnectorMetrics(BaseModel):
|
|
153
|
-
all: Optional[Any] = None
|
|
154
|
-
cloud: Optional[Any] = None
|
|
155
|
-
oss: Optional[Any] = None
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
class ConnectorMetric(BaseModel):
|
|
159
|
-
class Config:
|
|
160
|
-
extra = Extra.allow
|
|
161
|
-
|
|
162
|
-
usage: Optional[Union[str, Literal["low", "medium", "high"]]] = None
|
|
163
|
-
sync_success_rate: Optional[Union[str, Literal["low", "medium", "high"]]] = None
|
|
164
|
-
connector_version: Optional[str] = None
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
class ConnectorPackageInfo(BaseModel):
|
|
168
|
-
cdk_version: Optional[str] = None
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
class NormalizationDestinationDefinitionConfig(BaseModel):
|
|
172
|
-
class Config:
|
|
173
|
-
extra = Extra.allow
|
|
174
|
-
|
|
175
|
-
normalizationRepository: str = Field(
|
|
176
|
-
...,
|
|
177
|
-
description="a field indicating the name of the repository to be used for normalization. If the value of the flag is NULL - normalization is not used.",
|
|
178
|
-
)
|
|
179
|
-
normalizationTag: str = Field(
|
|
180
|
-
...,
|
|
181
|
-
description="a field indicating the tag of the docker repository to be used for normalization.",
|
|
182
|
-
)
|
|
183
|
-
normalizationIntegrationType: str = Field(
|
|
184
|
-
...,
|
|
185
|
-
description="a field indicating the type of integration dialect to use for normalization.",
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
class BreakingChangeScope(BaseModel):
|
|
190
|
-
__root__: StreamBreakingChangeScope = Field(
|
|
191
|
-
...,
|
|
192
|
-
description="A scope that can be used to limit the impact of a breaking change.",
|
|
193
|
-
)
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
class JobTypeResourceLimit(BaseModel):
|
|
197
|
-
class Config:
|
|
198
|
-
extra = Extra.forbid
|
|
199
|
-
|
|
200
|
-
jobType: JobType
|
|
201
|
-
resourceRequirements: ResourceRequirements
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
class GeneratedFields(BaseModel):
|
|
205
|
-
git: Optional[GitInfo] = None
|
|
206
|
-
source_file_info: Optional[SourceFileInfo] = None
|
|
207
|
-
metrics: Optional[ConnectorMetrics] = None
|
|
208
|
-
sbomUrl: Optional[str] = Field(None, description="URL to the SBOM file")
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
class VersionBreakingChange(BaseModel):
|
|
212
|
-
class Config:
|
|
213
|
-
extra = Extra.forbid
|
|
214
|
-
|
|
215
|
-
upgradeDeadline: date = Field(
|
|
216
|
-
...,
|
|
217
|
-
description="The deadline by which to upgrade before the breaking change takes effect.",
|
|
218
|
-
)
|
|
219
|
-
message: str = Field(
|
|
220
|
-
..., description="Descriptive message detailing the breaking change."
|
|
221
|
-
)
|
|
222
|
-
deadlineAction: Optional[Literal["auto_upgrade", "disable"]] = Field(
|
|
223
|
-
None, description="Action to do when the deadline is reached."
|
|
224
|
-
)
|
|
225
|
-
migrationDocumentationUrl: Optional[AnyUrl] = Field(
|
|
226
|
-
None,
|
|
227
|
-
description="URL to documentation on how to migrate to the current version. Defaults to ${documentationUrl}-migrations#${version}",
|
|
228
|
-
)
|
|
229
|
-
scopedImpact: Optional[List[BreakingChangeScope]] = Field(
|
|
230
|
-
None,
|
|
231
|
-
description="List of scopes that are impacted by the breaking change. If not specified, the breaking change cannot be scoped to reduce impact via the supported scope types.",
|
|
232
|
-
min_items=1,
|
|
233
|
-
)
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
class ActorDefinitionResourceRequirements(BaseModel):
|
|
237
|
-
class Config:
|
|
238
|
-
extra = Extra.forbid
|
|
239
|
-
|
|
240
|
-
default: Optional[ResourceRequirements] = Field(
|
|
241
|
-
None,
|
|
242
|
-
description="if set, these are the requirements that should be set for ALL jobs run for this actor definition.",
|
|
243
|
-
)
|
|
244
|
-
jobSpecific: Optional[List[JobTypeResourceLimit]] = None
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
class ConnectorBreakingChanges(BaseModel):
|
|
248
|
-
class Config:
|
|
249
|
-
extra = Extra.forbid
|
|
250
|
-
|
|
251
|
-
__root__: Dict[constr(regex=r"^\d+\.\d+\.\d+$"), VersionBreakingChange] = Field(
|
|
252
|
-
...,
|
|
253
|
-
description="Each entry denotes a breaking change in a specific version of a connector that requires user action to upgrade.",
|
|
254
|
-
title="ConnectorBreakingChanges",
|
|
255
|
-
)
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
class ConnectorRegistryReleases(BaseModel):
|
|
259
|
-
class Config:
|
|
260
|
-
extra = Extra.forbid
|
|
261
|
-
|
|
262
|
-
releaseCandidates: Optional[ConnectorReleaseCandidates] = None
|
|
263
|
-
rolloutConfiguration: Optional[RolloutConfiguration] = None
|
|
264
|
-
breakingChanges: Optional[ConnectorBreakingChanges] = None
|
|
265
|
-
migrationDocumentationUrl: Optional[AnyUrl] = Field(
|
|
266
|
-
None,
|
|
267
|
-
description="URL to documentation on how to migrate from the previous version to the current version. Defaults to ${documentationUrl}-migrations",
|
|
268
|
-
)
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
class ConnectorReleaseCandidates(BaseModel):
|
|
272
|
-
class Config:
|
|
273
|
-
extra = Extra.forbid
|
|
274
|
-
|
|
275
|
-
__root__: Dict[
|
|
276
|
-
constr(regex=r"^\d+\.\d+\.\d+(-[0-9A-Za-z-.]+)?$"), VersionReleaseCandidate
|
|
277
|
-
] = Field(
|
|
278
|
-
...,
|
|
279
|
-
description="Each entry denotes a release candidate version of a connector.",
|
|
280
|
-
)
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
class VersionReleaseCandidate(BaseModel):
|
|
284
|
-
class Config:
|
|
285
|
-
extra = Extra.forbid
|
|
286
|
-
|
|
287
|
-
__root__: Union[
|
|
288
|
-
ConnectorRegistrySourceDefinition, ConnectorRegistryDestinationDefinition
|
|
289
|
-
] = Field(
|
|
290
|
-
...,
|
|
291
|
-
description="Contains information about a release candidate version of a connector.",
|
|
292
|
-
)
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
class ConnectorRegistrySourceDefinition(BaseModel):
|
|
296
|
-
class Config:
|
|
297
|
-
extra = Extra.allow
|
|
298
|
-
|
|
299
|
-
sourceDefinitionId: UUID
|
|
300
|
-
name: str
|
|
301
|
-
dockerRepository: str
|
|
302
|
-
dockerImageTag: str
|
|
303
|
-
documentationUrl: str
|
|
304
|
-
icon: Optional[str] = None
|
|
305
|
-
iconUrl: Optional[str] = None
|
|
306
|
-
sourceType: Optional[Literal["api", "file", "database", "custom"]] = None
|
|
307
|
-
spec: Dict[str, Any]
|
|
308
|
-
tombstone: Optional[bool] = Field(
|
|
309
|
-
False,
|
|
310
|
-
description="if false, the configuration is active. if true, then this configuration is permanently off.",
|
|
311
|
-
)
|
|
312
|
-
public: Optional[bool] = Field(
|
|
313
|
-
False,
|
|
314
|
-
description="true if this connector definition is available to all workspaces",
|
|
315
|
-
)
|
|
316
|
-
custom: Optional[bool] = Field(
|
|
317
|
-
False, description="whether this is a custom connector definition"
|
|
318
|
-
)
|
|
319
|
-
releaseStage: Optional[ReleaseStage] = None
|
|
320
|
-
supportLevel: Optional[SupportLevel] = None
|
|
321
|
-
releaseDate: Optional[date] = Field(
|
|
322
|
-
None,
|
|
323
|
-
description="The date when this connector was first released, in yyyy-mm-dd format.",
|
|
324
|
-
)
|
|
325
|
-
resourceRequirements: Optional[ActorDefinitionResourceRequirements] = None
|
|
326
|
-
protocolVersion: Optional[str] = Field(
|
|
327
|
-
None, description="the Airbyte Protocol version supported by the connector"
|
|
328
|
-
)
|
|
329
|
-
allowedHosts: Optional[AllowedHosts] = None
|
|
330
|
-
suggestedStreams: Optional[SuggestedStreams] = None
|
|
331
|
-
maxSecondsBetweenMessages: Optional[int] = Field(
|
|
332
|
-
None,
|
|
333
|
-
description="Number of seconds allowed between 2 airbyte protocol messages. The source will timeout if this delay is reach",
|
|
334
|
-
)
|
|
335
|
-
erdUrl: Optional[str] = Field(
|
|
336
|
-
None, description="The URL where you can visualize the ERD"
|
|
337
|
-
)
|
|
338
|
-
releases: Optional[ConnectorRegistryReleases] = None
|
|
339
|
-
ab_internal: Optional[AirbyteInternal] = None
|
|
340
|
-
generated: Optional[GeneratedFields] = None
|
|
341
|
-
packageInfo: Optional[ConnectorPackageInfo] = None
|
|
342
|
-
language: Optional[str] = Field(
|
|
343
|
-
None, description="The language the connector is written in"
|
|
344
|
-
)
|
|
345
|
-
supportsFileTransfer: Optional[bool] = False
|
|
346
|
-
supportsDataActivation: Optional[bool] = False
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
class ConnectorRegistryDestinationDefinition(BaseModel):
|
|
350
|
-
class Config:
|
|
351
|
-
extra = Extra.allow
|
|
352
|
-
|
|
353
|
-
destinationDefinitionId: UUID
|
|
354
|
-
name: str
|
|
355
|
-
dockerRepository: str
|
|
356
|
-
dockerImageTag: str
|
|
357
|
-
documentationUrl: str
|
|
358
|
-
icon: Optional[str] = None
|
|
359
|
-
iconUrl: Optional[str] = None
|
|
360
|
-
spec: Dict[str, Any]
|
|
361
|
-
tombstone: Optional[bool] = Field(
|
|
362
|
-
False,
|
|
363
|
-
description="if false, the configuration is active. if true, then this configuration is permanently off.",
|
|
364
|
-
)
|
|
365
|
-
public: Optional[bool] = Field(
|
|
366
|
-
False,
|
|
367
|
-
description="true if this connector definition is available to all workspaces",
|
|
368
|
-
)
|
|
369
|
-
custom: Optional[bool] = Field(
|
|
370
|
-
False, description="whether this is a custom connector definition"
|
|
371
|
-
)
|
|
372
|
-
releaseStage: Optional[ReleaseStage] = None
|
|
373
|
-
supportLevel: Optional[SupportLevel] = None
|
|
374
|
-
releaseDate: Optional[date] = Field(
|
|
375
|
-
None,
|
|
376
|
-
description="The date when this connector was first released, in yyyy-mm-dd format.",
|
|
377
|
-
)
|
|
378
|
-
tags: Optional[List[str]] = Field(
|
|
379
|
-
None,
|
|
380
|
-
description="An array of tags that describe the connector. E.g: language:python, keyword:rds, etc.",
|
|
381
|
-
)
|
|
382
|
-
resourceRequirements: Optional[ActorDefinitionResourceRequirements] = None
|
|
383
|
-
protocolVersion: Optional[str] = Field(
|
|
384
|
-
None, description="the Airbyte Protocol version supported by the connector"
|
|
385
|
-
)
|
|
386
|
-
normalizationConfig: Optional[NormalizationDestinationDefinitionConfig] = None
|
|
387
|
-
supportsDbt: Optional[bool] = Field(
|
|
388
|
-
None,
|
|
389
|
-
description="an optional flag indicating whether DBT is used in the normalization. If the flag value is NULL - DBT is not used.",
|
|
390
|
-
)
|
|
391
|
-
allowedHosts: Optional[AllowedHosts] = None
|
|
392
|
-
releases: Optional[ConnectorRegistryReleases] = None
|
|
393
|
-
ab_internal: Optional[AirbyteInternal] = None
|
|
394
|
-
supportsRefreshes: Optional[bool] = False
|
|
395
|
-
supportsFileTransfer: Optional[bool] = False
|
|
396
|
-
supportsDataActivation: Optional[bool] = False
|
|
397
|
-
generated: Optional[GeneratedFields] = None
|
|
398
|
-
packageInfo: Optional[ConnectorPackageInfo] = None
|
|
399
|
-
language: Optional[str] = Field(
|
|
400
|
-
None, description="The language the connector is written in"
|
|
401
|
-
)
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
ConnectorRegistryReleases.update_forward_refs()
|
|
405
|
-
ConnectorReleaseCandidates.update_forward_refs()
|
|
406
|
-
VersionReleaseCandidate.update_forward_refs()
|