Hi,

So I will be adding below method to
the 
org.wso2.carbon.automation.api.clients.identity.usermgt.remote.RemoteUserStoreManagerServiceClient
which would be used in my test cases to create and delete users accordingly.

public void deleteUser(String username) throws
RemoteUserStoreManagerServiceUserStoreExceptionException, RemoteException {
        remoteUserStoreManagerServiceStub.deleteUser(username);
    }

Thanks,
Malithi.

On Wed, Oct 22, 2014 at 1:39 PM, Krishantha Samaraweera <[email protected]
> wrote:

> Yes please ahead and add the missing method.
>
> Thanks,
> Krishantha.
>
> On Wed, Oct 22, 2014 at 1:27 PM, Malithi Edirisinghe <[email protected]>
> wrote:
>
>> Copying Krishantha.
>>
>> On Wed, Oct 22, 2014 at 11:47 AM, Malithi Edirisinghe <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm working on writing integration tests for openid. In order to test
>>> the open id flow I have implemented a parameterized test case that run for
>>> different parameters.
>>> Here as per the received parameters I'm creating a user before the test
>>> method and delete at the end. I also create claim values for that user.
>>> In the TAF 4.2.8 there is a RemoteUserStoreManagerServiceClient class
>>> that calls to the RemoteUserStoreManagerService service via
>>> RemoteUserStoreManagerServiceStub and UserManagementClient class that calls
>>> to the UserAdmin service via UserAdminStub. But
>>> RemoteUserStoreManagerServiceClient has not exposed the deleteUser
>>> operation of the stub so by using this client I cannot delete users where
>>> as UserManagementClient has not exposed the addUser operation of the stub
>>> that accept claim values as a parameter so I cannot add users with claims.
>>> Would it be ok if I add these missing methods so that I can use them in my
>>> tests.
>>>
>>> Thanks,
>>> Malithi.
>>> --
>>>
>>> *Malithi Edirisinghe*
>>> Senior Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile : +94 (0) 718176807
>>> [email protected]
>>>
>>
>>
>>
>> --
>>
>> *Malithi Edirisinghe*
>> Senior Software Engineer
>> WSO2 Inc.
>>
>> Mobile : +94 (0) 718176807
>> [email protected]
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 

*Malithi Edirisinghe*
Senior Software Engineer
WSO2 Inc.

Mobile : +94 (0) 718176807
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to