This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.annotation.PostConstruct; | |
import org.apache.cxf.bus.spring.SpringBus; | |
import org.apache.cxf.interceptor.AbstractLoggingInterceptor; | |
import org.apache.cxf.interceptor.LoggingInInterceptor; | |
import org.apache.cxf.interceptor.LoggingOutInterceptor; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.Profile; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
import org.apache.http.conn.ssl.NoopHostnameVerifier; | |
import org.apache.http.impl.client.CloseableHttpClient; | |
import org.apache.http.impl.client.HttpClients; | |
import org.springframework.http.MediaType; | |
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory; | |
import org.springframework.http.converter.ByteArrayHttpMessageConverter; | |
import org.springframework.web.client.RestTemplate; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} versions:commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Increment Version Numbers: | |
Console: | |
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} versions:commit | |
### Deploy to Nexus: | |
project.pom: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.springframework.amqp.rabbit.annotation.RabbitListener; | |
import org.springframework.messaging.handler.annotation.Payload; | |
import org.springframework.stereotype.Component; | |
import de.codecentric.microplode.configuration.MessagingConfiguration; | |
import de.codecentric.microplode.messaging.api.Event; | |
@Component | |
public class EventResultHandler { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
@EnableRabbit | |
public class MessagingConfiguration implements RabbitListenerConfigurer { | |
public static final String queueNameComputerPlayer = "microplode-newgame-event-computerplayer"; | |
@Autowired | |
public ConnectionFactory connectionFactory; | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
manager.addShortText(manager.build.getEnvironment(manager.listener)['JAR_VERSION']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name | |
(?<=<partner:Vorname>)[^<>]+(?=</partner:Vorname>) | |
(?<=<partner:Name>)[^<>]+(?=</partner:Name>) | |
Adresse | |
(?<=<allg:Strasse>)[^<>]+(?=</allg:Strasse>) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logstash agent -f logstash.conf -t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
download .exe-File from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html | |
extract .exe and included tools.zip e.g. via 7Zip to jdk1.8.0_xx | |
on commandline in folder jdk1.8.0_xx run: for /r %x in (*.pack) do .\bin\unpack200 -r "%x" "%~dx%~px%~nx.jar" |