Hi Sumedha,

yes, if you need to filter by CITY then specify a string to filter like
this,  https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS?$filter=CITY
eq 'Nantes' or if you need only to select CITY then you can use this
https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS?$select=CITY

yes we should consider service hierarchy when creating service endpoint, I
have created jira[1] for that. but I think it's fine for now.

and also we will improve the odata sample doc.

[1] https://wso2.org/jira/browse/DS-1140

Thanks,
Madhawa

On Wed, Oct 28, 2015 at 11:23 AM, Sumedha Rubasinghe <sume...@wso2.com>
wrote:

> Hi,
> I tested the latest pack.
> I enabled OData on RDBMSSample.
>
> I was able to access following endpoints and get results as expected.
> https://localhost:9443/odata/RDBMSSample/default
> https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS
>
> But following did not work. May be my filter criteria is wrong.
> https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS?$filter=city
>
>
> I have a small complain about service name. In service detail page,
> service name appears as 'services/RDBMSSample'.  So if someone follows
> Madawa's blog, the endpoint would look like,
>
> https://localhost:9443/odata*/services/RDBMSSample*/default
>
> Docs (https://docs.wso2.com/display/DSS350/OData+Sample) on OData on
> public doc portal should also improve to show more filter criteria.
>
> [x ] Stable - go ahead and release
>
> OData feature is stable subjected to above minor fixes.
>
>
> Sumedha
>
>
> On Sat, Oct 24, 2015 at 1:33 AM, Rajith Vitharana <raji...@wso2.com>
> wrote:
>
>> Hi,
>>
>> This is the second release candidate of WSO2 DSS 3.5.0
>>
>> This release fixes the following issues:
>> *https://wso2.org/jira/issues/?filter=12469
>> <https://wso2.org/jira/issues/?filter=12469>*
>>
>> Please download, test and vote. The vote will be open for 72 hours or as
>> needed.
>>
>> Source & binary distribution files:
>> https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/RC2/wso2dss-3.5.0.zip
>> <https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/RC1/wso2dss-3.5.0.zip>
>>
>> JavaDocs
>> https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/RC2/javaDocs/index.html
>>
>> Maven staging repo:
>> *http://maven.wso2.org/nexus/content/repositories/orgwso2dss-058/
>> <http://maven.wso2.org/nexus/content/repositories/orgwso2dss-058/>*
>>
>> The tag to be voted upon:
>> *https://github.com/wso2/product-dss/tree/v3.5.0-RC2
>> <https://github.com/wso2/product-dss/tree/v3.5.0-RC2>*
>>
>>
>> [ ] Broken - do not release (explain why)
>> [ ] Stable - go ahead and release
>>
>> Thanks,
>> The WSO2 DSS Team
>>
>> _______________________________________________
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> /sumedha
> m: +94 773017743
> b :  bit.ly/sumedha
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Madhawa Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
<http://madhawa-gunasekara.blogspot.com>*
linkedin: *http://lk.linkedin.com/in/mgunasekara
<http://lk.linkedin.com/in/mgunasekara>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to