It's all about the answers!

Ask a question

LQE & report builder list our custom project with Unknown type


Saqib Niaz (711223) | asked Oct 16 '17, 6:23 a.m.

 I have implemented a custom rm project (configuration enabled). Added its both trs feeds (resources and process resources) in lqe. Process trs base for our project contains only two artifacts, one is project-area resource and the other is acclist. Is that all we are supposed to publish in trs process base?

Set the proper permissions in lqe Permissions. On the lqe query page when I query the projects with following query:
PREFIX  process: <http://jazz.net/ns/process#> 
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
PREFIX  owl:  <http://www.w3.org/2002/07/owl#> 
PREFIX  oslc: <http://open-services.net/ns/core#> 
PREFIX  oslc_config: <http://open-services.net/ns/config#> 
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
PREFIX  dcterms: <http://purl.org/dc/terms/> 
PREFIX jazz_process: <http://jazz.net/xmlns/prod/jazz/process/1.0/> 

SELECT DISTINCT  ?projectName ?uri ?projectType ?configSupport 
WHERE 
  { ?uri rdf:type process:ProjectArea . 
    ?uri dcterms:title ?projectName . 
    OPTIONAL { 
      ?serviceProvider oslc:details ?uri . 
      ?serviceProvider oslc:service ?service . 
      ?service oslc:domain ?oslc_domain . 
    } 
    OPTIONAL { 
      ?serviceProvider oslc:details ?uri . 
      ?serviceProvider jazz_process:globalConfigurationAware ?configSupport . 
    } 
    BIND( if(bound(?oslc_domain), ?oslc_domain, 
          IF(regex(str(?uri), "/ccm/"), "RTC", 
          IF(regex(str(?uri), "/qm/"),  "RQM", 
          IF(regex(str(?uri), "/rm/"),  "$DNG", 
          IF(regex(str(?uri), "/gc/"),  "GCM", "Unknown"))))) AS ?projectType) 
  } 
ORDER BY ?projectName 

It shows our projectName and uri properly. But in projectType it shows "Unknown" and in configSupport it doesn't display anything?


Comments
Saqib Niaz commented Oct 16 '17, 8:00 a.m.

In column configSupport, it doesn't show anything? currently I am using 6.0.3.
In 6.0.2, this things was properly working

One answer



permanent link
Saqib Niaz (711223) | answered Oct 16 '17, 6:24 a.m.
edited Oct 16 '17, 7:58 a.m.

  Our project-area rdf resource contains following:

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:process_shapes="http://jazz.net/ns/process/shapes/" xmlns:oslc="http://open-services.net/ns/core#" xmlns:jfs_process="http://jazz.net/xmlns/prod/jazz/process/1.0/" xmlns:process="http://jazz.net/ns/process#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:acc="http://open-services.net/ns/core/acc#" > <rdf:Description rdf:about="https://bonnie.ps-office.local:8443/com.ps.consul.oslc.serviceprovider/services/serviceProviders/iiQg4_tauHM5XVSdw"> <jfs_process:globalConfigurationAware rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">yes</jfs_process:globalConfigurationAware> <oslc:publisher rdf:resource="https://bonnie.ps-office.local:8443/com.ps.consul.oslc.serviceprovider/application-about"/> <oslc:service rdf:nodeID="A0"/> <oslc:details rdf:resource="https://bonnie.ps-office.local:8443/com.ps.consul.oslc.serviceprovider/services/project-areas/iiQg4_tauHM5XVSdw"/> <rdf:type rdf:resource="http://open-services.net/ns/core#ServiceProvider"/> </rdf:Description> <rdf:Description rdf:about="https://bonnie.ps-office.local:8443/com.ps.consul.oslc.serviceprovider/application-about"> <oslc:icon rdf:resource="https://bonnie.ps-office.local:8443/com.ps.consul.oslc.serviceprovider/images/pv.png"/> <dcterms:identifier>https://bonnie.ps-office.local:8443/com.ps.consul.oslc.serviceprovider</dcterms:identifier> <oslc:label>Requirements Management</oslc:label> <dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">Requirements Management</dcterms:title> <rdf:type rdf:resource="http://open-services.net/ns/core#Publisher"/> </rdf:Description> <rdf:Description rdf:nodeID="A0"> <oslc:domain rdf:resource="http://open-services.net/ns/rm#"/> <rdf:type rdf:resource="http://open-services.net/ns/core#Service"/> </rdf:Description> <rdf:Description rdf:about="https://bonnie.ps-office.local:8443/com.ps.consul.oslc.serviceprovider/services/project-areas/iiQg4_tauHM5XVSdw"> <process:isAccessVisibleToMembers rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</process:isAccessVisibleToMembers> <process:isAccessPublic rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</process:isAccessPublic> <process:isAccessVisibleToAccessList rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</process:isAccessVisibleToAccessList> <acc:accessContext rdf:resource="https://bonnie.ps-office.local:8443/com.ps.consul.oslc.serviceprovider/services/acclist#iiQg4_tauHM5XVSdw"/> <oslc:instanceShape rdf:resource="http://jazz.net/ns/process/shapes/ProjectArea"/> <oslc:archived rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</oslc:archived> <oslc:serviceProvider rdf:resource="https://bonnie.ps-office.local:8443/com.ps.consul.oslc.serviceprovider/services/serviceProviders/iiQg4_tauHM5XVSdw"/> <rdf:type rdf:resource="http://jazz.net/ns/process#ProjectArea"/> <dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">CarLightProject</dcterms:title> <dcterms:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2016-07-07T08:47:38.000Z</dcterms:modified> </rdf:Description> </rdf:RDF>

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.