diff options
Diffstat (limited to 'ms/neng/src/test/resources/application-test.properties')
-rw-r--r-- | ms/neng/src/test/resources/application-test.properties | 43 |
1 files changed, 9 insertions, 34 deletions
diff --git a/ms/neng/src/test/resources/application-test.properties b/ms/neng/src/test/resources/application-test.properties index ca8ac129..ae425c38 100644 --- a/ms/neng/src/test/resources/application-test.properties +++ b/ms/neng/src/test/resources/application-test.properties @@ -1,38 +1,13 @@ -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; +#========================================================================= +# +# Configuration for the test profile, which is used to run integration +# tests of the application, normally in your IDE. +# +#========================================================================= 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 +datasource.db.username=none +datasource.db.password=none -entitymanager.packagesToScan=org.onap.ccsdk.apps.ms.neng.persistence.entity +liquibase.changeLog=classpath:/h2db/changelog/h2db.changelog-master.xml |