Ready to deploy
This commit is contained in:
parent
22ed8e41e2
commit
496c5fcb6b
@ -7,6 +7,7 @@ plugins {
|
|||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
apply plugin: 'idea'
|
apply plugin: 'idea'
|
||||||
apply plugin: 'com.moowork.node'
|
apply plugin: 'com.moowork.node'
|
||||||
|
apply plugin: 'war'
|
||||||
|
|
||||||
group = 'de.hhn.labsw'
|
group = 'de.hhn.labsw'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
@ -37,7 +38,7 @@ dependencies {
|
|||||||
compile 'com.googlecode.json-simple:json-simple:1.1.1'
|
compile 'com.googlecode.json-simple:json-simple:1.1.1'
|
||||||
|
|
||||||
|
|
||||||
//compile 'org.springframework.boot:spring-boot-starter-tomcat'
|
compile 'org.springframework.boot:spring-boot-starter-tomcat'
|
||||||
//compile 'org.springframework.boot:spring-boot-starter-security'
|
//compile 'org.springframework.boot:spring-boot-starter-security'
|
||||||
//compile 'org.springframework.boot:spring-boot-starter-actuator'
|
//compile 'org.springframework.boot:spring-boot-starter-actuator'
|
||||||
//compile 'org.springframework.boot:spring-boot-starter-aop'
|
//compile 'org.springframework.boot:spring-boot-starter-aop'
|
||||||
@ -46,6 +47,8 @@ dependencies {
|
|||||||
compile group: 'org.springframework.security', name: 'spring-security-core', version: '5.1.4.RELEASE'
|
compile group: 'org.springframework.security', name: 'spring-security-core', version: '5.1.4.RELEASE'
|
||||||
//compile group: 'at.favre.lib', name: 'bcrypt', version: '{latest-version}'
|
//compile group: 'at.favre.lib', name: 'bcrypt', version: '{latest-version}'
|
||||||
|
|
||||||
|
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
|
||||||
|
|
||||||
//JWT
|
//JWT
|
||||||
compile 'io.jsonwebtoken:jjwt-api:0.10.5'
|
compile 'io.jsonwebtoken:jjwt-api:0.10.5'
|
||||||
runtime 'io.jsonwebtoken:jjwt-impl:0.10.5',
|
runtime 'io.jsonwebtoken:jjwt-impl:0.10.5',
|
||||||
|
|||||||
@ -106,8 +106,8 @@ module.exports = function (ctx) {
|
|||||||
API: JSON.stringify('http://localhost:8080')
|
API: JSON.stringify('http://localhost:8080')
|
||||||
}
|
}
|
||||||
: { // Base URL for API-Calls: PRODUCTION (build)
|
: { // Base URL for API-Calls: PRODUCTION (build)
|
||||||
API: JSON.stringify('http://se.hs-heilbronn.de:8090')
|
|
||||||
//API: JSON.stringify('http://se.hs-heilbronn.de:8090')
|
//API: JSON.stringify('http://se.hs-heilbronn.de:8090')
|
||||||
|
API: JSON.stringify('http://seserver.se.hs-heilbronn.de:8090/buga19geocaching')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -8,12 +8,12 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
|
|||||||
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
||||||
|
|
||||||
@SpringBootApplication(exclude = { SecurityAutoConfiguration.class })
|
@SpringBootApplication(exclude = { SecurityAutoConfiguration.class })
|
||||||
public class Application{
|
public class Application extends SpringBootServletInitializer{
|
||||||
|
|
||||||
/**@Override
|
@Override
|
||||||
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
|
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
|
||||||
return application.sources(Application.class);
|
return application.sources(Application.class);
|
||||||
}**/
|
}
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
SpringApplication.run(Application.class, args);
|
SpringApplication.run(Application.class, args);
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
spring.datasource.url=jdbc:mariadb://seserver.se.hs-heilbronn.de:3406/buga19Geocaching
|
spring.datasource.url=jdbc:mariadb://seserver.se.hs-heilbronn.de:3406/buga19Geocaching
|
||||||
spring.datasource.username=BuGa19GeocachingUser
|
spring.datasource.username=BuGa19GeocachingUser
|
||||||
spring.datasource.password=GeocachingPw
|
spring.datasource.password=GeocachingPw
|
||||||
|
spring.jmx.default-domain=buga19geocaching
|
||||||
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
||||||
spring.jpa.hibernate.ddl-auto=update
|
spring.jpa.hibernate.ddl-auto=update
|
||||||
spring.jpa.show-sql=true
|
spring.jpa.show-sql=true
|
||||||
Loading…
Reference in New Issue
Block a user