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
package com.mangofactory.example; | |
import java.util.Map; | |
import lombok.SneakyThrows; | |
import org.codehaus.jackson.map.ObjectMapper; | |
import org.codehaus.jackson.map.type.TypeFactory; | |
import org.codehaus.jackson.type.JavaType; | |
import org.springframework.data.redis.hash.HashMapper; |
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
package com.mangofactory.example | |
import static org.hamcrest.CoreMatchers.notNullValue; | |
import static org.hamcrest.CoreMatchers.nullValue; | |
import static org.hamcrest.Matchers.contains; | |
import static org.hamcrest.Matchers.hasSize; | |
import static org.junit.Assert.assertThat; | |
import java.util.Collections; | |
import java.util.List; |
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
# Cargo - Tomcat deployment manager | |
description "Cargo - Tomcat deploymnet manager" | |
start on filesystem or runlevel [2345] | |
stop on runlevel [!2345] | |
env HOME_DIR=/home/ubuntu/.cargo | |
exec /usr/bin/java -jar /home/ubuntu/cargo-daemon-webapp-1.4.0.war -Ddaemon.home=${HOME_DIR} -Dcargo.home=${HOME_DIR} >> /var/log/cargo.log |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.mangofactory.joose</groupId> | |
<artifactId>deployment.test</artifactId> | |
<version>1.0</version> | |
<packaging>war</packaging> | |
<name>Maven Webapp</name> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.mangofactory.joose</groupId> | |
<artifactId>deployment.test</artifactId> | |
<version>1.0</version> | |
<packaging>war</packaging> | |
<name>Maven Webapp</name> |
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
package com.mangofactory; | |
import javax.persistence.Entity; | |
import javax.persistence.MappedSuperclass; | |
import javax.persistence.OneToOne; | |
@Entity | |
public abstract class AbstractTradingMarket<T extends Tradable> implements Market<T>{ | |
@OneToOne |
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
package com.mangofactory.typescript.tss.io; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import org.apache.commons.exec.ExecuteStreamHandler; | |
import org.apache.commons.exec.InputStreamPumper; | |
import org.apache.commons.exec.PumpStreamHandler; | |
import org.apache.commons.exec.StreamPumper; |
NewerOlder