Skip to content

feat(eventstream_destination_connection): add new fabric_eventstream_destination_connection data source and ephermal resource#936

Open
CatalinDabuleanu wants to merge 7 commits intomainfrom
catalindabuleanu/eventstream_destination_connection
Open

feat(eventstream_destination_connection): add new fabric_eventstream_destination_connection data source and ephermal resource#936
CatalinDabuleanu wants to merge 7 commits intomainfrom
catalindabuleanu/eventstream_destination_connection

Conversation

@CatalinDabuleanu
Copy link
Copy Markdown
Contributor

📥 Pull Request

❓ What are you trying to address

Added new ephermal resource and data source for fabric_eventstream_destination_connection

This closes #825 and #826

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 20, 2026

Changelog Preview

v1.9.2-dev - April 20, 2026

✨ Added

  • #825 Added new data source fabric_eventstream_destination_connection
  • #826 Added new ephemeral resource fabric_eventstream_destination_connection

🪲 Fixed

  • #910 Fixed an issue where v1.9.0 could fail to install with OpenTofu due to a checksum mismatch; OpenTofu users should upgrade to v1.9.1 or later.

@CatalinDabuleanu CatalinDabuleanu changed the title Catalindabuleanu/eventstream destination connection feat(eventstream_destination_connection): add new fabric_eventstream_destination_connection data source and ephermal resource Apr 20, 2026
Copy link
Copy Markdown
Contributor

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

Adds support for reading Fabric Eventstream destination connection details via a new preview data source and ephemeral resource, including provider registration, docs/examples, and test fixtures used by unit/acceptance tests.

Changes:

  • Introduces fabric_eventstream_destination_connection as a preview data source and ephemeral resource backed by the Fabric Eventstream Topology client.
  • Adds unit + acceptance tests, plus fake server handlers/fixtures for destination connection responses.
  • Updates well-known test setup, examples, generated docs, and changelog entries.

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tools/scripts/Set-WellKnown.ps1 Captures destination connection details into the well-known test data set.
internal/testhelp/fixtures/eventstream/eventstream.json.tmpl Updates Eventstream topology fixture to include a CustomEndpoint destination.
internal/services/eventstreamdestinationconnection/base.go Declares TF type metadata for the new item (preview).
internal/services/eventstreamdestinationconnection/models.go Adds state models and mapping from SDK response into TF types.
internal/services/eventstreamdestinationconnection/data_evenstream_destination_connection.go Implements the data source read flow and schema.
internal/services/eventstreamdestinationconnection/ephemeral_evenstream_destination_connection.go Implements the ephemeral resource open flow and schema.
internal/services/eventstreamdestinationconnection/base_test.go Exposes shared type info for tests.
internal/services/eventstreamdestinationconnection/fake_test.go Adds fake responder + random entity generator for unit tests.
internal/services/eventstreamdestinationconnection/data_evenstream_destination_connection_test.go Unit + acceptance tests for the data source.
internal/services/eventstreamdestinationconnection/ephemeral_evenstream_destination_connection_test.go Unit + acceptance tests for the ephemeral resource.
internal/provider/provider.go Registers the new data source and ephemeral resource in the provider.
examples/data-sources/fabric_eventstream_destination_connection/providers.tf Data source example provider config.
examples/data-sources/fabric_eventstream_destination_connection/data-source.tf Data source example usage.
examples/data-sources/fabric_eventstream_destination_connection/outputs.tf Data source example output.
examples/ephemerals/fabric_eventstream_destination_connection/providers.tf Ephemeral example provider config.
examples/ephemerals/fabric_eventstream_destination_connection/ephemeral.tf Ephemeral example usage.
examples/ephemerals/fabric_eventstream_destination_connection/outputs.tf Ephemeral example output.
docs/data-sources/eventstream_destination_connection.md Generated docs for the new data source.
docs/ephemeral-resources/eventstream_destination_connection.md Generated docs for the new ephemeral resource.
.changes/unreleased/added-20260416-100219.yaml Changelog entry for the new data source.
.changes/unreleased/added-20260416-100247.yaml Changelog entry for the new ephemeral resource.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread internal/testhelp/fixtures/eventstream/eventstream.json.tmpl
Comment thread .changes/unreleased/added-20260416-100247.yaml
Comment thread .changes/unreleased/added-20260416-100247.yaml Outdated
Comment thread .changes/unreleased/added-20260416-100219.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

[DS] onboard data-source eventstream destination connection

3 participants