Services

AuthService

This service provides login and password reset functionality for hungerrush users. Azure functions include:

  • Login
  • ResetPassword
  • GetSiteCss

FoodMenuService

This service retrieves the food menu data for a site id. Azure functions include:

  • GetFoodMenu

HistoryService

This service performs multiple functions for various sites’ histories. Azure functions include:

  • GetHistory
  • GetLatestVersionPerSite
  • GetLatestVersionSiteCss
  • GetPublishedSitesCount
  • GetVersion
  • RestoreVersion
  • SaveVersion

HungerRush

This provides communication between the Theme Configuration Service and the HungerRush internal API.

MediaService

This service provides functionality that deals with media within the Designer project. Azure functions include:

  • CopyDefaultImages
  • GetFileList
  • GetUploadTokenltImages
  • InitialiseMediaLibrary

NotificationService

This service handles notifications within the project. Azure functions include:

  • AcknowledgeNotification
  • GetNotifications
  • PublishFailure
  • PublishSuccess
  • RevertFailure
  • RevertSuccess

PreflightService

This service handles CRUD operations for the site preflights. Azure functions include:

  • DeletePreflight
  • GetPreflightById
  • InitializePreflight
  • UpsertPreflight

PublishService

This services handles the various requirements to publish a site. Azure functions include:

  • ListPublishedSites
  • PublishHotfix
  • PublishRequest
  • PublishSite
  • RevertSite

Shared

This project includes intermediate clients that provide connectivity between various projects:

  • GatewayClient
  • HistoryServiceClient
  • MediaLibraryServiceClient
  • PreflightServiceClient

StylesService

This is the newly created service to assist with generating new CSS for hotfixes:

  • GenerateHotfixCss
  • SCSSConverter

WizardService

This service contains functionality to handle wizard data for sites:

  • DeleteWizard
  • GetWizard
  • SaveWizard