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

What does different prefix means in RRC API

Hello,
I am currently using diff api inorder to compare 2 local RM Baseline as shown below

Now if you see under <rrm:about></rrm:about> under   </ds:artifact>
there are some uri with below prefix
CA_669b675ab79d4dab894ed4b4f157c5b5
TX_669b675ab79d4dab894ed4b4f157c5b5
MB_669b675ab79d4dab894ed4b4f157c5b5

Now i want to understand what is meaning of MB,TX, or any other prefix which comes as part of response, do we have any documentation for same?

Thank you

0 votes



One answer

Permanent link

Hi


These are called "slugs".

IMPORTANT: slugs are NOT part of the public API of DOORS Next which means you should NOT rely on a particular slug always being present for a certain class of artifacts - for example slugs have changed from 6.x to 7.x but are deliberately (for e.g. backward compatibility) not modified during upgrade.

To find out what the resource is do a GET on its URI and work this out from its properties.

Or, to get known type(s) of artifacts using OSLC query for that specific artifact type(s).

HTH
Ian

0 votes

Comments
Hello Ian,
it is given by IBM to compare 2 configuration,in my case i am comparing 2 local baseline of DNG
Plus i believe the item ID and about URL of an artifact shall be uniform not sure incase i want to get changed resource of changeset how can we rely on slugs?

Thank you

Yes the URI containing the slug is some of the data that you get from DOORS Next, but you CAN'T rely that all instances of a certain type of thing always have the same slug. So DON'T USE THE SLUG to guess what something is; you'd be guessing which is generally not a good idea because guesses can be wrong. Is that clear enough? 

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,937

Question asked: May 25 '23, 6:59 a.m.

Question was seen: 912 times

Last updated: May 30 '23, 9:30 a.m.

Confirmation Cancel Confirm