Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

DNG 7.0.2 doesn't report modules without "MD" prefix

I've an integration with DNG using REST APIs and I recently upgraded the server from 6.0.6 server to 7.0.2.
I get the module URIs with no prefix, however on the server itself it has "MD" prefix

These are the APIs that I use, 
  1. https://<server>:<port>/rm/publish/modules?moduleURI=_rSjy0doOEemYiLSc2gGwzQ
  2. https://<server>:<port>/rm/publish/resources?moduleURI=_rSjy0doOEemYiLSc2gGwzQ
The first one works but the second gives bad request:
com.ibm.rdm.fronting.server.exception.InternalServerErrorException: Propagated exception; original message [IllegalArgumentException: Storage service must not be supplied with a null configuration]

The second API works properly if I add the prefix "MD" like the following:
  1. https://<server>:<port>/rm/publish/resources?moduleURI=MD_rSjy0doOEemYiLSc2gGwzQ
Please note that this isn't the case when modules are filtered by local configuration (i.e. using vvc.configuration parameter) Also, the prefix isn't needed with Collections as well, so the 2 API would works fine (moduleURI= is replaced by collectionURI). It would also work fine if I added the prefix "CO"


Any help or indication about what I'm doing wrong?

0 votes



One answer

Permanent link

Share Link To Artifact is not showing the correct artifact ID after upgrading DNG. There is a defect created and you can find details in the following WorkItem:

For the time being, you can prefix MD to the UUID (as workaround).

0 votes

Comments

Thank you for reply, but the workItem is marked resolved with "Works as designed" because it's related to the shared UUID. As per the last comment, it's a problem with the REST API itself.


Do you have any idea about another defect regarding the API or should I just add another comment in the defect you provided?

I'm doing the workaround you mentioned for now, but I'm still supporting 6.0.6, so it's a bit annoying to check for the version and add the prefix instead of doing 2 api requests.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Feb 24 '21, 5:13 p.m.

Question was seen: 1,398 times

Last updated: Feb 25 '21, 5:10 a.m.

Confirmation Cancel Confirm