Author Topic: ProxyConnectors - where to store?  (Read 3694 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8559
  • Karma: +254/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
ProxyConnectors - where to store?
« on: September 18, 2017, 05:19:39 pm »
We have grouped all our elements by metatype into specific branches of our repository.  We have automation to move elements around between folders when EA or our users don't put them where we need them.

EA now has t_object entries of type ProxyConnector (actually ConnectorProxy).  These are related to the end of a relationship that is NOT an element.  That is for relationships from relationships to elements and relationships between relationships.

We have folders for those items that don't end up in the browser and we manage those in a similar way behind the scenes.

My question is, where should we place these Connector Proxies.  They are placed somewhat arbitrarily as far as we can make out.  We suspect we run the risk that if we purge a folder that doesn't appear to have any objects within it we will inadvertently purge any ProxyConnectors.

Should we place them in the same folder branch as the origin object of the relationship or with the destination object of the applicable relationship?  Does it matter?

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

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 340
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
Re: ProxyConnectors - where to store?
« Reply #1 on: September 21, 2017, 02:53:39 am »
I guess, as it happens always, these proxy elements are located in the same package of the diagram they are created in. Every time you create a new element (a new row in t_object table) in a diagram, its parent package is the same as the diagram parent package.

So, my suggestion is: create a locked package (in order to avoid user deletion), and via your automation relocate the proxy elements as children of this package. If you don't delete the package, the elements will remain in the model.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8559
  • Karma: +254/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: ProxyConnectors - where to store?
« Reply #2 on: September 21, 2017, 09:42:09 am »
I guess, as it happens always, these proxy elements are located in the same package of the diagram they are created in. Every time you create a new element (a new row in t_object table) in a diagram, its parent package is the same as the diagram parent package.

So, my suggestion is: create a locked package (in order to avoid user deletion) and via your automation relocate the proxy elements as children of this package. If you don't delete the package, the elements will remain in the model.
That does seem to be the case (where EA seems to create them).  Are you suggesting we have ONE package for the entire repository?  That could work. 

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