diff --git a/build.gradle b/build.gradle index ffb6c32..097017e 100644 --- a/build.gradle +++ b/build.gradle @@ -21,6 +21,10 @@ repositories { mavenCentral() } +bootRun { + addResources = true +} + sourceCompatibility = 1.8 targetCompatibility = 1.8 diff --git a/src/main/java/oraMessaging/MessageApplication.java b/src/main/java/oraMessaging/MessageApplication.java index 91304a1..f14af3d 100644 --- a/src/main/java/oraMessaging/MessageApplication.java +++ b/src/main/java/oraMessaging/MessageApplication.java @@ -7,6 +7,7 @@ public class MessageApplication { public static void main(String[] args) { + System.out.println("---------------ITS BEGUN------------"); SpringApplication.run(MessageApplication.class, args); } } \ No newline at end of file diff --git a/src/main/java/oramessaging/models/Message.java b/src/main/java/oramessaging/models/Message.java index f84fb2c..395b322 100644 --- a/src/main/java/oramessaging/models/Message.java +++ b/src/main/java/oramessaging/models/Message.java @@ -24,6 +24,7 @@ public class Message { protected Message() { this.date = new Date(); + System.out.println("New chat message adde!!!!"); } public long getId() { diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..3c3fb0d --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1,5 @@ +server.port: 8443 +server.ssl.key-store: classpath:keystore.p12 +server.ssl.key-store-password: sammiles +server.ssl.keyStoreType: PKCS12 +server.ssl.keyAlias: tomcat diff --git a/src/main/resources/keystore.p12 b/src/main/resources/keystore.p12 new file mode 100644 index 0000000..f5e56ae Binary files /dev/null and b/src/main/resources/keystore.p12 differ