This repository shows how to extend the Sitecore Cortex Processing Engine. It includes:
- Custom tasks
- Integration with external services
- Registering task chains from an external application
- Retreiving the status of a task
This repository accompanies the videos from the Sitecore Cortex Processing Engine series:
- Sitecore Cortex - Processing Engine Architecture
- Sitecore Cortex - Processing Engine Tasks
- Sitecore Cortex - Album Recommendation Example
- Add the settings for your xConnect server inside the
settings.xml
file in the console project.- Set the URI inside the
/settings/xconnect/uri
element. - Set the details for the client certificate inside the
/settings/xconnect/certificate
- Set the URI inside the
- Set the connection string for the message buses inside the
settings.xml
file in the console project. This must be the same database as the procesing engine uses for the message bus (messaging
connection string). The config paths are:/settings/rebus/Sitecore.Processing.Tasks.Messaging.Buses.TaskRegistrationProducer/Transport/SqlServer/ConnectionStringOrName
/settings/rebus/Sitecore.Processing.Tasks.Messaging.Buses.TaskProgressProducer/Transport/SqlServer/ConnectionStringOrName
- Build the solution using Visual Studio
- Run the console project and execute step 'a' to serialize the model to JSON.
- Copy the JSON file (output in the consoles
bin
folder) to the\Add_Data\Models
folder on the xConnect server. - Restart the xConnect server.
- Copy the DLL files from the output folder of the xConnect extensions project to the Processing Engine folder.
- Copy the DLL files from the output folder of the Processing Engine extensions project to the Processing Engine folder.
- Copy the
App_Data
folder from the Processing Engine extensions project to the Processing Engine. - Set the Spotify ClientID and ClientSecret settings in the
\App_Data\Config\Sitecore\Demo\sc.Spotify.xml
file of the Processing Engine.