new onap logo
[so.git] / adapters / mso-requests-db-adapter / src / test / resources / application-test.yaml
1 # will be used as entry in DB to say SITE OFF/ON for healthcheck\r
2 security:\r
3   basic:\r
4     enabled: false\r
5 server:\r
6     port: 8080\r
7     tomcat:\r
8         max-threads: 50\r
9 ssl-enable: false\r
10 mso:\r
11   adapters:\r
12     requestDb:\r
13       auth: Basic YnBlbDptc28tZGItMTUwNyE=\r
14       endpoint: http://localhost:8081\r
15   logPath: logs\r
16   site-name: localSite\r
17   infra-requests:\r
18     archived:\r
19       period: 0\r
20 spring:\r
21   datasource:\r
22     jdbcUrl: jdbc:mariadb://localhost:3307/requestdb\r
23     username: root\r
24     password: password\r
25     driver-class-name: org.mariadb.jdbc.Driver\r
26     initialize: true\r
27     initialization-mode: never\r
28   flyway:\r
29     baseline-on-migrate: false\r
30     url: jdbc:mariadb://localhost:3307/requestdb\r
31     user: root\r
32     password: password\r
33   jpa:   \r
34     generate-ddl: false\r
35     show-sql: false\r
36     hibernate:      \r
37       ddl-auto: validate\r
38       naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy\r
39       enable-lazy-load-no-trans: true\r
40     database-platform: org.hibernate.dialect.MySQL5InnoDBDialect\r
41   security:\r
42     usercredentials:\r
43     -\r
44       username: bpel\r
45       password: '$2a$12$1xyutEZNfjGewIZRfKaE8eZE99f5sYFUmmM80BobI65KNjmcK0JuO'\r
46       role: BPEL-Client\r
47     -  \r
48       username: mso_admin\r
49       password: '$2a$12$tidKuu.h88E2nuL95pTVY.ZOYMN/1dp29A9b1o.0GFDsVVSYlMkHa'\r
50       role: ACTUATOR\r
51 mariaDB4j:\r
52   dataDir: \r
53   port: 3307\r
54   databaseName: requestdb\r
55 \r
56 management:\r
57   endpoints:\r
58     web:\r
59       base-path: /manage\r
60   server:\r
61     servlet:\r
62       context-path: /manage\r
63   metrics:\r
64     se-global-registry: false\r
65     export:\r
66       prometheus:\r
67         enabled: true # Whether exporting of metrics to Prometheus is enabled.\r
68         step: 1m # Step size (i.e. reporting frequency) to use.