Package de.qytera.qtaf.xray.service
Class AbstractXrayService
java.lang.Object
de.qytera.qtaf.xray.service.AbstractXrayService
- Direct Known Subclasses:
XrayCloudService,XrayServerService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringAuthentication against Xray PAIabstract StringGet Xray REST Import PathGet JWT tokenabstract StringGet Xray URLimportExecution(XrayImportRequestDto xrayImportDTO) Import a test executionsetJwtToken(String jwtToken) Set jwtToken
-
Field Details
-
jwtToken
JWT auth token that was fetched from the API -
client
protected final com.sun.jersey.api.client.Client clientJersey HTTP Client -
errorLogs
protected final de.qytera.qtaf.core.log.model.error.ErrorLogCollection errorLogsError logger
-
-
Constructor Details
-
AbstractXrayService
public AbstractXrayService()
-
-
Method Details
-
getXrayURL
Get Xray URL- Returns:
- Xray URL
-
getImportPath
Get Xray REST Import Path- Returns:
- Xray REST Import Path
-
authenticate
Authentication against Xray PAI- Returns:
- Bearer Token
-
getJwtToken
Get JWT token- Returns:
- jwt token
-
setJwtToken
Set jwtToken- Parameters:
jwtToken- JwtToken- Returns:
- this
-
importExecution
Import a test execution- Parameters:
xrayImportDTO- Test execution DTO- Returns:
- Test execution response DTO
-