diff --git a/demand-forecasting-model/pom.xml b/demand-forecasting-model/pom.xml
index e064ea9..ccbba4f 100644
--- a/demand-forecasting-model/pom.xml
+++ b/demand-forecasting-model/pom.xml
@@ -9,45 +9,14 @@
jar
1.0-SNAPSHOT
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 3.7.0
-
- 1.8
- 1.8
- -parameters
-
-
-
- org.codehaus.gmavenplus
- gmavenplus-plugin
- 1.6
-
-
-
- compileTests
-
-
-
-
-
- maven-surefire-plugin
- 2.20.1
-
- false
-
- **/*Spec.java
- **/*Test.java
-
-
-
-
-
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 1.5.8.RELEASE
+
+
pl.com.bottega
shared-kernel-model
@@ -59,29 +28,29 @@
1.16.18
provided
+
- junit
- junit
- 4.12
+ org.springframework.boot
+ spring-boot-starter-data-jpa
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.springframework.boot
+ spring-boot-starter-data-rest
+
+
+ org.springframework.boot
+ spring-boot-starter-test
test
- org.assertj
- assertj-core
- 3.8.0
- test
-
-
- info.cukes
- cucumber-java
- 1.2.5
- test
-
-
- info.cukes
- cucumber-core
- 1.2.5
- test
+ org.postgresql
+ postgresql
+ 42.1.4
+ runtime
org.spockframework
@@ -89,5 +58,29 @@
1.1-groovy-2.4
test
+
+ org.spockframework
+ spock-spring
+ 1.1-groovy-2.4
+ test
+
+
+ net.bytebuddy
+ byte-buddy
+ 1.7.9
+
+
+
+ 1.8
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
\ No newline at end of file
diff --git a/demand-forecasting-model/src/main/java/pl/com/bottega/factory/AppConfiguration.java b/demand-forecasting-model/src/main/java/pl/com/bottega/factory/AppConfiguration.java
new file mode 100644
index 0000000..05e5a51
--- /dev/null
+++ b/demand-forecasting-model/src/main/java/pl/com/bottega/factory/AppConfiguration.java
@@ -0,0 +1,20 @@
+package pl.com.bottega.factory;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.context.annotation.Bean;
+
+import java.time.Clock;
+
+@SpringBootApplication
+public class AppConfiguration {
+
+ public static void main(String[] args) {
+ SpringApplication.run(AppConfiguration.class, args);
+ }
+
+ @Bean
+ public Clock clock() {
+ return Clock.systemDefaultZone();
+ }
+}