REMOTEPARAM 3.16 KB
Old AMDA changes for RemoteParams AMDA-NG

-1. if DD Server is working at your machine =>
       reinstall DDLIB.4.5/SOURCES/CALLEXTERNAL :
       createVI.php and cdaweb_cfg.php have been modified


0.  reinstall AMDALIB.2.0/SOURCES/AMDAEXTERNAL/AddVI.c 
 TO DO THIS:     
    a)  in AMDALIB.2.0/SOURCES/Makefile SET TARGETS = AMDAEXTERNAL
    c) make AMDALIB.2.0-clean
    d) make AMDALIB.2.0-all
    e) copy AMDALIB.2.0/SOURCES/AMDAEXTERNAL/AddVI to trunk/php/old_amda

 

1. reinstall AMDALIB.2.0/SOURCES/PARAMEXTERNAL/getParamAmda.c with BASEDIR === .../trunk/generic_data/RemoteData/PARAMS
  TO DO THIS:
    aa) in AMDALIB.2.0/SOURCES/PARAMEXTERNAL/getParamAmda.ryba:  #define BASEDIR "HTMLROOTPATHR/PARAMS/"
    a)  in AMDALIB.2.0/SOURCES/Makefile SET TARGETS = PARAMEXTERNAL
    b)  source amda.conf with  
             export HTMLROOTPATH=.../trunk/generic_data/RemoteData
    c) make AMDALIB.2.0-clean
    d) make AMDALIB.2.0-all
    e) copy AMDALIB.2.0/SOURCES/PARAMEXTERNAL/getParamAmda.so to trunk/php/old_amda

 
2. new directory trunk/amda_plus/templates/ with new templates;
     
3. DDHTML/RAWINFO is now trunk/generic_data/RemoteData/baseId/
4. DDHTML/PARAM  is now trunk/generic_data/RemoteData/PARAMS/

5. copy  DDHTML/HTML/cdfInfo into trunk/php/old_amda/cdfInfo
 
modify cdfInfo

#! /bin/sh

 export IDL_DIR=/usr/local/rsi/idl_6.0 
 export IDL_PATH=/usr/local/rsi/idl_6.0/lib:/home/budnik/AMDANEW/DDLIB/lib:/home/budnik/AMDANEW/AMDALIB/lib:/home/budnik/public_html/AMDA-NG4/trunk/php/old_amda 
 export IDL_DLM_PATH=$IDL_DIR/bin/bin.linux.x86:/home/budnik/AMDANEW/AMDALIB/dlm

echo '.run param_info' > aaa
echo  param_info, \'$1\' , \'$2\'  >> aaa
echo  exit  >> aaa

$IDL_DIR/bin/idl aaa

!!!!! IMPORTANT !!!! don't forget to add .../php/old_amda TO IDL_PATH

6. new dirs (committed): ../generic_data/RemoteData
    ../generic_data/RemoteData/CDAWEB; ../generic_data/RemoteData/VEXGRAZ; 
    ../generic_data/RemoteData/MAPSKP;  ../generic_data/RemoteData/THEMIS;
  
    ../generic_data/RemoteData/PARAMS

     Bases.xml
     THEMIS/base.xml (made by hand, Start/Stop should be updated by webservice)

     Bases.xml and all 'base.xml' should be "php AmdaUpdate.php install" during AMDA installation (DD WebServices)
     After that to update Start-Stop use "php AmdaUpdate.php" without argument (updateOnly)

new for AMDA-NG
7. THEMIS_CESR => all th*_pe*_sp_init.pro are generated now from templates thX_YYYY_sp_init.pro
                  args for th*spec - predefined

8. REMEMBER: THEMIS_CESR - EVERYTHING IS PREDEFINED, VIs already exist at DD Server 

9. All datasets XML(CDF) descriptions are either predefined (VEXGRAZ, MAPSKP) or obtained by DD_Server (NEW feature,
  in old AMDA it was done at AMDA client side) into  the  directory /data/DDBASE/INFO/datacenterID/DATASETS/
  and obtained by AMDA Client by corresponding URL
  defined in config.php : define('INFOSITE', 'http://manunja.cesr.fr/BASE/'); (DD Server WebServices address)
 
   NOTE: now there is no symbolic link for RemotParamID.xml to replace ":" by "_" in the param ID. 
        Only original XML file is used. 

10. php: new class ParamMgr.php; etc
11. js: new class ParamsMgrUI.js; etc


12. minor changes:   print_com.pro, search_com.pro