Examples of IDuccUimaDeploymentDescriptor


Examples of org.apache.uima.ducc.transport.event.common.IDuccUimaDeploymentDescriptor

    ServiceDeploymentType serviceDeploymentType = job.getServiceDeploymentType();
    if(isJpUima(duccType, serviceDeploymentType)) {
      String process_DD = jobRequestProperties.getProperty(JobSpecificationProperties.key_process_DD);
      if(process_DD != null) {
        // user DD
        IDuccUimaDeploymentDescriptor uimaDeploymentDescriptor = new DuccUimaDeploymentDescriptor(process_DD);
        job.setUimaDeployableConfiguration(uimaDeploymentDescriptor);
        dump(job, uimaDeploymentDescriptor);
      }
      else {
        // UIMA aggregate
View Full Code Here

Examples of org.apache.uima.ducc.transport.event.common.IDuccUimaDeploymentDescriptor

      // Handle UIMA deployment descriptor
      String directory = job.getLogDirectory()+job.getDuccId();
      DeploymentDescriptorGenerator ddg = new DeploymentDescriptorGenerator("JD",duccOut,directory);
      IDuccUimaDeployableConfiguration udc = job.getUimaDeployableConfiguration();
      String process_DD = ddg.generate(udc, job.getDuccId().toString());
      IDuccUimaDeploymentDescriptor uimaDeploymentDescriptor = new DuccUimaDeploymentDescriptor(process_DD);
      driverStatusReport.setUimaDeploymentDescriptor(uimaDeploymentDescriptor);
      // Prepare for gathering of UIMA performance statistics
      String logsjobdir = job.getLogDirectory()+job.getDuccId().getFriendly()+File.separator;
      performanceSummaryWriter = new PerformanceSummaryWriter(logsjobdir);
      workItemStateManager = new WorkItemStateManager(logsjobdir);
View Full Code Here

Examples of org.apache.uima.ducc.transport.event.common.IDuccUimaDeploymentDescriptor

      DuccId duccId = jdStatusReport.getDuccId();
      DuccWorkJob duccWorkJob = (DuccWorkJob) workMap.findDuccWork(duccId);
      if(duccWorkJob != null) {
        String jdJmxUrl = jdStatusReport.getJdJmxUrl();
        setJdJmxUrl(duccWorkJob, jdJmxUrl);
        IDuccUimaDeploymentDescriptor uimaDeploymentDescriptor = jdStatusReport.getUimaDeploymentDescriptor();
        if(uimaDeploymentDescriptor != null) {
          boolean copyDD = true;
          if(copyDD) {
            duccWorkJob.setUimaDeployableConfiguration(uimaDeploymentDescriptor);
          }
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.