IBM Support

Rhapsody Obfuscator does not encrypt (REF) elements in the model

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.

  1. Open the model that you plan to obfuscate in Rhapsody.
    For example: C:\MainMain\MainModel.rpy

  2. Click File > Save As to create a duplicate of the model that will be encrypted.
    For example, \C:\CopyOfMainMain\CopyOfMainModel.rpy

  3. Open the copy of the model you created in the previous step.

  4. Clear the following properties if you are using a CM tool with Rhapsody.

    ConfigurationManagement::ClearCase::RenameActivation
    ConfigurationManagement::SCC::RenameActivation


  5. Run the Obfuscator
    The location is the Rhapsody/Samples directory.

  6. 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.

  7. Click File > Add To Model and browse to the original, external location of the referenced element.

    For example,

    C:\OurReferenceModel\OurReferenceModel_rpy\MyPackage.sbs

  8. 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.

  9. Run the Obfuscator again.
    Note that the new name for the element added in step 9. For example, MyPackage might become GHTDDOOCKE

  10. 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

  11. 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":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.6;7.6.0.1;7.6.1;7.6.1.1;7.6.1.2;7.6.1.3;7.6.1.4;7.6.1.5;8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.5;8.0.6;8.1;8.1.1;8.1.2;8.1.2.1;8.1.3;8.1.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS7P9W","label":"IBM Rational Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS7P9W","label":"IBM Rational Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS7P9W","label":"IBM Rational Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21610600