Are we not going to allow using the GFac libraries as standalone tool? It
could be useful for devs who dont want to use the workflow context to run
applications.


On Tue, Jul 2, 2013 at 9:53 AM, Lahiru Gunathilake <[email protected]>wrote:

> It's not required now. Please remove it.
>
>
> Lahiru
>
> On Tuesday, July 2, 2013, Amila Jayasekara wrote:
>
> > Hi All,
> >
> > In GFacUtils I see methods like follows;
> >
> > public static void
> updateApplicationJobStatusUpdateTime(JobExecutionContext
> > context, String jobId, Date statusUpdateTime){
> >         AiravataAPI airavataAPI =
> > context.getGFacConfiguration().getAiravataAPI();
> > if(airavataAPI != null){
> > try {
> >
> >
> airavataAPI.getProvenanceManager().updateApplicationJobStatusUpdateTime(jobId,
> > statusUpdateTime);
> > } catch (AiravataAPIInvocationException e) {
> > log.error("Error in updating application job status time
> > "+statusUpdateTime.toString()+" for job Id "+jobId+"!!!", e);
> > }
> >         }
> > }
> >
> > Any particular reason to have "if(airavataAPI != null)" condition ?
> >
> > Thanks
> > Amila
> >
>
>
> --
> System Analyst Programmer
> PTI Lab
> Indiana University
>

Reply via email to