AMDAIntegrationConfig.php
5.48 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
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
152
153
154
155
156
157
158
<?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;
case '10.121.0.3' :
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
define('FORCE_CLIENT_IP', '010.121.000.003');
// 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/benjamin/AMDA-GIT/AMDA_Kernel/');
//Path to AMDA_IHM base dir
define('IHM_SRC_DIR', '/home/benjamin/AMDA-GIT/AMDA_IHM/');
break;
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;
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;
}
//!! 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/');
//Path to local parameters information files
define('PARAMS_LOCALINFO_DIR', IHM_SRC_DIR.'generic_data/ParamInfo/');
//Path to dir that include DD.res file
define('DDRES_DIR', NEWKERNEL_BASE_PATH.'app-debug/');
?>