diff options
author | Brinda Santh <brindasanth@in.ibm.com> | 2018-09-10 23:15:31 -0400 |
---|---|---|
committer | Dilip kumar Pampana <dilip.kumar.pampana@ibm.com> | 2018-09-11 15:39:13 -0400 |
commit | 43a039f58457a29e843393ef49f86da119fa415e (patch) | |
tree | c4b6aa1a8f6087d4f549f54c2a0d7d7e43c1aa14 /ms | |
parent | 68778581d3d82dc6adfcf55c2163bc13da76d7b6 (diff) |
Controller Blueprints Microservice
Changes to MariaDB from MySql in Pom.xml
Issue-ID: CCSDK-532
Change-Id: I6b231f503448a3a0134da8cfc360989b60a9b2b2
Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
Diffstat (limited to 'ms')
-rw-r--r-- | ms/controllerblueprints/application/opt/app/onap/config/application.properties | 4 | ||||
-rw-r--r-- | ms/controllerblueprints/modules/service/pom.xml | 13 |
2 files changed, 6 insertions, 11 deletions
diff --git a/ms/controllerblueprints/application/opt/app/onap/config/application.properties b/ms/controllerblueprints/application/opt/app/onap/config/application.properties index 2d355d65..b65d5bfe 100644 --- a/ms/controllerblueprints/application/opt/app/onap/config/application.properties +++ b/ms/controllerblueprints/application/opt/app/onap/config/application.properties @@ -40,11 +40,11 @@ spring.jpa.properties.hibernate.format_sql=true spring.datasource.url=jdbc:mysql://localhost:3306/sdnctl spring.datasource.username=sdnctl spring.datasource.password=sdnctl -spring.datasource.driver-class-name=com.mysql.jdbc.Driver +spring.datasource.driver-class-name=org.mariadb.jdbc.Driver spring.jpa.show-sql = true spring.jpa.hibernate.ddl-auto = none spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy -spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect +spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect #Load Blueprints # blueprints.load.initial-data may be overridden by ENV variables diff --git a/ms/controllerblueprints/modules/service/pom.xml b/ms/controllerblueprints/modules/service/pom.xml index 9efadd18..524e0ebe 100644 --- a/ms/controllerblueprints/modules/service/pom.xml +++ b/ms/controllerblueprints/modules/service/pom.xml @@ -55,19 +55,14 @@ <artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- </dependency>
- <dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
- <!--<dependency>-->
- <!--<groupId>org.mariadb.jdbc</groupId>-->
- <!--<artifactId>mariadb-java-client</artifactId>-->
- <!--</dependency>-->
-
+ <dependency>
+ <groupId>org.mariadb.jdbc</groupId>
+ <artifactId>mariadb-java-client</artifactId>
+ </dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>
|