From 282643721927c24987ba753f4928660f692d5efc Mon Sep 17 00:00:00 2001 From: Sophio Japharidze Date: Thu, 19 Dec 2024 13:31:05 +0100 Subject: [PATCH] SLLS-290 support Ansible in Connected Mode --- pom.xml | 2 +- .../java/org/sonarsource/sonarlint/ls/EnabledLanguages.java | 3 ++- .../sonarlint/ls/mediumtests/ConnectedModeMediumTests.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 2f78f3d01..1cb0f3745 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ 17 - 10.12.1.79852 + 10.13.0.79879 1.6.10 diff --git a/src/main/java/org/sonarsource/sonarlint/ls/EnabledLanguages.java b/src/main/java/org/sonarsource/sonarlint/ls/EnabledLanguages.java index 559830938..28345dfd3 100644 --- a/src/main/java/org/sonarsource/sonarlint/ls/EnabledLanguages.java +++ b/src/main/java/org/sonarsource/sonarlint/ls/EnabledLanguages.java @@ -57,7 +57,8 @@ private EnabledLanguages() { Language.APEX, Language.COBOL, Language.PLSQL, - Language.TSQL + Language.TSQL, + Language.ANSIBLE }; diff --git a/src/test/java/org/sonarsource/sonarlint/ls/mediumtests/ConnectedModeMediumTests.java b/src/test/java/org/sonarsource/sonarlint/ls/mediumtests/ConnectedModeMediumTests.java index 39bec8690..80ca7d326 100644 --- a/src/test/java/org/sonarsource/sonarlint/ls/mediumtests/ConnectedModeMediumTests.java +++ b/src/test/java/org/sonarsource/sonarlint/ls/mediumtests/ConnectedModeMediumTests.java @@ -95,7 +95,7 @@ class ConnectedModeMediumTests extends AbstractLanguageServerMediumTests { private static final String PYTHON_S1481 = "python:S1481"; private static final String PYTHON_S1313 = "python:S1313"; private static final String PROJECT_KEY = "myProject"; - public static final String LANGUAGES_LIST = "apex,c,cpp,cs,css,cobol,web,java,js,php,plsql,py,secrets,tsql,ts,xml,yaml,json,go,cloudformation,docker,kubernetes,terraform,azureresourcemanager"; + public static final String LANGUAGES_LIST = "apex,c,cpp,cs,css,cobol,web,java,js,php,plsql,py,secrets,tsql,ts,xml,yaml,json,go,cloudformation,docker,kubernetes,terraform,azureresourcemanager,ansible"; @RegisterExtension private final MockWebServerExtension mockWebServerExtension = new MockWebServerExtension();