Implementing channel switching functionality for newly added travel types in Travel application.
12 months ago by
1. Go To
\ClickPlatform\projects\travel-core\DomainServiceRuntimeConfiguration.javaand create an
@Autowiremap object that will contain the credentials (which are stored in com.clicktravel.services.env.properties file in ClickDeployment) for the channels, used by the new travel type.
\ClickPlatform\projects\travel open ChannelsConfigurationDBSync.javaand locate its'
getNewChannelsForTravelTypeConfigurationmethod. In here a new case needs to be implemented
that corresponds to the new travel type, similarly to the way other travel types have been implemented it should use the newly created map object.
3. Update the
ChannelConfiguration CDMand its mappers to include a property of the new travel type.
4. Update the
mappersto include the channel options for the new travel type.
5. Update the
ChannelConfigurationDtoand its mappers to include the channel options for the new travel type.
6. Update the
OverriddenChannelConfigurationDtoand its mappers to include the channel options for the new travel type.
7. Update the
DefaultChannelConfigurationQueryService.constructTeamChannelConfigurationsadd functionality for newly created travel type following the same logic as for the previous ones.
Community: Travel Team Engineers