V5_1.java [src/java/d/crlmod/crop] Revision:   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;

/**
 * @author od, ly
 */
@Name("crops")
@Description("Crop service for the CRLMOD_2021 Database.  Results from this service are returned in the rotation v2 format.")
@VersionInfo("5.1")
@Path("d/crop/5.1")
@State(RELEASED)
@Resource(from = ServiceResources.class)
public class V5_1 extends V2_1 {

  /**
   * 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;
  }

}