diff options
Diffstat (limited to 'bin/AssetInventoryServer.ini.example')
-rw-r--r-- | bin/AssetInventoryServer.ini.example | 119 |
1 files changed, 0 insertions, 119 deletions
diff --git a/bin/AssetInventoryServer.ini.example b/bin/AssetInventoryServer.ini.example deleted file mode 100644 index 8cfc1f8..0000000 --- a/bin/AssetInventoryServer.ini.example +++ /dev/null | |||
@@ -1,119 +0,0 @@ | |||
1 | [Config] | ||
2 | |||
3 | ; The port number for the asset server to listen on. | ||
4 | listen_port = 8003 | ||
5 | |||
6 | ; Points to an XML file which describes assets to load on startup. | ||
7 | ; This is "./assets/AssetSets.xml" by default and can be changed below. | ||
8 | ;assetset_location = ./assets/AssetSets.xml | ||
9 | |||
10 | [Plugins] | ||
11 | |||
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
13 | ; Asset Storage Provider | ||
14 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
15 | |||
16 | ; SimpleAssetStorage is a very basic storage system for the purposes of | ||
17 | ; illustrating a storage backend example. The assets are stored in | ||
18 | ; SimpleAssets/ and TempAssets/ (which is deleted when the server shuts down). | ||
19 | ; Metadata is generated for all of the files at startup and when new assets are | ||
20 | ; uploaded. | ||
21 | ;asset_storage_provider = SimpleAssetStorage | ||
22 | |||
23 | ; OpenSimAssetStorage connects to a database that has an assets table created | ||
24 | ; by OpenSim. This backend combined with the OpenSimFrontend will allow the asset | ||
25 | ; server to be used as a drop-in replacement for OpenSim.Grid.AssetServer.exe, | ||
26 | ; while also allowing other frontends to run. | ||
27 | asset_storage_provider = OpenSimAssetStorage | ||
28 | |||
29 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
30 | ; Inventory Storage Provider | ||
31 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
32 | |||
33 | ; SimpleInventoryStorage is a very basic inventory storage system for the | ||
34 | ; purposes of illustrating an inventory backend example. The inventory is stored | ||
35 | ; in SimpleInventory/ by creating a folder for each agent that contains all of | ||
36 | ; the inventory items and folders serialized as XML files. | ||
37 | ;inventory_storage_provider = SimpleInventoryStorage | ||
38 | |||
39 | ; OpenSimInventoryStorage connects to a database that has an inventory table | ||
40 | ; created by OpenSim. This backend combined with the OpenSimInventoryFrontend | ||
41 | ; will allow the server to be used as a drop-in replacement for | ||
42 | ; OpenSim.Grid.InventoryServer.exe, while also allowing other frontends to run. | ||
43 | ; *** NOTE: Inventory is not currently implemented. | ||
44 | inventory_storage_provider = OpenSimInventoryStorage | ||
45 | |||
46 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
47 | ; Authentication Provider | ||
48 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
49 | |||
50 | ; NullAuthentication does nothing. | ||
51 | authentication_provider = NullAuthentication | ||
52 | |||
53 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
54 | ; Authorization Provider | ||
55 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
56 | |||
57 | ; Authorize all is a dummy authorization module that allows all requests for | ||
58 | ; metadata, data, and asset creation. Use this extension if your primary | ||
59 | ; storage provider or front-end interface does not support authentication. | ||
60 | authorization_provider = AuthorizeAll | ||
61 | |||
62 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
63 | ; Metrics Provider | ||
64 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
65 | |||
66 | ; NullMetrics contains empty logging functions. Use this metrics provider if | ||
67 | ; you want to disable metrics collection and reporting. | ||
68 | metrics_provider = NullMetrics | ||
69 | |||
70 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
71 | ; Frontends | ||
72 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
73 | |||
74 | ; Specify multiple frontends as a comma-separated list. | ||
75 | |||
76 | ; ReferenceFrontend is a simple frontend that provides three basic REST | ||
77 | ; methods. /assetid/metadata will return the metadata for an asset (currently in | ||
78 | ; LLSD format, that will change soon). /assetid/data will return the raw asset | ||
79 | ; data with proper Content-Type and Content-Disposition headers to make | ||
80 | ; downloading assets in a web browser easy. | ||
81 | |||
82 | ; OpenSimAssetFrontend is a frontend that matches the existing OpenSim XML for | ||
83 | ; transferring grid assets. This will allow the asset server to function as a | ||
84 | ; drop-in replacement for OpenSim.Grid.AssetServer.exe, and can be combined with | ||
85 | ; OpenSimAssetStorage to provide an identical replacement, or any other asset | ||
86 | ; storage backend. | ||
87 | |||
88 | ; OpenSimInventoryFrontend is a frontend that matches the existing OpenSim XML | ||
89 | ; for transferring inventory. This will allow the inventory server to function as | ||
90 | ; a drop-in replacement for OpenSim.Grid.InventoryServer.exe, and can be combined | ||
91 | ; with OpenSimInventoryStorage to provide an identical replacement, or any other | ||
92 | ; inventory storage backend. | ||
93 | ; *** NOTE: Inventory is not currently implemented. | ||
94 | |||
95 | ; BrowseFrontend is an HTML interface for browsing through the asset store. | ||
96 | |||
97 | frontends = ReferenceFrontend,OpenSimAssetFrontend,OpenSimInventoryFrontend,BrowseFrontend | ||
98 | |||
99 | [OpenSim] | ||
100 | ; The OpenSim section applies to the OpenSim plugin (OpenSimAssetStorage, | ||
101 | ; OpenSimInventoryStorage, OpenSimAssetFronend, OpenSimInventoryFrontend). | ||
102 | |||
103 | ; The database provider determines which database to use. Any database backend | ||
104 | ; supported by OpenSim is supported. | ||
105 | asset_database_provider = "OpenSim.Data.SQLite.dll" | ||
106 | ;asset_database_provider = "OpenSim.Data.MySQL.dll" | ||
107 | |||
108 | inventory_database_provider = "OpenSim.Data.SQLite.dll" | ||
109 | ;inventory_database_provider = "OpenSim.Data.MySQL.dll" | ||
110 | |||
111 | ; Database connection string used by the database backend. | ||
112 | |||
113 | ; For SQLite | ||
114 | asset_database_connect = "URI=file:Asset.db,version=3" | ||
115 | inventory_database_connect = "URI=file:Inventory.db,version=3" | ||
116 | |||
117 | ; For MySQL | ||
118 | ;asset_database_connect = "Server=localhost; Database=opensim; User=changeme; Password=changeme;" | ||
119 | ;inventory_database_connect = "Server=localhost; Database=opensim; User=changeme; Password=changeme;" | ||