From 49f60702c82398abadb0bc28bf9a3b902b1deee7 Mon Sep 17 00:00:00 2001 From: deepikasatheesh Date: Thu, 4 Feb 2021 14:54:53 +0000 Subject: Refactored & enhanced code check-in RANSim Controller and RANSim GUI Issue-ID: INT-1849 Signed-off-by: deepikasatheesh Change-Id: I8f92d8eae6eb67708098ccd696dbfff0eaa5f87f --- .../src/main/resources/META-INF/persistence.xml | 43 ---------------------- .../src/main/resources/application.properties | 8 ++++ .../src/main/resources/dumpfileNames.properties | 1 + 3 files changed, 9 insertions(+), 43 deletions(-) delete mode 100644 ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/META-INF/persistence.xml create mode 100644 ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/application.properties create mode 100644 ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/dumpfileNames.properties (limited to 'ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources') diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/META-INF/persistence.xml b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/META-INF/persistence.xml deleted file mode 100644 index bbfb0f3..0000000 --- a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/META-INF/persistence.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - org.eclipse.persistence.jpa.PersistenceProvider - org.onap.ransim.rest.api.models.CellDetails - org.onap.ransim.rest.api.models.CellNeighbor - org.onap.ransim.rest.api.models.NetconfServers - org.onap.ransim.rest.api.models.OperationLog - org.onap.ransim.rest.api.models.NeighborDetails - - - - - - - - - - - - diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/application.properties b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/application.properties new file mode 100644 index 0000000..02a81ec --- /dev/null +++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/application.properties @@ -0,0 +1,8 @@ +spring.datasource.username=root +spring.datasource.password=secret +spring.datasource.driver-class-name=org.mariadb.jdbc.Driver +spring.jpa.hibernate.ddl-auto=update +spring.datasource.url=jdbc:mariadb://mariadb:3306/ransim_db +hibernate.dialect=org.hibernate.dialect.MariaDBDialect +spring.config.location=/tmp/ransim-install/config/ +spring.config.name=ransim diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/dumpfileNames.properties b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/dumpfileNames.properties new file mode 100644 index 0000000..4f9be36 --- /dev/null +++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/dumpfileNames.properties @@ -0,0 +1 @@ +defaultFiles=latestDump.json,1050cells.json,sample.json \ No newline at end of file -- cgit 1.2.3-korg