AssetInventoryServer.ini.example 5.0 KB

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