Obs/bin/TestObservability/TestModules/TestGMAConfig/TestGMAConfig.psm1

<##############################################################
# #
# Copyright (C) Microsoft Corporation. All rights reserved. #
# #
##############################################################>

using Module ..\..\HelperFiles\Result.psm1
Import-Module $PSScriptRoot\..\..\HelperFiles\TestObsHelper.psm1 -Force
Import-Module $PSScriptRoot\..\..\HelperFiles\ReportHelper.psm1 -Force

function Test-GMAConfig
{
    Param(
        [Parameter(Mandatory=$true)]
        [PSCustomObject]
        $TestReport,

        [Parameter(Mandatory=$true)]
        [string]
        $DeviceType
     )

     try
     {
         $functionName = $($MyInvocation.MyCommand.Name)

         $gmaCacheData = Get-Content -Path "$PSScriptRoot\GMACacheData.json" | ConvertFrom-Json
         $areaPaths = $gmaCacheData.AreaPaths

         foreach ($areaPath in $areaPaths)
         {
             Trace-Progress "$functionName : Checking for GMA Config for area path : $areaPath"
             $testRow = Test-AreaPathGMAConfig -AreaPath $areaPath
             $TestReport.Rows.Add($testRow)
         }

         return $TestReport
      }
      catch
      {
          Trace-Progress "$functionName : Failed with $_" -Error
          return $TestReport
      }
}

