Pipelines/Steps/Install/OnPrem/Sitecore/XP/Solr/9.0/PreInstalled/Add-XConnectSolrConfigSets.ps1

$ErrorActionPreference = "Stop"

Write-Output "Adding xConnect Solr config sets started..."

$prefix = $SAFConfiguration.prefix
$configPath = "$PSScriptRoot\xconnect-solrconfigsets.json"

$solrParams = @{
    Path        = $configPath
    SolrRoot    = $SAFSolrTempDir
    CorePrefix  = $prefix
}

Install-SitecoreConfiguration @solrParams

Write-Output "Adding xConnect Solr config sets done."