버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...



Folder Name
Description
Remarks
1bin

files related with execution and termination can be found 


2conf

Configuration files can be found 


3db

h2 database automatically created once odi test manager runs


4logs

log files can be found here


5targeta WAR file can be found here



Configuration

As an example, "application.properties" under "conf" directory can be modified for configuration purpose

  • database : 
  • port : 8080 is its default port 
  • upload.filesize=20MB
  • ......

The following show an example of  "application.properties" 


코드 블럭
languagepowershell
linenumberstrue
server.port = 8080
spring.h2.console.enabled=true
spring.h2.console.path=/h2-console

spring.datasource.url=jdbc:h2:file:./database/h2
spring.datasource.username=sa
spring.datasource.password=
spring.datasource.driver-class-name=org.h2.Driver

spring.jpa.hibernate.ddl-auto = update
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
spring.jpa.properties.hibernate.show_sql=true
spring.jpa.properties.hibernate.use_sql_comments=false
spring.jpa.properties.hibernate.format_sql=true


#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
#
#
#spring.jpa.generate-ddl=true
#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=false

#Enable shutdown endpoint
management.endpoints.web.exposure.include=*
management.endpoint.shutdown.enabled=true

#No auth protected
management.security.enabled=false


upload.filesize=20MB

*Please note that upload.filesize property 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. 

Run odi test manager

odi test manager can be started with the following commands:

Windows

코드 블럭
languagepowershell
linenumberstrue
bin\start-odi.bat

Linux

코드 블럭
languagepowershell
linenumberstrue
./bin/start-odi.sh

Shutdown odi test manager

odi test manager can be shutdown with the following commands: 

Windows

코드 블럭
languagepowershell
linenumberstrue
bin\stop-odi.bat

Linux

코드 블럭
languagepowershell
linenumberstrue
./bin/stop-odi.sh


...