This project uses an embedded SQL database and should be generally ready to run using Visual Studio on Windows.
Before running, add Content Graph connection details to appsettings.Development.json
Steps:
- Run the project and log into the backend with the credentials
admin/Admin1!! - Ensure that the
Optimizely Graph content synchronization jobhas run to sync CMS content to thedefaultcontent source. - Run the
External Trip Dates Data Syncscheduled job to sync additional trip data to thesrc1content source. - Manually create links between the CMS TripPage
TripCodepoperty and thesrc1ExternalTripDatesExternalTripCodefield with thehttps://prod.cg.optimizely.com/api/content/v3/sources?id=defaultendpoint - Run the following GraphQL query:
query PageQuery { TripPage { total items { TripCode Name _link(type: TRIPDATES) { ExternalTripDates { items { ExternalTripCode ExternalSpaceAvailable ExternalSingleAvailability ExternalReturnDate ExternalDepartureDate } } } } } }