Repository: airavata-php-gateway Updated Branches: refs/heads/develop 51f2d2fa9 -> d3337baa3
fixing minor issue in not setting tenant id Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/d3337baa Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/d3337baa Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/d3337baa Branch: refs/heads/develop Commit: d3337baa32d5a617db04bfd34e690cd06a2157c6 Parents: 51f2d2f Author: scnakandala <[email protected]> Authored: Wed Dec 14 12:56:55 2016 -0500 Committer: scnakandala <[email protected]> Committed: Wed Dec 14 12:56:55 2016 -0500 ---------------------------------------------------------------------- app/libraries/Wsis/Wsis.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d3337baa/app/libraries/Wsis/Wsis.php ---------------------------------------------------------------------- diff --git a/app/libraries/Wsis/Wsis.php b/app/libraries/Wsis/Wsis.php index 74e4d3b..fdac71e 100755 --- a/app/libraries/Wsis/Wsis.php +++ b/app/libraries/Wsis/Wsis.php @@ -430,7 +430,7 @@ class Wsis { ) )); $parameters = array( - 'login' => $adminUsername, + 'login' => $adminUsername. '@' . $tenantDomain, 'password' => $adminPassword, 'stream_context' => $context, 'trace' => 1, @@ -438,7 +438,7 @@ class Wsis { 'cache_wsdl' => WSDL_CACHE_BOTH ); $userProfileManager = new UserProfileManager($wsisConfig['service-url'], $parameters); - $userProfileManager->updateUserProfile($adminUsername . '@' . $tenantDomain, $email, $firstName, $lastName); + $userProfileManager->updateUserProfile($adminUsername, $email, $firstName, $lastName); return $tm; } catch (Exception $ex) { throw new Exception("Unable to create Tenant.", 0, $ex);
