Sitecore / Sitecore/docker-examples

XP0 Custom build - empty keys value in connectionstring.config on CM

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
82
Forks
110
Avg merge
7d 59m
Merged PRs (30d)
1

Description

I have developed a custom Sitecore module for Stream. I have followed the appropriate installation procedures and details, but I noticed that the connectionstring.config file contains empty values, including my connection string for Stream.

<?xml version="1.0" encoding="utf-8"?>
<connectionStrings configBuilders="SitecoreConnectionStringsBuilder">
  <!-- 
    Sitecore connection strings.
    All database connections for Sitecore are configured here.
  -->
  <add name="core" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore_Core"/>
  <add name="security" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore_Security"/>
  <add name="master" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore_Master"/>
  <add name="web" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore_Web"/>
  <add name="messaging" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore.Messaging"/>
  <add name="xdb.processing.pools" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore_Processing.Pools"/>
  <add name="xdb.referencedata" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore_ReferenceData"/>
  <add name="xdb.processing.tasks" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore_Processing.Tasks"/>
  <add name="experienceforms" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore_ExperienceForms"/>
  <add name="exm.master" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore_EXM.Master"/>
  <add name="reporting" connectionString="user id=user;password=password;Data Source=(server);Database=Sitecore_Analytics"/>
  <add name="cortex.processing.engine" connectionString="https://Sitecore_xconnect"/>
  <add name="cortex.processing.engine.client.certificate" connectionString="StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue="/>
  <add name="sitecore.reporting.client" connectionString="https://Sitecore_xconnect"/>
  <add name="sitecore.reporting.client.certificate" connectionString="StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue="/>
  <add name="solr.search" connectionString="https://localhost:8993/solr"/>
  <add name="sitecoreidentity.secret" connectionString="Set client secret for Sitecore Identity server here."/>
  <add name="xconnect.collection" connectionString="https://Sitecore_xconnect"/>
  <add name="xconnect.collection.certificate" connectionString="StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue="/>
  <add name="xdb.marketingautomation.operations.client" connectionString="https://Sitecore_xconnect"/>
  <add name="xdb.marketingautomation.operations.client.certificate"
  	connectionString="StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue="/>
  <add name="xdb.marketingautomation.reporting.client" connectionString="https://Sitecore_xconnect"/>
  <add name="xdb.marketingautomation.reporting.client.certificate"
  	connectionString="StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue="/>
  <add name="xdb.referencedata.client" connectionString="https://Sitecore_xconnect"/>
  <add name="xdb.referencedata.client.certificate" connectionString="StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue="/>
  <add name="EXM.CryptographicKey" connectionString="0x0000000000000000000000000000000000000000000000000000000000000000"/>
  <add name="EXM.AuthenticationKey" connectionString="0x0000000000000000000000000000000000000000000000000000000000000000"/>
  <add name="sitecore.aiclient.stream" connectionString="${Sitecore_ConnectionStrings_sitecore.aiclient.stream}"/>
</connectionStrings>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CM role's connectionstring.config and the sitecore.aiclient.stream entry shown in the report. Reproduce the XP0 custom build using the described installation procedure, then trace how the custom Sitecore module supplies that value. Done means the generated configuration contains the expected Stream connection string instead of an empty value.

Written by the indexing model from the issue text.

Assessment

Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.