public class RepositoryInformationServiceClient extends Object
Constructor and Description |
---|
RepositoryInformationServiceClient(String epr)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getGitRepositoryUrl(int tenantId,
String cartridgeType)
Retrieves the Git Repository URL for the tenant and cartridge type
|
org.wso2.carbon.adc.mgt.dao.xsd.RepositoryCredentials |
getJsonRepositoryInformation(int tenantId,
String cartridgeType)
Retrieves the repository url, username and password
|
public RepositoryInformationServiceClient(String epr) throws org.apache.axis2.AxisFault
epr
- end point reference for the RepositoryInformationServiceClientorg.apache.axis2.AxisFault
public String getGitRepositoryUrl(int tenantId, String cartridgeType) throws RemoteException, org.wso2.carbon.adc.repository.information.RepositoryInformationServiceException
tenantId
- id of the tenantcartridgeType
- cartridge type tenant is subscribed toException
RemoteException
org.wso2.carbon.adc.repository.information.RepositoryInformationServiceException
public org.wso2.carbon.adc.mgt.dao.xsd.RepositoryCredentials getJsonRepositoryInformation(int tenantId, String cartridgeType) throws RemoteException, org.wso2.carbon.adc.repository.information.RepositoryInformationServiceException
tenantId
- id of the tenantcartridgeType
- cartridge type tenant is subscribed toException
RemoteException
org.wso2.carbon.adc.repository.information.RepositoryInformationServiceException
Copyright © 2018 WSO2. All rights reserved.