Author Topic: Model importation and Dependency management  (Read 536 times)

ikoria

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Model importation and Dependency management
« on: September 28, 2022, 04:18:04 pm »
Hi all.
I know this is some basic in sw engineering but here is the question.
I have made a model for a component X. It is baselined and exported.
I have made an other model for a component Y, which use X. Therefore I have imported model of X. This component is also baselined and exported.

Now i want to made a more global model for a project P. There are several components and I want to import X model and Y model.
However I can't because Y is already in X...

Do you have Tips or Advice about this kind of things?
Thanks in advance.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12073
  • Karma: +471/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Model importation and Dependency management
« Reply #1 on: September 28, 2022, 04:34:33 pm »
The solution is usually to use a single large repository for all components.

If that is not possible for some reason, you might want to look at (the more complicated) alternatives.
Version Control is a workable solution for these type of problems.

Geert

philchudley

  • EA User
  • **
  • Posts: 698
  • Karma: +18/-0
  • UML/EA Principal Consultant / Trainer
    • View Profile
Re: Model importation and Dependency management
« Reply #2 on: September 28, 2022, 06:12:28 pm »
In addition to Geert's suggestion you might also want to look at RAS (Reusable Asset Service

It does require a bit of setup and it uses PCS (Pro Cloud Server - Free Version OK).

I did present a session on this in September's EA Global Summit 2022, recordings of all sessions should be on the EA Global Summit 2022 web site. If not right now, they will be in the near future. https://www.eaglobalsummit.com/#register_now . Click on Speaker Sessions

Phil
follow me on Twitter

@SparxEAGuru

ikoria

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Model importation and Dependency management
« Reply #3 on: October 07, 2022, 05:40:38 pm »
Hi,
Thank you for these answers.

We're already using Version control tool. This is not my problem here.
My issue is:
Within the tool, I'm trying to import a model which is already inside another imported one.
Project_Model
  |-Model_A        <- Existing imported model
  |    |-Model_B
  |-[Model_B]     <- this is my try

EAR say that the model already exists and don't allow me to do so.
I feel that i will be blocked until i remove Model_B from Model_A... but this is an imported baselined model...
i'll find a workaround.
Thanks you.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12073
  • Karma: +471/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Model importation and Dependency management
« Reply #4 on: October 07, 2022, 05:54:55 pm »
If you want to make a copy then you can import it usign the "strip GUIDs" checkbox
That will effectively make a copy of your "Model B" somewhere else in the model.

If not you'll have to import it over the existing model, or first move it to another location and then import over it.

Geert

ikoria

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Model importation and Dependency management
« Reply #5 on: October 13, 2022, 05:20:42 pm »
Hi,
I'll test this "Stip GUIDs" option ;).
Even if it works, I have to discuss about this because it depends how far my leader want to go with the traceability and code generation...
Thanks Geert.