Book a Demo

Author Topic: Managing aliases for many sharing modelers  (Read 2466 times)

juergm

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Managing aliases for many sharing modelers
« on: February 16, 2012, 08:45:08 pm »
My company is merging 2 products and would like to merge the 2 EA models. Our plan is to have 1 model on our server and use Subversion for package control.

We use the alias to identify each element uniquely – the pre fix defines the type of element followed by a number EA generates.

What I need to do is for new elements introduce an new scheme – with new prefixes. Now my questions

1.      The auto numbering scheme is defined in the model, so everybody using model will use the same scheme. Is this correct ?

2.      What about the numbering itself – I guess that every separate running EA will generate its own numbers, so therefore there will be clashes when packages are checked in. Is this true ?

3.      If 2 is true – we would add a suffix to identify the PC (user), this would guarantee unique ids, but each user would need to alter their settings. Is the definition for alias stored in a table that I can access and change with an sql search, if so which one ?

4.      Is there a better way of doing this ?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Managing aliases for many sharing modelers
« Reply #1 on: February 17, 2012, 04:13:47 am »
1. Yes. The recent number is stored in a table
2. No. See 1. But I don't know whether there is a good locking mechanism. (I guess not.) But it's quite unlikely that two persons create a new element the same time.
3. skip
4. Don't know. Probably. But it's harder to find then.

q.

P.S. Oh. Above only works if you have a central repository. If you have a decentralized solution (one EAP repos per user) just forget your solution. It won't work.
« Last Edit: February 17, 2012, 04:16:57 am by qwerty »

juergm

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Managing aliases for many sharing modelers
« Reply #2 on: February 17, 2012, 04:50:39 am »
Quote
1. Yes. The recent number is stored in a table
2. No. See 1. But I don't know whether there is a good locking mechanism. (I guess not.) But it's quite unlikely that two persons create a new element the same time.
3. skip
4. Don't know. Probably. But it's harder to find then.

q.

P.S. Oh. Above only works if you have a central repository. If you have a decentralized solution (one EAP repos per user) just forget your solution. It won't work.


We all share the same model SQL and Subversion

Thanks for your help