diff options
author | a.sreekumar <ajith.sreekumar@bell.ca> | 2022-01-25 15:19:40 +0000 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@bell.ca> | 2022-01-28 11:26:15 +0000 |
commit | 618ab3870d9ac3902edbc64cb2a69ef76ea88dfb (patch) | |
tree | 5fa67917a78e3f7805cad4a82eddc94769ecf1e5 /main/src/main/resources/application.yaml | |
parent | 518e56befaeb44df719c2d1db7daf7b0de6f3c1d (diff) |
Create spring repository layer for PAP
This review adds the spring repository and service layers to PAP.
Once this is merged, the next work will be to actually use these
spring boot based services to talk to the db directly,
and not using policy-models-provider in PAP.
Change-Id: Ib086b8b405020cb452e51d6359dd1a69d0000f74
Issue-ID: POLICY-3869
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'main/src/main/resources/application.yaml')
-rw-r--r-- | main/src/main/resources/application.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/src/main/resources/application.yaml b/main/src/main/resources/application.yaml index 0fb67307..3d6cf0e7 100644 --- a/main/src/main/resources/application.yaml +++ b/main/src/main/resources/application.yaml @@ -6,6 +6,20 @@ spring: http: converters: preferred-json-mapper: gson + datasource: + url: jdbc:mariadb://mariadb:3306/policyadmin + driverClassName: org.mariadb.jdbc.Driver + username: policy_user + password: policy_user + jpa: + properties: + hibernate: + dialect: org.hibernate.dialect.MySQL5InnoDBDialect + hibernate: + ddl-auto: none + naming: + physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl + implicit-strategy: org.onap.policy.pap.main.CustomImplicitNamingStrategy server: port: 6969 |