Skip to content

Conversation

leggetter
Copy link
Collaborator

No description provided.

@Copilot Copilot AI review requested due to automatic review settings October 9, 2025 15:10
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Google Cloud Platform (GCP) Pub/Sub as a destination type, including comprehensive configuration and credentials schemas for the OpenAPI specification.

  • Defines GCP Pub/Sub configuration schema with project ID, topic name, and optional endpoint
  • Adds service account JSON credentials schema for authentication
  • Integrates GCP Pub/Sub into polymorphic destination schemas for create, read, and update operations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

DestinationGCPPubSub:
type: object
# Properties duplicated from DestinationBase
required: [id, type, topics, config, credentials, created_at, disabled_at]
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'disabled_at' field should not be required since it can be null when the destination is enabled. Consider removing it from the required array or making it optional.

Suggested change
required: [id, type, topics, config, credentials, created_at, disabled_at]
required: [id, type, topics, config, credentials, created_at]

Copilot uses AI. Check for mistakes.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is consistent with other destination types

Copy link

vercel bot commented Oct 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
outpost-docs Ready Ready Preview Comment Oct 9, 2025 3:57pm
outpost-website Ready Ready Preview Comment Oct 9, 2025 3:57pm

@leggetter leggetter changed the title feat: add GCP Pub/Sub destination support with configuration and credntials schemas feat: add GCP Pub/Sub destination support with configuration and credentials schemas Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant