Package de.qytera.qtaf.xray.service
Class XrayCloudService
java.lang.Object
de.qytera.qtaf.xray.service.AbstractXrayService
de.qytera.qtaf.xray.service.XrayCloudService
Xray API Rest Client
-
Field Summary
Fields inherited from class de.qytera.qtaf.xray.service.AbstractXrayService
client, errorLogs, jwtToken -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAuthenticate against Xray APIGet Xray REST Import Pathstatic XrayCloudServiceFactory methodGet JWT tokenGet Xray URLvoidsetAuthCredentials(XrayAuthCredentials xrayAuthCredentials) Set authentication credentialsMethods inherited from class de.qytera.qtaf.xray.service.AbstractXrayService
importExecution, setJwtToken
-
Constructor Details
-
XrayCloudService
public XrayCloudService()
-
-
Method Details
-
getInstance
Factory method- Returns:
- singleton instance
-
getXrayURL
Description copied from class:AbstractXrayServiceGet Xray URL- Specified by:
getXrayURLin classAbstractXrayService- Returns:
- Xray URL
-
getImportPath
Description copied from class:AbstractXrayServiceGet Xray REST Import Path- Specified by:
getImportPathin classAbstractXrayService- Returns:
- Xray REST Import Path
-
setAuthCredentials
Set authentication credentials- Parameters:
xrayAuthCredentials- Authentication credentials
-
authenticate
Authenticate against Xray API- Specified by:
authenticatein classAbstractXrayService- Returns:
- Bearer token
-
getJwtToken
Get JWT token- Overrides:
getJwtTokenin classAbstractXrayService- Returns:
- jwt token
-