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 job
has run to sync CMS content to thedefault
content source. - Run the
External Trip Dates Data Sync
scheduled job to sync additional trip data to thesrc1
content source. - Manually create links between the CMS TripPage
TripCode
poperty and thesrc1
ExternalTripDatesExternalTripCode
field with thehttps://prod.cg.optimizely.com/api/content/v3/sources?id=default
endpoint - Run the following GraphQL query:
query PageQuery { TripPage { total items { TripCode Name _link(type: TRIPDATES) { ExternalTripDates { items { ExternalTripCode ExternalSpaceAvailable ExternalSingleAvailability ExternalReturnDate ExternalDepartureDate } } } } } }