User Tools

Site Tools


Writing /app/www/public/data/meta/development/applications/footprints/configuration.meta failed
development:applications:footprints:configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
development:applications:footprints:configuration [2018/03/08 20:19] adowlingdevelopment:applications:footprints:configuration [2021/06/25 10:09] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Configuration File ======
  
 + --- //[[anna.dowling@errigal.com|Anna Dowling]] 2018/02/23 05:10//
 +
 +The Configuration file for this project is called **FootprintsConfig.groovy** and is located in /usr/local/grails on the app handlers (apps1 and apps2). See below for config file parameters. Note, things like host names, database credentials differ across servers / environments.
 +
 +<code>
 +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
 +
 +log4j = {
 +  root {
 +    debug 'stdout', 'file'
 +  }
 +  info 'grails.app', 'com.errigal'
 +}
 +
 +rabbitmq {
 +  credentials {
 +    username = 'rabbit_footprints'
 +    password = '#rabbit321!#'
 +    host = 'atclb1'
 +    virtualHost = 'footprints'
 +    handshakeTimeout = '20000'
 +  }
 +  queues {
 +    footprintsQueue = 'footprints_queue'
 +    ticketerInboundQueue = 'ticketer_inbound_queue'
 +
 +    footprintsOutboundQueue = 'footprints_outbound_queue'
 +  }
 +  exchanges {
 +    ticketerAuditEventExchange='ticketer_audit_event_exchange_topic'
 +
 +    footprintsExchange = 'footprints_exchange'
 +  }
 +  tags {
 +    footprintsTag = 'footprints'
 +
 +    ticketAuditEventTag = 'com.errigal.ticketer.Ticket'
 +  }
 +  bindings {
 +    //In the Form "QUEUEMAME::EXCHANGENAME::TAG"
 +    //Incoming Message
 +    auditEventBinding1="${queues.footprintsOutboundQueue}::${exchanges.ticketerAuditEventExchange}::${tags.ticketAuditEventTag}"
 +  }
 +  consumer {
 +    name = 'footprints'
 +  }
 +  numberOfTriesBeforeFail = 1
 +  numberOfSecondsBetweenTries = 1
 +  numberOfSecondsToWaitForRabbitReconnect = 5
 +}
 +
 +threadmanager {
 +  numberOfInboundThreads = 2
 +  numberOfOutboundThreads = 2
 +  nameOfInboundMessageThreads = 'InBoundMsgHandler'
 +  numberOfSecondsToWaitBeforeTimeoutForInbound = 20
 +  nameOfOutboundMessageThreads = 'OutBoundMsgHandler'
 +}
 +
 +hibernate {
 +  cache.use_second_level_cache=false
 +  cache.use_query_cache=false
 +  cache.provider_class='org.hibernate.cache.EhCacheProvider'
 +}
 +
 +dataSource.pooled = true
 +dataSource.dbCreate = "update"
 +dataSource.driverClassName = "com.mysql.jdbc.Driver"
 +dataSource.dialect = "org.hibernate.dialect.MySQL5InnoDBDialect"
 +dataSource.url = "jdbc:mysql://atc-rds-instance-master-1.c6hdidhzxqy5.us-east-1.rds.amazonaws.com:3306/footprints_component?useUnicode=yes&characterEncoding=UTF-8"
 +dataSource.username = "root"
 +dataSource.password = "ozzrules"
 +</code>