Skip to content

feat: AZD AI Template validation - devcontainers + azure-dev action#7

Merged
sethsteenken merged 20 commits into
mainfrom
agh-ai-template-validation
Dec 1, 2025
Merged

feat: AZD AI Template validation - devcontainers + azure-dev action#7
sethsteenken merged 20 commits into
mainfrom
agh-ai-template-validation

Conversation

@alguadam

@alguadam alguadam commented Dec 1, 2025

Copy link
Copy Markdown
Collaborator

Purpose

This pull request addresses all requirements to pass AZD AI Template Validation requirements

CI/CD and Workflow Changes:

  • Updated environment and resource group naming conventions in .github/workflows/azure-dev.yml and .github/workflows/azd-ai-template-validation.yml to use suffixes (d for dev, val for validation) and simplified environment variable usage.
  • Improved deployment summary output in the Azure Dev workflow to provide clearer resource tables, portal links, and next steps, while removing hardcoded resource names and unnecessary variables.

Configuration and Template Updates:

  • Added support for specifying FABRIC_WORKSPACE_ADMINISTRATORS as an environment variable, allowing users to provide a comma-separated list of workspace administrators.
  • Renamed the solution in azure.yaml to "real-time-intelligence-operations-solution-accelerator" and added template metadata for clarity and discoverability.
  • Changed the cleanup hook scripts in azure.yaml to use delete_fabric_rti.py instead of remove_fabric_rti.py for environment teardown.

Documentation Improvements:

  • Updated deployment instructions and repository references in docs/DeploymentGuide.md to point to the correct GitHub repository and reflect the new configuration options, including workspace administrators.
  • Clarified the deployment phases, environment cleanup process, and configuration table to document the new FABRIC_WORKSPACE_ADMINISTRATORS variable and the new cleanup script.

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
  • Test the code

Locally:

azd up

Manual trigger of all available actions

What to Check

Verify that the following are valid

  • All deployments work - local, dev containers, actions

Other Information

…onality for eventhub connection removal; add helper functions for API interactions
…al script to provide detailed summary of operations and handle failures gracefully
- Deleted the fabric_rti_helper.py file as its functionality has been refactored and distributed across multiple new modules.
- Introduced fabric_auth.py for authentication handling with the Fabric API.
- Created fabric_common_utils.py for common utility functions used across the Fabric scripts.
- Modularized connection deletion into fabric_connection_delete.py, providing functions to delete connections by name or ID.
- Modularized workspace deletion into fabric_workspace_delete.py, providing functions to look up and delete workspaces by name or ID.
- Updated remove_fabric_rti.py to utilize the new modular structure, improving readability and maintainability.
- Enhanced error handling and logging across all modules for better debugging and user feedback.
- Updated error messages across various scripts to provide clearer context and consistency.
- Simplified authentication and connection logic in `fabric_auth.py`, `fabric_connection_delete.py`, and `fabric_workspace_delete.py`.
- Enhanced user feedback in `fabric_eventhub.py`, `fabric_eventhouse.py`, and `fabric_eventstream.py` to indicate success or failure of operations.
- Consolidated redundant code and improved readability in multiple scripts.
- Added detailed module descriptions and usage examples for better documentation.
- Updated `create_activator`, `update_activator_definition`, `setup_eventhouse`, `create_eventstream`, `update_eventstream_definition`, and `setup_real_time_dashboard` functions to accept `FabricWorkspaceApiClient` instances instead of workspace IDs.
- Introduced `authenticate_workspace` function in `fabric_auth.py` to handle workspace-specific authentication.
- Added a new script `fabric_workspace_admins.py` for managing workspace administrators, supporting both UPNs and object IDs.
- Enhanced error handling and logging across scripts for better clarity and debugging.
- Removed unused parameters and streamlined API client initialization.
- Renamed output variable for Fabric Capacity Admin members in Bicep file for clarity.
- Removed deprecated Python script for adding Fabric workspace administrators and replaced it with a new script that supports CSV input for admin identifiers.
- Updated deployment script to reflect changes in output variable names.
- Consolidated workspace administrator setup logic to streamline the process and improve error handling.
- Added new script for deleting Fabric workspaces, ensuring proper orchestration of removal functions.
- Updated PowerShell script to reference the new delete Fabric RTI script instead of the removed one.
Comment thread infra/scripts/fabric/fabric_eventstream.py Outdated
Comment thread infra/scripts/fabric/fabric_real_time_dashboard.py Outdated
Comment thread infra/scripts/fabric/fabric_auth.py Outdated
…rating workspace authentication in eventstream and dashboard scripts
@sethsteenken sethsteenken merged commit 644ff0c into main Dec 1, 2025
2 checks passed
@alguadam alguadam deleted the agh-ai-template-validation branch December 2, 2025 15:40
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants