private JobExecutionContext jobExecutionContext;
@Before
public void setUp() throws Exception {
GFacConfiguration gFacConfiguration = new GFacConfiguration(null);
GSISecurityContext context = new GSISecurityContext();
context.setMyproxyLifetime(3600);
context.setMyproxyServer("myproxy.teragrid.org");
context.setMyproxyUserName("*****");
context.setMyproxyPasswd("*****");
context.setTrustedCertLoc("./certificates");
//have to set InFlwo Handlers and outFlowHandlers
gFacConfiguration.setInHandlers(Arrays.asList(new String[]{"org.apache.airavata.gfac.handler.GramDirectorySetupHandler", "org.apache.airavata.gfac.handler.GridFTPInputHandler"}));
gFacConfiguration.setOutHandlers(Arrays.asList(new String[] {"org.apache.airavata.gfac.handler.GridFTPOutputHandler"}));
/*
* Host
*/
String serviceName = "Prepare_Model_Reference_Data";
HostDescription host = new HostDescription(GlobusHostType.type);