-
Notifications
You must be signed in to change notification settings - Fork 5
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
BREAKING CHANGE: Identity and Resource Refactor and Update #36
BREAKING CHANGE: Identity and Resource Refactor and Update #36
Conversation
Added Add-xAzDoOrganizationGroup
Refactor Code within LCM into Playbook Updated logic to include DependsOn
Adding Verbose Logging
Update Configuration
Disabling Unused Tests Adding additional Verbose logging
Adding Logging Fixed bug where identities are being added to the wrong cache Replaced AzDOAPI_0_ProjectCache / Refresh-AzDoCache
I noticed that the resources have ’x’ prefix, we can remove that as it is no longer used. We are actively trying to remove the ’x’ from module names and resources throughout the DSC Community. But it can be done in another PR too. Impressive work on this one PR 😊 |
@ZanattaMichael was this meant to move out of draft or are you still working on this? |
Still working on it. I need to do some work refactoring the code structure to be in line with the coding guidelines..
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Johan Ljunggren ***@***.***>
Sent: Monday, September 30, 2024 12:14:32 AM
To: dsccommunity/AzureDevOpsDsc ***@***.***>
Cc: Michael Zanatta ***@***.***>; Mention ***@***.***>
Subject: Re: [dsccommunity/AzureDevOpsDsc] BREAKING CHANGE: Identity and Resource Refactor and Update (PR #36)
@ZanattaMichael<https://github.com/ZanattaMichael> was this meant to move out of draft or are you still working on this?
—
Reply to this email directly, view it on GitHub<#36 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AF7JW5EP6NGTMP6PRSXQTO3ZZADMRAVCNFSM6AAAAABI2K23W2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGM3TIMRQGM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Ideally I wanna break this into smaller PR's as not to have PR Review Fatigue on this codebase (which I also didn't write so there is compounded fatigue at play here) @ZanattaMichael what TimeZone you in? I'm UTC +1 atm but around all sorts of hours due to insomnia. Would be good if possible to schedule some pair programming time around this to spilt it and then get this over the line & see if there is a way that we can pack this as a non-breaking change if at all possible. If we aren't using classes in this we should do & we also need to in longer term look at #27 & pull out the work I identified for #33 that I never got round to doing in 2022 & thanks to @SphenicPaul for the initial commits. as I suddenly lost my dad to cancer & this was meant to be a repo for presenting about at PSConfEU that year, which went out the window. |
I'm sorry to hear for your loss. https://www.timeanddate.com/worldclock/meetingtime.html?iso=20240930&p1=47&p2=136 I'm not sure that can be done since the authentication mechanism in this module was coupled directly to the resource meaning you would need to specify the PAT token for each resource call. This change abstracts the change outside of the module to be called prior to calling the LCM using Another idea for this module is to approach it like how @nohwnd moved between pester 4.0 and 5.0. From a branch perspective, we could cut a preview version branch that has the new changes and then release a preview. |
Is morning your time best for you? Any particular day suit at all? We shouldn't need to intro it a a breaking change unless there is a change in the underlying API's we'd be using that merits it or we have to drop support for a particular version of the hosted version. Also the less overhead here the better for the management, as long as we keep in line with other DSC Community Modules & the processes used across them all, which is yet another thing that I need to brush up on |
Mornings are better for me. Let's put this on hold, the coming weeks are going to be chaotic with gardening, and my daughters birthday party. Ideally I wanted the authentication mechanism to be similar to Terraform's model with a Cert, however DSC doesn't support other resources types. The version that I was working on for work was going to use a custom LCM which uses |
Pull Request (PR) description
The following pull request performs a major rework of the identity and resources of the module.
New-AzDoAuthenticationProvider
AzDevOpsProject
toxAzDevOpsProject
Task list
This Pull Request is currently in draft form and will be updated as more resources and features are added.
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
This change is