summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-requests-db-repositories/src/test/resources/application-test.yaml
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2018-09-10 15:26:31 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-10 15:26:31 +0000
commitc5caaf624bb44713c4daa8d68befa67ee28573f4 (patch)
tree09e8c8614b2e8ecb4891701d07fd084620656a6b /mso-api-handlers/mso-requests-db-repositories/src/test/resources/application-test.yaml
parent54bff33ffe1318f0ed72f19041546b4dc3a679cb (diff)
parentdfdb5a1d8cff4327a88220dfcc7f8df31814bf65 (diff)
Merge "sparate beans and repositories"
Diffstat (limited to 'mso-api-handlers/mso-requests-db-repositories/src/test/resources/application-test.yaml')
-rw-r--r--mso-api-handlers/mso-requests-db-repositories/src/test/resources/application-test.yaml45
1 files changed, 45 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-requests-db-repositories/src/test/resources/application-test.yaml b/mso-api-handlers/mso-requests-db-repositories/src/test/resources/application-test.yaml
new file mode 100644
index 0000000000..c4dd60356b
--- /dev/null
+++ b/mso-api-handlers/mso-requests-db-repositories/src/test/resources/application-test.yaml
@@ -0,0 +1,45 @@
+# will be used as entry in DB to say SITE OFF/ON for healthcheck
+
+server:
+ port: 8080
+ tomcat:
+ max-threads: 50
+ssl-enable: false
+mso:
+ adapters:
+ requestDb:
+ auth: Basic YnBlbDptc28tZGItMTUwNyE=
+ endpoint: http://localhost:8081
+ site-name: localDevEnv
+ logPath: logs
+
+# H2
+spring:
+ datasource:
+ url: jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;
+ username: sa
+ password: sa
+ driver-class-name: org.h2.Driver
+ h2:
+ console:
+ enabled: true
+ path: /h2
+
+ jpa:
+ show-sql: true
+ hibernate:
+ dialect: org.hibernate.dialect.MySQL5Dialect
+ ddl-auto: none
+ naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
+ enable-lazy-load-no-trans: true
+
+
+#Actuator
+management:
+ security:
+ enabled: false
+ basic:
+ enabled: false
+
+
+