Hi,
I tried to reproduce the issue with the exact same code given at [1] . And
endpoints successfully got added. I checked this in the latest slive setup
up and running.
Since this setup always under maintenance and restarting, some times
tenants fails to login and etc. In such occasions we can't run the client
and test code fails.

Following is the code block I used.

      EndpointManager endpointManager = new EndpointManager(registry);
        if(endpointManager.getEndpointByUrl("
http://localhost:9763/services/Axis2Service_QA_";) != null) {
            Endpoint endpoint = endpointManager.newEndpoint("
http://localhost:9763/services/Axis2Service_QA_";);
           endpoint.setAttribute("environment", "QA");
           endpointManager.addEndpoint(endpoint);
            System.out.println(" EndpointManager Finished");
        } else {
            System.out.println("Endpoint already added");
        }

[1] - https://wso2.org/jira/browse/REGISTRY-1534

On Tue, Dec 11, 2012 at 10:54 AM, Samisa Abeysinghe <[email protected]> wrote:

>
>
> On Tue, Dec 11, 2012 at 10:30 AM, Eranda Sooriyabandara 
> <[email protected]>wrote:
>
>> Hi Senaka,
>> This is working in my machine and the revision is 150735.
>>
>
> It is not the local instance that is not working. It is when I try to use
> this with SLive staging that it does not work.
>




>
>
>>
>> thanks
>> Eranda
>>
>>
>>
>> On Mon, Dec 10, 2012 at 11:59 PM, Senaka Fernando <[email protected]>wrote:
>>
>>> Hi Eranda,
>>>
>>> FYI, https://wso2.org/jira/browse/REGISTRY-1534. Did we not fix any
>>> regressions introduced by recent changes to Service etc? or is this a
>>> result of some other fix?
>>>
>>> Hi Subash,
>>>
>>> We need to expedite the work on getting the integration tests fixed and
>>> ensure all of them pass. There seems to be regressions introduced by recent
>>> commits.
>>>
>>> Thanks,
>>> Senaka.
>>>
>>> --
>>> * <http://wso2con.com/>
>>> *
>>> *
>>>
>>> Senaka Fernando*
>>> Member - Integration Technologies Management Committee;
>>> Technical Lead; WSO2 Inc.; http://wso2.com*
>>> Member; Apache Software Foundation; http://apache.org
>>>
>>> E-mail: senaka AT wso2.com
>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>> Linked-In: http://linkedin.com/in/senakafernando
>>>
>>> *Lean . Enterprise . Middleware
>>>
>>>
>>
>>
>> --
>> *Eranda Sooriyabandara
>> *Software Engineer;
>> Integration Technologies Team;
>> WSO2 Inc.; http://wso2.com
>>
>> *
>> *
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Subash Chaturanga
Software Engineer
WSO2 Inc. http://wso2.com

email - [email protected]
phone - 077 2225922
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to