It's all about the answers!

Ask a question

Linking Doors Next Generation requirement with a bug of Bugzilla


Mikel Etxeberria (2133) | asked Nov 25 '14, 3:57 a.m.
edited Nov 26 '14, 7:59 a.m.
Hi everybody,

In "open-services" forum I exposed the same problem, but still I have not get to link a requirement in Doors Next Generation 5.0 (I also have tried with newest versions 5.0.1 and 5.0.2) with a bug of Bugzilla. Once I have added “Bugzilla OSLC adapter” as a “Friend” in Doors Next Generation and configured in “Manage project” of the project area as a provider, then I try to link a bug to a requirement. I select the “Implemented by” link type, and opens the IFrame where should appear the creation or selection dialog of Bugzilla. But, it is empty. In order to see what it is happening I have been debbuging with “Development tools” in Internet Explorer 11. I have seen that DNG does a HTTP GET request to the URL “http://172.17.100.227:8080/OSLC4JBugzilla/services/serviceProviders/1” in order to get the services for the product “1”. As a result of this request, it gets the catalog, but then nothing else happens, there are no more requests.

The catalog:

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF

    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

    xmlns:oslc="http://open-services.net/ns/core#"

    xmlns:dcterms="http://purl.org/dc/terms/"

    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" >

  <rdf:Description rdf:nodeID="A0">

    <oslc:prefixBase rdf:resource="http://open-services.net/ns/scm#"/>

    <oslc:prefix>oslc_scm</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A1">

    <oslc:prefixBase rdf:resource="http://open-services.net/ns/rm#"/>

    <oslc:prefix>oslc_rm</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A2">

    <oslc:prefixBase rdf:resource="http://xmlns.com/foaf/0.1/"/>

    <oslc:prefix>foaf</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A3">

    <dcterms:title rdf:parseType="Literal">Eclipse Lyo</dcterms:title>

    <dcterms:identifier>urn:oslc:ServiceProvider</dcterms:identifier>

    <rdf:type rdf:resource="http://open-services.net/ns/core#Publisher"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A4">

    <oslc:prefixBase rdf:resource="http://open-services.net/ns/qm#"/>

    <oslc:prefix>oslc_qm</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A5">

    <oslc:hintWidth>525px</oslc:hintWidth>

    <oslc:hintHeight>325px</oslc:hintHeight>

    <oslc:dialog rdf:resource="http://172.17.100.227:8080/OSLC4JBugzilla/services/1/changeRequests/selector"/>

    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>

    <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest"/>

    <dcterms:title rdf:parseType="Literal">Change Request Selection Dialog</dcterms:title>

    <oslc:label>Change Request Selection Dialog</oslc:label>

    <rdf:type rdf:resource="http://open-services.net/ns/core#Dialog"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A6">

    <oslc:resourceShape rdf:resource="http://172.17.100.227:8080/OSLC4JBugzilla/services/resourceShapes/changeRequest"/>

    <oslc:queryBase rdf:resource="http://172.17.100.227:8080/OSLC4JBugzilla/services/1/changeRequests"/>

    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>

    <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest"/>

    <dcterms:title rdf:parseType="Literal">Change Request Query Capability</dcterms:title>

    <oslc:label>Change Request Catalog Query</oslc:label>

    <rdf:type rdf:resource="http://open-services.net/ns/core#QueryCapability"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A7">

    <oslc:prefixBase rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>

    <oslc:prefix>rdfs</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A8">

    <oslc:prefixBase rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>

    <oslc:prefix>rdf</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A9">

    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>

    <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest"/>

    <oslc:resourceShape rdf:resource="http://172.17.100.227:8080/OSLC4JBugzilla/services/resourceShapes/changeRequest"/>

    <oslc:creation rdf:resource="http://172.17.100.227:8080/OSLC4JBugzilla/services/1/changeRequests"/>

    <dcterms:title rdf:parseType="Literal">Change Request Creation Factory</dcterms:title>

    <oslc:label>Change Request Creation</oslc:label>

    <rdf:type rdf:resource="http://open-services.net/ns/core#CreationFactory"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A10">

    <oslc:hintWidth>600px</oslc:hintWidth>

    <oslc:hintHeight>375px</oslc:hintHeight>

    <oslc:dialog rdf:resource="http://172.17.100.227:8080/OSLC4JBugzilla/services/1/changeRequests/creator"/>

    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>

    <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest"/>

    <dcterms:title rdf:parseType="Literal">Change Request Creation Dialog</dcterms:title>

    <oslc:label>Change Request Creation Dialog</oslc:label>

    <rdf:type rdf:resource="http://open-services.net/ns/core#Dialog"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A11">

    <oslc:prefixBase rdf:resource="http://purl.org/dc/terms/"/>

    <oslc:prefix>dcterms</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A12">

    <oslc:prefixBase rdf:resource="http://open-services.net/ns/servicemanagement/1.0/"/>

    <oslc:prefix>oslc_data</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A13">

    <oslc:selectionDialog rdf:nodeID="A5"/>

    <oslc:queryCapability rdf:nodeID="A6"/>

    <oslc:creationFactory rdf:nodeID="A9"/>

    <oslc:creationDialog rdf:nodeID="A10"/>

    <oslc:domain rdf:resource="http://open-services.net/ns/cm#"/>

    <rdf:type rdf:resource="http://open-services.net/ns/core#Service"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A14">

    <oslc:prefixBase rdf:resource="http://open-services.net/ns/cm#"/>

    <oslc:prefix>oslc_cm</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A15">

    <oslc:prefixBase rdf:resource="http://open-services.net/ns/core#"/>

    <oslc:prefix>oslc</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

  <rdf:Description rdf:about="http://172.17.100.227:8080/OSLC4JBugzilla/services/serviceProviders/1">

    <oslc:prefixDefinition rdf:nodeID="A8"/>

    <oslc:prefixDefinition rdf:nodeID="A11"/>

    <oslc:prefixDefinition rdf:nodeID="A15"/>

    <dcterms:identifier>1</dcterms:identifier>

    <dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2014-11-24T08:15:31.75Z</dcterms:created>

    <oslc:prefixDefinition rdf:nodeID="A16"/>

    <dcterms:title rdf:parseType="Literal">TestProduct2</dcterms:title>

    <oslc:prefixDefinition rdf:nodeID="A14"/>

    <oslc:service rdf:nodeID="A13"/>

    <dcterms:publisher rdf:nodeID="A3"/>

    <rdf:type rdf:resource="http://open-services.net/ns/core#ServiceProvider"/>

    <oslc:details rdf:resource="http://172.17.100.227:8080/OSLC4JBugzilla/services/details"/>

    <oslc:prefixDefinition rdf:nodeID="A4"/>

    <dcterms:description rdf:parseType="Literal">Service provider for Bugzilla product: TestProduct2</dcterms:description>

    <oslc:prefixDefinition rdf:nodeID="A2"/>

    <oslc:prefixDefinition rdf:nodeID="A7"/>

    <oslc:prefixDefinition rdf:nodeID="A1"/>

    <oslc:prefixDefinition rdf:nodeID="A12"/>

    <oslc:prefixDefinition rdf:nodeID="A0"/>

  </rdf:Description>

  <rdf:Description rdf:nodeID="A16">

    <oslc:prefixBase rdf:resource="http://www.bugzilla.org/rdf#"/>

    <oslc:prefix>bugz</oslc:prefix>

    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>

  </rdf:Description>

</rdf:RDF>

In the next picture it can be seen this HTTP request (go to the link https://www.dropbox.com/s/0abpngxzncggk0z/HTTP_request_serviceProviders.png?dl=0)

I hope someone can help me.

Thank you

Mikel


Comments
Mikel Etxeberria commented Nov 26 '14, 7:47 a.m.

I have tried to link a bug of Bugzilla to a workitem of CCM and I have done it without any error, in order to add this link I can see the delegated UIs of the Bugzilla OSLC Adapter, so that I can select or create a bug. However it is not possible to do the same in Doors Next Generation

Accepted answer


permanent link
Mikel Etxeberria (2133) | answered Nov 28 '14, 3:04 a.m.
Problem solved by adding the next argument in the eclipse "run configurations":

     -Dorg.eclipse.Lyo.oslc4j.alwaysXMLAbbrev=true

For more details see the image from this link: https://www.dropbox.com/s/wb02p1onl5jtzb0/Run_Configurations.png?dl=0

Ralph Schoon selected this answer as the correct answer

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.