Baseline 2.5 CleanUp

Used to clean up the baseline by removing the unused objects.


Parameters

NameTypeDirectionDescription
psAuthContextStringInOutDeprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services, making this parameter redundant.
psBaselineIdStringInThe element name of the baseline.

The algorithm is:
  • First the baseline is identified and some minor checks are executed:
    • When the baseline is not found, an InvalidObjectException is thrown.

    • When the baseline is already released, an BaselineAlreadyReleasedException is thrown.

    • If the user has no write access, an ObjectIsReadOnlyException is thrown.

  • Then all publications which reference the baseline are retrieved (see PublicationOutput.UsingBaseline)
  • Each publication must have at least one starting point. So, the fields FISHMASTERREF and FISHRESOURCES should not both be empty.
  • For each publication an ExpandBaseline is executed to find all objects which are used by one of the starting points
  • Combining those baseline reports gives a list with version objects which are used in at least one of the publications
  • Finally, the baseline is updated by removing all objects which are in the baseline but are not part of the list.