Examples of InvocationEntity


Examples of org.apache.airavata.workflow.tracking.common.InvocationEntity

    /**
     * {@inheritDoc}
     *
     */
    public DataObj dataConsumed(WorkflowTrackingContext context, DataObj dataObj, String... descriptionAndAnnotation) {
        InvocationEntity entity = context.getMyself();
        if (entity == null)
            throw new RuntimeException("Local entity passed was NULL.");
        if (dataObj == null)
            throw new RuntimeException("Data object passed was NULL.");
        if (dataObj.getId() == null)
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.common.InvocationEntity

    /**
     * {@inheritDoc}
     *
     */
    public DataObj dataProduced(WorkflowTrackingContext context, DataObj dataObj, String... descriptionAndAnnotation) {
        InvocationEntity entity = context.getMyself();
        if (entity == null)
            throw new RuntimeException("Local entity passed was NULL.");
        if (dataObj == null)
            throw new RuntimeException("Data object passed was NULL.");
        if (dataObj.getId() == null)
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.common.InvocationEntity

        URI myWorkflowID = null;
        URI myServiceID = URI.create(XBayaConstants.APPLICATION_SHORT_NAME);
        String myNodeID = null;
        Integer myTimestep = null;
        InvocationEntity myEntity = notifier.createEntity(myWorkflowID, myServiceID, myNodeID, myTimestep);

        URI serviceWorkflowID = null;
        URI serviceServiceID = URI.create("ServiceID");
        String serviceNodeID = nodeID;
        Integer serviceTimestep = null;
        InvocationEntity serviceEntity = notifier.createEntity(serviceWorkflowID, serviceServiceID, serviceNodeID,
                serviceTimestep);
        WorkflowTrackingContext workflowContext = notifier.createTrackingContext(new Properties(), this.configuration
                .getBrokerURL().toASCIIString(), myWorkflowID, myServiceID, myNodeID, myTimestep);

        XmlElement inputBody = (XmlElement) ((XmlElement) inputMessage).getParent();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.