User Tools
Writing /app/www/public/data/meta/development/applications/ebonding/configuration.meta failed
development:applications:ebonding:configuration
Table of Contents
eBonding Configuration File
The file is located in the usual grails config directory '/usr/local/grails' and is called EBondingConfig.groovy
Spring Security
grails.plugin.springsecurity.interceptUrlMap = [
[pattern: '/login/**', access: ['permitAll']],
[pattern: '/logout/**', access: ['permitAll']],
[pattern: '/**', access: ['ROLE_ADMIN']]
]
grails.plugin.springsecurity.logout.postOnly = false
RabbitMQ Settings
rabbitmq {
credentials {
username = 'admin'
password = 'admin'
host = 'localhost'
virtualHost = 'admin'
}
queues {
//Incoming Message
ebondingQueue = 'eBonding_inbound_queue'
ticketerInboundQueue = 'ticketer_inbound_queue'
//Outgoing Message
ebondingOutboundQueue = "eBonding_outbound_queue"
}
exchanges {
//Incoming Message
soapExchangeName = 'soap_exchange_topic'
ticketerAuditEventExchange = 'ticketer_audit_event_exchange_topic'
//Outgoing Message
//ticketerExchangeName='ticketer_event_exchange'
ebondingOutboundExchange = 'eBonding_outbound_exchange_topic'
//outboundExchange="outbound_exchange"
}
tags {
ebondingTag = 'eBonding'
ticketAuditEventTag = 'com.errigal.ticketer.Ticket'
formValueChangeAuditTag = 'com.errigal.ticketer.FormValueChange'
}
bindings {
//In the Form "QUEUEMAME::EXCHANGENAME::TAG"
//Incoming Message
ebondingBinding = "${queues.ebondingQueue}::${exchanges.soapExchangeName}::${tags.ebondingTag}"
auditEventBinding1 = "${queues.ebondingOutboundQueue}::${exchanges.ticketerAuditEventExchange}::${tags.ticketAuditEventTag}"
auditEventBinding2 = "${queues.ebondingOutboundQueue}::${exchanges.ticketerAuditEventExchange}::${tags.formValueChangeAuditTag}"
//Outgoing Message
//ebondingTicketerTag="${queues.ebondingTicketChange}::${exchanges.ticketerExchangeName}::eBonding"
}
consumer {
name = 'eBonding'
}
numberOfTriesBeforeFail = 1
numberOfSecondsBetweeTries = 1
numberOfSecondsToWaitForRabbitReconnect = 5
}
Thread Management Settings
threadmanager {
numberOfInboundThreads = 2
numberOfOutboundThreads = 2
nameOfInboundMessageThreads = 'InBoundMsgHandler'
numberOfSecondsToWaitBeforeTimeoutForInbound = 20
nameOfOutboundMessageThreads = 'OutBoundMsgHandler'
}
Database Connection Settings
dataSource.pooled = true dataSource.driverClassName = "com.mysql.jdbc.Driver" dataSource.dialect = "org.hibernate.dialect.MySQL5InnoDBDialect" dataSource.url = "jdbc:mysql://localhost/ebonding?useUnicode=yes&characterEncoding=UTF-8" dataSource.username = "root" dataSource.password = "PASSWORD"
Overall Config File
grails.plugin.springsecurity.securityConfigType = 'InterceptUrlMap'
grails.plugin.springsecurity.interceptUrlMap = [
[pattern: '/login/**', access: ['permitAll']],
[pattern: '/logout/**', access: ['permitAll']],
[pattern: '/**', access: ['ROLE_ADMIN']]
]
grails.plugin.springsecurity.logout.postOnly = false
rabbitmq {
credentials {
username = 'admin'
password = 'admin'
host = 'localhost'
virtualHost = 'admin'
}
queues {
//Incoming Message
ebondingQueue = 'eBonding_inbound_queue'
ticketerInboundQueue = 'ticketer_inbound_queue'
//Outgoing Message
ebondingOutboundQueue = "eBonding_outbound_queue"
}
exchanges {
//Incoming Message
soapExchangeName = 'soap_exchange_topic'
ticketerAuditEventExchange = 'ticketer_audit_event_exchange_topic'
//Outgoing Message
//ticketerExchangeName='ticketer_event_exchange'
ebondingOutboundExchange = 'eBonding_outbound_exchange_topic'
//outboundExchange="outbound_exchange"
}
tags {
ebondingTag = 'eBonding'
ticketAuditEventTag = 'com.errigal.ticketer.Ticket'
formValueChangeAuditTag = 'com.errigal.ticketer.FormValueChange'
}
bindings {
//In the Form "QUEUEMAME::EXCHANGENAME::TAG"
//Incoming Message
ebondingBinding = "${queues.ebondingQueue}::${exchanges.soapExchangeName}::${tags.ebondingTag}"
auditEventBinding1 = "${queues.ebondingOutboundQueue}::${exchanges.ticketerAuditEventExchange}::${tags.ticketAuditEventTag}"
auditEventBinding2 = "${queues.ebondingOutboundQueue}::${exchanges.ticketerAuditEventExchange}::${tags.formValueChangeAuditTag}"
//Outgoing Message
//ebondingTicketerTag="${queues.ebondingTicketChange}::${exchanges.ticketerExchangeName}::eBonding"
}
consumer {
name = 'eBonding'
}
numberOfTriesBeforeFail = 1
numberOfSecondsBetweeTries = 1
numberOfSecondsToWaitForRabbitReconnect = 5
}
threadmanager {
numberOfInboundThreads = 2
numberOfOutboundThreads = 2
nameOfInboundMessageThreads = 'InBoundMsgHandler'
numberOfSecondsToWaitBeforeTimeoutForInbound = 20
nameOfOutboundMessageThreads = 'OutBoundMsgHandler'
}
dataSource.pooled = true
dataSource.driverClassName = "com.mysql.jdbc.Driver"
dataSource.dialect = "org.hibernate.dialect.MySQL5InnoDBDialect"
dataSource.url = "jdbc:mysql://localhost/ebonding?useUnicode=yes&characterEncoding=UTF-8"
dataSource.username = "root"
dataSource.password = "PASSWORD"
development/applications/ebonding/configuration.txt · Last modified: 2021/06/25 10:09 by 127.0.0.1