Skip to content

1.8.0.0

Compare
Choose a tag to compare
@johlju johlju released this 16 Dec 11:42
  • Changes to xFailOverCluster
    • Added a common resource helper module with helper functions for localization.
      • Added helper functions; Get-LocalizedData, New-InvalidResultException,
        New-ObjectNotFoundException, New-InvalidOperationException and
        New-InvalidArgumentException.
    • Fixed lint error MD034 and fixed typos in README.md.
    • Opt-in for module files common tests (issue #119).
      • Removed Byte Order Mark (BOM) from the files; CommonResourceHelper.psm1 and FailoverClusters.stubs.psm1.
    • Opt-in for script files common tests (issue #121).
      • Removed Byte Order Mark (BOM) from the files; CommonResourceHelper.Tests.ps1,
        MSFT_xCluster.Tests.ps1, MSFT_xClusterDisk.Tests.ps1,
        MSFT_xClusterPreferredOwner.Tests.ps1, MSFT_xWaitForCluster.Tests.ps1.
    • Added common test helper functions to help test the throwing of localized error strings.
      • Get-InvalidArgumentRecord
      • Get-InvalidOperationRecord
      • Get-ObjectNotFoundException
      • Get-InvalidResultException.
    • Updated year to 2017 in license file and module manifest (issue #131).
  • Changes to xClusterDisk
    • Enabled localization for all strings (issue #84).
    • Fixed the OutputType data type that was not fully qualified.
    • Minor style changes.
    • Fixed Script Analyzer warnings for Write-Verbose.
  • Changes to xClusterNetwork
    • Replaced the URL for the parameter Role in README.md. The new URL is a more
      generic description of the possible settings for the Role parameter. The
      previous URL was still correct but focused on Hyper-V in particular.
    • Fixed typos in parameter descriptions in README.md, comment-based help and schema.mof.
    • Enabled localization for all strings (issue #85).
    • Minor style changes.
    • Fixed Script Analyzer warnings for Write-Verbose.
  • Changes to xCluster
    • Resolved Script Analyzer rule warnings by changing Get-WmiObject to
      Get-CimInstance (issue #49).
    • Minor style change in tests. Removed '-' in front of '-Be', '-Not', '-Throw',
      etc.
    • Enabled localization for all strings (issue #83).
    • Added tests to improve code coverage.
      • Fixed random problem with tests failing with error "Invalid token for
        impersonation - it cannot be duplicated." (issue #133).
    • Minor style changes.
    • Fixed Script Analyzer warnings for Write-Verbose.
  • Changes to xWaitForCluster
    • Refactored the unit test for this resource to use stubs and increase coverage
      (issue #78).
    • Now the Test-TargetResource correctly returns false if the domain name cannot
      be evaluated (issue #107).
    • Changed the code to be more aligned with the style guideline.
    • Updated parameter description in the schema.mof.
    • Resolved Script Analyzer warnings (issue #54).
    • Enabled localization for all strings (issue #88).
    • Minor style changes.
  • Changes to xClusterQuorum
    • Refactored the unit test for this resource to use stubs and increase coverage
      (issue #77).
    • Changed the code to be more aligned with the style guideline.
    • Updated parameter description in the schema.mof.
    • Added example (issue #47)
      • 1-SetQuorumToNodeMajority.ps1
      • 2-SetQuorumToNodeAndDiskMajority.ps1
      • 3-SetQuorumToNodeAndFileShareMajority.ps1
      • 4-SetQuorumToDiskOnly.ps1
    • Added links to examples from README.md.
    • Minor style changes.
    • Enabled localization for all strings (issue #87).
  • Changes to xClusterPreferredOwner
    • Enabled localization for all strings (issue #86).
    • Fixed typo in the returned hash table from Get-TargetResource.
    • Minor style changes.