-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharango.local.php
165 lines (140 loc) · 4.23 KB
/
arango.local.php
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
159
160
161
162
163
164
165
<?php
/*=======================================================================================
* *
* arango.local.php *
* *
*======================================================================================*/
/**
* <h4>Local ArangoDb definitions.</h4><p />
*
* This file contains local definitions used by ArangoDB, modify the values to suit your
* needs.
*
* @package Core
* @subpackage Definitions
*
* @author Milko A. Škofič <[email protected]>
* @version 1.00
* @since 14/03/2016
*/
/*=======================================================================================
* ARANGODB *
* Modify this section to customise ArangoDB defaults. *
*======================================================================================*/
/**
* <h4>Default connection string.</h4><p />
*
* This definition should contain the default ArangoDB connection URI.
*/
const kARANGO_OPTS_CLIENT_DEFAULT = 'tcp://127.0.0.1:8529';
/**
* <h4>Default authorisation type.</h4><p />
*
* This definition should contain the default ArangoDB authorisation type.
*/
const kARANGO_OPTS_AUTH_DEFAULT = 'Basic';
/**
* <h4>Default connection persistence.</h4><p />
*
* This definition should contain the default ArangoDB connection persistence.
*/
const kARANGO_OPTS_PERSIST_DEFAULT = 'Keep-Alive';
/**
* <h4>Default connection time-out.</h4><p />
*
* This definition should contain the default ArangoDB connection time-out in seconds.
*/
const kARANGO_OPTS_TIMEOUT_DEFAULT = 3;
/**
* <h4>Default time-out reconnect.</h4><p />
*
* This definition should contain the default ArangoDB connection time-out reconnect.
*/
const kARANGO_OPTS_RECONNECT_DEFAULT = TRUE;
/**
* <h4>Default collection create.</h4><p />
*
* This definition should contain the default ArangoDB collection create option.
*/
const kARANGO_OPTS_CREATE_DEFAULT = TRUE;
/*=======================================================================================
* ARANGODB *
* Default identifier, key, class,revision and vertex offsets. *
*======================================================================================*/
/**
* <h4>Default key offset.</h4><p />
*
* This defines the default offset for document key.
*/
const kTAG_ARANGO_KEY = '_key';
/**
* <h4>Default class offset.</h4><p />
*
* This defines the default offset for document class.
*/
const kTAG_ARANGO_CLASS = '_class';
/**
* <h4>Default revision offset.</h4><p />
*
* This defines the default offset for document revision.
*/
const kTAG_ARANGO_REVISION = '_rev';
/**
* <h4>Default offsets list.</h4><p />
*
* This defines the offset that lists all property names in the object.
*/
const kTAG_ARANGO_OFFSETS = '_tags';
/**
* <h4>Default source relationship offset.</h4><p />
*
* This defines the default offset for source nodes in a graph edge.
*/
const kTAG_ARANGO_REL_FROM = '_from';
/**
* <h4>Default destination relationship offset.</h4><p />
*
* This defines the default offset for destination nodes in a graph edge.
*/
const kTAG_ARANGO_REL_TO = '_to';
/*=======================================================================================
* ARANGODB *
* Default collection names. *
*======================================================================================*/
/**
* <h4>Default terms collection.</h4><p />
*
* This defines the default terms collection name.
*/
const kTAG_ARANGO_TERMS = 'terms';
/**
* <h4>Default types collection.</h4><p />
*
* This defines the default types collection name.
*/
const kTAG_ARANGO_TYPES = 'types';
/**
* <h4>Default descriptors collection.</h4><p />
*
* This defines the default descriptors collection name.
*/
const kTAG_ARANGO_DESCRIPTORS = 'descriptors';
/**
* <h4>Default resources collection.</h4><p />
*
* This defines the default resources collection name.
*/
const kTAG_ARANGO_RESOURCES = 'resources';
/**
* <h4>Default surveys collection.</h4><p />
*
* This defines the default surveys collection name.
*/
const kTAG_ARANGO_SURVEYS = 'surveys';
/**
* <h4>Default data collection.</h4><p />
*
* This defines the default data collection name.
*/
const kTAG_ARANGO_DATA = 'data';
?>