Updating or removing the DataSources.xml file for User Generated Content
If you are upgrading from SDL Tridion 2013 SP1, depending on how you upgrade UGC on the Content Delivery side, either modify or delete the file DataSources.xml, which contains Content Manager-side configuration for UGC. Depending on your setup, you will need to set up the Discovery Service and Token Service even if you are not switching to the new Content Delivery architecture.
About this task
As of SDL Web 8, Content Delivery has deprecated its previous architecture in favor of a new microservice-based architecture. If you are upgrading from SDL Tridion 2013 SP1, you can choose to migrate to the new architecture or stay on the deprecated architecture.
Procedure
- If you are setting up UGC using the new microservice-based architecture, DataSources.xml is no longer in use. Instead of editing this file, configure these settings in the new User Generated Content tab of your Publication.
- If you are continuing to use the deprecated architecture, modify DataSources.xml in the following ways:
- Adjust the URL to point to the new Moderation Service endpoint at http://HOST:PORT/moderation.svc, where HOST and PORT point to the server where the Moderation Service micoservice runs.
- If you use OAuth authentication and intend to keep using it, you must now set up the Discovery Service and Token Service of the new Content Delivery architecture. After that, you can set the
AccessTokenUrlelement to the URL of the new Token Service. The alternative is to no longer use OAuth (or switch to the new architecture altogether).