V5_0.java [src/java/d/crlmod/operation] Revision: Date:
/*
* $Id$
*
* This file is part of the Cloud Services Integration Platform (CSIP),
* a Model-as-a-Service framework, API, and application suite.
*
* 2012-2024, OMSLab, Colorado State University.
*
* OMSLab licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*/
package d.crlmod.operation;
import crlmod.ServiceResources;
import static crlmod.ServiceResources.*;
import csip.api.server.ServiceException;
import csip.annotations.*;
import static csip.annotations.State.RELEASED;
import java.sql.Connection;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.ws.rs.Path;
/**
*
* @author od, ly
*/
@Name("operations")
@Description("Operation service for the CRLMOD_2022 Database. Results from this service are returned in the rotation v1 format.")
@VersionInfo("5.0")
@State(RELEASED)
@Path("d/operation/5.0")
@Resource(from = ServiceResources.class)
public class V5_0 extends V2_0 {
/**
* This filter was taken away as a result of ARS promising to always send
* UTF-8 encoded XML files from now on, starting in 2022. Past versions of XML
* were in various formats other than UTF-8
*
* @param value
* @return
*/
@Override
protected String filterXML(String value) {
return value;
}
@Override
protected String getJDBCId() {
return CR_LMOD_2022_ID;
}
}