diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index 4806e52..6e3ccb7 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -129,7 +129,8 @@ namespace OpenSim.Grid.UserServer | |||
129 | tempMD5Passwd = Util.Md5Hash(Util.Md5Hash(tempMD5Passwd) + ":" + ""); | 129 | tempMD5Passwd = Util.Md5Hash(Util.Md5Hash(tempMD5Passwd) + ":" + ""); |
130 | 130 | ||
131 | LLUUID userID = m_userManager.AddUserProfile(tempfirstname, templastname, tempMD5Passwd, regX, regY); | 131 | LLUUID userID = m_userManager.AddUserProfile(tempfirstname, templastname, tempMD5Passwd, regX, regY); |
132 | RestObjectPoster.BeginPostObject<Guid>(m_userManager._config.InventoryUrl + "CreateInventory/", userID.UUID); | 132 | RestObjectPoster.BeginPostObject<Guid>(m_userManager._config.InventoryUrl + "CreateInventory/", |
133 | userID.UUID); | ||
133 | m_lastCreatedUser = userID; | 134 | m_lastCreatedUser = userID; |
134 | break; | 135 | break; |
135 | } | 136 | } |
@@ -154,17 +155,23 @@ namespace OpenSim.Grid.UserServer | |||
154 | break; | 155 | break; |
155 | 156 | ||
156 | case "test-inventory": | 157 | case "test-inventory": |
157 | // RestObjectPosterResponse<List<InventoryFolderBase>> requester = new RestObjectPosterResponse<List<InventoryFolderBase>>(); | 158 | // RestObjectPosterResponse<List<InventoryFolderBase>> requester = new RestObjectPosterResponse<List<InventoryFolderBase>>(); |
158 | // requester.ReturnResponseVal = TestResponse; | 159 | // requester.ReturnResponseVal = TestResponse; |
159 | // requester.BeginPostObject<LLUUID>(m_userManager._config.InventoryUrl + "RootFolders/", m_lastCreatedUser); | 160 | // requester.BeginPostObject<LLUUID>(m_userManager._config.InventoryUrl + "RootFolders/", m_lastCreatedUser); |
160 | List<InventoryFolderBase> folders = SynchronousRestObjectPoster.BeginPostObject< LLUUID, List<InventoryFolderBase>>("POST",m_userManager._config.InventoryUrl + "RootFolders/", m_lastCreatedUser); | 161 | List<InventoryFolderBase> folders = |
162 | SynchronousRestObjectPoster.BeginPostObject<LLUUID, List<InventoryFolderBase>>("POST", | ||
163 | m_userManager. | ||
164 | _config. | ||
165 | InventoryUrl + | ||
166 | "RootFolders/", | ||
167 | m_lastCreatedUser); | ||
161 | break; | 168 | break; |
162 | } | 169 | } |
163 | } | 170 | } |
164 | 171 | ||
165 | public void TestResponse(List<InventoryFolderBase> resp) | 172 | public void TestResponse(List<InventoryFolderBase> resp) |
166 | { | 173 | { |
167 | System.Console.WriteLine("response got"); | 174 | Console.WriteLine("response got"); |
168 | } | 175 | } |
169 | 176 | ||
170 | /*private void ConfigDB(IGenericConfig configData) | 177 | /*private void ConfigDB(IGenericConfig configData) |
@@ -194,4 +201,4 @@ namespace OpenSim.Grid.UserServer | |||
194 | { | 201 | { |
195 | } | 202 | } |
196 | } | 203 | } |
197 | } | 204 | } \ No newline at end of file |