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 spg.poly.consumer.conf; | |
import org.springframework.amqp.core.*; | |
import org.springframework.amqp.rabbit.config.AbstractRabbitConfiguration; | |
import org.springframework.amqp.rabbit.connection.ConnectionFactory; | |
import org.springframework.amqp.rabbit.connection.SingleConnectionFactory; | |
import org.springframework.amqp.rabbit.core.RabbitTemplate; | |
import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer; | |
import org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter; | |
import org.springframework.amqp.support.converter.JsonMessageConverter; |
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
<amqp:outbound-channel-adapter channel="amqpPolyRequestChannel" | |
exchange-name="dbcm-fanout-ex" | |
amqp-template="rabbitTemplate"/> | |
<amqp:inbound-channel-adapter channel="amqpPolyResponseChannel" | |
queue-name="dbcm-ply-response-q" | |
connection-factory="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
select * from trkr_trust where trunc(created) = trunc(analysis_date) |
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 imports omitted for brevity... | |
@RunWith(SpringJUnit4ClassRunner.class) | |
@TestExecutionListeners({ | |
TransactionalTestExecutionListener.class, | |
DependencyInjectionTestExecutionListener.class, | |
DirtiesContextTestExecutionListener.class | |
}) | |
@Transactional | |
public abstract class StrutsSpringTransactionalTests extends StrutsTestCase implements ApplicationContextAware { |
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 and imports omitted for brevity *** | |
@ContextConfiguration(locations = { | |
"file:src/main/webapp/WEB-INF/appContext.xml", | |
"classpath:appTestContext.xml" | |
}) | |
public abstract class AppTransactionalStrutsTestCase extends StrutsSpringTransactionalTests { | |
@Before |
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 SearchTest extends AppTransactionalStrutsTestCase { | |
private static final String BOND_NAME = "ACE 2006-ASP6 A2C"; | |
@Override | |
protected void setupAction() throws DataAccessException { | |
} | |
@Test | |
public void testSearchByBondName() throws Exception { |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'aws/s3' | |
require 'fileutils' | |
ACCESS_KEY_ID = "put yours here" | |
SECRET_ACCESS_KEY = "put yours here" | |
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 | |
# install Google App Engine for Java dependencies into a local/remote maven repository | |
export VERS="1.2.5" | |
export DATANUCLEUS_VERS="1.0.3" | |
export SDK="/Users/shane/lib/appengine-java-sdk-${VERS}" | |
export LIB="${SDK}/lib" | |
export REPO_ID="thirdparty" | |
export REPO_URL="http://ci.digitalsanctum.com:8082/nexus/content/repositories/thirdparty" |
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
@ContextConfiguration(locations={ | |
"classpath:spgConfDataContext.xml", | |
"classpath:liveCoreContext.xml", | |
"classpath:trkrCoreContext.xml", | |
"classpath:trkrCoreTestContext.xml" | |
}) | |
@TransactionConfiguration(transactionManager = "ebondTransactionManager") | |
public abstract class AbstractTrkrCoreTests extends AbstractTransactionalJUnit4SpringContextTests { | |
@Autowired |
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
...imports omitted for brevity... | |
public class TrustDaoSqlMapTest extends AbstractTrkrCoreTests { | |
private static final Logger logger = Logger.getLogger(TrustDaoSqlMapTest.class); | |
private Date createdDate; | |
private List<Model> models; | |
private static boolean doSetup = true; |