Book a Demo

Author Topic: Baselines deleted  (Read 6272 times)

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Baselines deleted
« on: January 21, 2010, 09:51:58 pm »
Hello,

I have the project under source control with TFS.

However, they can be manually deleted and I can't even identify who deletes it.

Are the baselines put under source control? can I put them anywhere where this can be done?

I can only recover the situation with a Date base backup and this is not a solution.

Can anyone help?

Henrique

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Baselines deleted
« Reply #1 on: January 21, 2010, 10:52:53 pm »
Henrique,

If somebody is deleting files from TFS I think that is the problem you should solve.
What good would baselines in TFS be when they are deleted as well?

Geert

Orlando Ribeiro

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Baselines deleted
« Reply #2 on: January 22, 2010, 03:41:53 am »
Hello,

I think what my co-worker Henrique means is if there is a way for these baselines to be stored on TFS.

If someone is deleting our baselines, it is obviously not EA's problem.

However, in TFS you can undelete files and even get the history for each deleted file. Therefore, we could track the change (and catch the guy who did it :), if the baselines were stored in TFS.

In the context of CMMI, we are obliged to keep regular baselines. However, if they can be, simply, deleted without some kind of tracking, it defeats the whole point.

I hope i clarified our current situation.

Any help would be appreciated. Thanks!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Baselines deleted
« Reply #3 on: January 22, 2010, 04:53:56 am »
In that you you can integrate EA with TFS so the whole model is version controlled.

Rolling back to a previous version may be a bit cumbersome, but it is entirely possible.

Geert

Orlando Ribeiro

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Baselines deleted
« Reply #4 on: January 29, 2010, 08:44:40 pm »
Hello,

I was unable to find the information about the XML file, stored on TFS, which corresponds to a baseline. Is there a way to see which is it on EA then? If not, searching the TFS folders will take forever... Our model is getting too big...

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: Baselines deleted
« Reply #5 on: October 09, 2010, 03:39:41 am »
hello,

Our EA model has always been integrated with TFS.

Are there specific files created when we apply a baseline to a package?

Henrique

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Baselines deleted
« Reply #6 on: October 09, 2010, 05:32:14 pm »
AFAIK creating a baseline in EA results in a snapshot of the (part of the) model to be stored in a compressed form in the database.
I don't think it has any effect on the version control whatsoever.
There might be a way to export baselines, but I'm not sure.
It think you might need to choose between EA baselines and version control integration.

Geert

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: Baselines deleted
« Reply #7 on: October 13, 2010, 02:52:37 am »
Hello,

I have created a trigger in the DB to stop deletion on the records on t_document table.

something like,

create trigger donotdelete
on t_document
instead of delete
as RAISERROR ('cannot delete baselines, speak to configuration manager', 16, 10);

Does anyone know of any bad side effect?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Baselines deleted
« Reply #8 on: October 13, 2010, 08:24:56 am »
Well, for a start you prevent deletion of more than just baselines.

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: Baselines deleted
« Reply #9 on: October 14, 2010, 08:28:16 pm »
what objects are saved in this table besides baselines?

where can I find this information?

Can I build a trigger just to stop deletion of baselines?