-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor using implicit principal and vault based config (#3751)
* Refactor using implicit principal and vault based config * Cleanup logging and skipping logic in Processor. Use bulk github user mapping api. * Avoid using arrays with IConfiguration * Improve logging in GitHubToAADConverter and pipeline owner extractor
- Loading branch information
Showing
19 changed files
with
533 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tools/identity-resolution/Models/OpenSourcePortal/AadUserDetail.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace Models.OpenSourcePortal | ||
{ | ||
public class AadUserDetail | ||
{ | ||
public string Alias { get; set; } | ||
|
||
public string PreferredName { get; set; } | ||
|
||
public string UserPrincipalName { get; set; } | ||
|
||
public string Id { get; set; } | ||
|
||
public string EmailAddress { get; set; } | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
tools/identity-resolution/Models/OpenSourcePortal/GitHubUserDetail.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace Models.OpenSourcePortal | ||
{ | ||
public class GitHubUserDetail | ||
{ | ||
public int Id { get; set; } | ||
|
||
public string Login { get; set; } | ||
|
||
public string[] Organizations { get; set; } | ||
|
||
public string Avatar { get; set; } | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
tools/identity-resolution/Models/OpenSourcePortal/UserLink.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace Models.OpenSourcePortal | ||
{ | ||
public class UserLink | ||
{ | ||
public GitHubUserDetail GitHub { get; set; } | ||
|
||
public AadUserDetail Aad { get; set; } | ||
|
||
public bool IsServiceAccount { get; set; } | ||
|
||
public string ServiceAccountContact { get; set; } | ||
} | ||
} |
19 changes: 0 additions & 19 deletions
19
tools/pipeline-codeowners-extractor/Azure.Sdk.Tools.PipelineCodeownerExtractor.csproj
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.