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, logger -
Method Summary
Modifier and TypeMethodDescriptionAuthentication against Jira API.Authenticate against Xray APIGet Xray REST Import Pathstatic XrayCloudServiceReturns the singleton instance of theXrayCloudService.Returns the Jira instance's JQL search path.getTestSteps(Collection<String> testIssueKeys) Retrieve all test steps for the given test issues.Get Xray URLvoidsetAuthCredentials(XrayAuthCredentials xrayAuthCredentials) Set authentication credentialsMethods inherited from class de.qytera.qtaf.xray.service.AbstractXrayService
getIssueIds, getJwtToken, importExecution, searchJiraIssues, setJwtToken
-
Method Details
-
getInstance
Returns the singleton instance of theXrayCloudService.- Returns:
- the 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
-
getIssueSearchPath
Description copied from class:AbstractXrayServiceReturns the Jira instance's JQL search path.- Specified by:
getIssueSearchPathin classAbstractXrayService- Returns:
- REST path for JQL queries
-
getTestSteps
Description copied from class:AbstractXrayServiceRetrieve all test steps for the given test issues.- Specified by:
getTestStepsin classAbstractXrayService- Parameters:
testIssueKeys- the test issues to retrieve the steps for- Returns:
- a mapping of test issue keys to their steps
-
setAuthCredentials
Set authentication credentials- Parameters:
xrayAuthCredentials- Authentication credentials
-
authorizationHeaderXray
Authenticate against Xray API- Specified by:
authorizationHeaderXrayin classAbstractXrayService- Returns:
- Bearer token
-
authorizationHeaderJira
Description copied from class:AbstractXrayServiceAuthentication against Jira API.- Specified by:
authorizationHeaderJirain classAbstractXrayService- Returns:
- authorization header value
-