]> source.dussan.org Git - sonarqube.git/commit
SONAR-16079: Use `sinceLeakPeriod` in generated hotpots URLs used for PR decoration.
authorDimitris Kavvathas <dimitris.kavvathas@sonarsource.com>
Mon, 23 May 2022 16:06:56 +0000 (18:06 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 7 Jun 2022 20:03:09 +0000 (20:03 +0000)
commit624f20e1bbcda0bd58e544144b023ad345d582f6
tree67e0c39145b69a113c2ded0caa085fca593b0be3
parent784089432581c819d2c369e014f40f37072603f6
SONAR-16079: Use `sinceLeakPeriod` in generated hotpots URLs used for PR decoration.
Frontend still recognizes `sinceLeakPeriod` and translates it to `inNewCodePeriod` when it calls the WS.
Therefore, the generated links should still use the old parameter name until the frontend is updated.

SONAR-16079: Update test with 'inNewCodePeriod' parameter
SONAR-16079: Revert usage of "inNewCodePeriod" from the frontend
SONAR-16079: Continue using "sinceLeakPeriod" on the frontend and send the new "inNewCodePeriod" param to the backend
SONAR-16079: Update description for "inNewCodePeriod" parameter
SONAR-16079: Extract static fields for String literals
SONAR-16079: Replace "sinceLeakPeriod" parameter with "inNewCodePeriod" for "api/hotspots/search" internal endpoint
server/sonar-web/src/main/js/api/security-hotspots.ts
server/sonar-web/src/main/js/apps/security-hotspots/SecurityHotspotsApp.tsx
server/sonar-web/src/main/js/apps/security-hotspots/__tests__/SecurityHotspotsApp-test.tsx
server/sonar-webserver-webapi/src/main/java/org/sonar/server/hotspot/ws/SearchAction.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/SearchActionTest.java
sonar-ws/src/main/java/org/sonarqube/ws/client/hotspots/HotspotsService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/hotspots/SearchRequest.java