Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] [EXTERNAL] Re: DoorsOauthSample query with wildcards

Yep, this would be a crude but usable solution except...DOORS 9 does not support full text search.

As it stands the only way to add this sort of out of spec functionality is to implement it yourself using DXL services.
( http://www-01.ibm.com/support/knowledgecenter/SSYQBZ_9.6.0/com.ibm.doors.install.doc/topics/r_dxl_services.html ).

If I remember correctly you'll need an admin user to add the service.

The service itself would be reasonably straightforward to someone familiar with DXL:
parse the URL
open the requested module
apply a filter
loop over the objects in the view getting their URLs
return the list of URLs to the consumer (setDxlServiceResult)

Cheers,
Graeme.



From:        Paul Slauenwhite <paules@xxxxxxxxxx>
To:        Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>,
Date:        28/05/2015 18:04
Subject:        Re: [lyo-dev] [EXTERNAL] Re: DoorsOauthSample query with wildcards
Sent by:        lyo-dev-bounces@xxxxxxxxxxx




Hi Robert,

Looks like this is a limitation in the OSLC 2.0 query syntax (
http://open-services.net/bin/view/Main/OSLCCoreSpecQuery).  A crude work-around would be to use a full text search (oslc.searchTerms).

Thanks,
Paul

Paul Slauenwhite  
Development Team Lead, IBM Rational Quality Manager  
IBM Systems  
Phone: 905-413-3861  
Tie-Line: 313-3861  
Mobile: 902-221-6721  
E-mail: paules@xxxxxxxxxx  
 
 


Inactive hide details for Robert Kerr ---05/28/2015 01:27:52 PM---Ouch. Did they have any suggestions for a work-around?Robert Kerr ---05/28/2015 01:27:52 PM---Ouch. Did they have any suggestions for a work-around?

From:
Robert Kerr <rakerr@xxxxxxxxxx>
To:
<lyo-dev@xxxxxxxxxxx>
Date:
05/28/2015 01:27 PM
Subject:
Re: [lyo-dev] [EXTERNAL] Re: DoorsOauthSample query with wildcards
Sent by:
lyo-dev-bounces@xxxxxxxxxxx




Ouch.

Did they have any suggestions for a work-around?

Thanks

-robert

On 5/28/2015 5:56 AM, Paul Slauenwhite wrote:
>
> Hi Robert,
>
> According to the DOORS 9 Team, wildcards are not supported in the OSLC
> RM V2 implementation in DOORS 9.
>
> Thanks,
> Paul
> ------------------------------------------------------------------------
> *Paul Slauenwhite*
> Development Team Lead, IBM Rational Quality Manager
> IBM Systems
> Phone: 905-413-3861
> Tie-Line: 313-3861
> Mobile: 902-221-6721
> E-mail: _paules@xxxxxx.com_ <
mailto:paules@xxxxxxxxxx>
>
>
>
>
> Inactive hide details for Robert Kerr ---05/27/2015 09:35:11 PM---Hi,
> I've spend most of my day today trying to figure out how Robert Kerr
> ---05/27/2015 09:35:11 PM---Hi, I've spend most of my day today trying
> to figure out how to use
>
> From: Robert Kerr <rakerr@xxxxxxxxxx>
> To: <lyo-dev@xxxxxxxxxxx>
> Date: 05/27/2015 09:35 PM
> Subject: [lyo-dev] DoorsOauthSample query with wildcards
> Sent by: lyo-dev-bounces@xxxxxxxxxxx
>
> ------------------------------------------------------------------------
>
>
>
>
> Hi,
> I've spend most of my day today trying to figure out how to use
> wildcards in the lyo DoorsOauthSample project.
> I can query for a specific identifier:
>
> queryParams.setPrefix("dcterms=<
http://purl.org/dc/terms/>");
> queryParams.setWhere("dcterms:identifier=\"58\"");
>
> and I can query for a specific title:
>
> queryParams.setPrefix("dcterms=<
http://purl.org/dc/terms/>");
> queryParams.setWhere("dcterms:title=\"Weather\""); //Returns one result
>
> but I want to be able to find all the items that have "Weather" in their
> description.  I was hoping for something like:
>
> queryParams.setWhere("dcterms:title=\"*Weather*\"");
>
> but it doesn't return any results.
>
>
> It doesn't help that the example in the code-base:
>
> //SCENARIO A: Run a query for all Requirements modified since 08/02/2010
> with OSLC paging of 10 items per
>                 //page turned on and list the members of the result
> OslcQueryParameters queryParamsN = new
> OslcQueryParameters("dcterms:modified>=\"2010-08-01T21:51:40.979Z\"xsd:dateTime",null,null,
> null,"dcterms=<
http://purl.org/dc/terms/>");
> OslcQuery queryN = new OslcQuery(client, queryCapability, 10,
> queryParamsN);
> OslcQueryResult resultN = queryN.submit();
>
> doesn't return any results.
>
> Can someone perchance give some guidance?
>
> Thanks
>
>
> --
> -bob
>
> Q: What would be the best language to build a crawler out of?
> A: Jawa
> **********************************************************************
> *      Robert Kerr  SSPS Developer and CUBIT Support Manager       *
> *      rakerr@xxxxxxxxxx          |    PO Box 5800,  MS 0125       *
> *      Phone: (505) 844-8606      |    Sandia National Labs        *
> *       Fax: (505) 844-2018       |  Albuquerque, NM 87185-0125      *
> **********************************************************************
>
>
> --
> -bob
>
> Seen on the Physics Dept. notice board:
> WANTED, Schroedinger's Cat, DEAD OR ALIVE.
> **********************************************************************
> *      Robert Kerr  SSPS Developer and CUBIT Support Manager       *
> *      rakerr@xxxxxxxxxx          |    PO Box 5800,  MS 0125       *
> *      Phone: (505) 844-8606      |    Sandia National Labs        *
> *       Fax: (505) 844-2018       |  Albuquerque, NM 87185-0125      *
> **********************************************************************
>
>
>
>
> --
> -bob
>
> 16.5 feet in the Twilight Zone  = 1 Rod Serling
> **********************************************************************
> *      Robert Kerr  SSPS Developer and CUBIT Support Manager       *
> *      rakerr@xxxxxxxxxx          |    PO Box 5800,  MS 0125       *
> *      Phone: (505) 844-8606      |    Sandia National Labs        *
> *       Fax: (505) 844-2018       |  Albuquerque, NM 87185-0125      *
> **********************************************************************
>
>
>
> _______________________________________________
> lyo-dev mailing list
> lyo-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
>
https://dev.eclipse.org/mailman/listinfo/lyo-dev
>
>
>
>
> _______________________________________________
> lyo-dev mailing list
> lyo-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>
https://dev.eclipse.org/mailman/listinfo/lyo-dev

--
-bob

oiuyniyu98h987h89yh87y98yjn987j987y897yhkiuk;''''
Sorry.. there was a spider on my keyboard.
**********************************************************************
*      Robert Kerr  SSPS Developer and CUBIT Support Manager         *
*      rakerr@xxxxxxxxxx          |    PO Box 5800,  MS 0125         *
*      Phone: (505) 844-8606      |    Sandia National Labs          *
*       Fax: (505) 844-2018       |  Albuquerque, NM 87185-0125      *
**********************************************************************

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/lyo-dev

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/lyo-dev

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Back to the top