diff --git a/PowerShell/JumpCloud Module/JumpCloud.psd1 b/PowerShell/JumpCloud Module/JumpCloud.psd1 index c8a9d92e8..45b930302 100755 --- a/PowerShell/JumpCloud Module/JumpCloud.psd1 +++ b/PowerShell/JumpCloud Module/JumpCloud.psd1 @@ -3,7 +3,7 @@ # # Generated by: JumpCloud Solutions Architect Team # -# Generated on: 6/25/2020 +# Generated on: 7/9/2020 # @{ @@ -12,7 +12,7 @@ RootModule = 'JumpCloud.psm1' # Version number of this module. -ModuleVersion = '1.17.3' +ModuleVersion = '1.17.4' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/PowerShell/JumpCloud Module/Private/NestedFunctions/JCTypes.json b/PowerShell/JumpCloud Module/Private/NestedFunctions/JCTypes.json index 2ef9271b9..105a9f5d9 100755 --- a/PowerShell/JumpCloud Module/Private/NestedFunctions/JCTypes.json +++ b/PowerShell/JumpCloud Module/Private/NestedFunctions/JCTypes.json @@ -1137,26 +1137,6 @@ "eq" ] }, - { - "Table": "registry", - "Url": { - "List": "/api/v2/systeminsights/registry", - "Item": "/api/v2/systeminsights/registry?filter=system_id:eq:{system_id}", - "Variables": [ - "{system_id}" - ] - }, - "Method": "GET", - "ById": "system_id", - "ByName": "key", - "Paginate": true, - "SupportRegexFilter": false, - "Limit": 100, - "Skip": 0, - "FilterOperators": [ - "eq" - ] - }, { "Table": "scheduled_tasks", "Url": { @@ -1328,7 +1308,7 @@ }, "Method": "GET", "ById": "system_id", - "ByName": "", + "ByName": "Name", "Paginate": true, "SupportRegexFilter": false, "Limit": 100, diff --git a/PowerShell/JumpCloud Module/Tests/Public/Association/Get-JCAssociation.Tests.ps1 b/PowerShell/JumpCloud Module/Tests/Public/Association/Get-JCAssociation.Tests.ps1 index 9d3411ef7..73950147f 100644 --- a/PowerShell/JumpCloud Module/Tests/Public/Association/Get-JCAssociation.Tests.ps1 +++ b/PowerShell/JumpCloud Module/Tests/Public/Association/Get-JCAssociation.Tests.ps1 @@ -137,9 +137,9 @@ Describe -Tag:('JCAssociation') "Association Tests" { Context ('ID and Name Case Tests of Application Tests'){ It '' -TestCases:(Get-JCAssociationTestCases) { - Write-Host("#### Test Name: " + $TestDescription + " ####") + # Write-Host("#### Test Name: " + $TestDescription + " ####") foreach ($value in $Commands.values) { - Write-Host("Command: " + $value) + # Write-Host("Command: " + $value) $Associations_Test = Invoke-Expression -Command:($value) if ($TestType -eq "origional") { # Write-Host("Origional command: " + $value) diff --git a/PowerShell/JumpCloud Module/Tests/Public/Authentication/Update-JCModule.Tests.ps1 b/PowerShell/JumpCloud Module/Tests/Public/Authentication/Update-JCModule.Tests.ps1 index 9a5854e77..64750b0b8 100644 --- a/PowerShell/JumpCloud Module/Tests/Public/Authentication/Update-JCModule.Tests.ps1 +++ b/PowerShell/JumpCloud Module/Tests/Public/Authentication/Update-JCModule.Tests.ps1 @@ -9,16 +9,17 @@ Describe -Tag:('JCModule') 'Test for Update-JCModule' { Update-JCModule -SkipUninstallOld -Force $InitialModule | Remove-Module $LocalModulePost = Get-Module -Name:('JumpCloud') -All | Where-Object { $_.Version -eq $PowerShellGalleryModule.Version } - If ($LocalModulePost) - { + If ($LocalModulePost) { Write-Host ('Local Version After: ' + $LocalModulePost.Version) $LocalModulePost | Remove-Module } - Else - { + Else { Write-Error ('Unable to find latest version of the JumpCloud PowerShell module installed on local machine.') } $LocalModulePost.Version | Should -Be $PowerShellGalleryModule.Version $LocalModulePost | Should -Not -BeNullOrEmpty } + AfterAll{ + Import-Module -Name:("$PesterParams_ModuleManifestPath/$PesterParams_ModuleManifestName") -Force + } } diff --git a/PowerShell/ModuleBanner.md b/PowerShell/ModuleBanner.md index 4431471e8..03228d400 100755 --- a/PowerShell/ModuleBanner.md +++ b/PowerShell/ModuleBanner.md @@ -1,7 +1,7 @@ #### Latest Version ``` -1.17.3 +1.17.4 ``` #### Banner Current diff --git a/PowerShell/ModuleChangelog.md b/PowerShell/ModuleChangelog.md index 9bd906ea4..8eedb03e4 100644 --- a/PowerShell/ModuleChangelog.md +++ b/PowerShell/ModuleChangelog.md @@ -1,3 +1,21 @@ +## 1.17.4 + +Release Date: July 9, 2020 + +#### RELEASE NOTES + +Use Get-JCSystemInsight to query additional System Insights tables. + +#### FEATURES + +#### IMPROVEMENTS + +#### BUG FIXES + +Fix for Update-JCModule Pester tests + +Remove Depreciated SystemInsights Registry Table + ## 1.17.3 Release Date: June 25, 2020