Project

General

Profile

« Previous | Next » 

Revision 7401

Update d1_common_java and d1_libclient_java to the newest jar files. Add methods to CNodeService to throw NotImplemented exceptions for query(), listQueryEngines(), and getQueryEngineDescription() since these API calls are handled outside of metacat.

View differences:

src/edu/ucsb/nceas/metacat/dataone/CNodeService.java
77 77
import org.dataone.service.types.v1.Subject;
78 78
import org.dataone.service.types.v1.SystemMetadata;
79 79
import org.dataone.service.types.v1.util.ServiceMethodRestrictionUtil;
80
import org.dataone.service.types.v1_1.QueryEngineDescription;
81
import org.dataone.service.types.v1_1.QueryEngineList;
80 82

  
81 83
import edu.ucsb.nceas.metacat.EventLog;
82 84
import edu.ucsb.nceas.metacat.IdentifierManager;
......
1891 1893

  
1892 1894
		return updateReplicationMetadata(null, pid, replica, serialVersion);
1893 1895
	}
1896

  
1897
  @Override
1898
  public QueryEngineDescription getQueryEngineDescription(String arg0)
1899
          throws InvalidToken, ServiceFailure, NotAuthorized, NotImplemented,
1900
          NotFound {
1901
      throw new NotImplemented("4410", "getQueryEngineDescription not implemented");
1902
      
1903
  }
1904

  
1905
  @Override
1906
  public QueryEngineList listQueryEngines() throws InvalidToken, ServiceFailure,
1907
          NotAuthorized, NotImplemented {
1908
      throw new NotImplemented("4420", "listQueryEngines not implemented");
1909
      
1910
  }
1911

  
1912
  @Override
1913
  public InputStream query(String arg0, String arg1) throws InvalidToken,
1914
          ServiceFailure, NotAuthorized, InvalidRequest, NotImplemented, NotFound {
1915
      throw new NotImplemented("4324", "query not implemented");
1916
      
1917
  }
1894 1918
}

Also available in: Unified diff