Skip to content

Commit f7309c0

Browse files
committed
Demo added
1 parent 3cb15eb commit f7309c0

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

EDI-T/demo/application.properties

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This is a sample application.properties file
2+
# WARNING! It uses the H2 in-memory database, so all data will be lost when you restart the application
3+
4+
spring.datasource.url=jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
5+
spring.datasource.driverClassName=org.h2.Driver
6+
spring.datasource.username=sa
7+
spring.datasource.password=
8+
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
9+
10+
# Example using a PostgreSQL database
11+
# spring.datasource.url=jdbc:postgresql://pg_edi/edi
12+
# spring.datasource.username=postgres
13+
# spring.datasource.password=ritmare2013
14+
# spring.datasource.driverClassName=org.postgresql.Driver
15+
# spring.datasource.testOnBorrow=true
16+
# spring.datasource.validationQuery=SELECT 1
17+
# spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
18+
19+
spring.jpa.properties.hibernate.globally_quoted_identifiers=true
20+
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.EJB3NamingStrategy
21+
spring.jpa.hibernate.ddl-auto=update
22+
23+
spring.data.rest.baseUri=edi
24+
spring.data.rest.base-uri=edi
25+
26+
server.port=8080

EDI-T/demo/edi.jar

75.5 MB
Binary file not shown.

EDI-T/demo/edi.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
java -Dspring.config.location=. -jar edi.jar

0 commit comments

Comments
 (0)