Implement YAML config, start SQLite implementation

A config.yml file has been added, to allow configuring server settings.
It will be expanded with new settings in the future.

Also, SQLite support has been added, with a "database.sqlite" file.
A basic table with user/pass/userid columns has been added for testing
purposes.
This commit is contained in:
Lorenzo Dellacà
2020-08-21 16:11:32 +02:00
parent 4ab01c3787
commit ce172c3dc4
17 changed files with 469 additions and 5 deletions

19
pom.xml
View File

@@ -6,7 +6,7 @@
<groupId>net.mindoverflow.webmarker</groupId>
<artifactId>WebMarker</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1-alpha</version>
<packaging>jar</packaging>
<dependencies>
@@ -16,12 +16,27 @@
<version>1.13.1</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>ro.pippo</groupId>
<artifactId>pippo-controller</artifactId>
<version>1.13.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.0-alpha1</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.32.3.2</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.21</version>
</dependency>
</dependencies>
<build>