function Test-AreaPathGMAConfig
{
    Param(
        [Parameter(Mandatory=$true)]
        [string]
        $AreaPath
     )
     $functionName = $($MyInvocation.MyCommand.Name)
     $testRow = $null
     $testName = "Test GMA Config Exists"

     try
     {
         $testRow = New-TestRow -TestName $testName -AreaPath $AreaPath
         $gmaConfigPath = Get-PathToGMAFolders -AreaPath $AreaPath

         $getHighestVersionFolder = $false
         # Find which config folder is being used by GMA
         # Need to read file that ends in "cv". If multiple (unlikely), get the one that was modified most recently.
         Trace-Progress "$functionName : Getting path to GMAConfig for area path $AreaPath"
         $testRow.TestDescription = "Go to path $gmaConfigPath, find the correct folder based on GMA version, and check that GMA config exists and is not empty."
         $fileWithGMAVersion = Get-ChildItem -Path $gmaConfigPath  -Filter "*cv" | 
            where-object { -not $_.PsIsContainer } | Sort LastWriteTime -Descending | Select-Object -First 1
        
         if ($null -ne $fileWithGMAVersion)
         {
             Trace-Progress "$functionName : Found file $($fileWithGMAVersion.Name) which should contain GMA version"
             $versionNumber = Get-Content -Path $fileWithGMAVersion.FullName
             
             if (-not [string]::IsNullOrEmpty($versionNumber))
             {
                 Trace-Progress "$functionName : GMA version is $versionNumber"
                 # Get folder with the correct version number. If more than one (unlikely), get the one that was modified most recently.
                 $gmaFolder = Get-ChildItem -Path $gmaConfigPath -Filter "*cv$versionNumber" | 
                    where-object {$_.PsIsContainer} | Sort LastWriteTime -Descending | Select-Object -First 1
                 if ($null -ne $gmaFolder)
                 {
                     $testRow = Check-IfGMAConfigExists -TestRow $testRow -GMAConfigPath $gmaFolder.FullName
                 }
                 else
                 {
                     Trace-Progress "$functionName : Could not get folder ending in version number $versionNumber"
                     $getHighestVersionFolder = $true
                 }
             }
             else
             {
                 Trace-Progress "$functionName : Could not get GMA version Number. Contents of $($fileWithGMAVersion.Name) were empty"
                 $getHighestVersionFolder = $true
             } 
         }
         else
         {
             Trace-Progress "$functionName : Could not get file with GMA version"
             $getHighestVersionFolder = $true
         }

         if ( $getHighestVersionFolder)
         {
             Trace-Progress "$functionName : Could not get path to GMA config using specific version number."
             Trace-Progress "$functionName : Will check folder with highest GMA version number instead."
             
             try
             {
                 $gmaConfigPath = Get-HighestVersionGMAFolder -TestRow $testRow
             }
             catch
             {
                 $errorMessage = "Failure in Get-HighestVersionGMAFolder. $_"
                 Trace-Progress $errorMessage
             }

             if ($errorMessage -or $null -eq $gmaConfigPath)
             {
                  $testRow.Result = [Result]::FAIL
                  $testRow.ReasonForFailure = "Could not get path to GMA config. $errorMessage" 
             }
             else
             {
                 $testRow = Check-IfGMAConfigExists -TestRow $testRow -GMAConfigPath $gmaConfigPath.FullName
             }
         }
         if ($testRow.Result -eq [Result]::PASS)
         {
             Trace-Progress "$functionName : Successfully found the GMA config"
         }
         else
         {
             Trace-Progress "$functionName : Could not get GMA config. GMA config was empty or null."
         }
         return $testRow
     }
     catch
     {
         $failureMessage = "$functionName : failed with $_"
         Trace-Progress $failureMessage -Error
         return Update-TestRowForError -TestRow $testRow -FailureMessage $failureMessage `
            -TestName $testName -AreaPath $AreaPath
     }
}

function Get-HighestVersionGMAFolder
{
    Param(
        [Parameter(Mandatory=$true)]
        [PSCustomObject]
        $TestRow
     )

     $gmaConfigPath = Get-PathToGMAFolders -AreaPath $TestRow.AreaPath
     $gmaFolders = Get-ChildItem -Path $gmaConfigPath | Where-Object {$_.PsIsContainer} 
     $versionNumberRegex = ".*cv(\d+\.\d+)$"
     $gmaFolders = $gmaFolders | Where-Object {$_.Name -match $versionNumberRegex } | Where-Object { -not ($_.Name -match ".*1\.99+$") }

     $version = 0

     foreach ($folder in $gmaFolders)
     {
        if ($folder.Name -match $versionNumberRegex)
        {
            $dec = [decimal]$matches[1]
            if ($dec -gt $version)
            {
                $version = $dec
                $gmaFolderHighestVersion = $folder
            }
        }
     }
    
     return $gmaFolderHighestVersion
}

function Get-PathToGMAFolders
{
    Param(
        [Parameter(Mandatory=$true)]
        [string]
        $AreaPath
     )

     $prefixPath = Join-Path $env:SystemDrive "GMACache"
     $folderName = $AreaPath + "Cache"
     $gmaConfigPath = Join-Path $prefixPath $folderName
     return Join-Path $gmaConfigPath  "Gcs\Conf"
}

function Check-IfGMAConfigExists
{
    Param(
        [Parameter(Mandatory=$true)]
        [PSCustomObject]
        $TestRow,

        [Parameter(Mandatory=$true)]
        [string]
        $gmaConfigPath
     )
     $functionName = $($MyInvocation.MyCommand.Name)
     Trace-Progress "$functionName : The path to the GMA config is $gmaConfigPath"
      # If more than one config (unlikely), get the one that was modified most recently.
     $gmaConfig = Get-ChildItem -Path $gmaConfigPath -Filter "GcsConfig" | 
         where-object { -not $_.PsIsContainer }

     if ($null -eq $gmaConfig -or $gmaConfig.Length -le 0)
     {
         $testRow.Result = [Result]::FAIL
         $testRow.ReasonForFailure = "GMAConfig at path $gmaConfigPath is null or empty."
     }
     else
     {
         $testRow.Result = [Result]::PASS
     }

     return $testRow
}

Export-ModuleMember -Function Test-GMAConfig -Verbose:$false
# SIG #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