RhemResources.java [src/java/rhem/utils] Revision: 486856ad4de92338dc62853baf4a40ffa515614d Date: Mon Feb 01 10:37:23 MST 2021
/*
* $Id$
*
* This file is part of the Cloud Services Integration Platform (CSIP),
* a Model-as-a-Service framework, API, and application suite.
*
* 2012-2020, 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 rhem.utils;
import csip.Config;
import csip.annotations.Resource;
import static csip.annotations.ResourceType.EXECUTABLE;
import static rhem.utils.RhemResources.*;
@Resource(type = EXECUTABLE, file = "/bin/lin-amd64/rhem_v4.exe", id = RHEM4_EXE)
@Resource(type = EXECUTABLE, file = "/bin/lin-amd64/rhem_cligen_full_output_19apr2020.exe", id = RHEM4_INTL_EXE)
@Resource(type = EXECUTABLE, file = "/bin/${csip.arch}/rhem_ra.exe", id = RHEM_RA_EXE)
/**
* Executables and external resources.
*/
public interface RhemResources {
String soils_db = Config.getString("soils.gis.database.source");
String cligen_db = Config.getString("rhem.cligen.db");
String cligenUrl = Config.getString("rhem.cligenprism.url");
// http://csip.engr.colostate.edu:8097/csip-climate/m/cligen_prism/2.0
String RHEM4_EXE = "rhem4.exe";
String RHEM4_INTL_EXE = "rhem4_intl.exe";
String RHEM_RA_EXE = "rhem_ra.exe";
}