Unable to get images from DNG due to auth credential issues
Hi,
Configuration-Context:
Error in engine
Can not redirect to the OAuthentication identify URL.
Reponse message: OK: <!DOCTYPE html>
and it more...
I have used the 'inherit configuration' feature in the data configuration element to configure the DOORS Next Text schema from the DOORS Next Module schema. Is there anything i'm missing? Note I can get diagrams from Rhapsody easily. Regards, Srin |
One answer
What is the URI provided to configure the data source? From the response, it seems DNG reportable REST URL is not used. Comments For the DOORS Next Module schema I use the below URI as an example...
URI: https://[host]:[port]/rm/publish/modules?resourceURI=[module_id]
For the DOORS Next Text schema I use the below URI as an example...
URI: https://[host]:[port]/rm/publish/text?resourceURI=[artifact_id]
What schema should I using instead? Thanks.
Subramanya Prasad Pilar
commented Jul 28 '22, 1:59 a.m.
Please make sure you are using text schema (and not resources schema). dataSource/artifact/content/text/richTextBody/div from text schema will print the image from the text artifact.
Srinivas Sakibanda
commented Jul 28 '22, 2:23 p.m.
I still get the credentials issue. Any other ideas?
Ian Barnard
commented Jul 29 '22, 5:21 a.m.
| edited Jul 29 '22, 5:21 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Because the Reportable REST API doesn't need any specific headers you can use the URL in a logged-in browser tab - start by getting e.g. https://SERVER:PORT/rm/publish/resources/* to work in a browser tab, then use that same (working) URL from your code and see if it works. If there's a credentials error then the problem isn't the API or the URL but something about your code probably related to authentication. Once you don't get an auth error from your code using /publish/resources/* then you can move to trying your real URL - once again, get it working in a browser tab then move it to code. |
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.
Comments
"I have used the 'inherit configuration' feature in the data configuration element to configure the DOORS Next Text schema from the DOORS Next Module schema." - please can you explain in more detail what you mean by this, e.g. what did you do to achieve this?