- Vagrant
- Virtualbox
- CentOS 7
The following steps are based on a Vagrant VM box which does NOT use LVM for a root partition, which seems to be the case for the official CentOS box.
错误例子 myeclipse 8.5 ;sql2000 | |
http://pan.baidu.com/share/link?shareid=10172&uk=554011874 | |
---------------- | |
@Test | |
public void test00() | |
{ | |
Trans.exec(new Atom() | |
{ |
/** | |
* 测试收费/缴费流程 | |
* | |
* @author HenryYan | |
* | |
*/ | |
public class WorkflowPaymentTestUT extends BaseWorkflowTest { | |
private static String businessKey = "1"; | |
private String processDefinitionKey = "payment"; |
/** | |
* 请假流程测试 | |
* | |
* @author HenryYan | |
* | |
*/ | |
public class LeaveWorkflowTestUT extends BaseWorkflowTest { | |
@Autowired | |
LeaveWorkflowService workflowService; |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.datadict.common.comdev.com/"> | |
<soapenv:Header/> | |
<soapenv:Body> | |
<ser:DatadictSearch> | |
<!--Optional:--> | |
<!--Optional:--> | |
<info><advance>(BEStaffPayPrj.objId='80ad06b472794d30be34c3c8f9e277b2')</advance><beaPathNotEnabled>1</beaPathNotEnabled><className>BEStaffPayPrj</className><isSimpleRela>1</isSimpleRela><isUnionSearch>1</isUnionSearch></info></ser:DatadictSearch> | |
</soapenv:Body> |
# filename: httpd-vhosts.conf | |
<Directory ../vhosts> | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
NameVirtualHost * |
wget http://mirrors.linuxeye.com/oneinstack.tar.gz | |
tar xzf oneinstack.tar.gz | |
cd oneinstack | |
./shadowsocks.sh install |
import java.net.URI; | |
import java.net.URISyntaxException; | |
import java.sql.*; | |
public class PrestoJDBC { | |
// JDBC driver name and database URL | |
static final String JDBC_DRIVER = "com.facebook.presto.jdbc.PrestoDriver"; | |
//static final String JDBC_DRIVER = "com.teradata.presto.jdbc42.Driver"; | |
static final String DB_URL = "jdbc:presto://ec2-xx-xx-xxx-xxx.ap-northeast-1.compute.amazonaws.com:8889/hive/default"; |
import lombok.extern.slf4j.Slf4j; | |
import lombok.val; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.http.MediaType; | |
import org.springframework.web.filter.OncePerRequestFilter; | |
import org.springframework.web.util.ContentCachingRequestWrapper; | |
import org.springframework.web.util.ContentCachingResponseWrapper; | |
import javax.servlet.FilterChain; | |
import javax.servlet.ServletException; |