aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/Robust.Tests.ini
diff options
context:
space:
mode:
authorDiva Canto2015-05-10 21:04:46 -0700
committerDiva Canto2015-05-10 21:04:46 -0700
commitc2cf22ea4fc42d8582aa6aa2df48a3ce06813d56 (patch)
tree67002a585778c1a1729bf5831f27f4e61c861e04 /bin/Robust.Tests.ini
parentImproved comments on fetch inventory tests (diff)
downloadopensim-SC_OLD-c2cf22ea4fc42d8582aa6aa2df48a3ce06813d56.zip
opensim-SC_OLD-c2cf22ea4fc42d8582aa6aa2df48a3ce06813d56.tar.gz
opensim-SC_OLD-c2cf22ea4fc42d8582aa6aa2df48a3ce06813d56.tar.bz2
opensim-SC_OLD-c2cf22ea4fc42d8582aa6aa2df48a3ce06813d56.tar.xz
Added the beginning of a new test framework for robust connectors and services. For now, just Grid and Presence. This framework starts a robust server (as a thread) listening on a port in localhost, then the tests are client code.
Diffstat (limited to '')
-rw-r--r--bin/Robust.Tests.ini495
1 files changed, 495 insertions, 0 deletions
diff --git a/bin/Robust.Tests.ini b/bin/Robust.Tests.ini
new file mode 100644
index 0000000..fc405f9
--- /dev/null
+++ b/bin/Robust.Tests.ini
@@ -0,0 +1,495 @@
1; * FOR TESTS ONLY -- DO NOT USE THIS FILE
2[Const]
3
4 ; The URL of the Robust server
5 BaseURL = "http://127.0.0.1"
6
7 ; The public port of the Robust server
8 PublicPort = "8888"
9
10 ; The private port of the Robust server, same for testing
11 PrivatePort = "8888"
12
13
14; * The startup section lists all the connectors to start up in this server
15; * instance. This may be only one, or it may be the entire server suite.
16; * Multiple connectors should be separated by commas.
17; *
18; * These are the IN connectors the server uses, the in connectors
19; * read this config file and load the needed service and database connectors
20; *
21; * The full syntax of a connector string is:
22; * [[<ConfigName>@]<port>/]<dll name>[:<class name>]
23; *
24[Startup]
25 ; Place to create a PID file
26 ; If no path if specified then a PID file is not created.
27 ; PIDFile = "/tmp/Robust.exe.pid"
28
29 ; Plugin Registry Location
30 ; Set path to directory for plugin registry. Information
31 ; about the registered repositories and installed plugins
32 ; will be stored here
33 ; The Robust.exe process must have R/W access to the location
34 RegistryLocation = "."
35
36 ; Modular configurations
37 ; Set path to directory for modular ini files...
38 ; The Robust.exe process must have R/W access to the location
39 ConfigDirectory = "."
40
41 console = "rest"
42
43 ; Console commands can be saved to a file, so the command history persists after a restart. (default is true)
44 ConsoleHistoryFileEnabled = false
45
46 ; The history file can be just a filename (relative to OpenSim's bin/ directory
47 ; or it can be a full path to somewhere else. (default is OpenSimConsoleHistory.txt in bin/)
48 ConsoleHistoryFile = "RobustConsoleHistory.txt"
49
50 ; How many lines of command history should we keep? (default is 100)
51 ConsoleHistoryFileLines = 100
52
53[ServiceList]
54 GridServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridServiceConnector"
55 PresenceServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:PresenceServiceConnector"
56
57 ;InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector"
58 ;UserAccountServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:UserAccountServiceConnector"
59
60 ;; Uncomment as more tests are added
61 ;AssetServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AssetServiceConnector"
62 ;GridInfoServerInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:GridInfoServerInConnector"
63 ;AuthenticationServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector"
64 ;OpenIdServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:OpenIdServerConnector"
65 ;AvatarServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AvatarServiceConnector"
66 ;LLLoginServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector"
67 ;GridUserServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridUserServiceConnector"
68 ;FriendsServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:FriendsServiceConnector"
69 ;MapAddServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:MapAddServiceConnector"
70 ;MapGetServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:MapGetServiceConnector"
71 ;OfflineIMServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.OfflineIM.dll:OfflineIMServiceRobustConnector"
72 ;GroupsServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.Groups.dll:GroupsServiceRobustConnector"
73 ;BakedTextureService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XBakesConnector"
74 ;UserProfilesServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserProfilesConnector"
75 ;EstateDataService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:EstateDataRobustConnector"
76
77; * This is common for all services, it's the network setup for the entire
78; * server instance, if none is specified above
79; *
80[Network]
81 port = ${Const|PrivatePort}
82
83 ;; The follow 3 variables are for HTTP Basic Authentication for the Robust services.
84 ;; Use this if your central services in port ${Const|PrivatePort} need to be accessible on the Internet
85 ;; but you want to protect them from unauthorized access.
86 ; AuthType = "BasicHttpAuthentication"
87 ; HttpAuthUsername = "some_username"
88 ; HttpAuthPassword = "some_password"
89 ;;
90 ;; AuthType above can be overriden in any of the service sections below by
91 ; AuthType = "None"
92 ;; This is useful in cases where you want to protect most of the services,
93 ;; but unprotect individual services. Username and Password can also be
94 ;; overriden if you want to use different credentials for the different services.
95
96 ;; By default, scripts are not allowed to call private services via llHttpRequest()
97 ;; Such calls are detected by the X-SecondLife-Shared HTTP header
98 ;; If you allow such calls you must be sure that they are restricted to very trusted scripters
99 ;; (remember scripts can also be in visiting avatar attachments).
100 ;; This can be overriden in individual private service sections if necessary
101 AllowllHTTPRequestIn = false
102
103 ; * The following are for the remote console
104 ; * They have no effect for the local or basic console types
105 ; * Leave commented to diable logins to the console
106 ;ConsoleUser = Test
107 ;ConsolePass = secret
108 ;ConsolePort = 0
109
110
111[DatabaseService]
112 ; PGSQL
113 ; Uncomment these lines if you want to use PGSQL storage
114 ; Change the connection string to your db details
115 ;StorageProvider = "OpenSim.Data.PGSQL.dll"
116 ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;"
117
118 ; Null
119 ; Uncomment these lines if you want to use MySQL storage
120 ; Change the connection string to your db details
121 StorageProvider = "OpenSim.Data.Null.dll"
122 ConnectionString = ""
123
124
125; * As an example, the below configuration precisely mimicks the legacy
126; * asset server. It is read by the asset IN connector (defined above)
127; * and it then loads the OUT connector (a local database module). That,
128; * in turn, reads the asset loader and database connection information
129; *
130[AssetService]
131 LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
132 DefaultAssetLoader = ""
133
134 ; Allow maptile assets to remotely deleted by remote calls to the asset service.
135 ; There is no harm in having this as false - it just means that historical maptile assets are not deleted.
136 ; This only applies to maptiles served via the version 1 viewer mechanisms
137 ; Default is false
138 AllowRemoteDelete = false
139
140 ; Allow all assets to be remotely deleted.
141 ; Only set this to true if you are operating a grid where you control all calls to the asset service
142 ; (where a necessary condition is that you control all simulators) and you need this for admin purposes.
143 ; If set to true, AllowRemoteDelete = true is required as well.
144 ; Default is false.
145 AllowRemoteDeleteAllTypes = false
146
147
148; * This configuration loads the inventory server modules. It duplicates
149; * the function of the legacy inventory server
150; *
151[InventoryService]
152 LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService"
153
154 ; Will calls to purge folders (empty trash) and immediately delete/update items or folders (not move to trash first) succeed?
155 ; If this is set to false then some other arrangement must be made to perform these operations if necessary.
156 AllowDelete = true
157
158
159; * This is the new style grid service.
160; * "Realm" is the table that is used for user lookup.
161; * It defaults to "regions", which uses the legacy tables
162; *
163[GridService]
164 LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"
165 ; Realm = "regions"
166 ; AllowDuplicateNames = "True"
167
168 ;; Next, we can specify properties of regions, including default and fallback regions
169 ;; The syntax is: Region_<RegionName> = "<flags>"
170 ;; or: Region_<RegionID> = "<flags>"
171 ;; where <flags> can be DefaultRegion, DefaultHGRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut, Reservation, NoMove, Authenticate
172 ;;
173 ;; DefaultRegion If a local login cannot be placed in the required region (e.g. home region does not exist, avatar is not allowed entry, etc.)
174 ;; then this region becomes the destination. Only the first online default region will be used. If no DefaultHGRegion
175 ;; is specified then this will also be used as the region for hypergrid connections that require it (commonly because they have not specified
176 ;; an explicit region.
177 ;;
178 ;; DefaultHGRegion If an avatar connecting via the hypergrid does not specify a region, then they are placed here. Only the first online
179 ;; region will be used.
180 ;;
181 ;; FallbackRegion If the DefaultRegion is not available for a local login, then any FallbackRegions are tried instead. These are tried in the
182 ;; order specified. This only applies to local logins at this time, not Hypergrid connections.
183 ;;
184 ;; NoDirectLogin A hypergrid user cannot directly connect to this region. This does not apply to local logins.
185 ;;
186 ;; Persistent When the simulator is shutdown, the region is signalled as offline but left registered on the grid.
187 ;;
188 ;; Example specification:
189 ; Region_Welcome_Area = "DefaultRegion, FallbackRegion"
190 ; (replace spaces with underscore)
191
192 ;; Allow supporting viewers to export content
193 ;; Set to false to prevent export
194 ExportSupported = true
195
196
197; * This is the configuration for the freeswitch server in grid mode
198[FreeswitchService]
199 LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
200
201 ;; The IP address of your FreeSWITCH server.
202 ;; This address must be reachable by viewers.
203 ; ServerAddress = 127.0.0.1
204
205 ;; The following configuration parameters are optional
206
207 ;; By default, this is the same as the ServerAddress
208 ; Realm = 127.0.0.1
209
210 ;; By default, this is the same as the ServerAddress on port 5060
211 ; SIPProxy = 127.0.0.1:5060
212
213 ;; Default is 5000ms
214 ; DefaultTimeout = 5000
215
216 ;; The dial plan context. Default is "default"
217 ; Context = default
218
219 ;; Currently unused
220 ; UserName = freeswitch
221
222 ;; Currently unused
223 ; Password = password
224
225 ;; The following parameters are for STUN = Simple Traversal of UDP through NATs
226 ;; See http://wiki.freeswitch.org/wiki/NAT_Traversal
227 ;; stun.freeswitch.org is not guaranteed to be running so use it in
228 ;; production at your own risk
229 ; EchoServer = 127.0.0.1
230 ; EchoPort = 50505
231 ; AttemptSTUN = false
232
233
234; * This is the new style authentication service. Currently, only MySQL
235; * is implemented.
236; *
237[AuthenticationService]
238 ; for the server connector
239 LocalServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
240
241 ;; Allow the service to process HTTP getauthinfo calls.
242 ;; Default is false.
243 ; AllowGetAuthInfo = false
244
245 ;; Allow the service to process HTTP setauthinfo calls.
246 ;; Default is false.
247 ; AllowSetAuthInfo = false
248
249 ;; Allow the service to process HTTP setpassword calls.
250 ;; Default is false.
251 ; AllowSetPassword = false
252
253
254[OpenIdService]
255 ; for the server connector
256 AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
257 UserAccountServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
258
259
260; * This is the new style authentication service. Currently, only MySQL
261; * is implemented. "Realm" is the table that is used for user lookup.
262; * It defaults to "useraccounts", which uses the new style.
263; * Realm = "users" will use the legacy tables as an authentication source
264; *
265[UserAccountService]
266 ; for the server connector
267 LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
268 ; Realm = "useraccounts"
269
270 ; These are for creating new accounts by the service
271 AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
272 PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
273 GridService = "OpenSim.Services.GridService.dll:GridService"
274 InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
275 AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
276 GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
277
278 ;; This switch creates the minimum set of body parts and avatar entries for a viewer 2
279 ;; to show a default "Ruth" avatar rather than a cloud for a newly created user.
280 ;; Default is false
281 CreateDefaultAvatarEntries = true
282
283 ;; Allow the service to process HTTP createuser calls.
284 ;; Default is false.
285 ; AllowCreateUser = false
286
287 ;; Allow the service to process HTTP setaccount calls.
288 ;; Default is false.
289 ; AllowSetAccount = false
290
291
292[GridUserService]
293 ; for the server connector
294 LocalServiceModule = "OpenSim.Services.UserAccountService.dll:GridUserService"
295
296
297[PresenceService]
298 ; for the server connector
299 LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService"
300 ; Set this to true to allow the use of advanced web services and multiple
301 ; bots using one account
302 AllowDuplicatePresences = false;
303
304
305[AvatarService]
306 ; for the server connector
307 LocalServiceModule = "OpenSim.Services.AvatarService.dll:AvatarService"
308
309
310[FriendsService]
311 ; for the server connector
312 LocalServiceModule = "OpenSim.Services.FriendsService.dll:FriendsService"
313
314[EstateService]
315 LocalServiceModule = "OpenSim.Services.EstateService.dll:EstateDataService"
316
317[LibraryService]
318 LibraryName = "OpenSim Library"
319 DefaultLibrary = "./inventory/Libraries.xml"
320
321
322[LoginService]
323 ; for the server connector
324 LocalServiceModule = "OpenSim.Services.LLLoginService.dll:LLLoginService"
325 ; for the service
326 UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
327 GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
328 AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
329 InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
330 AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
331 PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
332 GridService = "OpenSim.Services.GridService.dll:GridService"
333 SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
334 LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService"
335 FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
336
337 ; The minimum user level required for a user to be able to login. 0 by default
338 ; If you disable a particular user's account then you can set their login level below this number.
339 ; You can also change this level from the console though these changes will not be persisted.
340 ; MinLoginLevel = 0
341
342 ; Ask co-operative viewers to use a different currency name
343 ;Currency = ""
344
345 ;; Set minimum fee to publish classified
346 ; ClassifiedFee = 0
347
348 WelcomeMessage = "Welcome, Avatar!"
349 AllowRemoteSetLoginLevel = "false"
350
351 ; For V2 map
352 MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/";
353
354 ; Url to search service
355 ; SearchURL = "${Const|BaseURL}:${Const|PublicPort}/";
356
357 ; For V3 destination guide
358 ; DestinationGuide = "${Const|BaseURL}/guide"
359
360 ; For V3 avatar picker (( work in progress ))
361 ; AvatarPicker = "${Const|BaseURL}/avatars"
362
363 ; If you run this login server behind a proxy, set this to true
364 ; HasProxy = false
365
366 ;; Regular expressions for controlling which client versions are accepted/denied.
367 ;; An empty string means nothing is checked.
368 ;;
369 ;; Example 1: allow only these 3 types of clients (any version of them)
370 ;; AllowedClients = "Imprudence|Hippo|Second Life"
371 ;;
372 ;; Example 2: allow all clients except these
373 ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
374 ;;
375 ;; Note that these are regular expressions, so every character counts.
376 ;; Also note that this is very weak security and should not be trusted as a reliable means
377 ;; for keeping bad clients out; modified clients can fake their identifiers.
378 ;;
379 ;;
380 ;AllowedClients = ""
381 ;DeniedClients = ""
382
383 ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
384 ;; Viewers do not listen to timezone sent by the server. They use Pacific Standard Time instead,
385 ;; but rely on the server to calculate Daylight Saving Time. Sending another DST than US Pacific
386 ;; would result in time inconsistencies between grids (during summer and around DST transition period)
387 ;; default let OpenSim calculate US Pacific DST
388 ;; "none" disable DST (equivallent to "local" with system set to GMT)
389 ;; "local" force legacy behaviour (using local system time to calculate DST)
390 ; DSTZone = "America/Los_Angeles;Pacific Standard Time"
391
392 ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
393 ;; Viewers do not receive timezone information from the server - almost all (?) default to Pacific Standard Time
394 ;; However, they do rely on the server to tell them whether it's Daylight Saving Time or not.
395 ;; Hence, calculating DST based on a different timezone can result in a misleading viewer display and inconsistencies between grids.
396 ;; By default, this setting uses various timezone names to calculate DST with regards to the viewer's standard PST.
397 ;; Options are
398 ;; "none" no DST
399 ;; "local" use the server's only timezone to calculate DST. This is previous OpenSimulator behaviour.
400 ;; "America/Los_Angeles;Pacific Standard Time" use these timezone names to look up Daylight savings.
401 ;; 'America/Los_Angeles' is used on Linux/Mac systems whilst 'Pacific Standard Time' is used on Windows
402 DSTZone = "America/Los_Angeles;Pacific Standard Time"
403
404 ;Basic Login Service Dos Protection Tweaks
405 ;;
406 ;; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true
407 ;; If you set this to true and you don't have a transparent proxy, it may allow attackers to put random things in the X-Forwarded-For header to
408 ;; get around this basic DOS protection.
409 ;DOSAllowXForwardedForHeader = false
410 ;;
411 ;; The protector adds up requests during this rolling period of time, default 10 seconds
412 ;DOSRequestTimeFrameMS = 10000
413 ;;
414 ;; The amount of requests in the above timeframe from the same endpoint that triggers protection
415 ;DOSMaxRequestsInTimeFrame = 5
416 ;;
417 ;; The amount of time that a specific endpoint is blocked. Default 2 minutes.
418 ;DOSForgiveClientAfterMS = 120000
419 ;;
420 ;; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0.
421
422
423[MapImageService]
424 LocalServiceModule = "OpenSim.Services.MapImageService.dll:MapImageService"
425
426 ; Set this if you want to change the default
427 ; TilesStoragePath = "maptiles"
428 ;
429 ; If for some reason you have the AddMapTile service outside the firewall (e.g. ${Const|PublicPort}),
430 ; you may want to set this. Otherwise, don't set it, because it's already protected.
431 ; GridService = "OpenSim.Services.GridService.dll:GridService"
432 ;
433 ; Additionally, if you run this server behind a proxy, set this to true
434 ; HasProxy = false
435
436
437[Messaging]
438 ; OfflineIM
439 OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService"
440
441
442[GridInfoService]
443 ; These settings are used to return information on a get_grid_info call.
444 ; Client launcher scripts and third-party clients make use of this to
445 ; autoconfigure the client and to provide a nice user experience. If you
446 ; want to facilitate that, you should configure the settings here according
447 ; to your grid or standalone setup.
448 ;
449 ; See http://opensimulator.org/wiki/GridInfo
450
451 ; login uri: for grid this is the login server URI
452 login = ${Const|BaseURL}:${Const|PublicPort}/
453
454 ; long grid name: the long name of your grid
455 gridname = "the lost continent of hippo"
456
457 ; short grid name: the short name of your grid
458 gridnick = "hippogrid"
459
460 ; login page: optional: if it exists it will be used to tell the client to use
461 ; this as splash page
462 ;welcome = ${Const|BaseURL}/welcome
463
464 ; helper uri: optional: if it exists if will be used to tell the client to use
465 ; this for all economy related things
466 ;economy = ${Const|BaseURL}:${Const|PublicPort}/
467
468 ; web page of grid: optional: page providing further information about your grid
469 ;about = ${Const|BaseURL}/about/
470
471 ; account creation: optional: page providing further information about obtaining
472 ; a user account on your grid
473 ;register = ${Const|BaseURL}/register
474
475 ; help: optional: page providing further assistance for users of your grid
476 ;help = ${Const|BaseURL}/help
477
478 ; password help: optional: page providing password assistance for users of your grid
479 ;password = ${Const|BaseURL}/password
480
481
482[UserProfilesService]
483 LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService"
484 Enabled = false
485 ;; Configure this for separate profiles database
486 ;; ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;"
487 ;; Realm = UserProfiles
488 UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService
489 AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
490
491
492[BakedTextureService]
493 LocalServiceModule = "OpenSim.Server.Handlers.dll:XBakes"
494 ;; This directory must be writable by the user ROBUST runs as. It will be created automatically.
495 BaseDirectory = "./bakes"