Baseline 2.5 CleanUp
Used to clean up the baseline by removing the unused objects.
Parameters
| Name | Type | Direction | Description |
|---|---|---|---|
| psAuthContext | String | InOut | Deprecated 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. |
| psBaselineId | String | In | The 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
InvalidObjectExceptionis thrown.When the baseline is already released, an
BaselineAlreadyReleasedExceptionis thrown.If the user has no write access, an
ObjectIsReadOnlyExceptionis 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
FISHMASTERREFandFISHRESOURCESshould 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.