Advertisement
Guest User

Untitled

a guest
Mar 13th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.42 KB | None | 0 0
  1. #########################################################################################
  2. #
  3. #
  4. # Bolt configuration file
  5. # =============================
  6. #
  7. # Customize this for your needs by copying and
  8. # providing the various values as per your config.
  9. #
  10. # Copyright 2015 Nuance Communications
  11. #
  12.  
  13. #########################################################################################
  14. # Bolt
  15. #
  16.  
  17. [boltwebapp]
  18.  
  19. root_url = http://bolt-dev:1337
  20. internal_url = http://bolt-dev:1337/bolt
  21. external_url = http://bolt-dev:1337/bolt
  22. env = dev
  23. port = 8888
  24. debug = 1
  25. gzip = 1
  26.  
  27. cookie_secret = KcrKeSDrmtcRNZmKBH2SB9kK3sDx49GWEcp2Eay7Jydb7nvs
  28.  
  29. session_timeout_s = 7200
  30. session_cull_interval_ms = 600000
  31. projects_sync_interval_ms = 3600000
  32.  
  33. audio_server_url = http://data-collector-dev:8889/audio/
  34.  
  35. preference_management_url = /applications
  36.  
  37. sdk_repository_path = ../sdks/
  38. sdk_default_host = nmsp.dev.nuance.com
  39. sdk_default_port = 443
  40. python_sample_path = ./sdks/
  41.  
  42. # Set the config property for the websocket server URL
  43. runtime_websocket_server_url = https://ws.dev.nuance.com/v2
  44.  
  45. # Add various debug data for some HTTP responses
  46. add_debug_data = True
  47.  
  48. build_source_snapshot_enabled = False
  49. post_build_to_mw = True
  50.  
  51. beta_queue_enabled = False
  52.  
  53. promotion_flow_default_ccss_host_id = training
  54. promotion_flow_default_environment = Sandbox
  55. promotion_flow_default_promotion_flow_name = Default Promotion Flow
  56. promotion_flow_default_region = Somerville
  57.  
  58. #########################################################################################
  59. # Admin
  60. #
  61.  
  62. [boltadminapp]
  63.  
  64. port = 8887
  65.  
  66. #########################################################################################
  67. # Analytics API
  68. #
  69.  
  70. [analyticsapi]
  71.  
  72. port = 8886
  73.  
  74. #########################################################################################
  75. # CCSS
  76. #
  77.  
  78. [ccss]
  79.  
  80. ccss_rest_url = http://10.56.11.243:21538/ccss-server/rest
  81. default_config_settings = {"GrammarGenerationMetaData": {"meta": {"tokenize": "on", "numbersAsSequence": "on", "alignment": "on"}}}
  82.  
  83.  
  84. #########################################################################################
  85. # Analytics
  86. #
  87.  
  88. [analytics]
  89.  
  90. localytics_key =
  91. google_analytics_key =
  92.  
  93. #########################################################################################
  94. # Quick Web Services - Current Version
  95. #
  96.  
  97. [qws]
  98.  
  99. backend_scheme = http
  100. backend_hostname = mtl-blade38-09.nuance.com
  101. backend_port = 28636
  102. backend_root_path = /rest
  103. default_timeout = 300
  104. auto_close_projects = False
  105.  
  106.  
  107. #########################################################################################
  108. # Quick Web Services - Legacy Version
  109. # - Manually point this to your legacy QWS instance
  110. #
  111.  
  112. [legacy_qws]
  113.  
  114. enabled = False
  115. backend_scheme = http
  116. backend_hostname = mtl-blade38-09.nuance.com
  117. backend_port = 28636
  118. backend_root_path = /rest
  119. default_timeout = 300
  120.  
  121. #########################################################################################
  122. # Languages
  123. #
  124.  
  125. [languages]
  126.  
  127. include =
  128. exclude =
  129.  
  130. #########################################################################################
  131. # Database
  132. #
  133.  
  134. [sqlalchemy]
  135.  
  136. url = postgresql+psycopg2://boltwebapp:us4in@db/bolt
  137. echo = False
  138.  
  139. #########################################################################################
  140. # Migrations
  141. #
  142.  
  143. [alembic]
  144.  
  145. # path to migration scripts
  146. script_location = bolt/core/db/migrations
  147.  
  148. #########################################################################################
  149. # LDAP
  150. #
  151.  
  152. [ldap]
  153.  
  154. version = 3
  155. server = ldaps://bn-ad01.nuance.com
  156. user = cn=Tikku\, Nirvana,ou=Employees,ou=Users,ou=Corp Accounts,dc=nuance,dc=com
  157. password =
  158. base_dn = ou=Users,ou=Corp Accounts,dc=nuance,dc=com
  159. search_template = (mail=%%s)
  160. enabled = True
  161.  
  162. #########################################################################################
  163. # SuperAdmin
  164. #
  165.  
  166. [superadmin]
  167.  
  168. first_name = Sue
  169. last_name = Perad-Minh
  170. email = 1@1.com
  171. plain_password = 1
  172.  
  173. #########################################################################################
  174. # Discourse Forum
  175. #
  176.  
  177. [discourse]
  178.  
  179. sso_secret = 9a57c93581184d0c8761f2bd9d8fdf0e
  180. sso_redirect = /#/login/
  181.  
  182. #########################################################################################
  183. # Email
  184. #
  185.  
  186. [email]
  187.  
  188. mailer_sender_email = mailer@bolt-dev
  189. mailer_admins = bolt-dev@nuance.com
  190. mailer_templates_root_path = templates/emails/
  191. executable = ['/usr/sbin/sendmail', '-t']
  192.  
  193. #########################################################################################
  194. # Tornado
  195. #
  196.  
  197. [tornado]
  198.  
  199. autoreload = 1
  200. max_clients = 10
  201. http_client_class = tornado.curl_httpclient.CurlAsyncHTTPClient
  202. ioloop_blocking_log_threshold = 2.0
  203.  
  204. #########################################################################################
  205. # Artifact repository (prebuilt models)
  206. #
  207.  
  208. [artifactrepo]
  209. protocol = http
  210. host = mtl-blade38-09.nuance.com
  211. port = 28635
  212. api_root_path = /
  213. default_timeout = 300
  214.  
  215. #########################################################################################
  216. # Redis
  217. #
  218.  
  219. [redis]
  220.  
  221. host = redis
  222. port = 6379
  223. db = 0
  224.  
  225. #########################################################################################
  226. # Experiments
  227. #
  228.  
  229. [experiments]
  230.  
  231. freetext = On
  232. dynamic_grammars = On
  233. lang_support = On
  234.  
  235. #########################################################################################
  236. # Logging
  237. #
  238.  
  239. [loggers]
  240. keys = root,tornado,server,sqlalchemy,alembic,httpclient,cookies
  241.  
  242. [handlers]
  243. keys = file,http
  244.  
  245. [formatters]
  246. keys = detailed
  247.  
  248. [handler_file]
  249. class = FileHandler
  250. args = ('server.log',)
  251. formatter = detailed
  252. level = NOTSET
  253.  
  254. [handler_http]
  255. class = FileHandler
  256. args = ('http.log',)
  257. formatter = detailed
  258. level = NOTSET
  259.  
  260. [logger_root]
  261. level = DEBUG
  262. propagate = 0
  263. handlers = file
  264.  
  265. [logger_tornado]
  266. level=DEBUG
  267. qualname = tornado
  268. propagate = 0
  269. handlers=file
  270.  
  271. [logger_sqlalchemy]
  272. level = WARN
  273. handlers = file
  274. qualname = sqlalchemy.engine
  275.  
  276. [logger_alembic]
  277. level = INFO
  278. handlers = file
  279. qualname = alembic
  280.  
  281. [logger_httpclient]
  282. level = INFO
  283. qualname = tornado.curl_httpclient
  284. handlers = http
  285.  
  286. [logger_server]
  287. level = DEBUG
  288. qualname = webserver
  289. propagate = 0
  290. handlers = file
  291.  
  292. [logger_cookies]
  293. level = CRITICAL
  294. qualname = cookies
  295. propagate = 0
  296. handlers = file
  297.  
  298. [formatter_detailed]
  299. format = [%(name)s] %(asctime)-15s %(levelname)s %(module)s:%(lineno)d: %(message)s
  300.  
  301. [cas]
  302.  
  303. secure_cookie_enabled=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement