aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-08-09 18:57:41 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-08-09 18:57:41 +0200
commit88773a3021dfff6c9563fd1e40c4ba730cdf5a0f (patch)
tree628c27bf40815014851311f2fa409d00f8b6c15c /sonar-plugin-api
parent4ad2465a4e5162823f79f93aa6ab33ef1612a06f (diff)
downloadsonarqube-88773a3021dfff6c9563fd1e40c4ba730cdf5a0f.tar.gz
sonarqube-88773a3021dfff6c9563fd1e40c4ba730cdf5a0f.zip
SONAR-2603 generate server key at startup
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java10
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java5
2 files changed, 15 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
index 8760081c433..0fc4a6c2d75 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
@@ -180,4 +180,14 @@ public interface CoreProperties {
String TIMEMACHINE_DEFAULT_PERIOD_3 = "30";
String TIMEMACHINE_DEFAULT_PERIOD_4 = "";
String TIMEMACHINE_DEFAULT_PERIOD_5 = "";
+
+ /**
+ * @since 2.11
+ */
+ String ORGANIZATION = "sonar.organization";
+
+ /**
+ * @since 2.11
+ */
+ String SERVER_KEY = "sonar.serverKey.secured";
}
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java b/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java
index 37d06ad35d6..f5043073dbb 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java
@@ -40,4 +40,9 @@ public abstract class Server implements BatchComponent, ServerComponent {
* @since 2.4
*/
public abstract String getURL();
+
+ /**
+ * @since 2.10
+ */
+ public abstract String getKey();
}