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
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>rpm-maven-plugin</artifactId> | |
<version>2.1-alpha-3</version> | |
<executions> | |
<execution> | |
<id>generate-rpm</id> | |
<goals> | |
<goal>rpm</goal> | |
</goals> |
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
[Unit] | |
Description=Test REST Service | |
After=network.target | |
[Service] | |
Type=forking | |
MemoryLimit=512M | |
ExecStart=/usr/lib/systemd/scripts/testrest | |
[Install] |
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
#!/bin/sh | |
java -server -jar /usr/local/bin/dropwizard-test-rest.jar server /usr/local/etc/RestServiceConfig.yml & |
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
public class EmailerViaDumbsterTest extends EmailerTest { | |
private SimpleSmtpServer dumbster; | |
private Emailer emailer; | |
@Before | |
public void setUp() throws Exception { | |
emailer = new Emailer(config); | |
dumbster = SimpleSmtpServer.start(smtpPort); |
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
public class EmailerViaWiserTest { | |
private Wiser wiser; | |
private Emailer emailer; | |
@Before | |
public void setUp() throws Exception { | |
emailer = new Emailer(config); | |
wiser = new Wiser(smtpPort); |
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
<dependency> | |
<groupId>org.subethamail</groupId> | |
<artifactId>subethasmtp</artifactId> | |
<version>3.1.7</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>dumbster</groupId> | |
<artifactId>dumbster</artifactId> |
NewerOlder