Must Gather to troubleshoot Broken Links in GC enabled Project Areas
Authors: TWikiUser, TWikiUser Build basis: ELM (formally known CLM - Collaborative Life-cycle Management) v6.0.6.1 / 6.0.6
Introduction
Must gather if a user report a broken links when working on Global Configuration enabled project areas. This document do not explain where links are stored or in details about LDX. This is high level document to explain as to what kind of logs to be collected to investigate broken link issues in GC context. Troubleshooting broken links in GC enabled project area is complex and this document is to assist list of logs which needs to gathered out broken configuration. The broken links could be classified in several ways, lets us consider following two use cases: 1. Creating a link from QM Test Case to DNG requirement is expected to establish a link between TC and requirement. In some cases, you'd see a link of TC on DNG requirement but not in Test Case or vice-versa. 2. Populating artifacts from a GC baseline into a GC stream. In GC baseline link between Test case and DNG requirement exist as expected, however GC stream created out that baseline contain a broken links. Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraph Introductory paragraphLog Collections
1. Output of Contribution tree, copy outcome into a text file called GC-ID.txt escaped: ! https://
prefix dcterms: <http://purl.org/dc/terms/>
prefix oslc_config: <http://open-services.net/ns/config#>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?selected WHERE
{ <https://<server>:<port>/qm/oslc_config/resources/com.ibm.team.vvc.Configuration/<uuid-lc-qm>/selections>; <http://open-services.net/ns/config#selects>; ?selected FILTER regex(str(?selected), "<uuid-gc-qm-itemID>")
}
note:
<uuid-lc-qm> : this is UUID of the local config, see step 3)
<uuid-gc-qm-itemID> : VersionedTestCase Item ID, see step 4)
10. DNG resource query against LDX, this query should be scoped to GC where the link exists (eg gcStream1) in LDX. It’s the query that DNG uses to fetch the links from LDX
prefix dcterms: <http://purl.org/dc/terms/>
prefix oslc_config: <http://open-services.net/ns/config#>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix owl: <http://www.w3.org/2002/07/owl#>
SELECT ?sURL ?linkType ?tURL ?indLinkType
WHERE {
{
VALUES ?linkType {
<http://jazz.net/xmlns/prod/jazz/calm/1.0/implementsRequirementCollection>
<http://open-services.net/ns/qm#validatesRequirementCollection>
<http://open-services.net/ns/qm#validatesRequirement>
<http://open-services.net/ns/cm#implementsRequirement>
<http://open-services.net/ns/cm#affectsRequirement>
<http://open-services.net/ns/cm#tracksRequirement>
}
VALUES ?tURL {
<RM resource URI>
}
{
?sURL ?linkType ?tURL.
BIND( ?linkType as ?indLinkType ) .
}
UNION
{
?indLinkType owl:sameAs ?linkType .
?sURL ?indLinkType ?tURL .
}
}
OPTIONAL
{
?reification rdf:subject ?sURL .
?reification rdf:predicate ?indLinkType .
?reification rdf:object ?tURL .
?reification ?property ?release .
?release oslc_config:configuration ?config
}
}
ORDER BY ?tURL ?linkType ?sURL LIMIT 1000
11. Verification of the selections page if the state ID is same as the "_uX2E3GjiEeqN_eb5TIbnUg". The selection page
https://Heading 2 (use sentence-style capitalization)
Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section textHeading 2 (use sentence-style capitalization)
Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section text Sub-Section textHeading 1
Related topics: Deployment web home, Deployment web home
External links:
Additional contributors: TWikiUser, TWikiUser
Contributions are governed by our Terms of Use. Please read the following disclaimer.
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.