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.xmlfile in the console project.- Set the URI inside the
/settings/xconnect/urielement. - 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.xmlfile in the console project. This must be the same database as the procesing engine uses for the message bus (messagingconnection 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
binfolder) to the\Add_Data\Modelsfolder 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_Datafolder 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.xmlfile of the Processing Engine.