Package org.apache.airavata.core.gfac.notification.impl

Examples of org.apache.airavata.core.gfac.notification.impl.LoggingNotification


  public void testExecute() {
    try {

      DefaultInvocationContext ct = new DefaultInvocationContext();
      DefaultExecutionContext ec = new DefaultExecutionContext();
      ec.addNotifiable(new LoggingNotification());
      ct.setExecutionContext(ec);

      ct.setServiceName("SimpleEcho");

      /*
 
View Full Code Here


  public void testExecute() {
    try {

      DefaultInvocationContext ct = new DefaultInvocationContext();
      DefaultExecutionContext ec = new DefaultExecutionContext();
      ec.addNotifiable(new LoggingNotification());
      ct.setExecutionContext(ec);

      ct.setServiceName("SimpleEcho");

      /*
 
View Full Code Here

    public DefaultInvocationContext gridJobSubmit(JobContext jobContext,GFacConfiguration gfacConfig) throws Exception {
        String workflowNodeId = WorkflowContextHeaderBuilder.getCurrentContextHeader().getWorkflowMonitoringContext().getWorkflowNodeId();
        String workflowInstanceId = WorkflowContextHeaderBuilder.getCurrentContextHeader().getWorkflowMonitoringContext().getWorkflowInstanceId();
        WorkflowTrackingNotification workflowNotification = new WorkflowTrackingNotification(jobContext.getBrokerURL(),
                jobContext.getTopic(),workflowNodeId,workflowInstanceId);
        LoggingNotification loggingNotification = new LoggingNotification();
        DefaultInvocationContext invocationContext = new DefaultInvocationContext();
        invocationContext.setExecutionContext(new DefaultExecutionContext());
        invocationContext.setServiceName(jobContext.getServiceName());
        invocationContext.getExecutionContext().setRegistryService(gfacConfig.getRegistry());
        invocationContext.getExecutionContext().addNotifiable(workflowNotification);
View Full Code Here

  public void testExecute() {
    try {

      DefaultInvocationContext ct = new DefaultInvocationContext();
      DefaultExecutionContext ec = new DefaultExecutionContext();
      ec.addNotifiable(new LoggingNotification());
      ct.setExecutionContext(ec);
             Map<String,String> config = new HashMap<String,String>();
            config.put("org.apache.jackrabbit.repository.home","target");
        AiravataJCRRegistry jcrRegistry = new AiravataJCRRegistry(null,
        "org.apache.jackrabbit.core.RepositoryFactoryImpl", "admin",
View Full Code Here

  public void testExecute() {
    try {

      DefaultInvocationContext ct = new DefaultInvocationContext();
      DefaultExecutionContext ec = new DefaultExecutionContext();
      ec.addNotifiable(new LoggingNotification());
      ct.setExecutionContext(ec);

      ct.setServiceName("SimpleEcho");

      /*
 
View Full Code Here

TOP

Related Classes of org.apache.airavata.core.gfac.notification.impl.LoggingNotification

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.