Book a Demo

Author Topic: Revision of UML-Model in database  (Read 3903 times)

ufechner

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Revision of UML-Model in database
« on: August 05, 2007, 11:30:40 pm »
Hello,

if we store the UML Modell in an sql database, e.g. MySQL, using transactions:

In this case it SHOULD be possible to have a revision number of the model, that is automatically calculated.

Is this sort of mechanism already implemented?

Working with audit trails would only be useful for us, if there would be a way, to identify a curtain revision of the model. This revision number should be included in the printouts.

Is this already possible, or do I have to write a feature request?

A timestamp is not really usefull, because it can easily happen, that a pc doesn't have the correct time, or that different pc's in a team have different times.

Regards:

Uwe Fechner

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Revision of UML-Model in database
« Reply #1 on: August 06, 2007, 01:25:15 am »
I think it is a good idea, bit what about using configuration control?
We use TFS and you have a number for each checkin of the file, so you actualy have a revision.
Recursion definition:
If you don’t understand the definition read "Recursion definition".

ufechner

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Revision of UML-Model in database
« Reply #2 on: August 06, 2007, 02:43:05 am »
We want to use EA together with RA-Quest.
RA-Quest already allows to audit changes of requirements and to restore old versions of a requirement.

Therefore I would prefer to avoid using an external version control system for the model.
(We keep the code in SVN.)

For our development cycle it would be sufficient to use the audit logs during the development of a new version and to create a baseline for each released version.

Regards:

Uwe Fechner
« Last Edit: August 06, 2007, 02:43:27 am by ufechner »

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Revision of UML-Model in database
« Reply #3 on: August 06, 2007, 09:43:16 am »
If you work on a DB which allows triggering (like MSSQL) you can create a trigger on each table and a log for each.
the trigger would send the change to the log with an automatically created revision number. I don't know RA quest (we work with Doors), but maybe you could even import the revision number from there (or export it to RA quest)
Then you could easily create an external tool to roll back objects\packages to previous revisions state.

A little complicated, but not something a developer can't do in 3 days work.  

« Last Edit: August 06, 2007, 09:44:32 am by MartinT »
Recursion definition:
If you don’t understand the definition read "Recursion definition".

bmioch

  • EA User
  • **
  • Posts: 81
  • Karma: +0/-0
    • View Profile
Re: Revision of UML-Model in database
« Reply #4 on: August 06, 2007, 04:04:59 pm »
ufechner,

In regards to your concerns about different times, Auditing provides an option to use the DBMS time for all transactions.

http://www.sparxsystems.com.au/EAUserGuide/index.html?auditing_settings.htm

If you check Use Database Timestamp, then all timestamps will be taken from the Database Server.

This setting is not available for EAP files, since they are file based, not server based.

Bill

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Revision of UML-Model in database
« Reply #5 on: August 07, 2007, 04:02:15 am »
Now that I remember, if you work with version control all the objects in DB have the same revision number of each check in (if it is of any help).
You cna see the number if you enter file history.
Recursion definition:
If you don’t understand the definition read "Recursion definition".