com.capitalone.dashboard.TestResultSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jira-xray-testresult-collector Show documentation
Show all versions of jira-xray-testresult-collector Show documentation
Jira XRay collector micro service collects data from Jira XRay
/*************************DA-BOARD-LICENSE-START*********************************
* Copyright 2014 CapitalOne, LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*************************DA-BOARD-LICENSE-END*********************************/
package com.capitalone.dashboard;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties(prefix = "feature")
public class TestResultSettings {
private String cron;
private int pageSize;
private String deltaStartDate;
private String deltaCollectorItemStartDate;
private String masterStartDate;
private int scheduledPriorMin;
private String queryFolder;
private String storyQuery;
// Jira-connection details
private String jiraBaseUrl;
private String jiraQueryEndpoint;
private String jiraCredentials;
private String jiraOauthAuthtoken;
private String jiraOauthRefreshtoken;
private String jiraOauthRedirecturi;
private String jiraOauthExpiretime;
private String jiraProxyUrl;
private String jiraProxyPort;
/**
* In Jira, general IssueType IDs are associated to various "issue"
* attributes. However, there is one attribute which this collector's
* queries rely on that change between different instantiations of Jira.
* Please provide a numerical ID reference to your instance's IssueType for
* the lowest level of Issues (e.g., "user story") specific to your Jira
* instance.
*
*
* Note: You can retrieve your instance's IssueType ID
* listings via the following URI:
* https://[your-jira-domain-name]/rest/api/2/issuetype/
* Multiple comma-separated values can be specified.
*/
private String[] jiraIssueTypeNames;
public String getCron() {
return this.cron;
}
public void setCron(String cron) {
this.cron = cron;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public String getDeltaStartDate() {
return this.deltaStartDate;
}
public void setDeltaStartDate(String deltaStartDate) {
this.deltaStartDate = deltaStartDate;
}
public void setDeltaCollectorItemStartDate(String deltaCollectorItemStartDate) {
this.deltaCollectorItemStartDate = deltaCollectorItemStartDate;
}
public String getDeltaCollectorItemStartDate() {
return this.deltaCollectorItemStartDate;
}
public String getMasterStartDate() {
return this.masterStartDate;
}
public void setMasterStartDate(String masterStartDate) {
this.masterStartDate = masterStartDate;
}
public int getScheduledPriorMin() {
return this.scheduledPriorMin;
}
public void setScheduledPriorMin(int scheduledPriorMin) {
this.scheduledPriorMin = scheduledPriorMin;
}
public String getQueryFolder() {
return this.queryFolder;
}
public void setQueryFolder(String queryFolder) {
this.queryFolder = queryFolder;
}
public String getStoryQuery() {
return this.storyQuery;
}
public void setStoryQuery(String storyQuery) {
this.storyQuery = storyQuery;
}
public String getJiraBaseUrl() {
return this.jiraBaseUrl;
}
public void setJiraBaseUrl(String jiraBaseUrl) {
this.jiraBaseUrl = jiraBaseUrl;
}
public String getJiraQueryEndpoint() {
return this.jiraQueryEndpoint;
}
public void setJiraQueryEndpoint(String jiraQueryEndpoint) {
this.jiraQueryEndpoint = jiraQueryEndpoint;
}
public String getJiraCredentials() {
return this.jiraCredentials;
}
public void setJiraCredentials(String jiraCredentials) {
this.jiraCredentials = jiraCredentials;
}
public String getJiraOauthAuthtoken() {
return this.jiraOauthAuthtoken;
}
public void setJiraOauthAuthtoken(String jiraOauthAuthtoken) {
this.jiraOauthAuthtoken = jiraOauthAuthtoken;
}
public String getJiraOauthRefreshtoken() {
return this.jiraOauthRefreshtoken;
}
public void setJiraOauthRefreshtoken(String jiraOauthRefreshtoken) {
this.jiraOauthRefreshtoken = jiraOauthRefreshtoken;
}
public String getJiraOauthRedirecturi() {
return this.jiraOauthRedirecturi;
}
public void setJiraOauthRedirecturi(String jiraOauthRedirecturi) {
this.jiraOauthRedirecturi = jiraOauthRedirecturi;
}
public String getJiraOauthExpiretime() {
return this.jiraOauthExpiretime;
}
public void setJiraOauthExpiretime(String jiraOauthExpiretime) {
this.jiraOauthExpiretime = jiraOauthExpiretime;
}
public String getJiraProxyUrl() {
return this.jiraProxyUrl;
}
public void setJiraProxyUrl(String jiraProxyUrl) {
this.jiraProxyUrl = jiraProxyUrl;
}
public String getJiraProxyPort() {
return this.jiraProxyPort;
}
public void setJiraProxyPort(String jiraProxyPort) {
this.jiraProxyPort = jiraProxyPort;
}
public String[] getJiraIssueTypeNames() {
return jiraIssueTypeNames;
}
public void setJiraIssueTypeNames(String[] jiraIssueTypeNames) {
this.jiraIssueTypeNames = jiraIssueTypeNames;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy