diff options
Diffstat (limited to 'ms/neng/src/test/resources/application-test.properties')
-rw-r--r-- | ms/neng/src/test/resources/application-test.properties | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/ms/neng/src/test/resources/application-test.properties b/ms/neng/src/test/resources/application-test.properties new file mode 100644 index 00000000..ca8ac129 --- /dev/null +++ b/ms/neng/src/test/resources/application-test.properties @@ -0,0 +1,38 @@ +info.build.artifact=@project.artifactId@ +info.build.name=@project.name@ +info.build.description=@project.description@ +info.build.version=@project.version@ + +spring.jersey.type=filter + +logging.level.root=info +logging.level.org.glassfish=info +logging.level.org.glassfish.jersey=info + +spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration + +logging.pattern.console=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr($ threadId: {PID:- }){magenta} %clr(---){faint} %clr([ hostname: %X{hostname} serviceName: %X{serviceName} version: %X{version} transactionId: %X{transactionId} requestTimeStamp: %X{requestTimestamp} responseTimeStamp: %X{responseTimestamp} duration: %X{duration}]){yellow} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wex + +liquibase.changeLog=classpath:/h2db/changelog/h2db.changelog-master.xml +logging.level.liquibase: DEBUG + +spring.jersey.type=filter +spring.mvc.urls=swagger,docs,prometheus,auditevents,info,heapdump,autoconfig,beans,loggers,dump,env,trace,health,configprops,mappings + +server.contextPath=/web + +spring.datasource.driver-class-name=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=sa +spring.jpa.hibernate.ddl-auto=none +spring.jpa.show-sql=true +spring.datasource.url=jdbc:h2:mem:tests;DB_CLOSE_DELAY=-1; + +datasource.db.driver-class-name=org.h2.Driver +datasource.db.url=jdbc:h2:mem:tests;DB_CLOSE_DELAY=-1; +datasource.db.username=sa +datasource.db.password=sa +jpa.hibernate.ddl-auto=none +jpa.show-sql=true + +entitymanager.packagesToScan=org.onap.ccsdk.apps.ms.neng.persistence.entity |