Files
d1f0bebd9f feat(fabricitem): add processing_mode to resources with definition (#506)
# 📥 Pull Request

## ✨ Description of new changes

This PR adds support for `processing_mode` to resources with
definitions, introducing two new processing modes alongside the existing
GoTemplate mode: "Parameters" for JSONPath-based replacements and "None"
for raw file content. The feature provides flexible template/content
substitution mechanisms for Fabric item definitions.

- Adds three processing modes: GoTemplate (default), Parameters (with
FindReplace and KeyValueReplace types), and None
- Introduces configurable token delimiters (`{{}}`, `<<>>`, `@{}@`,
`____`) for GoTemplate mode
- Implements JSONPath-based replacement using the ojg library for
KeyValueReplace parameter type

## ☑️ 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:

- [ ] 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)

---------

Co-authored-by: Badea Marjieh <badeamarjieh@microsoft.com>
Co-authored-by: Badea Marjieh <127952241+badeamarjieh@users.noreply.github.com>
2025-11-30 10:51:47 +02:00
..