Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: DigitalTwin module - Merging originally splitted variants of child-modules into a single instance #4131

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from

Conversation

AlexanderSehr
Copy link
Contributor

@AlexanderSehr AlexanderSehr commented Jan 7, 2025

Description

  • Updated UDTs to latest AVM specs
  • Merged the 3 child modules
    • endpoint--event-grid
    • endpoint--event-hub
    • endpoint--service-bus
      Into a single endpoint module making heavy use of UDTs & discriminators
  • Added additional test cases for key-based & identity-based authentication
  • Simplified the interface
  • Aligned diverse properties to AVM specs
  • Added UDTs across the board

NOTE: Dependent on Azure/bicep-types-az#2262 to be addressed. May require the PG to be involved.

Pipeline Reference

Pipeline
avm.res.digital-twins.digital-twins-instance

Type of Change

  • Update to CI Environment or utilities (Non-module affecting changes)
  • Azure Verified Module updates:
    • Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:
      • Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
      • The bug was found by the module author, and no one has opened an issue to report it yet.
    • Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
    • Breaking changes and I have bumped the MAJOR version in version.json.
    • Update to documentation

@AlexanderSehr AlexanderSehr self-assigned this Jan 7, 2025
@AlexanderSehr AlexanderSehr added Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue Needs: Module Owner 📣 This module needs an owner to develop or maintain it Class: Resource Module 📦 This is a resource module labels Jan 7, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Triage 🔍 Maintainers need to triage still label Jan 7, 2025
Comment on lines +214 to +215
# resourceLocation = '${{ steps.get-resource-location.outputs.resourceLocation }}'
resourceLocation = 'eastus'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
# resourceLocation = '${{ steps.get-resource-location.outputs.resourceLocation }}'
resourceLocation = 'eastus'
resourceLocation = '${{ steps.get-resource-location.outputs.resourceLocation }}'

once done with the PR...

Comment on lines +294 to +295
# resourceLocation = '${{ steps.get-resource-location.outputs.resourceLocation }}'
resourceLocation = 'eastus'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
# resourceLocation = '${{ steps.get-resource-location.outputs.resourceLocation }}'
resourceLocation = 'eastus'
resourceLocation = '${{ steps.get-resource-location.outputs.resourceLocation }}'

once done with the PR...

Comment on lines +85 to +87
# moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}"
moduleTestFilePaths: "[{\"path\":\"tests/e2e/max/main.test.bicep\",\"name\":\"max\"}]"
# moduleTestFilePaths: "[{\"path\":\"tests/e2e/testMe/main.test.bicep\",\"name\":\"testMe\"}]"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
# moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}"
moduleTestFilePaths: "[{\"path\":\"tests/e2e/max/main.test.bicep\",\"name\":\"max\"}]"
# moduleTestFilePaths: "[{\"path\":\"tests/e2e/testMe/main.test.bicep\",\"name\":\"testMe\"}]"
moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}"

once done with the PR...

@@ -428,7 +428,7 @@ function New-TemplateDeployment {
[switch] $DoNotThrow,

[Parameter(Mandatory = $false)]
[int] $RetryLimit = 3,
[int] $RetryLimit = 1,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
[int] $RetryLimit = 1,
[int] $RetryLimit = 3,

once done with the PR...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be removed once PR is ready...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be removed or renamed (including metadata) once PR is done...

@AlexanderSehr AlexanderSehr removed the Needs: Triage 🔍 Maintainers need to triage still label Jan 7, 2025
@AlexanderSehr AlexanderSehr changed the title feat: Digitaltwin module - Merging originally splitted variants of child-modules into a single instance feat: DigitalTwin module - Merging originally splitted variants of child-modules into a single instance Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Class: Resource Module 📦 This is a resource module Needs: Module Owner 📣 This module needs an owner to develop or maintain it Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant