ps/Modules/Alkami.PowerShell.Common/Public/Get-SupportedPlatformAPMVersionMap.ps1

41 lines
1.1 KiB
PowerShell
Raw Normal View History

2023-05-30 22:51:22 -07:00
function Get-SupportedPlatformAPMVersionMap {
<#
.SYNOPSIS
Returns a Hashtable Array Mapping NewRelic APM Version to Alkami Platform Version
.DESCRIPTION
Returns a Hashtable Array Mapping NewRelic APM Version to Alkami Platform Version. Only value is for mocking, and for clarity
when future changes are required. An array maxmimum value of $null will set it as the current version, for deploy and bootstrapping
purposes.
.Example
Get-SupportedPlatformAPMVersionMap
Name Value
---- -----
PlatformMaximumVersion
APMVersion 8.39.0.0
PlatformMinimumVersion 0.0.0.0
.LINK
https://confluence.alkami.com/x/En5FCw
#>
[CmdletBinding()]
[OutputType([PSCustomObject[]])]
param()
return @(
@{
APMVersion = "8.39.0.0";
PlatformMinimumVersion = "0.0.0.0";
PlatformMaximumVersion = "2022.4.0.9999";
}
@{
APMVersion = "10.3.0.0";
PlatformMinimumVersion = "2022.5.0.0";
PlatformMaximumVersion = $null;
}
)
}