Author Topic: Reverse engineer MDG  (Read 6251 times)

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Reverse engineer MDG
« on: December 10, 2018, 10:06:58 am »
Hi all,
        is there a way to reverse engineer a MDG file?  I'm having trouble finding the EAP file containing the original model :-(

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8083
  • Karma: +118/-20
    • View Profile
Re: Reverse engineer MDG
« Reply #1 on: December 10, 2018, 11:21:23 am »
There's nothing from Sparx Systems to do this. (Released or internal)

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Reverse engineer MDG
« Reply #2 on: December 10, 2018, 11:54:37 am »
Bugger it's been for ever since I've created a MDG.  I guess I'll have to relearn how to extend ArchiMate :-0

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Reverse engineer MDG
« Reply #3 on: December 10, 2018, 03:45:15 pm »
Bugger it's been forever since I've created an MDG.  I guess I'll have to relearn how to extend ArchiMate :-0
We're going through (essentially) the same process - trying to convert our handcrafted MDG to a model based one.

Anyone (Sparxian) know if there is even an XSD for the MDG file?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1319
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Reverse engineer MDG
« Reply #4 on: December 10, 2018, 06:18:23 pm »
In theory you could create an XSLT file that transforms the MDG file to an XMI file which can be imported into Sparx EA. Looking at the MDG files its probably going to take someone anything upto a week to two of effort which is probably about the same amount of effort it would probably take to create an MDG that extends ArchiMate.
If its about the same amount of effort then I guess recreating the MDG from a Sparx EA model is the way to go.
 
Happy to help
:)

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Reverse engineer MDG
« Reply #5 on: December 11, 2018, 07:53:44 am »
In the end I just read the MDG file and recreated it in a model; updating it to ArchiMate 3 at the same time.

It's an extension that follows the Open Group paper How to Model Enterprise Risk Management and Security with the ArchiMate Language.  Looking at it now I really need to replace the ShapeScript with new script that displays the stereotype on the element.  Which at this late stage of the year feels like too much work.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1319
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Reverse engineer MDG
« Reply #6 on: December 11, 2018, 07:29:36 pm »
Yeah know how you feel at this time of year. Just about run out of steam my self.
12 sleeps to Christmas :)

Anyway here is a hack in the run up to the holidays for you to create those diagrams for enterprise risk management and security using the standard ArchiMate MDG.

Use the Alias to store the risk type and enable alias and name to be displayed in the diagram. For example
Use Goal and Add "Risk Treatment" in Alias
Use Assessment and Add "Threat" or "Vulnerability" or "Event" or "Impact" or "Risk" to alias field
Use Driver and add "Security Objective"
etc.
Get the idea?
Merry Christmas
Happy to help
:)

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Reverse engineer MDG
« Reply #7 on: December 12, 2018, 08:16:57 am »
Anyway here is a hack in the run up to the holidays for you to create those diagrams for enterprise risk management and security using the standard ArchiMate MDG.

I've recreated the MDG and tweaked it a bit.  I'm struggling currently with dropping patterns out of a toolbox item.  I can't remember how the toolbox element name maps to the pattern file.  I also need to find the instructions for creating sample models for the wizard.

Beats my real day job tho :-)