diff options
author | Mike Mazur | 2009-02-16 02:28:51 +0000 |
---|---|---|
committer | Mike Mazur | 2009-02-16 02:28:51 +0000 |
commit | e41f761e0d808f39d58766cb8f888cda3b5a6043 (patch) | |
tree | a00b2349f5e1fcfde0c23471fbdf0a238cc29370 /OpenSim/Grid/AssetInventoryServer/Plugins | |
parent | Standardize logging messages. (diff) | |
download | opensim-SC-e41f761e0d808f39d58766cb8f888cda3b5a6043.zip opensim-SC-e41f761e0d808f39d58766cb8f888cda3b5a6043.tar.gz opensim-SC-e41f761e0d808f39d58766cb8f888cda3b5a6043.tar.bz2 opensim-SC-e41f761e0d808f39d58766cb8f888cda3b5a6043.tar.xz |
- add restrictions and error handling to plugin loading in
AssetInventoryServer
- assign shorter names to each AssetInventory plugin
- modify AssetInventoryServer.ini.example file so it works out of the
box
Diffstat (limited to 'OpenSim/Grid/AssetInventoryServer/Plugins')
11 files changed, 13 insertions, 11 deletions
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/AuthorizeAllPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/AuthorizeAllPlugin.cs index 9e3a421..7fd1ee8 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/AuthorizeAllPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/AuthorizeAllPlugin.cs | |||
@@ -74,7 +74,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins | |||
74 | 74 | ||
75 | public string Name | 75 | public string Name |
76 | { | 76 | { |
77 | get { return "AssetInventoryServer Authorize All"; } | 77 | get { return "AuthorizeAll"; } |
78 | } | 78 | } |
79 | 79 | ||
80 | #endregion IPlugin implementation | 80 | #endregion IPlugin implementation |
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/BrowseFrontendPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/BrowseFrontendPlugin.cs index 6c98612..4ed8d87 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/BrowseFrontendPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/BrowseFrontendPlugin.cs | |||
@@ -83,7 +83,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins | |||
83 | 83 | ||
84 | public string Name | 84 | public string Name |
85 | { | 85 | { |
86 | get { return "AssetInventoryServer Browse asset frontend"; } | 86 | get { return "BrowseFrontend"; } |
87 | } | 87 | } |
88 | 88 | ||
89 | #endregion IPlugin implementation | 89 | #endregion IPlugin implementation |
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs index 1fbe780..e958591 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs | |||
@@ -74,7 +74,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins | |||
74 | 74 | ||
75 | public string Name | 75 | public string Name |
76 | { | 76 | { |
77 | get { return "AssetInventoryServer Null authentication"; } | 77 | get { return "NullAuthentication"; } |
78 | } | 78 | } |
79 | 79 | ||
80 | #endregion IPlugin implementation | 80 | #endregion IPlugin implementation |
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/NullMetricsPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/NullMetricsPlugin.cs index eef98dc..84e526a 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/NullMetricsPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/NullMetricsPlugin.cs | |||
@@ -145,7 +145,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins | |||
145 | 145 | ||
146 | public string Name | 146 | public string Name |
147 | { | 147 | { |
148 | get { return "AssetInventoryServer Null Metrics"; } | 148 | get { return "NullMetrics"; } |
149 | } | 149 | } |
150 | 150 | ||
151 | #endregion IPlugin implementation | 151 | #endregion IPlugin implementation |
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetFrontendPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetFrontendPlugin.cs index d2a87e6..887ab68 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetFrontendPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetFrontendPlugin.cs | |||
@@ -86,7 +86,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim | |||
86 | 86 | ||
87 | public string Name | 87 | public string Name |
88 | { | 88 | { |
89 | get { return "AssetInventoryServer OpenSim asset frontend"; } | 89 | get { return "OpenSimAssetFrontend"; } |
90 | } | 90 | } |
91 | 91 | ||
92 | #endregion IPlugin implementation | 92 | #endregion IPlugin implementation |
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetStoragePlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetStoragePlugin.cs index 69dcff3..ad68c57 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetStoragePlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetStoragePlugin.cs | |||
@@ -183,6 +183,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim | |||
183 | catch (Exception e) | 183 | catch (Exception e) |
184 | { | 184 | { |
185 | m_log.WarnFormat("[OPENSIMASSETSTORAGE]: Failure loading data plugin: {0}", e.ToString()); | 185 | m_log.WarnFormat("[OPENSIMASSETSTORAGE]: Failure loading data plugin: {0}", e.ToString()); |
186 | throw new PluginNotInitialisedException(Name); | ||
186 | } | 187 | } |
187 | } | 188 | } |
188 | 189 | ||
@@ -206,7 +207,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim | |||
206 | 207 | ||
207 | public string Name | 208 | public string Name |
208 | { | 209 | { |
209 | get { return "AssetInventoryServer OpenSim asset storage provider"; } | 210 | get { return "OpenSimAssetStorage"; } |
210 | } | 211 | } |
211 | 212 | ||
212 | #endregion IPlugin implementation | 213 | #endregion IPlugin implementation |
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryFrontendPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryFrontendPlugin.cs index 76d7122..5e7f0c6 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryFrontendPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryFrontendPlugin.cs | |||
@@ -91,7 +91,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim | |||
91 | 91 | ||
92 | public string Name | 92 | public string Name |
93 | { | 93 | { |
94 | get { return "AssetInventoryServer OpenSim inventory frontend"; } | 94 | get { return "OpenSimInventoryFrontend"; } |
95 | } | 95 | } |
96 | 96 | ||
97 | #endregion IPlugin implementation | 97 | #endregion IPlugin implementation |
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs index 2f5d2ca..1ead422 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs | |||
@@ -815,6 +815,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim | |||
815 | catch (Exception e) | 815 | catch (Exception e) |
816 | { | 816 | { |
817 | m_log.WarnFormat("[OPENSIMINVENTORYSTORAGE]: Failure loading data plugin: {0}", e.ToString()); | 817 | m_log.WarnFormat("[OPENSIMINVENTORYSTORAGE]: Failure loading data plugin: {0}", e.ToString()); |
818 | throw new PluginNotInitialisedException(Name); | ||
818 | } | 819 | } |
819 | } | 820 | } |
820 | 821 | ||
@@ -839,7 +840,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim | |||
839 | 840 | ||
840 | public string Name | 841 | public string Name |
841 | { | 842 | { |
842 | get { return "AssetInventoryServer OpenSim inventory storage provider"; } | 843 | get { return "OpenSimInventoryStorage"; } |
843 | } | 844 | } |
844 | 845 | ||
845 | #endregion IPlugin implementation | 846 | #endregion IPlugin implementation |
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/ReferenceFrontendPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/ReferenceFrontendPlugin.cs index af10393..f411127 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/ReferenceFrontendPlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/ReferenceFrontendPlugin.cs | |||
@@ -87,7 +87,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins | |||
87 | 87 | ||
88 | public string Name | 88 | public string Name |
89 | { | 89 | { |
90 | get { return "AssetInventoryServer Reference asset frontend"; } | 90 | get { return "ReferenceFrontend"; } |
91 | } | 91 | } |
92 | 92 | ||
93 | #endregion IPlugin implementation | 93 | #endregion IPlugin implementation |
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/Simple/SimpleAssetStoragePlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/Simple/SimpleAssetStoragePlugin.cs index 26c34e9..4e5526b 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/Simple/SimpleAssetStoragePlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/Simple/SimpleAssetStoragePlugin.cs | |||
@@ -229,7 +229,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.Simple | |||
229 | 229 | ||
230 | public string Name | 230 | public string Name |
231 | { | 231 | { |
232 | get { return "AssetInventoryServer Simple asset storage provider"; } | 232 | get { return "SimpleAssetStorage"; } |
233 | } | 233 | } |
234 | 234 | ||
235 | #endregion IPlugin implementation | 235 | #endregion IPlugin implementation |
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/Simple/SimpleInventoryStoragePlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/Simple/SimpleInventoryStoragePlugin.cs index fee8837..a48be2e 100644 --- a/OpenSim/Grid/AssetInventoryServer/Plugins/Simple/SimpleInventoryStoragePlugin.cs +++ b/OpenSim/Grid/AssetInventoryServer/Plugins/Simple/SimpleInventoryStoragePlugin.cs | |||
@@ -619,7 +619,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.Simple | |||
619 | 619 | ||
620 | public string Name | 620 | public string Name |
621 | { | 621 | { |
622 | get { return "AssetInventoryServer Simple inventory storage provider"; } | 622 | get { return "SimpleInventoryStorage"; } |
623 | } | 623 | } |
624 | 624 | ||
625 | #endregion IPlugin implementation | 625 | #endregion IPlugin implementation |