When Configuration Management is enabled for DNG, if we baseline it, it will copy everything to store in database?
I am working on DNG 6.0.3.
Accepted answer
Creating a baseline or stream does not copy artifacts. Each artifact has a concept resource - a base, if you like. When you modify the artifact, you create a new versioned resource, which is really a small amount of metadata that also points to the concept resource. Your streams and baselines list the particular version to include for each concept resource - a set of RDF triples. Creating a new stream or baseline does not change the artifact in any way. When you create a baseline from a stream, it lists all artifact versions current for that stream - the baseline is a set of RDF triples. When you create a new stream from a baseline, that new stream lists all the same artifact versions from the baseline as a set of RDF triples - and then you can start modifying them to create new versions.
So if your stream has Artifact A with content "ABC", and that is your 12th saved change, baseline_1 includes Artifact A version 12 in its list - which is basically a set of RDF triple statements. When you update Artifact A in your stream to have content "ABCD", you create version 13 -- not a new artifact, just additional metadata related to the changes. When you baseline, baseline_2 lists Artifact A version 13. If you create a new stream from baseline_2, that stream points to Artifact A version 13, until you modify it again in the new stream. The artifact resources don't store data about the configurations they belong to.
There is no rollback capability today in DNG. If you want to see all the artifacts in baseline_1, you set your configuration context to baseline_1, and you see all the artifacts (with the correct versions) as captured in baseline_1. If you've already changed Artifact A, and you want it to look like the baseline again, you have to modify it in the current stream. Or, if you wanted to "revert" most of the artifacts, you could branch a new stream from the baseline and then change all of your work into that stream. You can deliver changes across streams.
There is some impact for configuration management, since you do have multiple streams and versions, where before there was only ever one. The Deployment wiki provides guidance on sizing and performance.
Comments
Hi Kathryn,
Hi Jane, sounds like you've got it! I can't say exactly what is in the RDF triples since I didn't write the code :) but I know that we don't copy artifacts, and the intention is to maximize reuse. And do check the deployment wiki for more information about sizing. Good luck!
3 other answers
Creating baselines in RDNG is a lightweight operation. Think of a baseline as list of requirement artifacts and the version of each one. When you display a baseline, the system reads the list and shows you those artifacts at those versions. New versions of the artifacts are not created when you create a baseline.
Hi Daniel,
Comments
Hi Jane,
The topic you mention is about source code configuration management in RTC; it does not apply to DNG (or RQM). Here's the overview for DNG 603: https://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.3/com.ibm.rational.rrm.help.doc/topics/c_config_mgmt.html
In DNG, a baseline contains only the list of artifacts and their specific versions that are in the stream when you take the baseline ("selections"). What change sets were delivered doesn't matter, it's only the current version of the artifact.
To see the content of a baseline, set your configuration context to that baseline and you see all the artifacts. In a baseline, the only reference you'd see to change sets would be in the individual artifact history. You can compare between 2 baselines (or between a stream and a baseline) to see what has changed. You can also create a new stream from a baseline.
In general, baselines are inexpensive. However, too many can have an impact on usability and performance when you have to load a full list of configurations (like for reporting). You can archive baselines when you no longer need them.
Hope that helps!
Hi Kathryn,
Hi Kathryn,