Disable hazelcast phone home.

This commit is contained in:
Fabian Märki 2017-01-17 15:25:35 +01:00
parent c41407635d
commit fe53547f31

View File

@ -5,7 +5,7 @@ import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.cassandra.CassandraDataAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.SpringBootServletInitializer;
import org.springframework.boot.web.support.SpringBootServletInitializer;
/**
* Entry point to our rest-frontend of the data acquisition (DAQ) application which most importantly
@ -15,9 +15,12 @@ import org.springframework.boot.context.web.SpringBootServletInitializer;
@EnableAutoConfiguration(exclude={
CassandraDataAutoConfiguration.class
})
//@EnableEncryptableProperties
// http://stackoverflow.com/questions/26655875/spring-boot-redirect-http-to-https
public class QueryRestApplication extends SpringBootServletInitializer {
public static void main(final String[] args) {
System.getProperties().setProperty("hazelcast.phone.home.enabled", "false");
SpringApplication.run(QueryRestApplication.class, args);
}