Files
564cb133d8 fix(Eventstream): Allow both Eventstream definition paths (#1126)
# 📥 Pull Request

## ❓ What are you trying to address

Eventstream definitions containing both documented files are rejected by
a one-entry map limit. Tracked in
[#788](https://github.com/microsoft/terraform-provider-fabric/issues/788).
Closes #550 

## ✨ Description of new changes

- **Validation:** Allow two definition entries while retaining filename
validation and single-file compatibility.
- **Regression coverage:** Add unit tests for `eventstream.json` alone
and together with `eventstreamProperties.json`, checking entry counts
and source paths.

## ☑️ PR Checklist

- [x] Link to the issue you are addressing is included above
- [x] Ensure the PR description clearly describes the feature you're
adding and any known limitations

## ☑️ Resources / Data Sources Checklist

PRs for new/enhanced resources or data sources are expected to meet the
following criteria:

- [x] Production quality implementation of the resource or data-source
in [./internal/services](./internal/services)
- [ ] Unit Tests and Acceptance Tests for your contribution in
[./internal/services/<service_name>](./internal/services)
  - [ ] Tests should pass and provide >80% coverage of your contribution
- [ ] Examples for your contribution in [./examples](./examples) (see
[Terraform Documentation on
examples](https://developer.hashicorp.com/terraform/tutorials/providers-plugin-framework/providers-plugin-framework-documentation-generation#add-configuration-examples))
- [ ] [Schema
descriptions](https://developer.hashicorp.com/terraform/tutorials/providers-plugin-framework/providers-plugin-framework-documentation-generation#add-schema-descriptions)
for your resource or data-source in
[./internal/services](./internal/services)
- [ ] Docs templates in [./templates](./templates)
- [ ] Updated auto-generated documentation in [./docs](./docs). (DO NOT
manually edit [./docs](./docs) - your updates will be overwritten)

<!-- START COPILOT CODING AGENT SUFFIX -->

- Fixes #788

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: OrBaubergMicrosoft <148867472+OrBaubergMicrosoft@users.noreply.github.com>
Co-authored-by: Or Bauberg <orbauberg@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-26 16:37:51 +02:00

89 lines
4.1 KiB
AMPL

module github.com/microsoft/terraform-provider-fabric
go 1.27.3
require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.2
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.1
github.com/dcarbone/terraform-plugin-framework-utils/v3 v3.9.0
github.com/go-sprout/sprout v1.0.3
github.com/google/go-cmp v0.7.0
github.com/hashicorp/go-hclog v1.6.3
github.com/hashicorp/go-uuid v1.0.3
github.com/hashicorp/terraform-plugin-framework v1.19.0
github.com/hashicorp/terraform-plugin-framework-jsontypes v0.2.0
github.com/hashicorp/terraform-plugin-framework-timeouts v0.7.0
github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0
github.com/hashicorp/terraform-plugin-framework-validators v0.19.0
github.com/hashicorp/terraform-plugin-go v0.31.0
github.com/hashicorp/terraform-plugin-log v0.11.0
github.com/hashicorp/terraform-plugin-testing v1.16.0
github.com/microsoft/fabric-sdk-go v0.21.0
github.com/ohler55/ojg v1.28.4
github.com/orange-cloudavenue/terraform-plugin-framework-superschema v1.12.0
github.com/orange-cloudavenue/terraform-plugin-framework-supertypes v1.2.0
github.com/orange-cloudavenue/terraform-plugin-framework-validators v1.17.0
github.com/stretchr/testify v1.12.1
software.sslmate.com/src/go-pkcs12 v0.7.3
)
require (
dario.cat/mergo v1.0.2 // indirect
github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 // indirect
github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0 // indirect
github.com/Masterminds/semver/v3 v3.4.0 // indirect
github.com/ProtonMail/go-crypto v1.4.1 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/cloudflare/circl v1.6.3 // indirect
github.com/fatih/color v1.19.0 // indirect
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-cty v1.5.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.7.0 // indirect
github.com/hashicorp/go-retryablehttp v0.7.8 // indirect
github.com/hashicorp/go-version v1.9.0 // indirect
github.com/hashicorp/hc-install v0.9.4 // indirect
github.com/hashicorp/hcl/v2 v2.24.0 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-exec v0.25.1 // indirect
github.com/hashicorp/terraform-json v0.27.2 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.40.0 // indirect
github.com/hashicorp/terraform-registry-address v0.4.0 // indirect
github.com/hashicorp/terraform-svchost v0.2.1 // indirect
github.com/hashicorp/yamux v0.1.2 // indirect
github.com/iancoleman/strcase v0.3.0 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/mattn/go-colorable v0.1.15 // indirect
github.com/mattn/go-isatty v0.0.22 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/oklog/run v1.2.0 // indirect
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/zclconf/go-cty v1.18.1 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/crypto v0.55.0 // indirect
golang.org/x/mod v0.38.0 // indirect
golang.org/x/net v0.58.0 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/sys v0.47.0 // indirect
golang.org/x/text v0.41.0 // indirect
golang.org/x/tools v0.48.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa // indirect
google.golang.org/grpc v1.83.2 // indirect
google.golang.org/protobuf v1.36.11 // indirect
)