Permalink
Cannot retrieve contributors at this time
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Find file
Copy path
play1/samples-and-tests/just-test-cases/conf/application.conf
Find file
Copy path
Fetching contributors…
| # enable this line to run the entire test-case using different default encoding | |
| # application.web_encoding=iso-8859-1 | |
| # This is the main configuration file for the application. | |
| # ~~~~~ | |
| # | |
| application.name=Test cases | |
| # Application mode | |
| # ~~~~~ | |
| # Set to dev to enable instant reloading and other development help. | |
| # Otherwise set to prod. | |
| # | |
| application.mode=dev | |
| # Secret key | |
| # ~~~~~ | |
| # The secret key is used to secure cryptographics functions | |
| # If you deploy your application to several instances be sure to use the same key ! | |
| # | |
| application.secret=w55izhmwgf2diaqkggip21fu90lq6zjnzoetmrn8grjarijjhan3asa874djvqq5 | |
| # i18n | |
| # ~~~~~ | |
| # Define locales used by your application. | |
| # You can then place localized messages in conf/messages.{locale} files | |
| # | |
| application.langs=en,fr,fr_CA,ja,ch,de | |
| # Server configuration | |
| # ~~~~~ | |
| # If you need to change the HTTP port, uncomment this (default is set to 9000) | |
| # | |
| http.port=9003 | |
| # JPDA configuration | |
| # ~~~~~ | |
| # Define which port is used by JPDA when application is in debug mode (default is set to 8000) | |
| # | |
| # jpda.port=8000 | |
| # JVM configuration | |
| # ~~~~~ | |
| # You can specify additional JVM args here | |
| # | |
| # jvm.memory=-Xms512m -Xmx512m | |
| # Log level | |
| # ~~~~~ | |
| # Specify log level for your application. | |
| # If you want a very customized log, create a log4j.properties file in the conf directory | |
| # | |
| application.log=trace | |
| # Database configuration | |
| # ~~~~~ | |
| # Enable a database engine if needed. | |
| # There are two built in values : | |
| # - mem : for a transient in memory database (HSQL in memory) | |
| # - fs : for a simple file written database (HSQL file stored) | |
| # | |
| db=mem | |
| # | |
| # If you need a full jdbc configuration use the following : | |
| # | |
| # db.url=jdbc:mysql://localhost/test | |
| # db.driver=com.mysql.jdbc.Driver | |
| # db.user=root | |
| # db.pass= | |
| #db=postgres://test:test@localhost/test | |
| # Connections pool configuration : | |
| # | |
| # db.pool.timeout=1000 | |
| # db.pool.maxSize=30 | |
| # db.pool.minSize=10 | |
| # JPA Configuration (hibernate) | |
| # ~~~~~ | |
| # | |
| # Specify the custom JPA dialect to use here (default to guess) : | |
| # jpa.dialect=org.hibernate.dialect.MySQLDialect | |
| # | |
| # Specify the ddl generation pattern to use (default to update) : | |
| # jpa.ddl=update | |
| # | |
| # Debug SQL statements : | |
| jpa.debugSQL=true | |
| jpa.entities=org.playframework.models.Cat | |
| # Memcached configuration | |
| # ~~~~~ | |
| # Enable memcached if needed. Otherwise a local cache is used. | |
| # memcached=enabled | |
| # | |
| # Specify memcached host (default to 127.0.0.1:11211) | |
| # memcached.host=127.0.0.1:11211 | |
| # | |
| # Or you can specify multiple host to build a distributed cache | |
| # memcached.1.host=127.0.0.1:11211 | |
| # memcached.2.host=127.0.0.1:11212 | |
| # Mail configuration | |
| # ~~~~~ | |
| # Default is to use a mock Mailer | |
| mail.smtp=mock | |
| # Or, specify mail host configuration | |
| # mail.smtp.host=127.0.0.1 | |
| # mail.smtp.user=admin | |
| # mail.smtp.pass= | |
| # mail.smtp.channel=ssl | |
| # Open file from errors pages | |
| # ~~~~~ | |
| # If your text editor supports to open files using URL, Play! will link | |
| # error pages to files dynamically | |
| # | |
| play.editor=txmt://open?url=file://%s&line=%s | |
| # Testing. Set up a custom configuration for test mode | |
| # ~~~~~ | |
| %test.application.mode=dev | |
| %test.db.url=jdbc:h2:mem:play;MODE=MYSQL;LOCK_MODE=0;MV_STORE=false; | |
| %test.jpa.ddl=create | |
| %test.mail.smtp=mock | |
| # we want to simulate 2 parallel remote calls | |
| %test.play.pool=3 | |
| # Date format for the application | |
| date.format=yyyy-MM-dd | |
| date.format.fr=dd-MM-yyyy | |
| # For tests: defining a new mime type | |
| mimtype.foobar=application/foobarstuff | |
| # For tests: overriding a default mime type | |
| mimtype.gif=image/gifsucks | |
| mimetype.customContentType=custom/contentType | |
| #Used when testing mailer and template-rendering in Job | |
| application.baseUrl = http://my.externalhostname.com | |
| utf8value = 欢迎 | |
| %test.@include.filesToInclude=includedApplication.conf | |
| %prod.@include.filesToInclude=this-file-should-not-be-included.conf | |
| XForwardedSupport=127.0.0.1,1.2.3.4, 5.5.5.5 |