From 6c78d011f735d14ac45f7eae9ab0d56fd17cc55e Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Fri, 29 Sep 2017 09:46:14 +0200 Subject: Rename persistence unit to opendc-simulator Also changes the environment variables of the run-command to reflect the standard followed in the rest of the OpenDC codebase. --- .../src/main/kotlin/nl/atlarge/opendc/platform/JpaPlatformRunner.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc-integration-jpa/src/main/kotlin/nl') diff --git a/opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaPlatformRunner.kt b/opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaPlatformRunner.kt index 10e80260..d7282c27 100644 --- a/opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaPlatformRunner.kt +++ b/opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaPlatformRunner.kt @@ -40,7 +40,7 @@ val logger = KotlinLogging.logger {} fun main(args: Array) { val threads = 1 val executorService = Executors.newFixedThreadPool(threads) - val factory = Persistence.createEntityManagerFactory("opendc-frontend") + val factory = Persistence.createEntityManagerFactory("opendc-simulator") val experiments = JpaExperimentManager(factory) logger.info { "Waiting for enqueued experiments..." } -- cgit v1.2.3