]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20479 Replace "[re-]indexation" with "[re-]indexing" in user-facing messages...
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>
Tue, 30 Jan 2024 09:40:43 +0000 (10:40 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 30 Jan 2024 15:02:03 +0000 (15:02 +0000)
25 files changed:
server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStep.java
server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/taskprocessor/IgnoreOrphanBranchStep.java
server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStepTest.java
server/sonar-ce/src/main/java/org/sonar/ce/queue/InternalCeQueue.java
server/sonar-ce/src/main/java/org/sonar/ce/queue/NextPendingTaskPicker.java
server/sonar-server-common/src/it/java/org/sonar/server/issue/index/IssueIndexerIT.java
server/sonar-server-common/src/main/java/org/sonar/server/es/Indexers.java
server/sonar-server-common/src/main/java/org/sonar/server/es/IndexersImpl.java
server/sonar-server-common/src/main/java/org/sonar/server/es/IndexingListener.java
server/sonar-server-common/src/main/java/org/sonar/server/es/ResilientIndexer.java
server/sonar-server-common/src/test/java/org/sonar/server/es/FailOnErrorIndexingListenerTest.java
server/sonar-server-common/src/test/java/org/sonar/server/permission/index/PermissionIndexerTest.java
server/sonar-web/src/main/js/apps/issues/__tests__/IssuesApp-Filtering-it.tsx
server/sonar-webserver-core/src/main/java/org/sonar/server/issue/index/AsyncIssueIndexingImpl.java
server/sonar-webserver-core/src/test/java/org/sonar/server/issue/index/AsyncIssueIndexingImplTest.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/ce/ws/IndexationStatusAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/developers/ws/SearchEventsAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/hotspot/ws/ListAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/hotspot/ws/SearchAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/AuthorsAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/ComponentTagsAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/ListAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java
sonar-core/src/main/resources/org/sonar/l10n/core.properties
sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/filesystem/ProjectFileIndexer.java

index 483688ab950c13ef90134bc248395b262bf0e49e..6f29551fa4fd8c03047310c70a8d54f8c21fb212 100644 (file)
@@ -64,7 +64,7 @@ public class LoadChangedIssuesStep implements ComputationStep {
 
   @Override
   public String getDescription() {
-    return "Load changed issues for indexation";
+    return "Load changed issues for indexing";
   }
 
 }
index 1d0bd823866e50112568cb4bae89a53ad1b3567d..e26714685f7fccec36598dc79a7bd165e5be7307 100644 (file)
@@ -48,7 +48,7 @@ public final class IgnoreOrphanBranchStep implements ComputationStep {
       Optional<ComponentDto> componentDto = dbClient.componentDao().selectByUuid(dbSession, componentUuid);
       Optional<EntityDto> entityDto = dbClient.entityDao().selectByUuid(dbSession, entityUuid);
       if (componentDto.isEmpty() || entityDto.isEmpty()) {
-        LOG.info("reindexation task has been trigger on an orphan branch. removing any exclude_from_purge flag, and skip the indexation");
+        LOG.info("reindexing task has been trigger on an orphan branch. removing any exclude_from_purge flag, and skip the indexing");
         dbClient.branchDao().updateExcludeFromPurge(dbSession, componentUuid, false);
         dbClient.branchDao().updateNeedIssueSync(dbSession, componentUuid, false);
         dbSession.commit();
index ae7d40a51acea3586de8be80405289cb9e6d6d05..543daadfa2e7e4addfeeb29c88da453539b418ea 100644 (file)
@@ -64,7 +64,7 @@ public class LoadChangedIssuesStepTest {
 
   @Test
   public void getDescription_shouldReturnDescription() {
-    assertThat(underTest.getDescription()).isEqualTo("Load changed issues for indexation");
+    assertThat(underTest.getDescription()).isEqualTo("Load changed issues for indexing");
   }
 
   @Test
index 7339226b741351b1d2d44f90be2ca14f34514e59..38d0b528d351e8772e2adbb96d799e7b9264ef73 100644 (file)
@@ -40,7 +40,7 @@ public interface InternalCeQueue extends CeQueue {
    * The task status is changed to {@link org.sonar.db.ce.CeQueueDto.Status#IN_PROGRESS}.
    * Does not return anything if workers are paused or being paused (see {@link #getWorkersPauseStatus()}.
    *
-   * @param excludeIndexationJob change the underlying request to exclude indexation tasks.
+   * @param excludeIndexationJob change the underlying request to exclude indexing tasks.
    *
    * <p>Only a single task can be peeked by project.</p>
    *
index c358013d451eac7dafc54ac65fd872e2091bf52b..0ac8ba87107a475406521e9e586d5f9ec47625cf 100644 (file)
@@ -54,8 +54,8 @@ public class NextPendingTaskPicker {
   }
 
   Optional<CeQueueDto> findPendingTask(String workerUuid, DbSession dbSession, boolean prioritizeAnalysisAndRefresh) {
-    // try to find tasks including indexation job & excluding app/portfolio and if no match, try the opposite
-    // when prioritizeAnalysisAndRefresh is false, search first excluding indexation jobs and including app/portfolio, then the opposite
+    // try to find tasks including indexing job & excluding app/portfolio and if no match, try the opposite
+    // when prioritizeAnalysisAndRefresh is false, search first excluding indexing jobs and including app/portfolio, then the opposite
     Optional<CeTaskDtoLight> eligibleForPeek = ceQueueDao.selectEligibleForPeek(dbSession, prioritizeAnalysisAndRefresh, !prioritizeAnalysisAndRefresh);
     Optional<CeTaskDtoLight> eligibleForPeekInParallel = eligibleForPeekInParallel(dbSession);
 
index 55fbab3652726d7f413df2662b8add04202f1e87..da7fa07acc7c6d5611d3d93d93885dbd836d3750 100644 (file)
@@ -230,7 +230,7 @@ public class IssueIndexerIT {
     String projectUuid = issue.getProjectUuid();
     assertThatThrownBy(() -> underTest.indexOnAnalysis(projectUuid))
       .isInstanceOf(IllegalStateException.class)
-      .hasMessage("Unrecoverable indexation failures: 1 errors among 1 requests. Check Elasticsearch logs for further details.");
+      .hasMessage("Unrecoverable indexing failures: 1 errors among 1 requests. Check Elasticsearch logs for further details.");
     assertThatIndexHasSize(0);
     assertThatEsQueueTableHasSize(0);
     es.unlockWrites(TYPE_ISSUE);
@@ -478,7 +478,7 @@ public class IssueIndexerIT {
     List<String> issues = List.of("Issue1");
     assertThatThrownBy(() -> underTest.deleteByKeys("P1", issues))
       .isInstanceOf(IllegalStateException.class)
-      .hasMessage("Unrecoverable indexation failures: 1 errors among 1 requests. Check Elasticsearch logs for further details.");
+      .hasMessage("Unrecoverable indexing failures: 1 errors among 1 requests. Check Elasticsearch logs for further details.");
     assertThatIndexHasOnly("Issue1");
     assertThatEsQueueTableHasSize(0);
     es.unlockWrites(TYPE_ISSUE);
index 917c6bdd519b933b12dc8f1aea046d3d501a7e3a..01f3c260c54adc0e919ec360d55ad9b72074cdd4 100644 (file)
@@ -42,22 +42,22 @@ public interface Indexers {
   }
 
   /**
-   * Re-index data based on the event. It commits the DB session once any indexation request was written in the same session,
-   * ensuring consistency between the DB and the indexes. Therefore, DB data changes that cause the indexation event should
+   * Re-index data based on the event. It commits the DB session once any indexing request was written in the same session,
+   * ensuring consistency between the DB and the indexes. Therefore, DB data changes that cause the indexing event should
    * be done using the same DB session and the session should be uncommitted.
    */
   void commitAndIndexOnEntityEvent(DbSession dbSession, Collection<String> entityUuids, EntityEvent cause);
 
   /**
-   * Re-index data based on the event. It commits the DB session once any indexation request was written in the same session,
-   * ensuring consistency between the DB and the indexes. Therefore, DB data changes that cause the indexation event should
+   * Re-index data based on the event. It commits the DB session once any indexing request was written in the same session,
+   * ensuring consistency between the DB and the indexes. Therefore, DB data changes that cause the indexing event should
    * be done using the same DB session and the session should be uncommitted.
    */
   void commitAndIndexOnBranchEvent(DbSession dbSession, Collection<String> branchUuids, BranchEvent cause);
 
   /**
-   * Re-index data based on the event. It commits the DB session once any indexation request was written in the same session,
-   * ensuring consistency between the DB and the indexes. Therefore, DB data changes that cause the indexation event should
+   * Re-index data based on the event. It commits the DB session once any indexing request was written in the same session,
+   * ensuring consistency between the DB and the indexes. Therefore, DB data changes that cause the indexing event should
    * be done using the same DB session and the session should be uncommitted.
    */
   default void commitAndIndexEntities(DbSession dbSession, Collection<? extends EntityDto> entities, EntityEvent cause) {
@@ -68,8 +68,8 @@ public interface Indexers {
   }
 
   /**
-   * Re-index data based on the event. It commits the DB session once any indexation request was written in the same session,
-   * ensuring consistency between the DB and the indexes. Therefore, DB data changes that cause the indexation event should
+   * Re-index data based on the event. It commits the DB session once any indexing request was written in the same session,
+   * ensuring consistency between the DB and the indexes. Therefore, DB data changes that cause the indexing event should
    * be done using the same DB session and the session should be uncommitted.
    */
   default void commitAndIndexBranches(DbSession dbSession, Collection<BranchDto> branches, BranchEvent cause) {
index 9e10ea9235ab7abb13ff19c4c8ffba7bc59a94b2..b158701018ac1f3db9e8c9e10640d363720cf79f 100644 (file)
@@ -41,11 +41,11 @@ public class IndexersImpl implements Indexers {
   }
 
   /**
-   * Asks all indexers to queue an indexation request in the DB to index the specified entities, if needed (according to
+   * Asks all indexers to queue an indexing request in the DB to index the specified entities, if needed (according to
    * "cause" parameter), then call all indexers to index the requests.
-   * The idea is that the indexation requests are committed into the DB at the same time as the data that caused those requests
+   * The idea is that the indexing requests are committed into the DB at the same time as the data that caused those requests
    * to be created, for consistency.
-   * If the indexation fails, the indexation requests will still be in the DB and can be processed again later.
+   * If the indexing fails, the indexing requests will still be in the DB and can be processed again later.
    */
   @Override
   public void commitAndIndexOnEntityEvent(DbSession dbSession, Collection<String> entityUuids, EntityEvent cause) {
@@ -53,11 +53,11 @@ public class IndexersImpl implements Indexers {
   }
 
   /**
-   * Asks all indexers to queue an indexation request in the DB to index the specified branches, if needed (according to
+   * Asks all indexers to queue an indexing request in the DB to index the specified branches, if needed (according to
    * "cause" parameter), then call all indexers to index the requests.
-   * The idea is that the indexation requests are committed into the DB at the same time as the data that caused those requests
+   * The idea is that the indexing requests are committed into the DB at the same time as the data that caused those requests
    * to be created, for consistency.
-   * If the indexation fails, the indexation requests will still be in the DB and can be processed again later.
+   * If the indexing fails, the indexing requests will still be in the DB and can be processed again later.
    */
   @Override
   public void commitAndIndexOnBranchEvent(DbSession dbSession, Collection<String> branchUuids, BranchEvent cause) {
index af82c8d6190c25c112da753993d55b9b53b55b9d..2d3d4c559cab89886a7d0ab67ddca39a8d3f3d24 100644 (file)
@@ -39,7 +39,7 @@ public interface IndexingListener {
     public void onFinish(IndexingResult result) {
       if (result.getFailures() > 0) {
         throw new IllegalStateException(
-          format("Unrecoverable indexation failures: %d errors among %d requests. Check Elasticsearch logs for further details.",
+          format("Unrecoverable indexing failures: %d errors among %d requests. Check Elasticsearch logs for further details.",
             result.getFailures(),
             result.getTotal()));
       }
index c1dac6c742aba08e92274daae753fcd3f1d344b8..55842bd509c31e8c915263ee5fca020748df5f89 100644 (file)
@@ -24,12 +24,12 @@ import org.sonar.db.DbSession;
 import org.sonar.db.es.EsQueueDto;
 
 /**
- * Indexers that are resilient. These indexers handle indexation items that are queued in the DB.
+ * Indexers that are resilient. These indexers handle indexing items that are queued in the DB.
  */
 public interface ResilientIndexer extends StartupIndexer {
 
   /**
-   * Index the items and delete them from es_queue DB table when the indexation
+   * Index the items and delete them from es_queue DB table when the indexing
    * is done. If there is a failure, the items are kept in DB to be re-processed later.
    *
    * @param dbSession the db session
index 385f61ac4e4b2889a84b767376b7f12c854515a3..83c99cb1ad954d4c17475e7d0e7bc68c3cfc45eb 100644 (file)
@@ -35,7 +35,7 @@ public class FailOnErrorIndexingListenerTest {
 
     assertThatThrownBy(() -> FAIL_ON_ERROR.onFinish(indexingResult))
       .isInstanceOf(IllegalStateException.class)
-      .hasMessage("Unrecoverable indexation failures: 1 errors among 1 requests. "
+      .hasMessage("Unrecoverable indexing failures: 1 errors among 1 requests. "
         + "Check Elasticsearch logs for further details.");
   }
 
index e288d5d35f6dbc5d5400875bff1d33694044c3d3..f8e061739c2455d3efc2c46d1c249f45c3ee0a76 100644 (file)
@@ -97,7 +97,7 @@ public class PermissionIndexerTest {
     indexOnStartup();
     assertThat(es.countDocuments(INDEX_TYPE_FOO_AUTH)).isEqualTo(2);
 
-    // Simulate a indexation issue
+    // Simulate an indexing issue
     db.getDbClient().purgeDao().deleteProject(db.getSession(), project1.getUuid(), PROJECT, project1.getName(), project1.getKey());
     underTest.prepareForRecoveryOnEntityEvent(db.getSession(), asList(project1.getUuid()), EntityEvent.DELETION);
     assertThat(db.countRowsOfTable(db.getSession(), "es_queue")).isOne();
index 66670341b52c9406189c8c46c6cb00caf23b0196..ca713dc904d39086e093a4c68cc13665da5c1dca 100644 (file)
@@ -355,7 +355,7 @@ describe('issues app when reindexing', () => {
     expect(ui.issueStatusFacet.query()).not.toBeInTheDocument();
     expect(ui.tagFacet.query()).not.toBeInTheDocument();
 
-    // Indexation message
+    // Indexing message
     expect(screen.getByText(/indexation\.filters_unavailable/)).toBeInTheDocument();
   });
 });
index 900324d2fd766a3c44d15d3b2725d6999f32085d..a4421c3b2e142e6fbaec3ef6c91b5cd1b9eb64fa 100644 (file)
@@ -63,7 +63,7 @@ public class AsyncIssueIndexingImpl implements AsyncIssueIndexing {
 
     try (DbSession dbSession = dbClient.openSession(false)) {
 
-      // remove already existing indexation task, if any
+      // remove already existing indexing task, if any
       removeExistingIndexationTasks(dbSession);
 
       dbClient.branchDao().updateAllNeedIssueSync(dbSession);
@@ -99,7 +99,7 @@ public class AsyncIssueIndexingImpl implements AsyncIssueIndexing {
   public void triggerForProject(String projectUuid) {
     try (DbSession dbSession = dbClient.openSession(false)) {
 
-      // remove already existing indexation task, if any
+      // remove already existing indexing task, if any
       removeExistingIndexationTasksForProject(dbSession, projectUuid);
 
       dbClient.branchDao().updateAllNeedIssueSyncForProject(dbSession, projectUuid);
@@ -162,14 +162,18 @@ public class AsyncIssueIndexingImpl implements AsyncIssueIndexing {
   }
 
   private void removeIndexationTasks(DbSession dbSession, Set<String> ceQueueUuids, Set<String> ceActivityUuids) {
-    LOG.info(String.format("%s pending indexation task found to be deleted...", ceQueueUuids.size()));
+    LOG.atInfo().setMessage("{} pending indexing task found to be deleted...")
+      .addArgument(ceQueueUuids.size())
+      .log();
     for (String uuid : ceQueueUuids) {
       dbClient.ceQueueDao().deleteByUuid(dbSession, uuid);
     }
 
-    LOG.info(String.format("%s completed indexation task found to be deleted...", ceQueueUuids.size()));
+    LOG.atInfo().setMessage("{} completed indexing task found to be deleted...")
+      .addArgument(ceQueueUuids.size())
+      .log();
     dbClient.ceActivityDao().deleteByUuids(dbSession, ceActivityUuids);
-    LOG.info("Indexation task deletion complete.");
+    LOG.info("Indexing task deletion complete.");
 
     LOG.info("Deleting tasks characteristics...");
     Set<String> tasksUuid = Stream.concat(ceQueueUuids.stream(), ceActivityUuids.stream()).collect(Collectors.toSet());
index 962f33e7cc79f5635a956e46262ecaa76b6a8791..2cb19cf6ffc9d92252831ba52b6512d706517b24 100644 (file)
@@ -159,9 +159,9 @@ public class AsyncIssueIndexingImplTest {
 
     assertThat(logTester.logs(Level.INFO))
       .contains(
-        "1 pending indexation task found to be deleted...",
-        "1 completed indexation task found to be deleted...",
-        "Indexation task deletion complete.",
+        "1 pending indexing task found to be deleted...",
+        "1 completed indexing task found to be deleted...",
+        "Indexing task deletion complete.",
         "Deleting tasks characteristics...",
         "Tasks characteristics deletion complete.");
   }
@@ -197,7 +197,7 @@ public class AsyncIssueIndexingImplTest {
     assertThat(dbClient.ceActivityDao().selectByTaskType(dbTester.getSession(), REPORT)).hasSize(1);
     assertThat(dbClient.ceTaskCharacteristicsDao().selectByTaskUuids(dbTester.getSession(), new HashSet<>(List.of("uuid_2")))).isEmpty();
 
-    // verify that the canceled tasks on anotherProject is still here, and was not removed by the project reindexation
+    // verify that the canceled tasks on anotherProject is still here, and was not removed by the project reindexing
     assertThat(dbClient.ceActivityDao().selectByTaskType(dbTester.getSession(), BRANCH_ISSUE_SYNC))
       .hasSize(1)
       .extracting(CeActivityDto::getEntityUuid)
@@ -205,9 +205,9 @@ public class AsyncIssueIndexingImplTest {
 
     assertThat(logTester.logs(Level.INFO))
       .contains(
-        "2 pending indexation task found to be deleted...",
-        "2 completed indexation task found to be deleted...",
-        "Indexation task deletion complete.",
+        "2 pending indexing task found to be deleted...",
+        "2 completed indexing task found to be deleted...",
+        "Indexing task deletion complete.",
         "Deleting tasks characteristics...",
         "Tasks characteristics deletion complete.",
         "Tasks characteristics deletion complete.",
index 5072f697a40dab74c05c9eff355e204f6c1454dc..580688432030579ad619d3786f1fdc1b2005ae35 100644 (file)
@@ -43,7 +43,7 @@ public class IndexationStatusAction implements CeWsAction {
   @Override
   public void define(WebService.NewController controller) {
     controller.createAction("indexation_status")
-      .setDescription("Returns the count of projects with completed issue indexation.")
+      .setDescription("Returns the count of projects with completed issue indexing.")
       .setResponseExample(getClass().getResource("indexation_status-example.json"))
       .setChangelog(new Change("10.2", "Project count is returned instead of branch percentage."))
       .setHandler(this)
index 22a01b5ce8b92df9a2a1f4769e0c3f1c98f4043a..e515aaede5dd2167ad4c53debec04ffc4f216a13 100644 (file)
@@ -90,7 +90,7 @@ public class SearchEventsAction implements DevelopersWsAction {
     WebService.NewAction action = controller.createAction("search_events")
       .setDescription("Search for events.<br/>" +
         "Requires authentication."
-        + "<br/>When issue indexation is in progress returns 503 service unavailable HTTP code.")
+        + "<br/>When issue indexing is in progress returns 503 service unavailable HTTP code.")
       .setSince("1.0")
       .setInternal(true)
       .setHandler(this)
index 4a2ab6a750710a1651384228bb415e158ac90393..dbacf608285b03b6a419b7078555a8b241dae199 100644 (file)
@@ -97,7 +97,7 @@ public class ListAction implements HotspotsWsAction {
       .createAction("list")
       .setHandler(this)
       .setInternal(true)
-      .setDescription("List Security Hotpots. This endpoint is used in degraded mode, when issue indexation is running." +
+      .setDescription("List Security Hotpots. This endpoint is used in degraded mode, when issue indexing is running." +
         "<br>Total number of Security Hotspots will be always equal to a page size, as counting all issues is not supported. " +
         "<br>Requires the 'Browse' permission on the specified project. ")
       .setSince("10.2");
index a1aa8da0a623b60aef55e81e990a82cdfa62e01d..fc079cfd91e1bae95b183e982271a5f7f639cdd3 100644 (file)
@@ -222,7 +222,7 @@ public class SearchAction implements HotspotsWsAction {
       .setDescription("Search for Security Hotpots. <br>"
         + "Requires the 'Browse' permission on the specified project(s). <br>"
         + "For applications, it also requires 'Browse' permission on its child projects. <br>"
-        + "When issue indexation is in progress returns 503 service unavailable HTTP code.")
+        + "When issue indexing is in progress returns 503 service unavailable HTTP code.")
       .setSince("8.1")
       .setChangelog(
         new Change("10.2", format("Parameter '%s' renamed to '%s'", PARAM_PROJECT_KEY, PARAM_PROJECT)),
index 95f2f114f864bb3c97edd957589ae627ee484a6f..3866a43dbdd5e7b26e263deb8a62915708a73a57 100644 (file)
@@ -72,7 +72,7 @@ public class AuthorsAction implements IssuesWsAction {
       .setSince("5.1")
       .setDescription("Search SCM accounts which match a given query.<br/>" +
                       "Requires authentication."
-                      + "<br/>When issue indexation is in progress returns 503 service unavailable HTTP code.")
+                      + "<br/>When issue indexing is in progress returns 503 service unavailable HTTP code.")
       .setResponseExample(Resources.getResource(this.getClass(), "authors-example.json"))
       .setChangelog(new Change("7.4", "The maximum size of 'ps' is set to 100"))
       .setHandler(this);
index 54c18ebc1869a931ed73386fdb401ae6562d346a..3d056984fe2268ca864b464c906b8d2d94270b7a 100644 (file)
@@ -69,7 +69,7 @@ public class ComponentTagsAction implements IssuesWsAction {
       .setSince("5.1")
       .setInternal(true)
       .setDescription("List tags for the issues under a given component (including issues on the descendants of the component)"
-          + "<br/>When issue indexation is in progress returns 503 service unavailable HTTP code.")
+          + "<br/>When issue indexing is in progress returns 503 service unavailable HTTP code.")
       .setResponseExample(Resources.getResource(getClass(), "component-tags-example.json"));
 
     action.createParam(PARAM_COMPONENT_UUID)
index ced4cd9ab8ca01a55f1f1f08d0c9d6497b975919..4b4421c857836cb0dddaf21d01501102999f0cb6 100644 (file)
@@ -91,7 +91,7 @@ public class ListAction implements IssuesWsAction {
       .createAction(ACTION_LIST)
       .setHandler(this)
       .setInternal(true)
-      .setDescription("List issues. This endpoint is used in degraded mode, when issue indexation is running." +
+      .setDescription("List issues. This endpoint is used in degraded mode, when issue indexing is running." +
                       "<br>Either 'project' or 'component' parameter is required." +
                       "<br>Total number of issues will be always equal to a page size, as this counting all issues is not supported. " +
                       "<br>Requires the 'Browse' permission on the specified project. ")
index 01db728b05ccd85eb7efa51786b1f7dca46eaafc..8e6f747604ccd02190cdbf425fc7b780509e6060 100644 (file)
@@ -209,7 +209,7 @@ public class SearchAction implements IssuesWsAction {
       .setHandler(this)
       .setDescription("Search for issues.<br>Requires the 'Browse' permission on the specified project(s). <br>"
         + "For applications, it also requires 'Browse' permission on its child projects."
-        + "<br/>When issue indexation is in progress returns 503 service unavailable HTTP code.")
+        + "<br/>When issue indexing is in progress returns 503 service unavailable HTTP code.")
       .setSince("3.6")
       .setChangelog(
         new Change("10.4", "Added new param '%s'".formatted(PARAM_FIXED_IN_PULL_REQUEST)),
index 86cd9fa116b3e3a6883e86f698c45814d1e555f9..2f8e794111cc3fdb340e1496ce378f990d6bd496 100644 (file)
@@ -650,7 +650,7 @@ project_branch_pull_request.branch.delete=Delete branch
 project_branch_pull_request.branch.actions_label=Update {0}
 project_branch_pull_request.branch.delete.are_you_sure=Are you sure you want to delete branch "{name}"?
 project_branch_pull_request.branch.main_branch.are_you_sure=Are you sure you want to set branch "{branch}" as the main branch of this project?
-project_branch_pull_request.branch.main_branch.requires_reindex=Changing the main branch of your project will trigger a project re-indexation and may impact the level of information that is available until re-indexing is complete.
+project_branch_pull_request.branch.main_branch.requires_reindex=Changing the main branch of your project will trigger a project re-indexing and may impact the level of information that is available until re-indexing is complete.
 project_branch_pull_request.branch.main_branch.learn_more=Please refer to the {documentation} to understand the impacts of changing the main branch.
 project_branch_pull_request.branch.auto_deletion.keep_when_inactive=Keep when inactive
 project_branch_pull_request.branch.auto_deletion.keep_when_inactive.tooltip=When turned on, the branch will not be automatically deleted when inactive.
@@ -5126,7 +5126,7 @@ maintenance.sonarqube_is_offline.text=The connection to SonarQube is lost. Pleas
 
 #------------------------------------------------------------------------------
 #
-# INDEXATION
+# INDEXING
 #
 #------------------------------------------------------------------------------
 indexation.in_progress=Reindexing in progress.
index e8c7086168aee1bd8829461d4ef2a7517246f9fe..3aa51baeca4d45530faa350366fdbcafbc343726 100644 (file)
@@ -84,7 +84,7 @@ public class ProjectFileIndexer {
   }
 
   public void index() {
-    progressReport = new ProgressReport("Report about progress of file indexation", TimeUnit.SECONDS.toMillis(10));
+    progressReport = new ProgressReport("Report about progress of file indexing", TimeUnit.SECONDS.toMillis(10));
     progressReport.start("Indexing files...");
     LOG.info("Project configuration:");
     projectExclusionFilters.log("  ");