1 |
27204
|
antonis.le
|
<?php
|
2 |
|
|
$head = "/var/www/stats/";
|
3 |
|
|
/*needed files*/
|
4 |
|
|
$error_handler = $head."error_handler.php";
|
5 |
|
|
$help_functions = $head."help_functions.php";
|
6 |
|
|
$model_logger = './js/log4php';
|
7 |
|
|
|
8 |
35680
|
eri.katsar
|
$redis_host = 'localhost';
|
9 |
|
|
//$redis_host = 'duffy.di.uoa.gr';
|
10 |
33689
|
eri.katsar
|
|
11 |
35680
|
eri.katsar
|
//$redis_remote_host= 'duffy.di.uoa.gr';
|
12 |
|
|
$redis_remote_host= 'openaire.eu';
|
13 |
|
|
$redis_remote_port= 6379;
|
14 |
33689
|
eri.katsar
|
|
15 |
35680
|
eri.katsar
|
$redis_remote_beta_host= 'beta.stats.openaire.eu';
|
16 |
|
|
//$redis_remote_beta_host= 'duffy.di.uoa.gr';
|
17 |
|
|
$redis_remote_beta_port= 6379;
|
18 |
33689
|
eri.katsar
|
|
19 |
35680
|
eri.katsar
|
|
20 |
27204
|
antonis.le
|
$redis_port = 6379;
|
21 |
|
|
$redis_scheme = 'tcp';
|
22 |
|
|
|
23 |
|
|
//resultset size
|
24 |
|
|
$size = 30;
|
25 |
|
|
|
26 |
|
|
/*database*/
|
27 |
|
|
$type = 'postgres';
|
28 |
|
|
$db_name = "stats";
|
29 |
33668
|
eri.katsar
|
|
30 |
33213
|
eri.katsar
|
$username = "sqoop";
|
31 |
|
|
$password = "sqoop";
|
32 |
33668
|
eri.katsar
|
|
33 |
|
|
|
34 |
35680
|
eri.katsar
|
|
35 |
|
|
#$host = "node1.t.openaire.research-infrastructures.eu";
|
36 |
|
|
|
37 |
34069
|
eri.katsar
|
$host = "beta.stats.openaire.eu";
|
38 |
35680
|
eri.katsar
|
//$beta_host= "beta.stats.openaire.eu";
|
39 |
33668
|
eri.katsar
|
|
40 |
35680
|
eri.katsar
|
//$host = "stats.openaire.eu";
|
41 |
27204
|
antonis.le
|
$schema_file = "/var/www/stats/openaire.xml";
|
42 |
35680
|
eri.katsar
|
$export_server = "https://test.openaire.eu/highcharts/";
|
43 |
33668
|
eri.katsar
|
|
44 |
31442
|
eri.katsar
|
// for deployment
|
45 |
33668
|
eri.katsar
|
|
46 |
35680
|
eri.katsar
|
$stats_server = "https://test.openaire.eu/stats/";
|
47 |
33668
|
eri.katsar
|
|
48 |
35680
|
eri.katsar
|
//for testing
|
49 |
|
|
//$stats_server = "https://test.openaire.eu/stats/";
|
50 |
27204
|
antonis.le
|
?>
|