Query the Asset using http://server:8080/ram/oslc/simpleQuer
query the asset using http://server:8080/ram/oslc/simpleQuery?oslc_asset.query=title="xxx". The return has not included any atom entry. I search with the same name in the web ui, it return the result.
BTW, in the current version, we do not need login when we do search. Is it correct?
BTW, in the current version, we do not need login when we do search. Is it correct?
5 answers
You do not have to log in to use the OSLC search on the web war (http://server:8080/ram/oslc/simpleQuery) but it will only return assets visible to an anonymous user. To get results as a specific user you need to login to the session prior to calling http://server:8080/ram/oslc/simpleQuery.
If you are performing this search through a remote client (not the browser) you may want to use BASIC authentication on the web services war (http://server:8080/ram.ws/oslc/simpleQuery).
If you are performing this search through a remote client (not the browser) you may want to use BASIC authentication on the web services war (http://server:8080/ram.ws/oslc/simpleQuery).