Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SONARPLUGINS-1847 Link a review with a JIRA issue
- Refactoring of the JIRA plugin - Merge with the "jira-reviews" plugin
- Loading branch information
1 parent
52a82d1
commit d3d92fc
Showing
21 changed files
with
845 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Sonar JIRA Plugin | ||
* Copyright (C) 2009 SonarSource | ||
* dev@sonar.codehaus.org | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation; either | ||
* version 3 of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 | ||
*/ | ||
package org.sonar.plugins.jira; | ||
|
||
public final class JiraConstants { | ||
|
||
public static final String REVIEW_DATA_PROPERTY_KEY = "jira-issue-key"; | ||
|
||
// ===================== PLUGIN PROPERTIES ===================== | ||
|
||
public final static String SERVER_URL_PROPERTY = "sonar.jira.url"; | ||
|
||
public final static String SOAP_BASE_URL_PROPERTY = "sonar.jira.soap.url"; | ||
public final static String SOAP_BASE_URL_DEF_VALUE = "/rpc/soap/jirasoapservice-v2"; | ||
|
||
public final static String USERNAME_PROPERTY = "sonar.jira.login.secured"; | ||
|
||
public final static String PASSWORD_PROPERTY = "sonar.jira.password.secured"; | ||
|
||
public final static String JIRA_PROJECT_KEY_PROPERTY = "sonar.jira.project.key"; | ||
|
||
public final static String FILTER_PROPERTY = "sonar.jira.url.param"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
src/main/java/org/sonar/plugins/jira/reviews/JiraConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* Sonar JIRA Plugin | ||
* Copyright (C) 2009 SonarSource | ||
* dev@sonar.codehaus.org | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation; either | ||
* version 3 of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 | ||
*/ | ||
package org.sonar.plugins.jira.reviews; | ||
|
||
public final class JiraConstants { | ||
|
||
public static final String REVIEW_DATA_PROPERTY_KEY = "jira-issue-key"; | ||
|
||
// ===================== PLUGIN PROPERTIES ===================== | ||
|
||
public final static String SERVER_URL_PROPERTY = "sonar.jira.url"; | ||
|
||
public final static String SOAP_BASE_URL_PROPERTY = "sonar.jira.soap.url"; | ||
public final static String SOAP_BASE_URL_DEF_VALUE = "/rpc/soap/jirasoapservice-v2"; | ||
|
||
public final static String USERNAME_PROPERTY = "sonar.jira.login.secured"; | ||
|
||
public final static String PASSWORD_PROPERTY = "sonar.jira.password.secured"; | ||
|
||
public final static String JIRA_PROJECT_KEY_PROPERTY = "sonar.jira.project.key"; | ||
|
||
} |
Oops, something went wrong.