Class ScmAppSoap

  • All Implemented Interfaces:
    IScmAppSoap

    public class ScmAppSoap
    extends WebService
    implements IScmAppSoap
    Provides SOAP services for managing the SCM system.

    Change History

    Version 18.2
    • Added new method getExternalSystemList2: Same as getExternalSystemList, in addition the response includes 'frozen' property

    Version 8.1
    • Added new method getReplicaRepositoryList
    • Added new method replicateRepository
    • Added new method removeRepositoryFromReplica
    • Added new method getReplicaListForExternalSystemId
    • Added new method getSCMCheckoutCommands
    • Added new method getSCMCheckoutCommandsForReplica
    • Added new method getReplicaData
    • Added new method setReplicaData

    Version 8.0
    • Added new method getExternalSystemList
    • Added new method deleteRepository

    Version 7.2
    • Added new method setAuthorizedKeysForUser.
    • Recommended to use this method in place of setAuthorizedKeys(String sessionId, String username, String authorizedKeys).

    Version 7.1
    • Added new method getExternalSystem: Returns information associated with an external system integrated with Teamforge.
    • Added new method setExternalSystemData: Updates external system information that is integrated with Teamforge.

    Version 7.0.0.1
    • Added new method getCommitData2: Returns the same as getCommitData, but the File list does not contain commit message. Recommended to use this method in place of getCommitData

    Version 7.0
    • Added new method createRepository2: now has the repository parameters information.
    • Added new method getRepositoryData2: now has the repository parameters information.
    • Added new method getRepository2DataById: now has the repository parameters information.
    • Added new method setRepositoryData: sets the repository data including the parameters.

    Version 6.2
    • Added new method getAuthorizedKeysForUser.
    • Added new method getAuthorizedKeys.
    • Added new method getRepositoryListForExternalSystem.
    • Added new method setAuthorizedKeys.

    Version 6.1.1
    • getScmAdapterNames: now users with Manage SCM integration Site-wide permission are allowed to use this.
    • getScmAdapterParameterNamesWithType: now users with Manage SCM integration Site-wide permission are allowed to use this.
    • addExternalSystem: now users with Manage SCM integration Site-wide permission are allowed to use this.

    Version 6.1
    • Added new method getReplicableScmExternalSystemList.
    • Added new method getReplicatedRepositoryList.
    • getRepositoryData2: Renamed to getRepositoryDataById.
    • createRepository2: Removed and merged into createRepository.

    Version 6.0
    • Added new method getCommitId.

    Version 5.4
    • Added new method moveRepository.
    • Added new method getScmAdapterNames.
    • Added new method getScmAdapterParameterNamesWithType.
    • Added new method addExternalSystem.

    Version 5.3
    • Added new method getSCMCheckoutCommand.
    • All methods taking SoapFilter arguments now support ORing filter conditions if multiple SoapFilter objects with the same name but different values are passed.

    Version 5.2
    • getRepositoryList: Modified in 5.2 to observe path based permission.
    • getCommitList: Modified in 5.2 to observe path based permission.
    • getCommitData: Modified in 5.2 to observe path based permission.
    • getRepositoryData:Rendered obsolete in 5.2; getRepositoryData2() returns additional fields. Modified in 5.2 to observe path based permission.
    • createRepository:Rendered obsolete in 5.2; createRepository2() supports additional field.
    • getRepositoryData2: New operation added in 5.2, to support new repository field.
    • createRepository2: New operation added in 5.2, to support new repository field.
    Since:
    4.1
Specified by:
addExternalSystem in interface IScmAppSoap
Parameters:
sessionId - is the user session id.
adapterType - is be the adapter type created, which is one value of the call "getScmAdapterNames()".
title - is the title of the external system.
description - is the description of the external system.
adapterTypeParameters - is the list of parameters of names and associated values for the given adapter type. The list of the needed parameters and their expected associated data type is retrieved by calling "getScmAdapterParameterNamesWithType(adapterType)".
Returns:
The GUID of the newly added external system.
Throws:
InvalidSessionFault - When the specified session id is invalid.
NoSuchObjectFault - If the adapter does not exist internally.
PermissionDeniedFault - When the user has insufficient privileges.
SystemFault - When wrong parameters are provided or an unexpected system error occurs.
Since:
5.4