airbyte-internal-ops 0.4.2__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.4.2.dist-info → airbyte_internal_ops-0.5.1.dist-info}/METADATA +2 -1
- {airbyte_internal_ops-0.4.2.dist-info → airbyte_internal_ops-0.5.1.dist-info}/RECORD +21 -129
- airbyte_ops_mcp/cli/cloud.py +31 -2
- airbyte_ops_mcp/cloud_admin/api_client.py +506 -33
- airbyte_ops_mcp/cloud_admin/models.py +56 -0
- 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 +491 -10
- airbyte_ops_mcp/mcp/prerelease.py +5 -44
- 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/ci_output.py +8 -4
- airbyte_ops_mcp/regression_tests/connection_fetcher.py +16 -5
- airbyte_ops_mcp/regression_tests/http_metrics.py +21 -2
- airbyte_ops_mcp/regression_tests/models.py +7 -1
- airbyte_ops_mcp/telemetry.py +162 -0
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/.gitignore +0 -1
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/README.md +0 -420
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/__init__.py +0 -2
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/__init__.py +0 -1
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/backends/__init__.py +0 -8
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/backends/base_backend.py +0 -16
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/backends/duckdb_backend.py +0 -87
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/backends/file_backend.py +0 -165
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/connection_objects_retrieval.py +0 -377
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/connector_runner.py +0 -247
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/errors.py +0 -7
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/evaluation_modes.py +0 -25
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/hacks.py +0 -23
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/json_schema_helper.py +0 -384
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/mitm_addons.py +0 -37
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/models.py +0 -595
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/proxy.py +0 -207
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/secret_access.py +0 -47
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/segment_tracking.py +0 -45
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/commons/utils.py +0 -214
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/conftest.py.disabled +0 -751
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/consts.py +0 -4
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/poetry.lock +0 -4480
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/pytest.ini +0 -9
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/regression_tests/__init__.py +0 -1
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/regression_tests/test_check.py +0 -61
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/regression_tests/test_discover.py +0 -117
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/regression_tests/test_read.py +0 -627
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/regression_tests/test_spec.py +0 -43
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/report.py +0 -542
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/stash_keys.py +0 -38
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/templates/__init__.py +0 -0
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/templates/private_details.html.j2 +0 -305
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/templates/report.html.j2 +0 -515
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/utils.py +0 -187
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/validation_tests/__init__.py +0 -0
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/validation_tests/test_check.py +0 -61
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/validation_tests/test_discover.py +0 -217
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/validation_tests/test_read.py +0 -177
- airbyte_ops_mcp/_legacy/airbyte_ci/connector_live_tests/validation_tests/test_spec.py +0 -631
- 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.4.2.dist-info → airbyte_internal_ops-0.5.1.dist-info}/WHEEL +0 -0
- {airbyte_internal_ops-0.4.2.dist-info → airbyte_internal_ops-0.5.1.dist-info}/entry_points.txt +0 -0
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: NormalizationDestinationDefinitionConfig.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from pydantic import BaseModel, Extra, Field
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class NormalizationDestinationDefinitionConfig(BaseModel):
|
|
10
|
-
class Config:
|
|
11
|
-
extra = Extra.allow
|
|
12
|
-
|
|
13
|
-
normalizationRepository: str = Field(
|
|
14
|
-
...,
|
|
15
|
-
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.",
|
|
16
|
-
)
|
|
17
|
-
normalizationTag: str = Field(
|
|
18
|
-
...,
|
|
19
|
-
description="a field indicating the tag of the docker repository to be used for normalization.",
|
|
20
|
-
)
|
|
21
|
-
normalizationIntegrationType: str = Field(
|
|
22
|
-
...,
|
|
23
|
-
description="a field indicating the type of integration dialect to use for normalization.",
|
|
24
|
-
)
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: RegistryOverrides.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from typing import List, Optional
|
|
7
|
-
|
|
8
|
-
from pydantic import AnyUrl, BaseModel, Extra, Field
|
|
9
|
-
from typing_extensions import Literal
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class AllowedHosts(BaseModel):
|
|
13
|
-
class Config:
|
|
14
|
-
extra = Extra.allow
|
|
15
|
-
|
|
16
|
-
hosts: Optional[List[str]] = Field(
|
|
17
|
-
None,
|
|
18
|
-
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.",
|
|
19
|
-
)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class NormalizationDestinationDefinitionConfig(BaseModel):
|
|
23
|
-
class Config:
|
|
24
|
-
extra = Extra.allow
|
|
25
|
-
|
|
26
|
-
normalizationRepository: str = Field(
|
|
27
|
-
...,
|
|
28
|
-
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.",
|
|
29
|
-
)
|
|
30
|
-
normalizationTag: str = Field(
|
|
31
|
-
...,
|
|
32
|
-
description="a field indicating the tag of the docker repository to be used for normalization.",
|
|
33
|
-
)
|
|
34
|
-
normalizationIntegrationType: str = Field(
|
|
35
|
-
...,
|
|
36
|
-
description="a field indicating the type of integration dialect to use for normalization.",
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
class SuggestedStreams(BaseModel):
|
|
41
|
-
class Config:
|
|
42
|
-
extra = Extra.allow
|
|
43
|
-
|
|
44
|
-
streams: Optional[List[str]] = Field(
|
|
45
|
-
None,
|
|
46
|
-
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.",
|
|
47
|
-
)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
class ResourceRequirements(BaseModel):
|
|
51
|
-
class Config:
|
|
52
|
-
extra = Extra.forbid
|
|
53
|
-
|
|
54
|
-
cpu_request: Optional[str] = None
|
|
55
|
-
cpu_limit: Optional[str] = None
|
|
56
|
-
memory_request: Optional[str] = None
|
|
57
|
-
memory_limit: Optional[str] = None
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
class JobType(BaseModel):
|
|
61
|
-
__root__: Literal[
|
|
62
|
-
"get_spec",
|
|
63
|
-
"check_connection",
|
|
64
|
-
"discover_schema",
|
|
65
|
-
"sync",
|
|
66
|
-
"reset_connection",
|
|
67
|
-
"connection_updater",
|
|
68
|
-
"replicate",
|
|
69
|
-
] = Field(
|
|
70
|
-
...,
|
|
71
|
-
description="enum that describes the different types of jobs that the platform runs.",
|
|
72
|
-
title="JobType",
|
|
73
|
-
)
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
class JobTypeResourceLimit(BaseModel):
|
|
77
|
-
class Config:
|
|
78
|
-
extra = Extra.forbid
|
|
79
|
-
|
|
80
|
-
jobType: JobType
|
|
81
|
-
resourceRequirements: ResourceRequirements
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
class ActorDefinitionResourceRequirements(BaseModel):
|
|
85
|
-
class Config:
|
|
86
|
-
extra = Extra.forbid
|
|
87
|
-
|
|
88
|
-
default: Optional[ResourceRequirements] = Field(
|
|
89
|
-
None,
|
|
90
|
-
description="if set, these are the requirements that should be set for ALL jobs run for this actor definition.",
|
|
91
|
-
)
|
|
92
|
-
jobSpecific: Optional[List[JobTypeResourceLimit]] = None
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
class RegistryOverrides(BaseModel):
|
|
96
|
-
class Config:
|
|
97
|
-
extra = Extra.forbid
|
|
98
|
-
|
|
99
|
-
enabled: bool
|
|
100
|
-
name: Optional[str] = None
|
|
101
|
-
dockerRepository: Optional[str] = None
|
|
102
|
-
dockerImageTag: Optional[str] = None
|
|
103
|
-
supportsDbt: Optional[bool] = None
|
|
104
|
-
supportsNormalization: Optional[bool] = None
|
|
105
|
-
license: Optional[str] = None
|
|
106
|
-
documentationUrl: Optional[AnyUrl] = None
|
|
107
|
-
connectorSubtype: Optional[str] = None
|
|
108
|
-
allowedHosts: Optional[AllowedHosts] = None
|
|
109
|
-
normalizationConfig: Optional[NormalizationDestinationDefinitionConfig] = None
|
|
110
|
-
suggestedStreams: Optional[SuggestedStreams] = None
|
|
111
|
-
resourceRequirements: Optional[ActorDefinitionResourceRequirements] = None
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: ReleaseStage.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from pydantic import BaseModel, Field
|
|
7
|
-
from typing_extensions import Literal
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class ReleaseStage(BaseModel):
|
|
11
|
-
__root__: Literal["alpha", "beta", "generally_available", "custom"] = Field(
|
|
12
|
-
...,
|
|
13
|
-
description="enum that describes a connector's release stage",
|
|
14
|
-
title="ReleaseStage",
|
|
15
|
-
)
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: RemoteRegistries.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from typing import Optional
|
|
7
|
-
|
|
8
|
-
from pydantic import BaseModel, Extra, Field
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class PyPi(BaseModel):
|
|
12
|
-
class Config:
|
|
13
|
-
extra = Extra.forbid
|
|
14
|
-
|
|
15
|
-
enabled: bool
|
|
16
|
-
packageName: str = Field(..., description="The name of the package on PyPi.")
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class RemoteRegistries(BaseModel):
|
|
20
|
-
class Config:
|
|
21
|
-
extra = Extra.forbid
|
|
22
|
-
|
|
23
|
-
pypi: Optional[PyPi] = None
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: ResourceRequirements.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from typing import Optional
|
|
7
|
-
|
|
8
|
-
from pydantic import BaseModel, Extra
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class ResourceRequirements(BaseModel):
|
|
12
|
-
class Config:
|
|
13
|
-
extra = Extra.forbid
|
|
14
|
-
|
|
15
|
-
cpu_request: Optional[str] = None
|
|
16
|
-
cpu_limit: Optional[str] = None
|
|
17
|
-
memory_request: Optional[str] = None
|
|
18
|
-
memory_limit: Optional[str] = None
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: RolloutConfiguration.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from typing import Optional
|
|
7
|
-
|
|
8
|
-
from pydantic import BaseModel, Extra, Field, conint
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class RolloutConfiguration(BaseModel):
|
|
12
|
-
class Config:
|
|
13
|
-
extra = Extra.forbid
|
|
14
|
-
|
|
15
|
-
enableProgressiveRollout: Optional[bool] = Field(
|
|
16
|
-
False, description="Whether to enable progressive rollout for the connector."
|
|
17
|
-
)
|
|
18
|
-
initialPercentage: Optional[conint(ge=0, le=100)] = Field(
|
|
19
|
-
0,
|
|
20
|
-
description="The percentage of users that should receive the new version initially.",
|
|
21
|
-
)
|
|
22
|
-
maxPercentage: Optional[conint(ge=0, le=100)] = Field(
|
|
23
|
-
50,
|
|
24
|
-
description="The percentage of users who should receive the release candidate during the test phase before full rollout.",
|
|
25
|
-
)
|
|
26
|
-
advanceDelayMinutes: Optional[conint(ge=10)] = Field(
|
|
27
|
-
10,
|
|
28
|
-
description="The number of minutes to wait before advancing the rollout percentage.",
|
|
29
|
-
)
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: Secret.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from typing import Optional
|
|
7
|
-
|
|
8
|
-
from pydantic import BaseModel, Extra, Field
|
|
9
|
-
from typing_extensions import Literal
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class SecretStore(BaseModel):
|
|
13
|
-
class Config:
|
|
14
|
-
extra = Extra.forbid
|
|
15
|
-
|
|
16
|
-
alias: Optional[str] = Field(
|
|
17
|
-
None,
|
|
18
|
-
description="The alias of the secret store which can map to its actual secret address",
|
|
19
|
-
)
|
|
20
|
-
type: Optional[Literal["GSM"]] = Field(
|
|
21
|
-
None, description="The type of the secret store"
|
|
22
|
-
)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class Secret(BaseModel):
|
|
26
|
-
class Config:
|
|
27
|
-
extra = Extra.forbid
|
|
28
|
-
|
|
29
|
-
name: str = Field(..., description="The secret name in the secret store")
|
|
30
|
-
fileName: Optional[str] = Field(
|
|
31
|
-
None,
|
|
32
|
-
description="The name of the file to which the secret value would be persisted",
|
|
33
|
-
)
|
|
34
|
-
secretStore: SecretStore
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: SecretStore.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from typing import Optional
|
|
7
|
-
|
|
8
|
-
from pydantic import BaseModel, Extra, Field
|
|
9
|
-
from typing_extensions import Literal
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class SecretStore(BaseModel):
|
|
13
|
-
class Config:
|
|
14
|
-
extra = Extra.forbid
|
|
15
|
-
|
|
16
|
-
alias: Optional[str] = Field(
|
|
17
|
-
None,
|
|
18
|
-
description="The alias of the secret store which can map to its actual secret address",
|
|
19
|
-
)
|
|
20
|
-
type: Optional[Literal["GSM"]] = Field(
|
|
21
|
-
None, description="The type of the secret store"
|
|
22
|
-
)
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: SourceFileInfo.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from typing import Optional
|
|
7
|
-
|
|
8
|
-
from pydantic import BaseModel
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class SourceFileInfo(BaseModel):
|
|
12
|
-
metadata_etag: Optional[str] = None
|
|
13
|
-
metadata_file_path: Optional[str] = None
|
|
14
|
-
metadata_bucket_name: Optional[str] = None
|
|
15
|
-
metadata_last_modified: Optional[str] = None
|
|
16
|
-
registry_entry_generated_at: Optional[str] = None
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: SuggestedStreams.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from typing import List, Optional
|
|
7
|
-
|
|
8
|
-
from pydantic import BaseModel, Extra, Field
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class SuggestedStreams(BaseModel):
|
|
12
|
-
class Config:
|
|
13
|
-
extra = Extra.allow
|
|
14
|
-
|
|
15
|
-
streams: Optional[List[str]] = Field(
|
|
16
|
-
None,
|
|
17
|
-
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.",
|
|
18
|
-
)
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: SupportLevel.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from pydantic import BaseModel, Field
|
|
7
|
-
from typing_extensions import Literal
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class SupportLevel(BaseModel):
|
|
11
|
-
__root__: Literal["community", "certified", "archived"] = Field(
|
|
12
|
-
...,
|
|
13
|
-
description="enum that describes a connector's release stage",
|
|
14
|
-
title="SupportLevel",
|
|
15
|
-
)
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: TestConnections.yaml
|
|
3
|
-
|
|
4
|
-
from __future__ import annotations
|
|
5
|
-
|
|
6
|
-
from pydantic import BaseModel, Extra, Field
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class TestConnections(BaseModel):
|
|
10
|
-
class Config:
|
|
11
|
-
extra = Extra.forbid
|
|
12
|
-
|
|
13
|
-
name: str = Field(..., description="The connection name")
|
|
14
|
-
id: str = Field(..., description="The connection ID")
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# generated by generate-metadata-models
|
|
2
|
-
from .ActorDefinitionResourceRequirements import *
|
|
3
|
-
from .AirbyteInternal import *
|
|
4
|
-
from .AllowedHosts import *
|
|
5
|
-
from .ConnectorBreakingChanges import *
|
|
6
|
-
from .ConnectorBuildOptions import *
|
|
7
|
-
from .ConnectorIPCOptions import *
|
|
8
|
-
from .ConnectorMetadataDefinitionV0 import *
|
|
9
|
-
from .ConnectorMetrics import *
|
|
10
|
-
from .ConnectorPackageInfo import *
|
|
11
|
-
from .ConnectorRegistryDestinationDefinition import *
|
|
12
|
-
from .ConnectorRegistryReleases import *
|
|
13
|
-
from .ConnectorRegistrySourceDefinition import *
|
|
14
|
-
from .ConnectorRegistryV0 import *
|
|
15
|
-
from .ConnectorReleases import *
|
|
16
|
-
from .ConnectorTestSuiteOptions import *
|
|
17
|
-
from .GeneratedFields import *
|
|
18
|
-
from .GitInfo import *
|
|
19
|
-
from .JobType import *
|
|
20
|
-
from .NormalizationDestinationDefinitionConfig import *
|
|
21
|
-
from .RegistryOverrides import *
|
|
22
|
-
from .ReleaseStage import *
|
|
23
|
-
from .RemoteRegistries import *
|
|
24
|
-
from .ResourceRequirements import *
|
|
25
|
-
from .RolloutConfiguration import *
|
|
26
|
-
from .Secret import *
|
|
27
|
-
from .SecretStore import *
|
|
28
|
-
from .SourceFileInfo import *
|
|
29
|
-
from .SuggestedStreams import *
|
|
30
|
-
from .SupportLevel import *
|
|
31
|
-
from .TestConnections import *
|
airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/airbyte-connector-metadata-schema.json
DELETED
|
File without changes
|
airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ActorDefinitionResourceRequirements.yaml
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
"$schema": http://json-schema.org/draft-07/schema#
|
|
3
|
-
"$id": https://github.com/airbytehq/airbyte/airbyte-ci/connectors/metadata_service/lib/metadata_service/models/src/ActorDefinitionResourceRequirements.yaml
|
|
4
|
-
title: ActorDefinitionResourceRequirements
|
|
5
|
-
description: actor definition specific resource requirements
|
|
6
|
-
type: object
|
|
7
|
-
# set to false because we need the validations on seeds to be strict. otherwise, we will just add whatever is in the seed file into the db.
|
|
8
|
-
additionalProperties: false
|
|
9
|
-
properties:
|
|
10
|
-
default:
|
|
11
|
-
description: if set, these are the requirements that should be set for ALL jobs run for this actor definition.
|
|
12
|
-
"$ref": ResourceRequirements.yaml
|
|
13
|
-
jobSpecific:
|
|
14
|
-
type: array
|
|
15
|
-
items:
|
|
16
|
-
"$ref": "#/definitions/JobTypeResourceLimit"
|
|
17
|
-
definitions:
|
|
18
|
-
JobTypeResourceLimit:
|
|
19
|
-
description: sets resource requirements for a specific job type for an actor definition. these values override the default, if both are set.
|
|
20
|
-
type: object
|
|
21
|
-
# set to false because we need the validations on seeds to be strict. otherwise, we will just add whatever is in the seed file into the db.
|
|
22
|
-
additionalProperties: false
|
|
23
|
-
required:
|
|
24
|
-
- jobType
|
|
25
|
-
- resourceRequirements
|
|
26
|
-
properties:
|
|
27
|
-
jobType:
|
|
28
|
-
"$ref": JobType.yaml
|
|
29
|
-
resourceRequirements:
|
|
30
|
-
"$ref": ResourceRequirements.yaml
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
"$schema": http://json-schema.org/draft-07/schema#
|
|
3
|
-
"$id": https://github.com/airbytehq/airbyte/airbyte-ci/connectors_ci/metadata_service/lib/models/src/AirbyteInternal.yml
|
|
4
|
-
title: AirbyteInternal
|
|
5
|
-
description: Fields for internal use only
|
|
6
|
-
type: object
|
|
7
|
-
additionalProperties: true
|
|
8
|
-
properties:
|
|
9
|
-
sl:
|
|
10
|
-
type: integer
|
|
11
|
-
enum:
|
|
12
|
-
- 0
|
|
13
|
-
- 100
|
|
14
|
-
- 200
|
|
15
|
-
- 300
|
|
16
|
-
ql:
|
|
17
|
-
type: integer
|
|
18
|
-
enum:
|
|
19
|
-
- 0
|
|
20
|
-
- 100
|
|
21
|
-
- 200
|
|
22
|
-
- 300
|
|
23
|
-
- 400
|
|
24
|
-
- 500
|
|
25
|
-
- 600
|
|
26
|
-
isEnterprise:
|
|
27
|
-
type: boolean
|
|
28
|
-
default: false
|
|
29
|
-
requireVersionIncrementsInPullRequests:
|
|
30
|
-
type: boolean
|
|
31
|
-
default: true
|
|
32
|
-
description: When false, version increment checks will be skipped for this connector
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
"$schema": http://json-schema.org/draft-07/schema#
|
|
3
|
-
"$id": https://github.com/airbytehq/airbyte/airbyte-ci/connectors/metadata_service/lib/metadata_service/models/src/AllowedHosts.yaml
|
|
4
|
-
title: AllowedHosts
|
|
5
|
-
description: A connector's allowed hosts. If present, the platform will limit communication to only hosts which are listed in `AllowedHosts.hosts`.
|
|
6
|
-
type: object
|
|
7
|
-
additionalProperties: true
|
|
8
|
-
properties:
|
|
9
|
-
hosts:
|
|
10
|
-
type: array
|
|
11
|
-
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.
|
|
12
|
-
items:
|
|
13
|
-
type: string
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
"$schema": http://json-schema.org/draft-07/schema#
|
|
3
|
-
"$id": https://github.com/airbytehq/airbyte/airbyte-ci/connectors/metadata_service/lib/metadata_service/models/src/ConnectorBreakingChanges.yaml
|
|
4
|
-
title: ConnectorBreakingChanges
|
|
5
|
-
description: Each entry denotes a breaking change in a specific version of a connector that requires user action to upgrade.
|
|
6
|
-
type: object
|
|
7
|
-
additionalProperties: false
|
|
8
|
-
minProperties: 1
|
|
9
|
-
patternProperties:
|
|
10
|
-
"^\\d+\\.\\d+\\.\\d+$":
|
|
11
|
-
$ref: "#/definitions/VersionBreakingChange"
|
|
12
|
-
definitions:
|
|
13
|
-
VersionBreakingChange:
|
|
14
|
-
description: Contains information about a breaking change, including the deadline to upgrade and a message detailing the change.
|
|
15
|
-
type: object
|
|
16
|
-
additionalProperties: false
|
|
17
|
-
required:
|
|
18
|
-
- upgradeDeadline
|
|
19
|
-
- message
|
|
20
|
-
properties:
|
|
21
|
-
upgradeDeadline:
|
|
22
|
-
description: The deadline by which to upgrade before the breaking change takes effect.
|
|
23
|
-
type: string
|
|
24
|
-
format: date
|
|
25
|
-
message:
|
|
26
|
-
description: Descriptive message detailing the breaking change.
|
|
27
|
-
type: string
|
|
28
|
-
deadlineAction:
|
|
29
|
-
description: Action to do when the deadline is reached.
|
|
30
|
-
type: string
|
|
31
|
-
enum:
|
|
32
|
-
- auto_upgrade
|
|
33
|
-
- disable
|
|
34
|
-
migrationDocumentationUrl:
|
|
35
|
-
description: URL to documentation on how to migrate to the current version. Defaults to ${documentationUrl}-migrations#${version}
|
|
36
|
-
type: string
|
|
37
|
-
format: uri
|
|
38
|
-
scopedImpact:
|
|
39
|
-
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.
|
|
40
|
-
type: array
|
|
41
|
-
minItems: 1
|
|
42
|
-
items:
|
|
43
|
-
$ref: "#/definitions/BreakingChangeScope"
|
|
44
|
-
BreakingChangeScope:
|
|
45
|
-
description: A scope that can be used to limit the impact of a breaking change.
|
|
46
|
-
type: object
|
|
47
|
-
oneOf:
|
|
48
|
-
- $ref: "#/definitions/StreamBreakingChangeScope"
|
|
49
|
-
StreamBreakingChangeScope:
|
|
50
|
-
description: A scope that can be used to limit the impact of a breaking change to specific streams.
|
|
51
|
-
type: object
|
|
52
|
-
additionalProperties: false
|
|
53
|
-
required:
|
|
54
|
-
- scopeType
|
|
55
|
-
- impactedScopes
|
|
56
|
-
properties:
|
|
57
|
-
scopeType:
|
|
58
|
-
type: string
|
|
59
|
-
const: stream
|
|
60
|
-
impactedScopes:
|
|
61
|
-
description: List of streams that are impacted by the breaking change.
|
|
62
|
-
type: array
|
|
63
|
-
minItems: 1
|
|
64
|
-
items:
|
|
65
|
-
type: string
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
"$schema": http://json-schema.org/draft-07/schema#
|
|
3
|
-
"$id": https://github.com/airbytehq/airbyte/airbyte-ci/connectors/metadata_service/lib/metadata_service/models/src/ConnectorBuildOptions.yaml
|
|
4
|
-
title: ConnectorBuildOptions
|
|
5
|
-
description: metadata specific to the build process.
|
|
6
|
-
type: object
|
|
7
|
-
additionalProperties: false
|
|
8
|
-
properties:
|
|
9
|
-
baseImage:
|
|
10
|
-
type: string
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
"$schema": http://json-schema.org/draft-07/schema#
|
|
3
|
-
"$id": https://github.com/airbytehq/airbyte/airbyte-ci/connectors/metadata_service/lib/metadata_service/models/src/ConnectorIPCOptions.yaml
|
|
4
|
-
title: ConnectorIPCOptions
|
|
5
|
-
type: object
|
|
6
|
-
required:
|
|
7
|
-
- dataChannel
|
|
8
|
-
additionalProperties: false
|
|
9
|
-
properties:
|
|
10
|
-
dataChannel:
|
|
11
|
-
type: object
|
|
12
|
-
required:
|
|
13
|
-
- version
|
|
14
|
-
- supportedSerialization
|
|
15
|
-
- supportedTransport
|
|
16
|
-
additionalProperties: false
|
|
17
|
-
properties:
|
|
18
|
-
version:
|
|
19
|
-
type: string
|
|
20
|
-
supportedSerialization:
|
|
21
|
-
type: array
|
|
22
|
-
items:
|
|
23
|
-
type: string
|
|
24
|
-
enum: ["JSONL", "PROTOBUF", "FLATBUFFERS"]
|
|
25
|
-
supportedTransport:
|
|
26
|
-
type: array
|
|
27
|
-
items:
|
|
28
|
-
type: string
|
|
29
|
-
enum: ["STDIO", "SOCKET"]
|