My configuration-management-enabled RM provider doesn't appear in report builder's project area dropdown box
Hi,
i have developed a configuration-management-enabled RM provider. Everything is working fine. I can add its streams and baselines to global configuration, link its artifacts with jazz's QM module in a global configuration aware project. I have provided two trs feeds for my project, one is for all the artifacts and the other one is a process feed from my application.
Still i can't see my project listed in report builder's project area dropdown box.
i have developed a configuration-management-enabled RM provider. Everything is working fine. I can add its streams and baselines to global configuration, link its artifacts with jazz's QM module in a global configuration aware project. I have provided two trs feeds for my project, one is for all the artifacts and the other one is a process feed from my application.
Still i can't see my project listed in report builder's project area dropdown box.
Accepted answer
2 other answers
A couple more things to try:
- In the LQE permissions page, select your TRS feeds and add the "Everyone" group.
- Be sure to refresh the data source in the Report Builder admin Data Sources section - RB caches the user projects.
You can also go to the <server:port>/lqe/web/query#sparql page to run the following SPARQL query; and see if your project area shows up (it should if permissions and RDF are correct):
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
- In the LQE permissions page, select your TRS feeds and add the "Everyone" group.
- Be sure to refresh the data source in the Report Builder admin Data Sources section - RB caches the user projects.
You can also go to the <server:port>/lqe/web/query#sparql page to run the following SPARQL query; and see if your project area shows up (it should if permissions and RDF are correct):
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
Here are a few things to try:
- Make sure your TRS process feed defines the process:ProjectArea (per Jazz Foundation Process Vocabulary) and your oslc:ServiceProvider includes the attribute <oslc:details rdf:resource="projectareaURI" />
-
Go to yourserver:port/lqe/web/admin/data-sources and make sure your TRS feeds show up there (Add them if they do not). Make sure they have indexed correctly (no errors). If they are already there, you might want to Reindex for good measure.
- Check the LQE Permissions page (lqe/web/admin/permissions) to verify that jrs_user (and your own users) have access to the data source.
- From Report Builder, go to Admin (yourserver:port/rs/setup). In the "Connect to Data Sources" box, click the "Data sources" link to show all data sources. Edit both the LQE and LQE using Configurations data sources; I always Test Connection first (just in case), then click Refresh to ensure you have picked up all changes. (I'm not entirely sure you have to refresh both, but better to be safe!)