torquebox.yml.example 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # This is the TorqueBox configuration file. Refer to the TorqueBox
  2. # documentation at http://torquebox.org/documentation/current/
  3. # for all configuration options.
  4. web:
  5. context: "/"
  6. services:
  7. push_message_manager:
  8. service: PushMessageManager
  9. config:
  10. enableXmpp: false
  11. host: # set the XMPP hostname. This name must match the hostname field configured in the XMPP server
  12. port: 5222
  13. username: 222222222222
  14. password: password
  15. keystore: keystore.jks
  16. keystorePassword: password
  17. truststore: truststore.jks
  18. truststorePassword: password
  19. protocols: TLSv1.2,TLSv1
  20. cipherSuites: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA
  21. enableTLS: fals
  22. tlsDebug: true
  23. validateVENHostname: false
  24. advance_objects:
  25. service: AdvanceObjects
  26. config:
  27. sleep: 10
  28. jobs:
  29. generate_tou_events:
  30. job: GenerateTouEvents
  31. # second, minute, hour, day_of_month, month, day_of_week, year(optional)
  32. # Either day_of_month or day_of_week must be set to '?', as Torquebox does not support using both at once
  33. # here's a discussion on ? vs *: http://stackoverflow.com/questions/11499740/significance-of-question-mark-in-java-cron
  34. # the example below runs every Friday, making it invalid to say * for day of month (day of month is dependent on
  35. # day of week which is Friday)
  36. cron: '0 0 12 ? * FRI *'
  37. # cron: '0 */1 * * * ?' # UNCOMMENT FOR TESTING run every 1 minute
  38. timeout: 120 s
  39. description: Create Event instances (and associated signal-related objects) based on TouSchedule