Blame view

config/AMDAIntegrationConfig.php 5.48 KB
22521f1c   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php 

$localIP = exec("hostname -i");

//Add your server below
switch ($localIP)
{
	//bas-amda-01 server (AKKA dev)
	case  '172.25.30.65' :
		define('PLATFORM_NAME','AKKA dev'); 
		
		//AKKA - Force the IP client value to prevent a bug with DDServer
		//       The IP client must be write with the pattern : xxx.xxx.xxx.xxx
		define('FORCE_CLIENT_IP', '172.025.030.065');
		
		// true for AKKA
		// false or not defined for IRAP
		// It's used to select the correct SVN path for depotInfo repository
		define('AKKA_SVN', 'true');
				
		//Path to AMDA_Kernel base dir
		define('NEWKERNEL_BASE_PATH', '/home/b.renard/workspace/AMDA-KERNEL/trunk/AMDA_Kernel/');

		//Path to AMDA_IHM base dir
		define('IHM_SRC_DIR', '/home/b.renard/AMDA_INSTALL/AMDA_IHM/');
		break;
		
	//bas-amda-02 server (AKKA - integration)
	case '10.168.220.87' :
		define('PLATFORM_NAME','AKKA integration');
		
		//AKKA - Force the IP client value to prevent a bug with DDServer
		//       The IP client must be write with the pattern : xxx.xxx.xxx.xxx
		define('FORCE_CLIENT_IP', '010.168.220.087');
		
		// true for AKKA
		// false or not defined for IRAP
		// It's used to select the correct SVN path for depotInfo repository
		define('AKKA_SVN', 'true');
				
		//Path to AMDA_Kernel base dir
		define('NEWKERNEL_BASE_PATH', '/var/lib/jenkins/jobs/AMDA_Kernel_Phase3_Integration/workspace/AMDA_Kernel/');
		
		//Path to AMDA_IHM base dir
		define('IHM_SRC_DIR', '/var/lib/jenkins/jobs/AMDA_Kernel_Phase3_Integration/workspace/AMDA_IHM/');
		
		break;
	case '195.83.102.55' :
		define('PLATFORM_NAME','IRAP test platform');
		
		//AKKA - Force the IP client value to prevent a bug with DDServer
		//       The IP client must be write with the pattern : xxx.xxx.xxx.xxx
		define('FORCE_CLIENT_IP', '195.083.102.055');
		
		// true for AKKA
		// false or not defined for IRAP
		// It's used to select the correct SVN path for depotInfo repository
		//define('AKKA_SVN', 'true');
		
		//Path to AMDA_Kernel base dir
		define('NEWKERNEL_BASE_PATH', '/home/mbouchemit/AMDA_Kernel/');
		
		//Path to AMDA_IHM base dir
		define('IHM_SRC_DIR', '/home/mbouchemit/AMDA_INSTALL/AMDA_IHM/');
		
		break;
afe1c354   Benjamin Renard   New IP for apus
67
	case '10.121.0.3' :
22521f1c   Benjamin Renard   First commit
68
69
70
71
		define('PLATFORM_NAME','APUS dev platform');

                //AKKA - Force the IP client value to prevent a bug with DDServer
                //       The IP client must be write with the pattern : xxx.xxx.xxx.xxx
afe1c354   Benjamin Renard   New IP for apus
72
                define('FORCE_CLIENT_IP', '010.121.000.003');
22521f1c   Benjamin Renard   First commit
73
74
75
76
77
78
79

                // true for AKKA
                // false or not defined for IRAP
                // It's used to select the correct SVN path for depotInfo repository
                //define('AKKA_SVN', 'true');

                //Path to AMDA_Kernel base dir
69602cd7   Benjamin Renard   Use specific plot...
80
                define('NEWKERNEL_BASE_PATH', '/home/benjamin/AMDA-GIT/AMDA_Kernel/');
22521f1c   Benjamin Renard   First commit
81
82

                //Path to AMDA_IHM base dir
69602cd7   Benjamin Renard   Use specific plot...
83
                define('IHM_SRC_DIR', '/home/benjamin/AMDA-GIT/AMDA_IHM/');
22521f1c   Benjamin Renard   First commit
84
85

		break;
f152ac12   Myriam Bouchemit   Add pc1121 in config
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
	case '10.121.1.121' :
		define('PLATFORM_NAME','pc1121 dev plaform');

                //AKKA - Force the IP client value to prevent a bug with DDServer
                //       The IP client must be write with the pattern : xxx.xxx.xxx.xxx
                define('FORCE_CLIENT_IP', '010.121.001.121');

                // true for AKKA
                // false or not defined for IRAP
                // It's used to select the correct SVN path for depotInfo repository
                //define('AKKA_SVN', 'true');

                //Path to AMDA_Kernel base dir
                define('NEWKERNEL_BASE_PATH', '/home/myriam/workspacenew/AMDA_Kernel/');

                //Path to AMDA_IHM base dir
                define('IHM_SRC_DIR', '/home/myriam/workspacenew/AMDA_IHM/');

                break;
fa791617   Benjamin Renard   Set to version 1.4.0
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
                
	case '195.83.102.54' :
    	define('PLATFORM_NAME','amdatest');
                
        //AKKA - Force the IP client value to prevent a bug with DDServer
        //       The IP client must be write with the pattern : xxx.xxx.xxx.xxx
        define('FORCE_CLIENT_IP', '195.083.102.054');
                
        // true for AKKA
        // false or not defined for IRAP
        // It's used to select the correct SVN path for depotInfo repository
        //define('AKKA_SVN', 'true');
                
        //Path to AMDA_Kernel base dir
        define('NEWKERNEL_BASE_PATH', '/home/myriam/AMDA_Kernel/');
                
		//Path to AMDA_IHM base dir
        define('IHM_SRC_DIR', '/home/myriam/AMDA_IHM/');
      	break;
22521f1c   Benjamin Renard   First commit
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
}



//!! WARNING !! - Please don't change anything below this line if you do
//                a standard installation (describe in CDPP-MI-32500-505-SIL)

//Path to AMDA_Integration source dir
define('INTEGRATION_SRC_DIR', INTEGRATION_BASE_PATH.'src/');

//Path to AMDA_Kernel source dir
define('NEWKERNEL_SRC_DIR', NEWKERNEL_BASE_PATH.'src/');

//Path to AMDA_Kernel install dir dir
define ('NEWKERNEL_INSTALL_DIR', NEWKERNEL_BASE_PATH.'build/Debug/');

//Path to AMDA_Kernel config dir
define('NEWKERNEL_CONFIG_DIR', NEWKERNEL_BASE_PATH.'app-debug/');

//Path to AMDA_Kernel XSD dir
define('NEWKERNEL_XSD_DIR', NEWKERNEL_BASE_PATH.'config/DataBaseParameters/xsd/');

//Path to AMDA_Kernel info dir
define('NEWKERNEL_INFO_DIR', NEWKERNEL_BASE_PATH.'config/');

//Path to local parameters database for the new kernel
define('PARAMS_LOCALDB_DIR', IHM_SRC_DIR.'generic_data/newKernelDDBase/');

f28f7c0e   Benjamin Renard   Add param info re...
152
153
154
//Path to local parameters information files
define('PARAMS_LOCALINFO_DIR', IHM_SRC_DIR.'generic_data/ParamInfo/');

22521f1c   Benjamin Renard   First commit
155
156
157
158
//Path to dir that include DD.res file
define('DDRES_DIR', NEWKERNEL_BASE_PATH.'app-debug/');

?>