the attached patch set adds the (still work-in-progress but already
working) RestPlugin base class and the RestRegionPlugin code. we are using
XML serialization.

currently working:

GET /admin/regions/                 -> returns UUID list of known regions
   GET /admin/regions/<UUID>    -> returns detailed region information

we'll be adding support for POST/DELETE/PUT and also for
/admin/regions/<UUID>/name etc.
This commit is contained in:
Sean Dague
2008-05-14 19:13:54 +00:00
parent 8fe9943293
commit 4a07038bbe
4 changed files with 138 additions and 15 deletions

View File

@@ -162,6 +162,14 @@ shout_distance = 100
enabled = false
access_password = unknown
[RestPlugins]
enabled = false
password = unknown
prefix = /admin
[RestRegionPlugin]
enabled = false
; Uncomment the following for IRC bridge
; experimental, so if it breaks... keep both parts... yada yada
; also, not good error detection when it fails
@@ -326,10 +334,6 @@ CleanUpOldScriptsOnStartup=true
; Set the following to true to allow administrator owned scripts to execute console commands
AllowosConsoleCommand=false
; Maximum number of llListen events we allow globally in the region
; Set this to 0 to have no limit imposed.
max_listens_per_region = 1000
; Maximum number of llListen events we allow per script
; Set this to 0 to have no limit imposed.
max_listens_per_script = 64