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 //
ENTRYPOINT ["java", "-jar", "/demo-0.0.1-SNAPSHOT.jar"]
......@@ -8,11 +8,15 @@
<version>3.0.1</version>
<relativePath/> <!-- lookup parent from repository -->
</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>
<name>java17_Springboot2.7.7_H2</name>
<description>java17_Springboot2.7.7_H2</description>
<packaging>jar</packaging>
<name>PlaygroundCandidateDemo</name>
<description>PlaygroundCandidateDemo</description>
<properties>
<java.version>17</java.version>
</properties>
......
# Spring properties
spring:
application:
name: playground-elab-demo # Service registers under this name
name: PlaygroundCandidateDemo # Service registers under this name
freemarker:
enabled: false # Ignore Eureka dashboard FreeMarker templates
......@@ -9,8 +9,8 @@ spring:
# HTTP Server
server:
port: 8090 # HTTP (Tomcat) port
servlet.contextPath: /pgdemo
port: 1099 # HTTP (Tomcat) port
servlet.contextPath: /
undertow:
accesslog:
enabled: true
......@@ -24,5 +24,5 @@ logging:
org.springframework.security: INFO
org.hibernate.SQL: WARN
article:
PlaygroundCandidateDemo:
fileName : validator.json
\ No newline at end of file
# 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.
spring.datasource.driverClassName=org.h2.Driver
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
# to connect to the database wih the properties mentioned below.
\ 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