Project

General

Profile

« Previous | Next » 

Revision 5319

Modifications to support the DataONE service API version 0.1.0. For DataONE, the get() and
create() services are partially complete. Several more functions and checks need to be added to
create() before it is viable. This DataONE support is not complete, and the current support breaks the MetacatRestClientTest for the time being (this client will eventually be removed).

View differences:

MetaCatServlet.java
874 874
			} else if (action.equals("insert") || action.equals("update")) {
875 875
				PrintWriter out = response.getWriter();
876 876
				if ((userName != null) && !userName.equals("public")) {
877
					handler.handleInsertOrUpdateAction(request, response, out, params, userName,
877
					handler.handleInsertOrUpdateAction(request.getRemoteAddr(), response, out, params, userName,
878 878
							groupNames);
879 879
				} else {
880 880
					response.setContentType("text/xml");

Also available in: Unified diff