diff --git a/build.gradle b/build.gradle index 85125ab..5ee067b 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ java { } application { - mainClass = 'biz.nellemann.memstress.Application' + mainClass = 'biz.nellemann.jmemperf.Application' } tasks.named('test') { diff --git a/gradle.properties b/gradle.properties index 2eae34a..6bbf328 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -projectId = memstress -projectGroup = biz.nellemann.memstress +projectId = jmemperf +projectGroup = biz.nellemann.jmemperf projectVersion = 0.0.1 diff --git a/settings.gradle b/settings.gradle index 8592cea..56a9f21 100644 --- a/settings.gradle +++ b/settings.gradle @@ -12,4 +12,4 @@ plugins { id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0' } -rootProject.name = 'memstress' +rootProject.name = 'jmemperf' diff --git a/src/main/java/biz/nellemann/memstress/Application.java b/src/main/java/biz/nellemann/jmemperf/Application.java similarity index 90% rename from src/main/java/biz/nellemann/memstress/Application.java rename to src/main/java/biz/nellemann/jmemperf/Application.java index f03bb6f..86ecca7 100644 --- a/src/main/java/biz/nellemann/memstress/Application.java +++ b/src/main/java/biz/nellemann/jmemperf/Application.java @@ -1,4 +1,4 @@ -package biz.nellemann.memstress; +package biz.nellemann.jmemperf; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -7,7 +7,7 @@ import picocli.CommandLine; import java.time.Duration; import java.util.concurrent.Callable; -@CommandLine.Command(name = "memstress", mixinStandardHelpOptions = true, versionProvider = VersionProvider.class, description = "Memory performance measurement tool.") +@CommandLine.Command(name = "jmemperf", mixinStandardHelpOptions = true, versionProvider = VersionProvider.class, description = "Memory performance measurement tool.") public class Application implements Callable { final Logger log = LoggerFactory.getLogger(Application.class); diff --git a/src/main/java/biz/nellemann/memstress/MemDatabase.java b/src/main/java/biz/nellemann/jmemperf/MemDatabase.java similarity index 95% rename from src/main/java/biz/nellemann/memstress/MemDatabase.java rename to src/main/java/biz/nellemann/jmemperf/MemDatabase.java index 07c581f..5dffec3 100644 --- a/src/main/java/biz/nellemann/memstress/MemDatabase.java +++ b/src/main/java/biz/nellemann/jmemperf/MemDatabase.java @@ -1,8 +1,8 @@ -package biz.nellemann.memstress; +package biz.nellemann.jmemperf; -import biz.nellemann.memstress.db.Database; -import biz.nellemann.memstress.db.DatabaseManager; -import biz.nellemann.memstress.db.Table; +import biz.nellemann.jmemperf.db.Database; +import biz.nellemann.jmemperf.db.DatabaseManager; +import biz.nellemann.jmemperf.db.Table; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/biz/nellemann/memstress/VersionProvider.java b/src/main/java/biz/nellemann/jmemperf/VersionProvider.java similarity index 93% rename from src/main/java/biz/nellemann/memstress/VersionProvider.java rename to src/main/java/biz/nellemann/jmemperf/VersionProvider.java index fc3265a..baf10e0 100644 --- a/src/main/java/biz/nellemann/memstress/VersionProvider.java +++ b/src/main/java/biz/nellemann/jmemperf/VersionProvider.java @@ -1,4 +1,4 @@ -package biz.nellemann.memstress; +package biz.nellemann.jmemperf; import picocli.CommandLine; diff --git a/src/main/java/biz/nellemann/memstress/db/Database.java b/src/main/java/biz/nellemann/jmemperf/db/Database.java similarity index 97% rename from src/main/java/biz/nellemann/memstress/db/Database.java rename to src/main/java/biz/nellemann/jmemperf/db/Database.java index 7d63efb..b199680 100644 --- a/src/main/java/biz/nellemann/memstress/db/Database.java +++ b/src/main/java/biz/nellemann/jmemperf/db/Database.java @@ -1,7 +1,7 @@ /** * Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa */ -package biz.nellemann.memstress.db; +package biz.nellemann.jmemperf.db; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/biz/nellemann/memstress/db/DatabaseManager.java b/src/main/java/biz/nellemann/jmemperf/db/DatabaseManager.java similarity index 97% rename from src/main/java/biz/nellemann/memstress/db/DatabaseManager.java rename to src/main/java/biz/nellemann/jmemperf/db/DatabaseManager.java index 41b6c99..333a8b0 100644 --- a/src/main/java/biz/nellemann/memstress/db/DatabaseManager.java +++ b/src/main/java/biz/nellemann/jmemperf/db/DatabaseManager.java @@ -1,7 +1,7 @@ /** * Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa */ -package biz.nellemann.memstress.db; +package biz.nellemann.jmemperf.db; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/biz/nellemann/memstress/db/Row.java b/src/main/java/biz/nellemann/jmemperf/db/Row.java similarity index 97% rename from src/main/java/biz/nellemann/memstress/db/Row.java rename to src/main/java/biz/nellemann/jmemperf/db/Row.java index 07fe2e6..aae91ea 100644 --- a/src/main/java/biz/nellemann/memstress/db/Row.java +++ b/src/main/java/biz/nellemann/jmemperf/db/Row.java @@ -1,7 +1,7 @@ /** * Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa */ -package biz.nellemann.memstress.db; +package biz.nellemann.jmemperf.db; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/biz/nellemann/memstress/db/Table.java b/src/main/java/biz/nellemann/jmemperf/db/Table.java similarity index 98% rename from src/main/java/biz/nellemann/memstress/db/Table.java rename to src/main/java/biz/nellemann/jmemperf/db/Table.java index a464cdb..bc247b2 100644 --- a/src/main/java/biz/nellemann/memstress/db/Table.java +++ b/src/main/java/biz/nellemann/jmemperf/db/Table.java @@ -1,7 +1,7 @@ /** * Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa */ -package biz.nellemann.memstress.db; +package biz.nellemann.jmemperf.db; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index 1c6f3db..0640d69 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -3,7 +3,7 @@ false - %cyan(%d{yyyy-MM-dd HH:mm:ss.SSS}) %gray([%-10thread]) %highlight(%-5level) %magenta(%logger{12}) - %msg%n + %cyan(%d{yyyy-MM-dd HH:mm:ss.SSS}) - %msg%n diff --git a/src/test/groovy/biz/nellemann/memstress/ApplicationTest.groovy b/src/test/groovy/biz/nellemann/jmemperf/ApplicationTest.groovy similarity index 83% rename from src/test/groovy/biz/nellemann/memstress/ApplicationTest.groovy rename to src/test/groovy/biz/nellemann/jmemperf/ApplicationTest.groovy index 91c31b1..52550bf 100644 --- a/src/test/groovy/biz/nellemann/memstress/ApplicationTest.groovy +++ b/src/test/groovy/biz/nellemann/jmemperf/ApplicationTest.groovy @@ -1,7 +1,7 @@ /* * This Spock specification was generated by the Gradle 'init' task. */ -package biz.nellemann.memstress +package biz.nellemann.jmemperf import spock.lang.Specification