-
Notifications
You must be signed in to change notification settings - Fork 15
Unification api and tokens #54
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
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
eae0e84
Removed debug messages for token validation in various scripts (it al…
NowinskiK 2625e67
Replaced Invoke-PowerBIRestMethod & Invoke-RestMethod by Invoke-Fabri…
NowinskiK 733b618
Merge branch 'develop' into unification-api-and-tokens
SQLDBAWithABeard 6b3ce09
Merge branch 'develop' into unification-api-and-tokens
NowinskiK 2475089
Fix: Renamed BaseURI to Uri for all calls of Invoke-FabricRestMethod #44
NowinskiK ddf939d
Resolved 3 warnings from ScriptAnalyzer
NowinskiK 2384165
Merge branch 'develop' into unification-api-and-tokens
NowinskiK 12c7b64
Added unit test for Invoke-FabricRestMethod #44
NowinskiK f480462
$Body parameter also should be used, right?
NowinskiK f202c2d
Removed `Invoke-FabricAPIRequest` and replaced it by `Invoke-FabricRe…
NowinskiK 6355342
changelog
NowinskiK 391e2a0
Removed FabricToken from global FabricSession variable and Token from…
NowinskiK 1a773c8
Added Update-FabricToken function
NowinskiK a9cf935
Removed Set-FabricAuthToken and replaced it with Connect-FabricAccount
NowinskiK 0d9636c
Get-FabricAuthToken returns token only
NowinskiK c95dd7d
Renamed TenantIdGlobal to TenantId
NowinskiK 3c52780
- Removed `Confirm-FabricAuthToken` and extended existing `Test-Token…
NowinskiK 9b64035
Fixed warnings from ScriptAnalyzer for Invoke-FabricRestMethodExtended
NowinskiK c3f5b83
Fixed UnitTest for Connect-FabricAccount
NowinskiK 62d273d
Refactor Update-FabricToken to support ShouldProcess and add missing …
NowinskiK 09a3c31
CodeCoverageThreshold = 0.30 for now
NowinskiK 8821041
Avoid duplicated execution of Test-TokenExpired as it's executed on p…
NowinskiK 4f6edf7
Update Az.Accounts module version to avoid errors
SQLDBAWithABeard dc77cad
Clarify commit message instructions for Pester tests
SQLDBAWithABeard e41c361
Add "TestTokenExpired" to expected parameters
SQLDBAWithABeard 13942b5
because 2019 on the runner is deprecated
SQLDBAWithABeard 730a952
Update CONTRIBUTING.md for clearer development guidelines
SQLDBAWithABeard d86d542
Body parameter - This can be a hashtable or a string. If a hashtable …
NowinskiK cd5f3c9
Merge branch 'unification-api-and-tokens' of https://github.com/datap…
NowinskiK 3870c54
Added Credits
NowinskiK 5e17dcc
Fixed links to fabricps-pbip
NowinskiK 01e51dd
Set CmdletBinding ConfirmImpact to 'High' for safety
jpomfret a9e0118
adding Balabuch to the cSpell allowed words
jpomfret dab6ccf
Set CmdletBinding ConfirmImpact to 'High' for safety
jpomfret bfc9334
spacing and white space changes
jpomfret ce32738
Remove unnecessary code (write-Message)
NowinskiK afedb29
Merge branch 'unification-api-and-tokens' of https://github.com/datap…
NowinskiK 3e68e5c
Update source/Public/Invoke-FabricRestMethod.ps1
NowinskiK 8bfa71f
Update source/FabricTools.psd1
NowinskiK 4f0a996
use `$FabricConfig.BaseUrl` to avoid a hard-coded base URL.
NowinskiK 26b8d96
Fixed comments
NowinskiK 1106839
More elegant way to decode token to plain text needed for request's h…
NowinskiK 8e23ccd
Fixed auto-refresh token feature being used in Test-TokenExpired
NowinskiK 9f4f1e9
Invoke-FabricRestMethod can execute PowerBI API when needed
NowinskiK 103935d
Get-FabricDatasetRefreshes must use PowerBI API
NowinskiK 96f67ef
Fixed test for Invoke-FabricRestMethod (new param)
NowinskiK 3084bd8
Renamed Test-TokenExpired -> Confirm-TokenState and deleted Update-To…
NowinskiK File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -104,7 +104,7 @@ Pester: | |
| # - FunctionalQuality | ||
| # - TestQuality | ||
| Tag: | ||
| CodeCoverageThreshold: 0.35 # 85 # Set to 0 to bypass | ||
| CodeCoverageThreshold: 0.30 # 85 # Set to 0 to bypass | ||
| #CodeCoverageOutputFile: JaCoCo_$OsShortName.xml | ||
| #CodeCoverageOutputFileEncoding: ascii | ||
| # Use this if code coverage should be merged from several pipeline test jobs. | ||
|
|
@@ -157,4 +157,3 @@ ChangelogConfig: | |
| GitConfig: | ||
| UserName: Automation Bot | ||
| UserEmail: [email protected] | ||
|
|
||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,12 +1,25 @@ | ||
| $path = ".\FabricTools\public" | ||
| $path = ".\source\public" | ||
| $op = Get-ChildItem -Path $path -Recurse -Filter *.ps1 | Select-Object -ExpandProperty Name | Sort-Object | ||
| #$op = $op | ForEach-Object { " ""$_""," } | ||
| $op | Out-File '.\Output\FunctionList-main-public.txt' | ||
|
|
||
| $path = ".\FabricTools\tiago\public" | ||
| $tp = Get-ChildItem -Path $path -Recurse -Filter *.ps1 | Select-Object -ExpandProperty Name | Sort-Object | ||
| $tp | Out-File '.\Output\FunctionList-tiago-public.txt' | ||
| # Author Table | ||
| # This script generates a table of PowerShell script authors from the specified directory. | ||
| $authorTable = @{} | ||
| $op | ForEach-Object { | ||
| $file = $_.FullName | ||
| $name = $_.Name | ||
| $content = Get-Content $file | ||
| $authorLine = $content | Where-Object { $_ -match 'Author:\s*(.+)' } | Select-Object -First 1 | ||
| if ($authorLine -match 'Author:\s*(.+)') { | ||
| $author = $matches[1].Trim() | ||
| $authorTable[$name] = $author | ||
| } else { | ||
| $authorTable[$name] = $null | ||
| } | ||
| } | ||
| $authorTable | ||
|
|
||
| $common = Compare-Object -ReferenceObject $op -DifferenceObject $tp -IncludeEqual -ExcludeDifferent | Select-Object -ExpandProperty InputObject | ||
| $common | ||
| $common | Out-File '.\Output\FunctionList-public-collision.txt' | ||
| ## Not a singular name option for functions (#26) | ||
| Get-Command -Module FabricTools |where Name -like '*s' | ||
| Get-Command -Module FabricTools|ForEach-Object { $name = $_.Name; $_.Parameters.Values | Where Name -like '*s' | Select @{N='FunctionName';E={$Name}},Name} |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.