...
The odi test manager can be downloaded from the link below:
- https://curvcloud.atlassian.net/wiki/spaces/OTM/pages/253362189/Resources
Installation
The downloaded file, on which should be located where execution permission for all users is allowed, can be uncompressed.
...
As an example, "application.properties" under "conf" directory can be modified for configuration purpose
...
upload.filesize=20MB
...
The following show an example of "application.properties"
코드 블럭 | ||||
---|---|---|---|---|
| ||||
# Set endpoint HTTP port server.port = 8080 # Whether to enable the console spring.h2.console.enabled=true # Path at which the console is available spring.h2.console.path=/h2-console #-------------------------------------------------------------------------------------------------- # DATABASE # # IMPORTANT: # - The embedded H2 database is used by default. It is recommended for tests but not for # production use. Supported databases are MySQL, PostgreSQL. #-------------------------------------------------------------------------------------------------- #----- Embedded Database (default) # JDBC URL of the database. spring.datasource.url=jdbc:h2:file:./database/h2 # Login username & password of the database. spring.datasource.username=sa spring.datasource.password= # Fully qualified name of the JDBC driver. spring.datasource.driver-class-name=org.h2.Driver # DDL mode. This is actually a shortcut for the "hibernate.hbm2ddl.auto" property. spring.jpa.hibernate.ddl-auto = update # Fully qualified name of the physical naming strategy. spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl # Additional native properties to set on the JPA provider. spring.jpa.properties.hibernate.show_sql=truefalse spring.jpa.properties.hibernate.use_sql_comments=false spring.jpa.properties.hibernate.format_sql=true #----- MySQL >=5.6 # Only InnoDB storage engine is supported (not myISAM). #spring.datasource.type=org.apache.tomcat.jdbc.pool.DataSource #spring.datasource.url=jdbc:mysql://localhost:3306/odidb?autoReconnect=true&useUnicode=true&characterEncoding=utf-8 #spring.datasource.url=jdbc:mysql://localhost:3306/odidb?useUnicode=yes&characterEncoding=UTF-8 #spring.datasource.username=odiuser #spring.datasource.password=odiuser #spring.datasource.driver-class-name=com.mysql.jdbc.Driver # # Whether to initialize the schema on startup. #spring.jpa.generate-ddl=true # Whether to enable logging of SQL statements. #spring.jpa.show-sql=true #spring.jpa.database=mysql #spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect # #spring.jpa.hibernate.ddl-auto=update #spring.jpa.hibernate.naming.strategy=org.hibernate.cfg.ImprovedNamingStrategy #spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl #spring.jpa.properties.hibernate.format_sql=true #spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true # # ##spring.servlet.multipart.enabled=true ##file.upload-dir=./uploads spring.servlet.multipart.max-file-size=-1 spring.servlet.multipart.max-request-size=-1 server.error.whitelabel.enabled=falseWhether to enable support of multipart uploads. ##spring.servlet.multipart.enabled=true #Enable shutdown endpoint management.endpoints.web.exposure.include=* management.endpoint.shutdown.enabled=true #No auth protected management.security.enabled=false ##upload maximum upload file size inand apath testsettings case upload.filesize=20MB upload.path=uploads/ |
Note:
upload.filesize
- It cannot exceed some mega bytes. ie, if the upload file size 1GB, it could result in abnormal behavior of the system. it is not allowed to change its unit, for instance, to KB or GB.
- if this property is not present in conf/application.properties, a default maximum upload file size is 20MB
...