Book a Demo

Author Topic: using GUID for traceability  (Read 3257 times)

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
using GUID for traceability
« on: November 10, 2020, 05:20:11 am »
The development process I am following uses EA and Sequence diagrams to design the intention of collaboration between software units.
The software integration test - the tests for checking the interactions between software units - takes these Sequence diagrams and designs test cases around them.
The testers work in their own tools, not using EA.
The testers have the need to undoubtedly and formally refer to the source, the Sequence diagrams, they base their test cases on.
The GUID (or a subset of it) seems to be most appropriate. Like a requirement id it will not change for that diagram.  (Any better idea?)

Now my question: How to find/locate a diagram if I know the GUID or just a portion it?
« Last Edit: November 10, 2020, 05:22:34 am by ngong »
Rolf

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: using GUID for traceability
« Reply #1 on: November 10, 2020, 05:40:35 am »
I would go for the interaction object (the owner of the sequence diagram) as I don't really consider diagrams to be part of my model.

If you want to look for an element based on a (partial) guid you can write an SQL search that does something like this

Code: [Select]
select c.ea_guid AS CLASSGUID,c.object_type AS CLASSTYPE,c.name as Name, c.stereotype as Stereotype ,package.name as PackageName ,package_p1.name as PackageLevel1,package_p2.name as PackageLevel2,package_p3.name as PackageLevel3
from ((((t_object c
inner join t_package as package on (c.package_id = package.package_id) )
left join t_package as package_p1 on (package_p1.package_id = package.parent_id) )
left join t_package as package_p2 on (package_p2.package_id = package_p1.parent_id) )
left join t_package as package_p3 on (package_p3.package_id = package_p2.parent_id) )
where c.name like '#WC#<Search Term>#WC#'

Same principle applies for diagrams if you really insist on using the diagram GUID's.

Or you can use my EA Navigator add-in to select anything based on it's guid (but that only works with full guid's)

Geert