/* ----------------------------------------
 * Origin  : Akkodis
 * Project : CDPP Propagation Tool 
 * ----------------------------------------
 * History 
 * Version : 01/05/2015 : SCA : V2.1
 * Version : 07/09/2016 : SCA : V2.2 (PSWS-H2020)
 *  Add EPNCORE url for APIS
 * Version : V2.12
 * DM-ID : Redmine#11103 : 25/03/2025 : LBE : Radio spectro interface added
 * VERSION : V2.13
 * FA-ID : redmine#12143 : 04/07/2025 : KHK : update calling Medoc http
 * ----------------------------------------
 */
package fr.tlse.irap.pt.client.services.constant;

public class CONFIG {

	// PROP TOOL WS access
	public static String NAME_SPACE_URI = "http://frontServices.server.irap.tlse.fr/";
	// AMDA WS access
	//public static String AMDA_SERVER_URL = "http://amda-old.irap.omp.eu/AMDA/public/";
	public static String AMDA_SERVER_URL = "https://amda.irap.omp.eu/AMDA/public/";
	//public static String AMDA_SERVER_URL = "http://amda-new.irap.omp.eu/AMDA/public/";
	//public static String AMDA_SERVER_URL = "http://amdatest.irap.omp.eu/public/";
	public static String AMDA_NAME_SPACE_URI = "http://cdpp-irap/IMPEX/v0.1";
	// MEDOC WS access
        // 12143 update url to https 
        public static String MEDOC_URL = "https://helioviewer.ias.u-psud.fr/helioviewer";

	//public static String MEDOC_API="JHelioviewer_IAS.jar";
	public static String MEDOC_API="JHelioviewer.jar";
	// VOPARIS WS access
	public static String EPNCOREV2_URL="http://voparis-tap-planeto.obspm.fr/tap";
	
	// Service interfaces
	public static String AMDA_SERVICE = "wsdl/Methods_AMDA";
	public static String POSITION_SERVICE = "services/iposition";
	public static String TOOL_SERVICE = "services/itool";
	public static String VPLOT_SERVICE = "services/ivplot";
	public static String SPECTRO_SERVICE = "services/ispectro";
	public static String CARRINGTONMAP_SERVICE = "services/icarringtonmap";
	public static String ECLIPTICMAP_SERVICE = "services/ieclipticmap";
	public static String FLARE_SERVICE = "services/iflare";
	public static String JMAP_SERVICE = "services/ijmap";
	public static String FIT_SERVICE = "services/ifit";
	public static String FLAREFLUX_SERVICE = "services/iflareflux";
	public static String FIELDLINE_SERVICE = "services/ifieldline";
	public static String SHOCK_SERVICE = "services/ishock";

	// Service implementations
	public static String AMDA_SERVICE_IMPL = "Methods_AMDA";
	public static String POSITION_SERVICE_IMPL = "PositionImplService";
	public static String TOOL_SERVICE_IMPL = "ToolImplService";
	public static String VPLOT_SERVICE_IMPL = "VPlotImplService";
	public static String SPECTRO_SERVICE_IMPL = "SpectroImplService";
	public static String CARRIGTONMAP_SERVICE_IMPL = "CarringtonMapImplService";
	public static String ECLIPTICMAP_SERVICE_IMPL = "EclipticMapImplService";
	public static String FLARE_SERVICE_IMPL = "FlareImplService";
	public static String JMAP_SERVICE_IMPL = "JMapImplService";
	public static String FIT_SERVICE_IMPL = "FitImplService";
	public static String FLAREFLUX_SERVICE_IMPL = "FlareFluxImplService";
	public static String FIELDLINE_SERVICE_IMPL = "FieldLineImplService";
	public static String SHOCK_SERVICE_IMPL = "ShockImplService";

	// dynamic constants (defined from JNLP)
	public static String SERVER_URL;
	public static String PROJECT_VERSION;
	public static String RELEASE_DATE;

	public CONFIG() {
	}

	public String getPROJECT_VERSION() {
		return PROJECT_VERSION;
	}
	
	public void setPROJECT_VERSION(String projectVer) {
		CONFIG.PROJECT_VERSION = projectVer;
	}

	public String getRELEASE_DATE() {
		return RELEASE_DATE;
	}
	
	public void setRELEASE_DATE(String releaseDate) {
		CONFIG.RELEASE_DATE = releaseDate;
	}

	public String getSERVER_URL() {
		return SERVER_URL;
	}

	public void setSERVER_URL(String sERVER_URL) {
		SERVER_URL = sERVER_URL;
	}

}
