aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2023-04-26 10:59:56 -0500
committersonartech <sonartech@sonarsource.com>2023-04-28 20:02:58 +0000
commit1cc1a7e00248ef3aff6c6411df1d90708651c7d2 (patch)
treec4710569b1e60490895fca74f212169a71c46cf3 /sonar-ws
parent590b2685f9b05b8d2f68d03a0d2c885de54889d6 (diff)
downloadsonarqube-1cc1a7e00248ef3aff6c6411df1d90708651c7d2.tar.gz
sonarqube-1cc1a7e00248ef3aff6c6411df1d90708651c7d2.zip
Revert "SONAR-19050 added characteristic to elasticsearch index"
This reverts commit b60a9ddcc6857769dac8f534734ed314d152288b.
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java1
-rw-r--r--sonar-ws/src/main/protobuf/ws-commons.proto12
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto3
-rw-r--r--sonar-ws/src/main/protobuf/ws-rules.proto1
4 files changed, 0 insertions, 17 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
index 566f1a60b7d..b9f417bc9b8 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
@@ -79,7 +79,6 @@ public class IssuesWsParameters {
public static final String PARAM_LANGUAGES = "languages";
public static final String PARAM_TAGS = "tags";
public static final String PARAM_TYPES = "types";
- public static final String PARAM_CHARACTERISTICS = "characteristics";
public static final String PARAM_OWASP_ASVS_LEVEL = "owaspAsvsLevel";
public static final String PARAM_PCI_DSS = "pciDss";
public static final String PARAM_PCI_DSS_32 = "pciDss-3.2";
diff --git a/sonar-ws/src/main/protobuf/ws-commons.proto b/sonar-ws/src/main/protobuf/ws-commons.proto
index 755acdf4e8b..a8ba062db9e 100644
--- a/sonar-ws/src/main/protobuf/ws-commons.proto
+++ b/sonar-ws/src/main/protobuf/ws-commons.proto
@@ -177,18 +177,6 @@ enum RuleType {
SECURITY_HOTSPOT = 4;
}
-enum RuleCharacteristic {
- UNKNOWN_RULE_CHARACTERISTIC = 0;
- CLEAR = 1;
- CONSISTENT = 2;
- STRUCTURED = 3;
- TESTED = 4;
- ROBUST = 5;
- SECURE = 6;
- PORTABLE = 7;
- COMPLIANT = 8;
-}
-
enum BranchType {
reserved 1, 2;
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index b16cb75e2f0..b03e72200b1 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -161,7 +161,6 @@ message Issue {
optional string ruleDescriptionContextKey = 37;
repeated sonarqube.ws.commons.MessageFormatting messageFormattings = 38;
- optional sonarqube.ws.commons.RuleCharacteristic characteristic = 39;
}
message Transitions {
@@ -268,7 +267,6 @@ message IssueLite {
optional sonarqube.ws.commons.RuleType type = 6;
optional Location mainLocation = 7;
optional bool closed = 8;
- optional sonarqube.ws.commons.RuleCharacteristic characteristic = 9;
}
@@ -289,7 +287,6 @@ message TaintVulnerabilityLite {
repeated Flow flows = 9;
optional bool assignedToSubscribedUser = 10;
optional string ruleDescriptionContextKey = 11;
- optional sonarqube.ws.commons.RuleCharacteristic characteristic = 12;
}
message Flow {
diff --git a/sonar-ws/src/main/protobuf/ws-rules.proto b/sonar-ws/src/main/protobuf/ws-rules.proto
index 0e548b77793..961cd327428 100644
--- a/sonar-ws/src/main/protobuf/ws-rules.proto
+++ b/sonar-ws/src/main/protobuf/ws-rules.proto
@@ -120,7 +120,6 @@ message Rule {
optional DeprecatedKeys deprecatedKeys = 48;
optional DescriptionSections descriptionSections = 49;
optional EducationPrinciples educationPrinciples = 50;
- optional sonarqube.ws.commons.RuleCharacteristic characteristic = 51;
message DescriptionSections {
repeated DescriptionSection descriptionSections = 1;