Module: QAT::Reporter::Xray::Config

Defined in:
lib/qat/reporter/xray/config.rb

Overview

QAT::Reporter::Xray configuration module

Defined Under Namespace

Classes: NoEnvironmentDefined, NoRevisionDefined, NoVersionDefined

Constant Summary collapse

DEFAULT_XRAY_URL =

Default xray API url (Jira Cloud)

'https://xray.cloud.getxray.app'

Class Attribute Summary collapse

Class Attribute Details

.cloud_xray_api_credentialsObject

Returns the login credentials array for cloud api [client_id, client_secret]



37
38
39
# File 'lib/qat/reporter/xray/config.rb', line 37

def cloud_xray_api_credentials
  @cloud_xray_api_credentials
end

.jira_typeObject

Returns the xray instanced type (hosted or cloud)



17
18
19
# File 'lib/qat/reporter/xray/config.rb', line 17

def jira_type
  @jira_type
end

.jira_urlObject

Returns the jira url



22
23
24
# File 'lib/qat/reporter/xray/config.rb', line 22

def jira_url
  @jira_url
end

.login_credentialsObject

Returns the login credentials array could -> [username, password, apiToken]



32
33
34
# File 'lib/qat/reporter/xray/config.rb', line 32

def 
  @login_credentials
end

.project_keyObject

Returns the project key value



52
53
54
# File 'lib/qat/reporter/xray/config.rb', line 52

def project_key
  @project_key
end

.publisherObject

Returns the value of attribute publisher.



10
11
12
# File 'lib/qat/reporter/xray/config.rb', line 10

def publisher
  @publisher
end

.xray_default_api_urlObject

Returns the default xray jira url for cloud api



27
28
29
# File 'lib/qat/reporter/xray/config.rb', line 27

def xray_default_api_url
  @xray_default_api_url
end

.xray_export_test_filterObject

Returns the test filter to export



47
48
49
# File 'lib/qat/reporter/xray/config.rb', line 47

def xray_export_test_filter
  @xray_export_test_filter
end

.xray_export_test_keysObject

Returns the test keys to export



42
43
44
# File 'lib/qat/reporter/xray/config.rb', line 42

def xray_export_test_keys
  @xray_export_test_keys
end

.xray_test_environmentObject

Returns the xray test environment value



57
58
59
# File 'lib/qat/reporter/xray/config.rb', line 57

def xray_test_environment
  @xray_test_environment
end

.xray_test_revisionObject

Returns the xray test revision value



67
68
69
# File 'lib/qat/reporter/xray/config.rb', line 67

def xray_test_revision
  @xray_test_revision
end

.xray_test_versionObject

Returns the xray test version value



62
63
64
# File 'lib/qat/reporter/xray/config.rb', line 62

def xray_test_version
  @xray_test_version
end