Troubleshooting
Problem
When you use the Obfuscator to "encrypt" the content of an IBM Rational Rhapsody model, Rhapsody does not encrypt remote elements added by reference (REF).
Symptom
Text in external (REF) elements such as the name or description remain unchanged after the Obfuscator completed.
If this information is confidential, you might need a non-disclosure agreement to send the model to IBM Support. .
Cause
The Obfuscator requires write access to each element. (REF) elements are always ready only in v8.1.3 and older. In Rhapsody 8.1.4 and newer, (REF) elements are read-only by default.
Resolving The Problem
To provide IBM support with a complete and functional model, you must include the (REF) elements. Consider the following workaround to encrypt the (REF) elements.
- Open the model that you plan to obfuscate in Rhapsody.
For example:C:\MainMain\MainModel.rpy
- Click File > Save As to create a duplicate of the model that will be encrypted.
For example,\C:\CopyOfMainMain\CopyOfMainModel.rpy
- Open the copy of the model you created in the previous step.
- Clear the following properties if you are using a CM tool with Rhapsody.
ConfigurationManagement::ClearCase::RenameActivation
ConfigurationManagement::SCC::RenameActivation
- Run the Obfuscator
The location is the Rhapsody/Samples directory.
- Check the box to allow the renaming of file and element names.
Then, for each unencrypted (REF) element in the model, repeat steps 7 through 11.
- Click File > Add To Model and browse to the original, external location of the referenced element.
For example,
C:\OurReferenceModel\OurReferenceModel_rpy\MyPackage.sbs
- Select the Unit radio button, then click OK.
This radio button creates a copy of the referenced element inside the folder structure of your model. You no longer see the keyword (REF) in the browser.
- Run the Obfuscator again.
Note that the new name for the element added in step 9. For example, MyPackage might become GHTDDOOCKE
- Click File > Add To Model and browse to the newly created copy of the model element inside the folder that contains your model.
For example,
C:\CopyOfMainModel\CopyOfMainModel_rpy\GHTDDOOCKE.sbs
- Select the Reference radio button, then click OK. Once again, you add the element into the model as a (REF) element. However, the new reference is self-contained. and points to a file inside the model's folder structure.
Notes
Do not forget to perform this last step on any custom profile that applies to this model. The reason is that these models are typically added by reference.
Once complete, you can compress the mode through a utility such as WinZip and send to IBM Support.
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21610600