Interface XrayEndpoint

All Known Subinterfaces:
XrayTestRepository
All Known Implementing Classes:
XrayCucumberRepositoryCloud, XrayCucumberRepositoryServer, XrayTestRepositoryCloud, XrayTestRepositoryServer

public interface XrayEndpoint
An interface describing Xray endpoints. It provides a default implementation for retrieving authorization headers.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Build the 'Authorization' header value for the Xray API.
    default String
    Return the base URL for all Xray endpoints.
  • Method Details

    • getXrayAuthorizationHeaderValue

      default String getXrayAuthorizationHeaderValue() throws MissingConfigurationValueException
      Build the 'Authorization' header value for the Xray API.
      Returns:
      the authorization header value
      Throws:
      MissingConfigurationValueException - if no Jira username or API token have been configured
    • getXrayURL

      default String getXrayURL()
      Return the base URL for all Xray endpoints.
      Returns:
      the base URL