Commit 147dc778 authored by aray's avatar aray

initial commit by Admin

parent ef48d2d8
FROM openjdk:8-jre-alpine FROM openjdk:17-alpine
ADD /target/demo-0.0.1-SNAPSHOT.jar // ADD /target/demo-0.0.1-SNAPSHOT.jar //
ENTRYPOINT ["java", "-jar", "/demo-0.0.1-SNAPSHOT.jar"] ENTRYPOINT ["java", "-jar", "/demo-0.0.1-SNAPSHOT.jar"]
...@@ -8,11 +8,15 @@ ...@@ -8,11 +8,15 @@
<version>3.0.1</version> <version>3.0.1</version>
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<groupId>java17_Springboot2.7.7_H2</groupId>
<artifactId>java17_Springboot2.7.7_H2</artifactId> <groupId>com.altimetrik</groupId>
<artifactId>demo</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>java17_Springboot2.7.7_H2</name> <packaging>jar</packaging>
<description>java17_Springboot2.7.7_H2</description> <name>PlaygroundCandidateDemo</name>
<description>PlaygroundCandidateDemo</description>
<properties> <properties>
<java.version>17</java.version> <java.version>17</java.version>
</properties> </properties>
......
# Spring properties # Spring properties
spring: spring:
application: application:
name: playground-elab-demo # Service registers under this name name: PlaygroundCandidateDemo # Service registers under this name
freemarker: freemarker:
enabled: false # Ignore Eureka dashboard FreeMarker templates enabled: false # Ignore Eureka dashboard FreeMarker templates
...@@ -9,8 +9,8 @@ spring: ...@@ -9,8 +9,8 @@ spring:
# HTTP Server # HTTP Server
server: server:
port: 8090 # HTTP (Tomcat) port port: 1099 # HTTP (Tomcat) port
servlet.contextPath: /pgdemo servlet.contextPath: /
undertow: undertow:
accesslog: accesslog:
enabled: true enabled: true
...@@ -24,5 +24,5 @@ logging: ...@@ -24,5 +24,5 @@ logging:
org.springframework.security: INFO org.springframework.security: INFO
org.hibernate.SQL: WARN org.hibernate.SQL: WARN
article: PlaygroundCandidateDemo:
fileName : validator.json fileName : validator.json
\ No newline at end of file
# Please use the the url 'https://{pgtest/pgsandbox/citi-pg-project}.altimetrik.com/project1392/project1392/' # Please use the the url 'https://{pgtest/pgsandbox/citi-pg-project}.altimetrik.com/project1392/project1392/'
# to connect to the database wih the properties mentioned below. # to connect to the database wih the properties mentioned below.
spring.datasource.driverClassName=org.h2.Driver \ No newline at end of file
spring.datasource.username=playground
spring.datasource.password=password
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
# temporary data storage
spring.datasource.url = jdbc:h2:file:./src/main/resources/project1392
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment