Book a Demo

Author Topic: Dynamic list of dependencies  (Read 4040 times)

MaXyM

  • EA User
  • **
  • Posts: 120
  • Karma: +8/-0
    • View Profile
Dynamic list of dependencies
« on: September 21, 2017, 07:37:00 pm »
Hello.
Let's say I have an application component which have to communicate with all (dozens) db servers in my network. Components which represent db servers are located in packages.
I would like to save manual work (which is error prone) of adding connections while adding new servers
On the other hand I need to maintain traceability between the component and servers.

I could imagine some element which generates list of elements based on SQL. Something like ModelView but it doesn't provide traceability. Could you please suggest me some way? Maybe I'm trying to manage it from wrong end?

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: Dynamic list of dependencies
« Reply #1 on: September 21, 2017, 08:33:09 pm »
Hi MaXyM,
I only have a rough idea what you want to achieve.

As far as I understood you have one component instance that communicates with lots of db servers instances and if there is a new db server instance it communicates with that as well, right?
And you want to have some kind of connection between you application/db instances representing the communication.

So, one thing you could do is writing a script that connect new db instances to you application instance.
However only in cases where you add more than one db instance at one time, you get some benefit of that script, just because calling the script and adding one link only is more or less the same.
Best regards,

Peter Heintz

MaXyM

  • EA User
  • **
  • Posts: 120
  • Karma: +8/-0
    • View Profile
Re: Dynamic list of dependencies
« Reply #2 on: September 21, 2017, 09:03:43 pm »
Yes, this is exactly what I would like to achieve.
Thanks you for an idea of using script.
You are right, adding single connection requires similar effort to running the script. On the other hand, in case some relation hasn't been added in past, the script might provide added value.