Skip to content

2025-04-11 - BryanSoltis - v4.3.2 Updates#148

Merged
BryanSoltis merged 9 commits into
mainfrom
dev
Apr 14, 2025
Merged

2025-04-11 - BryanSoltis - v4.3.2 Updates#148
BryanSoltis merged 9 commits into
mainfrom
dev

Conversation

@BryanSoltis
Copy link
Copy Markdown
Contributor

FEATURES

  • Added NameGenerationAPIKey for Name Generation API Access
  • Updated API responses to return create/updated object

BUG FIXES

  • Updated Nuget packages
  • Updated tool version configuration

AI Summary

This pull request introduces the addition of a new API key specifically for name generation functionality. It includes changes to various files to support the management and validation of this new API key.

Key Changes:

API Key Management Enhancements:

  • Added a new NameGenerationAPIKey property to the ConfigurationData and SiteConfiguration models (src/Models/ConfigurationData.cs, src/Models/SiteConfiguration.cs) [1] [2].
  • Updated the ApiKeyAttribute class to validate the NameGenerationAPIKey for GET and POST requests (src/Attributes/ApiKeyAttribute.cs) [1] [2] [3].

Admin Interface Updates:

  • Modified the Admin.razor component to include UI elements for updating and generating the NameGenerationAPIKey (src/Components/Pages/Admin.razor) [1] [2] [3] [4] [5].

Service and Controller Adjustments:

  • Added methods to the AdminController for updating and generating the NameGenerationAPIKey (src/Controllers/AdminController.cs).
  • Updated the AdminService to handle the new NameGenerationAPIKey (src/Services/AdminService.cs) [1] [2].

Miscellaneous Updates:

  • Updated project dependencies in AzureNamingTool.csproj to their latest versions (src/AzureNamingTool.csproj) [1] [2].
  • Ensured encryption of the NameGenerationAPIKey during configuration setup (src/Helpers/ConfigurationHelper.cs).
  • Added initialization for NameGenerationAPIKey in MainLayout.razor and PasswordModal.razor components (src/Components/Layout/MainLayout.razor, src/Components/Modals/PasswordModal.razor) [1] [2].

Bryan Soltis and others added 4 commits April 9, 2025 10:46
- Added NameGenerationAPIKey to allow API access
- Updated tool version configuration
- Updated API responses for POST to be created/updated object
2025-04-14 - BryanSoltis - v4.3.2 Updates
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.

Copilot reviewed 23 out of 24 changed files in this pull request and generated 8 comments.

Files not reviewed (1)
  • src/AzureNamingTool.csproj: Language not supported

Comment thread src/Services/ResourceProjAppSvcService.cs Outdated
Comment thread src/Services/ResourceOrgService.cs Outdated
Comment thread src/Services/ResourceLocationService.cs Outdated
Comment thread src/Services/ResourceFunctionService.cs Outdated
Comment thread src/Services/ResourceEnvironmentService.cs Outdated
Comment thread src/Services/ResourceComponentService.cs Outdated
Comment thread src/Services/CustomComponentService.cs Outdated
Comment thread src/Components/Pages/Admin.razor Outdated
@BryanSoltis BryanSoltis merged commit 2aa55ec into main Apr 14, 2025
3 checks passed
BryanSoltis added a commit to BryanSoltis/AzureNamingTool-DEV that referenced this pull request Dec 8, 2025
2025-04-11 - BryanSoltis - v4.3.2 Updates
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.

2 participants