Skip to content

Merge branch 'devTests' into removePartitionId

5970c24
Select commit
Loading
Failed to load commit list.
Closed

Code cleaning : Remove partitionId from context #435

Merge branch 'devTests' into removePartitionId
5970c24
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 27, 2026 in 21s

Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 81 in src/main/java/fr/insee/genesis/controller/rest/responses/QuestionnaireController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9un7LGYs4ijM_DY&open=AZ0pn9un7LGYs4ijM_DY&pullRequest=435

Check warning on line 103 in src/main/java/fr/insee/genesis/domain/service/metadata/QuestionnaireMetadataService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9t47LGYs4ijM_DK&open=AZ0pn9t47LGYs4ijM_DK&pullRequest=435

Check warning on line 141 in src/test/java/fr/insee/genesis/domain/service/contextualvariable/ContextualVariableJsonServiceTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce the number of assertions from 31 to less than 25.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9yR7LGYs4ijM_Dj&open=AZ0pn9yR7LGYs4ijM_Dj&pullRequest=435

Check warning on line 193 in src/main/java/fr/insee/genesis/domain/service/context/DataProcessingContextService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9rr7LGYs4ijM_C-&open=AZ0pn9rr7LGYs4ijM_C-&pullRequest=435

Check warning on line 442 in src/main/java/fr/insee/genesis/controller/rest/responses/ResponseController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9wE7LGYs4ijM_Df&open=AZ0pn9wE7LGYs4ijM_Df&pullRequest=435

Check warning on line 91 in src/main/java/fr/insee/genesis/domain/service/context/DataProcessingContextService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9rr7LGYs4ijM_C3&open=AZ0pn9rr7LGYs4ijM_C3&pullRequest=435

Check warning on line 82 in src/main/java/fr/insee/genesis/controller/rest/responses/QuestionnaireController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the missing @deprecated Javadoc tag.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9un7LGYs4ijM_DX&open=AZ0pn9un7LGYs4ijM_DX&pullRequest=435

Check warning on line 85 in src/main/java/fr/insee/genesis/controller/rest/responses/InterrogationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9vQ7LGYs4ijM_Dc&open=AZ0pn9vQ7LGYs4ijM_Dc&pullRequest=435

Check warning on line 35 in src/main/java/fr/insee/genesis/domain/ports/api/LunaticJsonRawDataApiPort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9pp7LGYs4ijM_Cr&open=AZ0pn9pp7LGYs4ijM_Cr&pullRequest=435

Check warning on line 585 in src/main/java/fr/insee/genesis/domain/service/rawdata/LunaticJsonRawDataService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the missing @deprecated Javadoc tag.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9s47LGYs4ijM_DI&open=AZ0pn9s47LGYs4ijM_DI&pullRequest=435

Check warning on line 34 in src/main/java/fr/insee/genesis/domain/ports/api/LunaticJsonRawDataApiPort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9pp7LGYs4ijM_Cq&open=AZ0pn9pp7LGYs4ijM_Cq&pullRequest=435

Check warning on line 32 in src/main/java/fr/insee/genesis/domain/ports/api/LunaticJsonRawDataApiPort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the missing @deprecated Javadoc tag.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9pp7LGYs4ijM_Cp&open=AZ0pn9pp7LGYs4ijM_Cp&pullRequest=435

Check warning on line 24 in src/main/java/fr/insee/genesis/domain/ports/api/LunaticJsonRawDataApiPort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the missing @deprecated Javadoc tag.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9pp7LGYs4ijM_Cm&open=AZ0pn9pp7LGYs4ijM_Cm&pullRequest=435

Check warning on line 363 in src/test/java/fr/insee/genesis/controller/rest/responses/ResponseControllerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9zV7LGYs4ijM_Do&open=AZ0pn9zV7LGYs4ijM_Do&pullRequest=435

Check warning on line 70 in src/main/java/fr/insee/genesis/domain/ports/api/SurveyUnitApiPort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9q47LGYs4ijM_Cu&open=AZ0pn9q47LGYs4ijM_Cu&pullRequest=435

Check warning on line 201 in src/test/java/fr/insee/genesis/controller/rest/DataProcessingContextControllerIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9z57LGYs4ijM_Dr&open=AZ0pn9z57LGYs4ijM_Dr&pullRequest=435

Check warning on line 169 in src/main/java/fr/insee/genesis/domain/service/context/DataProcessingContextService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9rr7LGYs4ijM_C9&open=AZ0pn9rr7LGYs4ijM_C9&pullRequest=435

Check warning on line 82 in src/main/java/fr/insee/genesis/controller/rest/responses/QuestionnaireController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9un7LGYs4ijM_DW&open=AZ0pn9un7LGYs4ijM_DW&pullRequest=435

Check warning on line 247 in src/test/java/fr/insee/genesis/controller/rest/DataProcessingContextControllerIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9z57LGYs4ijM_Ds&open=AZ0pn9z57LGYs4ijM_Ds&pullRequest=435

Check warning on line 56 in src/main/java/fr/insee/genesis/controller/rest/responses/ModeController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9uP7LGYs4ijM_DO&open=AZ0pn9uP7LGYs4ijM_DO&pullRequest=435

Check warning on line 107 in src/main/java/fr/insee/genesis/domain/ports/api/SurveyUnitApiPort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9q47LGYs4ijM_Cw&open=AZ0pn9q47LGYs4ijM_Cw&pullRequest=435

Check warning on line 69 in src/main/java/fr/insee/genesis/controller/rest/responses/QuestionnaireController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9un7LGYs4ijM_DT&open=AZ0pn9un7LGYs4ijM_DT&pullRequest=435

Check warning on line 23 in src/main/java/fr/insee/genesis/domain/ports/api/LunaticJsonRawDataApiPort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9pp7LGYs4ijM_Ck&open=AZ0pn9pp7LGYs4ijM_Ck&pullRequest=435

Check warning on line 64 in src/main/java/fr/insee/genesis/domain/service/context/DataProcessingContextService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9rr7LGYs4ijM_C0&open=AZ0pn9rr7LGYs4ijM_C0&pullRequest=435

Check warning on line 18 in src/main/java/fr/insee/genesis/domain/service/rawdata/CombinedRawDataService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ0pn9sk7LGYs4ijM_DB&open=AZ0pn9sk7LGYs4ijM_DB&pullRequest=435