Book a Demo

Author Topic: API Function to compare Package to package  (Read 3614 times)

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
API Function to compare Package to package
« on: November 05, 2013, 12:32:04 am »
fisrt of all :
My goal is to minimize the load/overhead of compare process to reduce the consumed time..

I know this function
xml=Repository.GetProjectInterface().DoBaselineCompare(model.PackageGUID, baseline_1.Guid, "01/11/2013");

My question :  Is there any API to get compare only 2 packages directly
ex:
current package  with < package inside any baselines ... without need to compare the whole baseline itself...because it takes a lot of time ,, and sometimes the changes is just new element in a package.

so also  is there any api to get back where the difference exactly is ?
and then go to that points which contains differences and get the whole attributes of the elements which are affected/changed.

My goal is to minimize the load/overhead of compare process to reduce the consumed time .!!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: API Function to compare Package to package
« Reply #1 on: November 06, 2013, 09:10:03 am »
If your goal is only to minimize load times for baseline comparisons, how about saving the baseline without including child packages?

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: API Function to compare Package to package
« Reply #2 on: November 06, 2013, 11:59:33 pm »
That why I am asking for !
because may be somehow to make that or not ?

any idea ?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: API Function to compare Package to package
« Reply #3 on: November 07, 2013, 08:31:46 am »
Via the GUI - See the checkbox on the create baseline dialog.
Via the API - Use CreateBaselineEx and see the last parameter.