Re: [Dev] How to add resources to carbon kernel

2015-02-14 Thread Irham Iqbal
Hi Siva, I tried to create a registry instance as below . RemoteRegistry registry = new RemoteRegistry(new URL(registryUrl), "admin", "admin"); And created a resource as below Resource resource = new RemoteResourceImpl(); resource.setContent(resourceStr); resource.setMediaType("text/plain"); Fin

Re: [Dev] How to add resources to carbon kernel

2015-02-14 Thread Shiva Balachandran
Hi Irham, Your text case should be extending the master test case, create a registry instance. Next create a resource file and set the resource name, context and media type (text/plain). Then use the registry.put() function to add the resource to the server. Thank you, Shiva Balachandran On F

Re: [Dev] RabbitMQ AMQP Transport for WSO2 ESB

2015-02-14 Thread Eranda Rajapakshe
Hi, *This is week - 1 progress on my work. * I have created the orbit for latest rabbitmq-client library (3.4.4) and send the pull request. And I am testing the rabbitmq existing transport source with the latest rabbitmq-client library version 3.4.4. Updated source can be found in here [1]. I crea

Re: [Dev] [IS] Accessing token_type from OAuth2AuthzEndpoint

2015-02-14 Thread Johann Nallathamby
Hi Nuwandi, Since this is for carbon-identity 4.3.0 based release we have the opportunity of fixing the APIs. You can add the token_type parameter to OAuth2AuthorizeRespDTO and set it in the service level to "bearer" or other appropriate types. Currently we only support "bearer" OOTB. Thanks. On

Re: [Dev] Fixing Integration tests for DB mediators in ESB 4.9.0

2015-02-14 Thread Chanaka Fernando
Thanks NuwanW for the quick response. I will try out that option. On Sun, Feb 15, 2015 at 12:44 AM, Nuwan Wimalasekara wrote: > Hi Chanaka, > Those classes are no longer use in ESB 4.9.0 with new test framework. > Please use below classes to get the datasource configuration defined in > automat

Re: [Dev] Fixing Integration tests for DB mediators in ESB 4.9.0

2015-02-14 Thread Nuwan Wimalasekara
Hi Chanaka, Those classes are no longer use in ESB 4.9.0 with new test framework. Please use below classes to get the datasource configuration defined in automation.xml AutomationContext automationContext = new AutomationContext(); automationContext.getConfigurationValue(XPathConstants.DATA_S

Re: [Dev] [Jaggery] Getting session variables by session id.

2015-02-14 Thread Asiri Liyana Arachchi
Hi Dakshika, Thanks for the info. That's what I wanted to know. Regards, On Thu, Feb 5, 2015 at 6:09 PM, Dakshika Jayathilaka wrote: > Hi Asiri, > > AFAIK its not possible with current jaggery core. Current > SessionHostObject doesn't expose method to retrieve Object itself. > > Here is the c

[Dev] Fixing Integration tests for DB mediators in ESB 4.9.0

2015-02-14 Thread Chanaka Fernando
Hi Dev, During the ESB 4.9.0 release effort, we have come across the below reference to the older automation framework classes inside dblookup and dbreport mediator test classes. *private final DataSource dbConfig = new EnvironmentBuilder().getFrameworkSettings().getDataSource();* But the respec

Re: [Dev] Install and run ActiveMQ broker on an EC2 instance

2015-02-14 Thread Farasath Ahamed
Thanks, I will try out the solutions and update. On Sat, Feb 14, 2015 at 10:34 AM, Malith Munasinghe wrote: > Hi Farasath, > > Try Checking for ActiveMQ package repo as in answer in [1]. If not try > creating it as mentioned. > > Also you can try [2] for any further fails by creating a config