diff options
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs index 36325ce..97eaabe 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs | |||
@@ -156,7 +156,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
156 | { "OwnerID", userID.ToString() } | 156 | { "OwnerID", userID.ToString() } |
157 | }; | 157 | }; |
158 | 158 | ||
159 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 159 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
160 | bool success = response["Success"].AsBoolean(); | 160 | bool success = response["Success"].AsBoolean(); |
161 | 161 | ||
162 | if (!success) | 162 | if (!success) |
@@ -182,7 +182,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
182 | { "ChildrenOnly", "0" } | 182 | { "ChildrenOnly", "0" } |
183 | }; | 183 | }; |
184 | 184 | ||
185 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 185 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
186 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) | 186 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) |
187 | { | 187 | { |
188 | OSDArray items = (OSDArray)response["Items"]; | 188 | OSDArray items = (OSDArray)response["Items"]; |
@@ -244,7 +244,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
244 | { "ChildrenOnly", "1" } | 244 | { "ChildrenOnly", "1" } |
245 | }; | 245 | }; |
246 | 246 | ||
247 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 247 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
248 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) | 248 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) |
249 | { | 249 | { |
250 | OSDArray items = (OSDArray)response["Items"]; | 250 | OSDArray items = (OSDArray)response["Items"]; |
@@ -274,7 +274,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
274 | { "OwnerID", userID.ToString() } | 274 | { "OwnerID", userID.ToString() } |
275 | }; | 275 | }; |
276 | 276 | ||
277 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 277 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
278 | if (response["Success"].AsBoolean() && response["Folder"] is OSDMap) | 278 | if (response["Success"].AsBoolean() && response["Folder"] is OSDMap) |
279 | { | 279 | { |
280 | OSDMap folder = (OSDMap)response["Folder"]; | 280 | OSDMap folder = (OSDMap)response["Folder"]; |
@@ -312,7 +312,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
312 | { "ChildrenOnly", "1" } | 312 | { "ChildrenOnly", "1" } |
313 | }; | 313 | }; |
314 | 314 | ||
315 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 315 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
316 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) | 316 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) |
317 | { | 317 | { |
318 | List<InventoryItemBase> items = GetItemsFromResponse((OSDArray)response["Items"]); | 318 | List<InventoryItemBase> items = GetItemsFromResponse((OSDArray)response["Items"]); |
@@ -349,7 +349,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
349 | { "ChildrenOnly", "1" } | 349 | { "ChildrenOnly", "1" } |
350 | }; | 350 | }; |
351 | 351 | ||
352 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 352 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
353 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) | 353 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) |
354 | { | 354 | { |
355 | OSDArray items = (OSDArray)response["Items"]; | 355 | OSDArray items = (OSDArray)response["Items"]; |
@@ -383,7 +383,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
383 | { "ChildrenOnly", "1" } | 383 | { "ChildrenOnly", "1" } |
384 | }; | 384 | }; |
385 | 385 | ||
386 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 386 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
387 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) | 387 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) |
388 | { | 388 | { |
389 | OSDArray items = (OSDArray)response["Items"]; | 389 | OSDArray items = (OSDArray)response["Items"]; |
@@ -423,7 +423,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
423 | { "ChildrenOnly", "1" } | 423 | { "ChildrenOnly", "1" } |
424 | }; | 424 | }; |
425 | 425 | ||
426 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 426 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
427 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) | 427 | if (response["Success"].AsBoolean() && response["Items"] is OSDArray) |
428 | { | 428 | { |
429 | OSDArray items = (OSDArray)response["Items"]; | 429 | OSDArray items = (OSDArray)response["Items"]; |
@@ -454,7 +454,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
454 | { "ContentType", SLUtil.SLAssetTypeToContentType(folder.Type) } | 454 | { "ContentType", SLUtil.SLAssetTypeToContentType(folder.Type) } |
455 | }; | 455 | }; |
456 | 456 | ||
457 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 457 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
458 | bool success = response["Success"].AsBoolean(); | 458 | bool success = response["Success"].AsBoolean(); |
459 | 459 | ||
460 | if (!success) | 460 | if (!success) |
@@ -518,7 +518,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
518 | { "ItemID", itemID.ToString() } | 518 | { "ItemID", itemID.ToString() } |
519 | }; | 519 | }; |
520 | 520 | ||
521 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 521 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
522 | bool success = response["Success"].AsBoolean(); | 522 | bool success = response["Success"].AsBoolean(); |
523 | 523 | ||
524 | if (!success) | 524 | if (!success) |
@@ -546,7 +546,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
546 | { "FolderID", folder.ID.ToString() } | 546 | { "FolderID", folder.ID.ToString() } |
547 | }; | 547 | }; |
548 | 548 | ||
549 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 549 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
550 | bool success = response["Success"].AsBoolean(); | 550 | bool success = response["Success"].AsBoolean(); |
551 | 551 | ||
552 | if (!success) | 552 | if (!success) |
@@ -623,7 +623,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
623 | { "ExtraData", OSDParser.SerializeJsonString(extraData) } | 623 | { "ExtraData", OSDParser.SerializeJsonString(extraData) } |
624 | }; | 624 | }; |
625 | 625 | ||
626 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 626 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
627 | bool success = response["Success"].AsBoolean(); | 627 | bool success = response["Success"].AsBoolean(); |
628 | 628 | ||
629 | if (!success) | 629 | if (!success) |
@@ -847,7 +847,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
847 | { "Items", String.Join(",", itemIDs) } | 847 | { "Items", String.Join(",", itemIDs) } |
848 | }; | 848 | }; |
849 | 849 | ||
850 | OSDMap response = WebUtil.PostToService(m_serverUrl, requestArgs); | 850 | OSDMap response = SimianGrid.PostToService(m_serverUrl, requestArgs); |
851 | bool success = response["Success"].AsBoolean(); | 851 | bool success = response["Success"].AsBoolean(); |
852 | 852 | ||
853 | if (!success) | 853 | if (!success) |
@@ -885,7 +885,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
885 | { "UserID", userID.ToString() } | 885 | { "UserID", userID.ToString() } |
886 | }; | 886 | }; |
887 | 887 | ||
888 | OSDMap response = WebUtil.PostToService(m_userServerUrl, requestArgs); | 888 | OSDMap response = SimianGrid.PostToService(m_userServerUrl, requestArgs); |
889 | if (response["Success"].AsBoolean()) | 889 | if (response["Success"].AsBoolean()) |
890 | { | 890 | { |
891 | OSDMap user = response["User"] as OSDMap; | 891 | OSDMap user = response["User"] as OSDMap; |
@@ -916,7 +916,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
916 | { "Gestures", OSDParser.SerializeJsonString(gestures) } | 916 | { "Gestures", OSDParser.SerializeJsonString(gestures) } |
917 | }; | 917 | }; |
918 | 918 | ||
919 | OSDMap response = WebUtil.PostToService(m_userServerUrl, requestArgs); | 919 | OSDMap response = SimianGrid.PostToService(m_userServerUrl, requestArgs); |
920 | if (!response["Success"].AsBoolean()) | 920 | if (!response["Success"].AsBoolean()) |
921 | { | 921 | { |
922 | m_log.Warn("[SIMIAN INVENTORY CONNECTOR]: Failed to save active gestures for " + userID + ": " + | 922 | m_log.Warn("[SIMIAN INVENTORY CONNECTOR]: Failed to save active gestures for " + userID + ": " + |