Book a Demo

Author Topic: RSA import difficulties  (Read 4752 times)

ChuckZ

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
RSA import difficulties
« on: January 29, 2014, 01:27:13 am »
I am trying to import a RSA model using XMI and seem only to get the top level structure. After some difficulty, it seems that the folks who built the RSA model have used components within the structure and put packages attached and subordinate to those components. ALL data subordinate to those components that were contained within packages are not observable. When the "subordinate package" is moved above the component for import it becomes observable. The interesting thing is that the file size does not seem to change when moving the package subordinate to the component to become observable.

My question becomes is this behavior by spec or a bug or something else? The workaround sorta is to move the package, export and not comit the changes in RSA. Not really scalable though.
Where's your shame … You've left us up to our necks in it … - David Bowie (Hunky Dory – 1971)
All that is necessary for the triumph of evil is that good men do nothing. - Edmund Burke (1729-1797)

Sam Courtney

  • EA User
  • **
  • Posts: 58
  • Karma: +1/-0
    • View Profile
Re: RSA import difficulties
« Reply #1 on: January 29, 2014, 01:43:21 am »
I can't think of any other way to do this. Originally placing everything in packages as containers, as described and recommended in the UML standard, should have allowed all to be observable and the preferred way to migrate data btw the tools.

The only other option would be a custom script to read the RSA content and port into EA.

Did you try to import an EMX output file from Software Architect or are you trying to import System Architect content?
« Last Edit: January 29, 2014, 05:25:33 am by scpag »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: RSA import difficulties
« Reply #2 on: January 29, 2014, 05:03:54 am »
Importing XMI by your own would rather be a PITA.

q.
« Last Edit: January 29, 2014, 05:04:14 am by qwerty »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: RSA import difficulties
« Reply #3 on: January 29, 2014, 08:31:54 am »
I don't want to go into the ins and outs of why this isn't working, but it sounds to me like our RSA importer should be importing those components as Packaging Components.

While I would encourage you to report an issue through the support channels that probably isn't going to help you in the kind of timeframe that you would like to import these files.

EA provides a function to dynamically modify XMI files using XSLT. It should be a simple matter to convert all components that own packages into packages. (But my personal experience with XSLT is limited to modifying samples from tutorials)

If you're interested in having a go, look at the following page:
http://www.sparxsystems.com/enterprise_architect_user_guide/10/extending_uml_models/add_import_export_scripts.html

ChuckZ

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: RSA import difficulties
« Reply #4 on: January 29, 2014, 09:02:49 am »
OK ... while that sounds useful, I am a Systems Engineer and I need to find a script kitty to figure out how to do what you suggested.

I will also create a Trouble Report

Thanks
-cbz
Where's your shame … You've left us up to our necks in it … - David Bowie (Hunky Dory – 1971)
All that is necessary for the triumph of evil is that good men do nothing. - Edmund Burke (1729-1797)