I've installed the Publishing Service on my Sitecore 9.0 Update-2 environment with dedicated CM und CD server.
The publishing process seems to work. So when I publish an item on my CM I can look into the web database and the published content is there.
But on my CD I am not getting the changes directly only after restarting the Application.
I've added the following files to the bin on my CD and CM
- Sitecore.Framework.Conditions.dll
- Sitecore.Publishing.Service.Abstractions.dll
- Sitecore.Publishing.Service.Delivery.dll
- Sitecore.Publishing.Service.dll
and I've added this config to /Modules/PublishingService
- Sitecore.Publishing.Service.Delivery.config
same content on CD and CM:
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
<sitecore role:require="Standalone or ContentDelivery or ContentManagement">
<hooks>
<hook type="Sitecore.Publishing.Service.Delivery.PublishTargetEventsHook, Sitecore.Publishing.Service.Delivery" />
</hooks>
<!--
SITECORE EVENTS
-->
<events>
<event name="publishingservice:searchindex:rebuild">
<handler type="Sitecore.Publishing.Service.Delivery.TargetSearchIndexRebuildHandler, Sitecore.Publishing.Service.Delivery" method="RebuildTargetSearchIndex">
<IndexNames hint="list:AddIndex">
<index>sitecore_web_index</index>
</IndexNames>
</handler>
</event>
<event name="publishingservice:cache:clear">
<handler type="Sitecore.Publishing.Service.Delivery.TargetDataCacheClearHandler, Sitecore.Publishing.Service.Delivery" method="ClearTargetDataCaches" />
</event>
</events>
</sitecore>
</configuration>
I don't know If I am missing some configuration.