From ece897c70134690976d9a7856dedbbd3eacfc15e Mon Sep 17 00:00:00 2001 From: btkcodedev Date: Tue, 11 Jun 2024 22:36:29 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8Source=20PagerDuty:=20Make=20Connector?= =?UTF-8?q?=20Compatible=20with=20Builder=20(#39115)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../connectors/source-pagerduty/metadata.yaml | 2 +- .../source-pagerduty/pyproject.toml | 2 +- .../source-pagerduty/requirements.txt | 2 - .../source_pagerduty/manifest.yaml | 2044 ++++++++++++++++- .../schemas/incident_logs.json | 380 --- .../source_pagerduty/schemas/incidents.json | 549 ----- .../source_pagerduty/schemas/priorities.json | 47 - .../source_pagerduty/schemas/services.json | 153 -- .../source_pagerduty/schemas/teams.json | 35 - .../source_pagerduty/schemas/users.json | 179 -- .../source_pagerduty/spec.yaml | 77 - docs/integrations/sources/pagerduty.md | 1 + 12 files changed, 1946 insertions(+), 1525 deletions(-) delete mode 100644 airbyte-integrations/connectors/source-pagerduty/requirements.txt delete mode 100644 airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/incident_logs.json delete mode 100644 airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/incidents.json delete mode 100644 airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/priorities.json delete mode 100644 airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/services.json delete mode 100644 airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/teams.json delete mode 100644 airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/users.json delete mode 100644 airbyte-integrations/connectors/source-pagerduty/source_pagerduty/spec.yaml diff --git a/airbyte-integrations/connectors/source-pagerduty/metadata.yaml b/airbyte-integrations/connectors/source-pagerduty/metadata.yaml index a042e331a84d..9bbeeb6c89fa 100644 --- a/airbyte-integrations/connectors/source-pagerduty/metadata.yaml +++ b/airbyte-integrations/connectors/source-pagerduty/metadata.yaml @@ -14,7 +14,7 @@ data: connectorSubtype: api connectorType: source definitionId: 2544ac39-02be-4bf5-82ad-f52bbb833bf5 - dockerImageTag: 0.2.2 + dockerImageTag: 0.2.3 dockerRepository: airbyte/source-pagerduty githubIssueLabel: source-pagerduty icon: pagerduty.svg diff --git a/airbyte-integrations/connectors/source-pagerduty/pyproject.toml b/airbyte-integrations/connectors/source-pagerduty/pyproject.toml index ffda1592b903..8691efd533f4 100644 --- a/airbyte-integrations/connectors/source-pagerduty/pyproject.toml +++ b/airbyte-integrations/connectors/source-pagerduty/pyproject.toml @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",] build-backend = "poetry.core.masonry.api" [tool.poetry] -version = "0.2.2" +version = "0.2.3" name = "source-pagerduty" description = "Source implementation for Pagerduty." authors = [ "Airbyte ",] diff --git a/airbyte-integrations/connectors/source-pagerduty/requirements.txt b/airbyte-integrations/connectors/source-pagerduty/requirements.txt deleted file mode 100644 index cc57334ef619..000000000000 --- a/airbyte-integrations/connectors/source-pagerduty/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ --e ../../bases/connector-acceptance-test --e . diff --git a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/manifest.yaml b/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/manifest.yaml index 39c0f41f49c6..08fcacabaf2d 100644 --- a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/manifest.yaml +++ b/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/manifest.yaml @@ -1,110 +1,1952 @@ -version: "0.29.0" +version: 0.79.1 -definitions: - selector: - type: RecordSelector - extractor: - type: DpathExtractor - field_path: ["{{ parameters.extractorPath }}"] +type: DeclarativeSource + +check: + type: CheckStream + stream_names: + - incidents + - incident_logs + - teams + - services + - users + - priorities - requester: +definitions: + streams: + incidents: + type: DeclarativeStream + name: incidents + primary_key: + - id + retriever: + type: SimpleRetriever + requester: + $ref: "#/definitions/base_requester" + path: /incidents + http_method: GET + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - incidents + schema_loader: + type: InlineSchemaLoader + schema: + $ref: "#/schemas/incidents" + incident_logs: + type: DeclarativeStream + name: incident_logs + primary_key: + - id + retriever: + type: SimpleRetriever + requester: + $ref: "#/definitions/base_requester" + path: /incidents/{{ stream_partition.incident_id }}/log_entries + http_method: GET + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - log_entries + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: incident_id + stream: + $ref: "#/definitions/streams/incidents" + schema_loader: + type: InlineSchemaLoader + schema: + $ref: "#/schemas/incident_logs" + teams: + type: DeclarativeStream + name: teams + primary_key: + - id + retriever: + type: SimpleRetriever + requester: + $ref: "#/definitions/base_requester" + path: /teams + http_method: GET + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - teams + schema_loader: + type: InlineSchemaLoader + schema: + $ref: "#/schemas/teams" + services: + type: DeclarativeStream + name: services + primary_key: + - id + retriever: + type: SimpleRetriever + requester: + $ref: "#/definitions/base_requester" + path: /services + http_method: GET + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - services + schema_loader: + type: InlineSchemaLoader + schema: + $ref: "#/schemas/services" + users: + type: DeclarativeStream + name: users + primary_key: + - id + retriever: + type: SimpleRetriever + requester: + $ref: "#/definitions/base_requester" + path: /users + http_method: GET + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - users + schema_loader: + type: InlineSchemaLoader + schema: + $ref: "#/schemas/users" + priorities: + type: DeclarativeStream + name: priorities + primary_key: + - id + retriever: + type: SimpleRetriever + requester: + $ref: "#/definitions/base_requester" + path: /priorities + http_method: GET + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - priorities + schema_loader: + type: InlineSchemaLoader + schema: + $ref: "#/schemas/priorities" + base_requester: type: HttpRequester - url_base: "https://api.pagerduty.com" - http_method: "GET" + url_base: https://api.pagerduty.com authenticator: - type: "ApiKeyAuthenticator" - header: "Authorization" + type: ApiKeyAuthenticator api_token: "Token token={{ config['token'] }}" + inject_into: + type: RequestOption + field_name: Authorization + inject_into: header - retriever: - type: SimpleRetriever - record_selector: - $ref: "#/definitions/selector" - paginator: - type: NoPagination - requester: - $ref: "#/definitions/requester" - - base_stream: - type: DeclarativeStream - retriever: - $ref: "#/definitions/retriever" - - incidents_stream: - $ref: "#/definitions/base_stream" - $parameters: - name: "incidents" - primary_key: "id" - extractorPath: "incidents" - path: "/incidents" - - incidents_partition_router: - type: SubstreamPartitionRouter - parent_stream_configs: - - stream: "#/definitions/incidents_stream" - parent_key: "id" - partition_field: "incident_id" - - incident_logs_stream: - $ref: "#/definitions/base_stream" - $parameters: - name: "incident_logs" - primary_key: "id" - extractorPath: "log_entries" - retriever: - $ref: "#/definitions/retriever" - partition_router: - $ref: "#/definitions/incidents_partition_router" - requester: - $ref: "#/definitions/requester" - path: "/incidents/{{ stream_partition.incident_id }}/log_entries" - - teams_stream: - $ref: "#/definitions/base_stream" - $parameters: - name: "teams" - primary_key: "id" - extractorPath: "teams" - path: "/teams" - - services_stream: - $ref: "#/definitions/base_stream" - $parameters: - name: "services" - primary_key: "id" - extractorPath: "services" - path: "/services" +streams: + - $ref: "#/definitions/streams/incidents" + - $ref: "#/definitions/streams/incident_logs" + - $ref: "#/definitions/streams/teams" + - $ref: "#/definitions/streams/services" + - $ref: "#/definitions/streams/users" + - $ref: "#/definitions/streams/priorities" - users_stream: - $ref: "#/definitions/base_stream" - $parameters: - name: "users" - primary_key: "id" - extractorPath: "users" - path: "/users" +spec: + type: Spec + connection_specification: + type: object + $schema: http://json-schema.org/draft-07/schema# + required: + - token + properties: + cutoff_days: + type: integer + title: Cutoff Days + default: 90 + description: Fetch pipelines updated in the last number of days + order: 0 + default_severity: + type: string + title: Severity category + description: A default severity category if not present + examples: + - Sev1 + - Sev2 + - Sev3 + - Sev4 + - Sev5 + - Custom + pattern: ^(Sev[0-5])?(Custom)?$ + order: 1 + exclude_services: + type: array + items: + type: string + title: Exclude Services + examples: + - service-1 + - service-2 + description: >- + List of PagerDuty service names to ignore incidents from. If not set, + all incidents will be pulled. + order: 2 + incident_log_entries_overview: + type: boolean + title: Incident Log Entries Overview + description: >- + If true, will return a subset of log entries that show only the most + important changes to the incident. + default: true + order: 3 + max_retries: + type: integer + minimum: 0 + maximum: 8 + default: 5 + title: Max Retries + description: >- + Maximum number of PagerDuty API request retries to perform upon + connection errors. The source will pause for an exponentially + increasing number of seconds before retrying. + order: 4 + page_size: + type: integer + minimum: 1 + maximum: 25 + default: 25 + title: Page Size + description: page size to use when querying PagerDuty API + order: 5 + service_details: + type: array + items: + type: string + enum: + - escalation_policies + - teams + - integrations + - auto_pause_notifications_parameters + title: Service Details + description: List of PagerDuty service additional details to include. + order: 6 + token: + type: string + title: API key + description: API key for PagerDuty API authentication + airbyte_secret: true + order: 7 + additionalProperties: true - priorities_stream: - $ref: "#/definitions/base_stream" - $parameters: - name: "priorities" - primary_key: "id" - extractorPath: "priorities" - path: "/priorities" +metadata: + autoImportSchema: + incidents: false + incident_logs: false + teams: false + services: false + users: false + priorities: false -streams: - - "#/definitions/incidents_stream" - - "#/definitions/incident_logs_stream" - - "#/definitions/teams_stream" - - "#/definitions/services_stream" - - "#/definitions/users_stream" - - "#/definitions/priorities_stream" - -check: - type: CheckStream - stream_names: - - "incidents" - - "incident_logs" - - "teams" - - "services" - - "users" - - "priorities" +schemas: + incidents: + type: + - object + - "null" + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + type: + type: + - string + - "null" + acknowledgements: + type: + - array + - "null" + items: + type: + - object + - "null" + properties: + acknowledger: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + at: + type: + - string + - "null" + alert_counts: + type: + - object + - "null" + properties: + all: + type: + - number + - "null" + resolved: + type: + - number + - "null" + triggered: + type: + - number + - "null" + alert_grouping: + type: + - string + - "null" + assigned_via: + type: + - string + - "null" + assignments: + type: + - array + - "null" + items: + type: + - object + - "null" + properties: + assignee: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + at: + type: + - string + - "null" + basic_alert_grouping: + type: + - string + - "null" + created_at: + type: + - string + - "null" + description: + type: + - string + - "null" + escalation_policy: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + first_trigger_log_entry: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + incident_key: + type: + - string + - "null" + incident_number: + type: + - number + - "null" + incidents_responders: + type: + - array + - "null" + items: + type: + - object + - "null" + properties: + escalation_policy_requests: + type: + - array + - "null" + items: + type: + - string + - "null" + incident: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + message: + type: + - string + - "null" + requested_at: + type: + - string + - "null" + requester: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + avatar_url: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + job_title: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + state: + type: + - string + - "null" + updated_at: + type: + - string + - "null" + user: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + avatar_url: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + job_title: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + is_mergeable: + type: boolean + last_status_change_at: + type: + - string + - "null" + last_status_change_by: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + pending_actions: + type: + - array + - "null" + items: + type: + - string + - "null" + priority: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + account_id: + type: + - string + - "null" + color: + type: + - string + - "null" + created_at: + type: + - string + - "null" + description: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + name: + type: + - string + - "null" + order: + type: + - number + - "null" + schema_version: + type: + - number + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + updated_at: + type: + - string + - "null" + resolved_at: + type: + - string + - "null" + responder_requests: + type: + - array + - "null" + items: + type: + - object + - "null" + properties: + incident: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + message: + type: + - string + - "null" + requested_at: + type: + - string + - "null" + requester: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + responder_request_targets: + type: + - array + - "null" + items: + type: + - object + - "null" + properties: + responder_request_target: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + id: + type: + - string + - "null" + incidents_responders: + type: + - array + - "null" + items: + type: + - object + - "null" + properties: + incident: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + message: + type: + - string + - "null" + requested_at: + type: + - string + - "null" + requester: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + avatar_url: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + job_title: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + state: + type: + - string + - "null" + updated_at: + type: + - string + - "null" + user: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + avatar_url: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + job_title: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + summary: + type: + - string + - "null" + self: + type: + - string + - "null" + service: + type: + - object + - "null" + properties: + type: + type: + - string + - "null" + html_url: + type: + - string + - "null" + id: + type: + - string + - "null" + self: + type: + - string + - "null" + summary: + type: + - string + - "null" + status: + type: + - string + - "null" + subscriber_requests: + type: + - array + - "null" + items: + type: + - string + - "null" + summary: + type: + - string + - "null" + teams: + type: + - array + - "null" + items: + type: + - string + - "null" + title: + type: + - string + - "null" + updated_at: + type: + - string + - "null" + urgency: + type: + - string + - "null" + title: Incidents Schema + incident_logs: + type: + - "null" + - object + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + type: + type: + - "null" + - string + action: + type: + - "null" + - string + agent: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + assignees: + type: + - "null" + - array + items: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + channel: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + new_priority: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + account_id: + type: + - "null" + - string + color: + type: + - "null" + - string + created_at: + type: + - "null" + - string + description: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + name: + type: + - "null" + - string + order: + type: + - "null" + - number + schema_version: + type: + - "null" + - number + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + updated_at: + type: + - "null" + - string + notification: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + address: + type: + - "null" + - string + conferenceAddress: + type: + - "null" + - string + status: + type: + - "null" + - string + old_priority: + type: + - "null" + - string + summary: + type: + - "null" + - string + channels: + type: + - "null" + - string + contexts: + type: + - "null" + - array + items: + type: + - "null" + - string + created_at: + type: + - "null" + - string + escalation_policy: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + description: + type: + - "null" + - string + escalation_rules: + type: + - "null" + - array + items: + type: + - "null" + - object + properties: + escalation_delay_in_minutes: + type: + - "null" + - number + id: + type: + - "null" + - string + targets: + type: + - "null" + - array + items: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + name: + type: + - "null" + - string + num_loops: + type: + - "null" + - number + on_call_handoff_notifications: + type: + - "null" + - string + privilege: + type: + - "null" + - string + self: + type: + - "null" + - string + services: + type: + - "null" + - array + items: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + summary: + type: + - "null" + - string + teams: + type: + - "null" + - array + items: + type: + - "null" + - string + event_details: + type: + - "null" + - object + properties: + description: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + incident: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + level: + type: + - "null" + - number + message: + type: + - "null" + - string + responder: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + responders_list: + type: + - "null" + - array + items: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + self: + type: + - "null" + - string + service: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + summary: + type: + - "null" + - string + teams: + type: + - "null" + - array + items: + type: + - "null" + - string + user: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + title: Incident Logs schema + teams: + type: + - "null" + - object + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + type: + type: + - "null" + - string + default_role: + type: + - "null" + - string + description: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + name: + type: + - "null" + - string + parent: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + title: Teams Schema + services: + type: + - "null" + - object + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + type: + type: + - "null" + - string + acknowledgement_timeout: + type: + - "null" + - string + addons: + type: + - "null" + - array + items: + type: + - "null" + - string + alert_creation: + type: + - "null" + - string + alert_grouping: + type: + - "null" + - string + alert_grouping_parameters: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + config: + type: + - "null" + - object + properties: + recommended_time_window: + type: + - "null" + - number + time_window: + type: + - "null" + - number + alert_grouping_timeout: + type: + - "null" + - string + auto_resolve_timeout: + type: + - "null" + - string + created_at: + type: + - "null" + - string + description: + type: + - "null" + - string + escalation_policy: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + incident_urgency_rule: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + urgency: + type: + - "null" + - string + integrations: + type: + - "null" + - array + items: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + last_incident_timestamp: + type: + - "null" + - string + name: + type: + - "null" + - string + response_play: + type: + - "null" + - string + scheduled_actions: + type: + - "null" + - array + items: + type: + - "null" + - string + self: + type: + - "null" + - string + status: + type: + - "null" + - string + summary: + type: + - "null" + - string + support_hours: + type: + - "null" + - string + teams: + type: + - "null" + - array + items: + type: + - "null" + - string + updated_at: + type: + - "null" + - string + title: Services schema + users: + type: + - "null" + - object + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + type: + type: + - "null" + - string + avatar_url: + type: + - "null" + - string + billed: + type: boolean + color: + type: + - "null" + - string + contact_methods: + type: + - "null" + - array + items: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + coordinated_incidents: + type: + - "null" + - array + items: + type: + - "null" + - object + properties: + incident: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + message: + type: + - "null" + - string + requested_at: + type: + - "null" + - string + requester: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + state: + type: + - "null" + - string + description: + type: + - "null" + - string + email: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + invitation_sent: + type: boolean + job_title: + type: + - "null" + - string + name: + type: + - "null" + - string + notification_rules: + type: + - "null" + - array + items: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + role: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + teams: + type: + - "null" + - array + items: + type: + - "null" + - object + properties: + type: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + time_zone: + type: + - "null" + - string + title: Users Schema + priorities: + type: + - "null" + - object + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + type: + type: + - "null" + - string + account_id: + type: + - "null" + - string + color: + type: + - "null" + - string + created_at: + type: + - "null" + - string + description: + type: + - "null" + - string + html_url: + type: + - "null" + - string + id: + type: + - "null" + - string + name: + type: + - "null" + - string + order: + type: + - "null" + - number + schema_version: + type: + - "null" + - number + self: + type: + - "null" + - string + summary: + type: + - "null" + - string + updated_at: + type: + - "null" + - string + title: Priorities schema diff --git a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/incident_logs.json b/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/incident_logs.json deleted file mode 100644 index 6cd2ff5583b9..000000000000 --- a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/incident_logs.json +++ /dev/null @@ -1,380 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Incident Logs schema", - "additionalProperties": true, - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "created_at": { - "type": ["null", "string"] - }, - "agent": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - }, - "channel": { - "type": ["null", "object"], - "properties": { - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "notification": { - "type": ["null", "object"], - "properties": { - "type": { - "type": ["null", "string"] - }, - "address": { - "type": ["null", "string"] - }, - "conferenceAddress": { - "type": ["null", "string"] - }, - "status": { - "type": ["null", "string"] - } - } - }, - "old_priority": { - "type": ["null", "string"] - }, - "new_priority": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "account_id": { - "type": ["null", "string"] - }, - "color": { - "type": ["null", "string"] - }, - "created_at": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "order": { - "type": ["null", "number"] - }, - "schema_version": { - "type": ["null", "number"] - }, - "updated_at": { - "type": ["null", "string"] - } - } - } - } - }, - "service": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - }, - "incident": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - }, - "teams": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "contexts": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "message": { - "type": ["null", "string"] - }, - "responder": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - }, - "channels": { - "type": ["null", "string"] - }, - "responders_list": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - } - }, - "escalation_policy": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "escalation_rules": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "escalation_delay_in_minutes": { - "type": ["null", "number"] - }, - "targets": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - } - } - } - } - }, - "services": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - } - }, - "num_loops": { - "type": ["null", "number"] - }, - "teams": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "description": { - "type": ["null", "string"] - }, - "on_call_handoff_notifications": { - "type": ["null", "string"] - }, - "privilege": { - "type": ["null", "string"] - } - } - }, - "level": { - "type": ["null", "number"] - }, - "action": { - "type": ["null", "string"] - }, - "event_details": { - "type": ["null", "object"], - "properties": { - "description": { - "type": ["null", "string"] - } - } - }, - "user": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - }, - "assignees": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - } - } - } -} diff --git a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/incidents.json b/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/incidents.json deleted file mode 100644 index 26e281c5c413..000000000000 --- a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/incidents.json +++ /dev/null @@ -1,549 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Incidents Schema", - "additionalProperties": true, - "type": ["object", "null"], - "properties": { - "incident_number": { - "type": ["number", "null"] - }, - "title": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "created_at": { - "type": ["string", "null"] - }, - "updated_at": { - "type": ["string", "null"] - }, - "status": { - "type": ["string", "null"] - }, - "incident_key": { - "type": ["string", "null"] - }, - "service": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } - }, - "assignments": { - "type": ["array", "null"], - "items": { - "type": ["object", "null"], - "properties": { - "at": { - "type": ["string", "null"] - }, - "assignee": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } - } - } - } - }, - "assigned_via": { - "type": ["string", "null"] - }, - "last_status_change_at": { - "type": ["string", "null"] - }, - "resolved_at": { - "type": ["string", "null"] - }, - "first_trigger_log_entry": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } - }, - "alert_counts": { - "type": ["object", "null"], - "properties": { - "all": { - "type": ["number", "null"] - }, - "triggered": { - "type": ["number", "null"] - }, - "resolved": { - "type": ["number", "null"] - } - } - }, - "is_mergeable": { - "type": "boolean" - }, - "escalation_policy": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } - }, - "teams": { - "type": ["array", "null"], - "items": { - "type": ["string", "null"] - } - }, - "pending_actions": { - "type": ["array", "null"], - "items": { - "type": ["string", "null"] - } - }, - "acknowledgements": { - "type": ["array", "null"], - "items": { - "type": ["object", "null"], - "properties": { - "at": { - "type": ["string", "null"] - }, - "acknowledger": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } - } - } - } - }, - "basic_alert_grouping": { - "type": ["string", "null"] - }, - "alert_grouping": { - "type": ["string", "null"] - }, - "last_status_change_by": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } - }, - "priority": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - }, - "account_id": { - "type": ["string", "null"] - }, - "color": { - "type": ["string", "null"] - }, - "created_at": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "name": { - "type": ["string", "null"] - }, - "order": { - "type": ["number", "null"] - }, - "schema_version": { - "type": ["number", "null"] - }, - "updated_at": { - "type": ["string", "null"] - } - } - }, - "incidents_responders": { - "type": ["array", "null"], - "items": { - "type": ["object", "null"], - "properties": { - "state": { - "type": ["string", "null"] - }, - "user": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - }, - "avatar_url": { - "type": ["string", "null"] - }, - "job_title": { - "type": ["string", "null"] - } - } - }, - "incident": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } - }, - "updated_at": { - "type": ["string", "null"] - }, - "message": { - "type": ["string", "null"] - }, - "requester": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - }, - "avatar_url": { - "type": ["string", "null"] - }, - "job_title": { - "type": ["string", "null"] - } - } - }, - "requested_at": { - "type": ["string", "null"] - }, - "escalation_policy_requests": { - "type": ["array", "null"], - "items": { - "type": ["string", "null"] - } - } - } - } - }, - "responder_requests": { - "type": ["array", "null"], - "items": { - "type": ["object", "null"], - "properties": { - "incident": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } - }, - "requester": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } - }, - "requested_at": { - "type": ["string", "null"] - }, - "message": { - "type": ["string", "null"] - }, - "responder_request_targets": { - "type": ["array", "null"], - "items": { - "type": ["object", "null"], - "properties": { - "responder_request_target": { - "type": ["object", "null"], - "properties": { - "type": { - "type": ["string", "null"] - }, - "id": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "incidents_responders": { - "type": ["array", "null"], - "items": { - "type": ["object", "null"], - "properties": { - "state": { - "type": ["string", "null"] - }, - "user": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - }, - "avatar_url": { - "type": ["string", "null"] - }, - "job_title": { - "type": ["string", "null"] - } - } - }, - "incident": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } - }, - "updated_at": { - "type": ["string", "null"] - }, - "message": { - "type": ["string", "null"] - }, - "requester": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - }, - "avatar_url": { - "type": ["string", "null"] - }, - "job_title": { - "type": ["string", "null"] - } - } - }, - "requested_at": { - "type": ["string", "null"] - } - } - } - } - } - } - } - } - } - } - } - }, - "subscriber_requests": { - "type": ["array", "null"], - "items": { - "type": ["string", "null"] - } - }, - "urgency": { - "type": ["string", "null"] - }, - "id": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "summary": { - "type": ["string", "null"] - }, - "self": { - "type": ["string", "null"] - }, - "html_url": { - "type": ["string", "null"] - } - } -} diff --git a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/priorities.json b/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/priorities.json deleted file mode 100644 index 98267d5eb806..000000000000 --- a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/priorities.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Priorities schema", - "additionalProperties": true, - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "account_id": { - "type": ["null", "string"] - }, - "color": { - "type": ["null", "string"] - }, - "created_at": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "order": { - "type": ["null", "number"] - }, - "schema_version": { - "type": ["null", "number"] - }, - "updated_at": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/services.json b/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/services.json deleted file mode 100644 index c512977ce396..000000000000 --- a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/services.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Services schema", - "additionalProperties": true, - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "created_at": { - "type": ["null", "string"] - }, - "updated_at": { - "type": ["null", "string"] - }, - "status": { - "type": ["null", "string"] - }, - "teams": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "alert_creation": { - "type": ["null", "string"] - }, - "addons": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "scheduled_actions": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "support_hours": { - "type": ["null", "string"] - }, - "last_incident_timestamp": { - "type": ["null", "string"] - }, - "escalation_policy": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - }, - "incident_urgency_rule": { - "type": ["null", "object"], - "properties": { - "type": { - "type": ["null", "string"] - }, - "urgency": { - "type": ["null", "string"] - } - } - }, - "acknowledgement_timeout": { - "type": ["null", "string"] - }, - "auto_resolve_timeout": { - "type": ["null", "string"] - }, - "alert_grouping": { - "type": ["null", "string"] - }, - "alert_grouping_timeout": { - "type": ["null", "string"] - }, - "alert_grouping_parameters": { - "type": ["null", "object"], - "properties": { - "type": { - "type": ["null", "string"] - }, - "config": { - "type": ["null", "object"], - "properties": { - "time_window": { - "type": ["null", "number"] - }, - "recommended_time_window": { - "type": ["null", "number"] - } - } - } - } - }, - "integrations": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - } - }, - "response_play": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/teams.json b/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/teams.json deleted file mode 100644 index fb3ec34e852b..000000000000 --- a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/teams.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Teams Schema", - "additionalProperties": true, - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "default_role": { - "type": ["null", "string"] - }, - "parent": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/users.json b/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/users.json deleted file mode 100644 index 3e8e0e24c34b..000000000000 --- a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/schemas/users.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Users Schema", - "additionalProperties": true, - "type": ["null", "object"], - "properties": { - "name": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "time_zone": { - "type": ["null", "string"] - }, - "color": { - "type": ["null", "string"] - }, - "avatar_url": { - "type": ["null", "string"] - }, - "billed": { - "type": "boolean" - }, - "role": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "invitation_sent": { - "type": "boolean" - }, - "job_title": { - "type": ["null", "string"] - }, - "teams": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - } - }, - "contact_methods": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - } - }, - "notification_rules": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - } - }, - "coordinated_incidents": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "incident": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - }, - "requester": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - }, - "message": { - "type": ["null", "string"] - }, - "state": { - "type": ["null", "string"] - }, - "requested_at": { - "type": ["null", "string"] - } - } - } - }, - "id": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "self": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/spec.yaml b/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/spec.yaml deleted file mode 100644 index b40b90d2779c..000000000000 --- a/airbyte-integrations/connectors/source-pagerduty/source_pagerduty/spec.yaml +++ /dev/null @@ -1,77 +0,0 @@ -documentationUrl: https://docs.faros.ai -connectionSpecification: - $schema: http://json-schema.org/draft-07/schema# - title: PagerDuty Spec - type: object - required: - - token - additionalProperties: true - properties: - token: - type: string - title: API key - description: API key for PagerDuty API authentication - airbyte_secret: true - cutoff_days: - type: integer - title: Cutoff Days - default: 90 - description: Fetch pipelines updated in the last number of days - page_size: - type: integer - minimum: 1 - maximum: 25 - default: 25 - title: Page Size - description: page size to use when querying PagerDuty API - incident_log_entries_overview: - type: boolean - title: Incident Log Entries Overview - description: - If true, will return a subset of log entries that show only the - most important changes to the incident. - default: true - default_severity: - type: string - title: Severity category - description: A default severity category if not present - examples: - - Sev1 - - Sev2 - - Sev3 - - Sev4 - - Sev5 - - Custom - pattern: "^(Sev[0-5])?(Custom)?$" - exclude_services: - type: array - items: - type: string - title: Exclude Services - examples: - - service-1 - - service-2 - description: - List of PagerDuty service names to ignore incidents from. If not - set, all incidents will be pulled. - service_details: - type: array - items: - type: string - enum: - - escalation_policies - - teams - - integrations - - auto_pause_notifications_parameters - title: Service Details - description: List of PagerDuty service additional details to include. - max_retries: - type: integer - minimum: 0 - maximum: 8 - default: 5 - title: Max Retries - description: - Maximum number of PagerDuty API request retries to perform upon - connection errors. The source will pause for an exponentially increasing number - of seconds before retrying. diff --git a/docs/integrations/sources/pagerduty.md b/docs/integrations/sources/pagerduty.md index 133c9ab5cda5..9610e3cce378 100644 --- a/docs/integrations/sources/pagerduty.md +++ b/docs/integrations/sources/pagerduty.md @@ -53,6 +53,7 @@ Key](https://support.pagerduty.com/docs/generating-api-keys#section-generating-a | Version | Date | Pull Request | Subject | | :------ | :--------- | :------------------------------------------------------------- | :----------------------------------- | +| 0.2.3 | 2024-06-12 | [39115](https://github.com/airbytehq/airbyte/pull/39115) | Make compatible with builder | | 0.2.2 | 2024-06-06 | [39169](https://github.com/airbytehq/airbyte/pull/39169) | [autopull] Upgrade base image to v1.2.2 | | 0.2.1 | 2024-05-20 | [38429](https://github.com/airbytehq/airbyte/pull/38429) | [autopull] base image + poetry + up_to_date | | 0.2.0 | 2023-10-20 | [31160](https://github.com/airbytehq/airbyte/pull/31160) | Migrate to low code |