— Anna Dowling 2018/02/23 05:34
The Ticketer function within this integration reuses the AuditProvider Attribute Value Change(AVC) functionality in order to monitor for the status change events needed to trigger the email in the footprints_component. As this process has already been documented in relation to the eBonding project, for further details on how this works see the following wiki entry: The Ticketer and eBonding
Details to Note:
TicketerConfig.groovy Additions:
// footprints
// Parameter to turn on or off the footprints functionality [true | false]
// Default to false to avoid looking for the RabbitMQ and failing to start
footprints.enabled = true
//Determines event types which are auditable via the gormlistener
auditableEvent {
domains{
updateDomains = ["com.errigal.ticketer.Ticket"]
}
}
//ensure this is enabled
gormListener.enabled = true
// The queues which need to be declared.
rabbitmq {
credentials {
username = 'rabbit_footprints'
password = '#rabbit321!#'
host = 'atclb1'
virtualHost = 'footprints'
}
queues {
//Incoming Message
ticketerInboundQueue = 'ticketer_inbound_queue'
//Outgoing Message
}
exchanges {
//Incoming Message
//Outgoing Message
ticketerAuditEventExchange='ticketer_audit_event_exchange_topic'
}
tags {
//Put the tags used for exchanges here
}
bindings {
//In the Form "QUEUEMAME::EXCHANGENAME::TAG"
//Incoming Message
//Outgoing Message
}
numberOfTriesBeforeFail=1
numberOfSecondsBetweeTries=1
numberOfSecondsToWaitForRabbitReconnect = 30
}
RabbitMQ acts as the message broker for passing messages back and forth between the Ticketer and Footprints Component. This was chosen in order to leverage the AVC development within the Ticketer application
The RabbitMQ setup is handled in the bootstraps of both applications (footprints_component and ticketer). All credentials are available in the resepective grails configuration files for those applications.
Details to Note:
The Footprints Component is used in the context of a MicroService in order to act as a go between for all logic required to connect the Ticketer and the ATC Footprints Application. The goal is to send and receive email via this application in order to create the ETA dispatch ticket and receive updates.
Details to Note: