Skip to content

Commit

Permalink
Merge pull request #242 from TheJumpCloud/JumpCloudModule_1.17.4
Browse files Browse the repository at this point in the history
JumpCloud module 1.17.4
  • Loading branch information
jworkmanjc authored Jul 9, 2020
2 parents 61c7850 + 26bdf30 commit 70a33d3
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 30 deletions.
4 changes: 2 additions & 2 deletions PowerShell/JumpCloud Module/JumpCloud.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: JumpCloud Solutions Architect Team
#
# Generated on: 6/25/2020
# Generated on: 7/9/2020
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = 'JumpCloud.psm1'

# Version number of this module.
ModuleVersion = '1.17.3'
ModuleVersion = '1.17.4'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
22 changes: 1 addition & 21 deletions PowerShell/JumpCloud Module/Private/NestedFunctions/JCTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -1328,7 +1308,7 @@
},
"Method": "GET",
"ById": "system_id",
"ByName": "",
"ByName": "Name",
"Paginate": true,
"SupportRegexFilter": false,
"Limit": 100,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ Describe -Tag:('JCAssociation') "Association Tests" {

Context ('ID and Name Case Tests of Application Tests'){
It '<TestDescription>' -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion PowerShell/ModuleBanner.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#### Latest Version

```
1.17.3
1.17.4
```

#### Banner Current
Expand Down
18 changes: 18 additions & 0 deletions PowerShell/ModuleChangelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 70a33d3

Please sign in to comment.