V5_0.java [src/java/d/crlmod/crop] Revision: default Date:
/*
*
* 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.crop;
import crlmod.ServiceResources;
import static crlmod.ServiceResources.*;
import csip.annotations.*;
import static csip.annotations.State.RELEASED;
import javax.ws.rs.Path;
@Name("crops")
@Description("Crop service for the CRLMOD_2021 Database. Results from this service are returned in the rotation v1 format.")
@VersionInfo("5.0")
@State(RELEASED)
@Path("d/crop/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;
}
}