airbyte-internal-ops 0.5.0__py3-none-any.whl → 0.5.2__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.
Files changed (87) hide show
  1. {airbyte_internal_ops-0.5.0.dist-info → airbyte_internal_ops-0.5.2.dist-info}/METADATA +2 -1
  2. {airbyte_internal_ops-0.5.0.dist-info → airbyte_internal_ops-0.5.2.dist-info}/RECORD +18 -87
  3. airbyte_ops_mcp/cli/cloud.py +12 -8
  4. airbyte_ops_mcp/cloud_admin/api_client.py +51 -51
  5. airbyte_ops_mcp/constants.py +58 -0
  6. airbyte_ops_mcp/{_legacy/airbyte_ci/metadata_service/docker_hub.py → docker_hub.py} +16 -10
  7. airbyte_ops_mcp/mcp/cloud_connector_versions.py +44 -23
  8. airbyte_ops_mcp/mcp/prod_db_queries.py +128 -4
  9. airbyte_ops_mcp/mcp/regression_tests.py +10 -5
  10. airbyte_ops_mcp/{_legacy/airbyte_ci/metadata_service/validators/metadata_validator.py → metadata_validator.py} +18 -12
  11. airbyte_ops_mcp/prod_db_access/queries.py +51 -0
  12. airbyte_ops_mcp/prod_db_access/sql.py +76 -0
  13. airbyte_ops_mcp/regression_tests/__init__.py +2 -0
  14. airbyte_ops_mcp/regression_tests/connection_fetcher.py +16 -5
  15. airbyte_ops_mcp/regression_tests/connection_secret_retriever.py +25 -5
  16. airbyte_ops_mcp/regression_tests/models.py +2 -2
  17. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/README.md +0 -91
  18. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/bin/bundle-schemas.js +0 -48
  19. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/bin/generate-metadata-models.sh +0 -36
  20. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ActorDefinitionResourceRequirements.py +0 -54
  21. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/AirbyteInternal.py +0 -22
  22. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/AllowedHosts.py +0 -18
  23. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorBreakingChanges.py +0 -65
  24. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorBuildOptions.py +0 -15
  25. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorIPCOptions.py +0 -25
  26. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorMetadataDefinitionV0.json +0 -897
  27. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorMetadataDefinitionV0.py +0 -478
  28. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorMetrics.py +0 -24
  29. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorPackageInfo.py +0 -12
  30. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorRegistryDestinationDefinition.py +0 -407
  31. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorRegistryReleases.py +0 -406
  32. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorRegistrySourceDefinition.py +0 -407
  33. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorRegistryV0.py +0 -413
  34. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorReleases.py +0 -98
  35. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ConnectorTestSuiteOptions.py +0 -58
  36. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/GeneratedFields.py +0 -62
  37. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/GitInfo.py +0 -31
  38. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/JobType.py +0 -23
  39. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/NormalizationDestinationDefinitionConfig.py +0 -24
  40. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/RegistryOverrides.py +0 -111
  41. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ReleaseStage.py +0 -15
  42. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/RemoteRegistries.py +0 -23
  43. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/ResourceRequirements.py +0 -18
  44. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/RolloutConfiguration.py +0 -29
  45. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/Secret.py +0 -34
  46. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/SecretStore.py +0 -22
  47. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/SourceFileInfo.py +0 -16
  48. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/SuggestedStreams.py +0 -18
  49. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/SupportLevel.py +0 -15
  50. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/TestConnections.py +0 -14
  51. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/__init__.py +0 -31
  52. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/generated/airbyte-connector-metadata-schema.json +0 -0
  53. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ActorDefinitionResourceRequirements.yaml +0 -30
  54. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/AirbyteInternal.yaml +0 -32
  55. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/AllowedHosts.yaml +0 -13
  56. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorBreakingChanges.yaml +0 -65
  57. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorBuildOptions.yaml +0 -10
  58. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorIPCOptions.yaml +0 -29
  59. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorMetadataDefinitionV0.yaml +0 -172
  60. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorMetrics.yaml +0 -30
  61. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorPackageInfo.yaml +0 -9
  62. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorRegistryDestinationDefinition.yaml +0 -90
  63. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorRegistryReleases.yaml +0 -35
  64. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorRegistrySourceDefinition.yaml +0 -92
  65. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorRegistryV0.yaml +0 -18
  66. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorReleases.yaml +0 -16
  67. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ConnectorTestSuiteOptions.yaml +0 -28
  68. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/GeneratedFields.yaml +0 -16
  69. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/GitInfo.yaml +0 -21
  70. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/JobType.yaml +0 -14
  71. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/NormalizationDestinationDefinitionConfig.yaml +0 -21
  72. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/RegistryOverrides.yaml +0 -38
  73. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ReleaseStage.yaml +0 -11
  74. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/RemoteRegistries.yaml +0 -25
  75. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/ResourceRequirements.yaml +0 -16
  76. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/RolloutConfiguration.yaml +0 -29
  77. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/Secret.yaml +0 -19
  78. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/SecretStore.yaml +0 -16
  79. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/SourceFileInfo.yaml +0 -17
  80. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/SuggestedStreams.yaml +0 -13
  81. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/SupportLevel.yaml +0 -10
  82. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/models/TestConnections.yaml +0 -17
  83. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/package-lock.json +0 -62
  84. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/package.json +0 -12
  85. airbyte_ops_mcp/_legacy/airbyte_ci/metadata_models/transform.py +0 -71
  86. {airbyte_internal_ops-0.5.0.dist-info → airbyte_internal_ops-0.5.2.dist-info}/WHEEL +0 -0
  87. {airbyte_internal_ops-0.5.0.dist-info → airbyte_internal_ops-0.5.2.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 *
@@ -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"]