Blame view

update_amda/makeRemote 1.13 KB
4c77b9b1   Elena.Budnik   final update
1
2
3
4
5
6
#!/bin/bash

#
#   
#
   if [ -z ${AMDA_IHM+x} ]; then export AMDA_IHM=./..; fi
cba7eca7   Elena.Budnik   merge 2 parts of ...
7
8
9
10

#
#  "AMDA side" ( IMPEX-like ) data centers
#
4c77b9b1   Elena.Budnik   final update
11
12
13
14
15
16
17
18
19
20
21
22
23
   
	# check if Orbites.xml exists; if not create it !
	if [ ! -e $AMDA_IHM/generic_data/LocalData/OrbitsAll.xml ]; then   
		php  $AMDA_IHM/php/makeOrbitsList.php
		php  $AMDA_IHM/php/makeOrbitsInKm.php
	fi

	# make Proxies for 'isSimulation' dataCenters from Bases.xml
	php  $AMDA_IHM/php/RemoteDataCenter/makeProxy.php
	
	# make [TARGET].json
	php  $AMDA_IHM/php/RemoteDataCenter/makeOrbitsArgs.php
	
4f91dd57   Elena.Budnik   IMPEX update orbi...
24
25
26
	# make help/simu/simu[TARGET]
	php  $AMDA_IHM/php/RemoteDataCenter/makeOrbitsInfo.php
	
4c77b9b1   Elena.Budnik   final update
27
28
	# make template args
	php  $AMDA_IHM/php/RemoteDataCenter/makeArgs.php
d73734df   Elena.Budnik   add DDBASE Remote...
29
	
cba7eca7   Elena.Budnik   merge 2 parts of ...
30
31
32
33
34
35
36
37
	if  [ ! -e $AMDA_IHM/generic_data/RemoteData/Bases.xml ]; then 
		cp $AMDA_IHM/php/RemoteDataCenter/Bases.xml $AMDA_IHM/generic_data/RemoteData
	fi
	
#
#  "DDBASE side" ( CDAWEB-like ) data centers
#
	php $AMDA_IHM/php/RemoteDataCenter/getRemoteDDBaseProxies.php
c6c2f576   Elena.Budnik   Update Remote Bases
38

d73734df   Elena.Budnik   add DDBASE Remote...
39
40
41
42
	# copy "DDBASE" Remote Params descriptions
	if [ -d $AMDA_IHM/generic_data/RemoteData/PARAMS ]; then
		cp $AMDA_IHM/generic_data/RemoteData/PARAMS/* $AMDA_IHM/generic_data/newKernelDDBase/
	fi 
9b6c46d9   Elena.Budnik   THEMIS Remote center
43