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.xpand-it.com'
DEFAULT_TEST_PREFIX =

Default test tag prefix

'TEST_'
DEFAULT_STORY_PREFIX =

Default story tag prefix

'STORY_'

Class Attribute Summary collapse

Class Attribute Details

.cloud_xray_api_credentialsObject

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



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

def cloud_xray_api_credentials
  @cloud_xray_api_credentials
end

.jira_typeObject

Returns the xray instanced type (hosted or cloud)



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

def jira_type
  @jira_type
end

.jira_urlObject

Returns the jira url



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

def jira_url
  @jira_url
end

.login_credentialsObject

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



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

def 
  @login_credentials
end

.project_keyObject

Returns the project key value



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

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

.story_prefixObject

Returns the story tag prefix value



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

def story_prefix
  @story_prefix
end

.test_prefixObject

Returns the test tag prefix value



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

def test_prefix
  @test_prefix
end

.xray_default_api_urlObject

Returns the default xray jira url for cloud api



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

def xray_default_api_url
  @xray_default_api_url
end

.xray_export_test_filterObject

Returns the test filter to export



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

def xray_export_test_filter
  @xray_export_test_filter
end

.xray_export_test_keysObject

Returns the test keys to export



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

def xray_export_test_keys
  @xray_export_test_keys
end

.xray_test_environmentObject

Returns the xray test environment value



72
73
74
# File 'lib/qat/reporter/xray/config.rb', line 72

def xray_test_environment
  @xray_test_environment
end

.xray_test_revisionObject

Returns the xray test revision value



82
83
84
# File 'lib/qat/reporter/xray/config.rb', line 82

def xray_test_revision
  @xray_test_revision
end

.xray_test_versionObject

Returns the xray test version value



77
78
79
# File 'lib/qat/reporter/xray/config.rb', line 77

def xray_test_version
  @xray_test_version
end