Skip to content

ADTT-777: Update SonarQube Configuration#1

Merged
azhar-saleem-infoway merged 11 commits intomainfrom
UpdateSonarQube
Nov 13, 2025
Merged

ADTT-777: Update SonarQube Configuration#1
azhar-saleem-infoway merged 11 commits intomainfrom
UpdateSonarQube

Conversation

@azhar-saleem-infoway
Copy link
Copy Markdown

No description provided.

cd matchbox-server
mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=AccessDigitalHealth_cicd-jira-automation
export MAVEN_OPTS="$MAVEN_OPTS -Dorg.slf4j.simpleLogger.defaultLogLevel=error"
mvn -B --no-transfer-progress -q verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=AccessDigitalHealth_cicd-jira-automation -l build.log
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that the correct project key?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 3'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rationale for the scheduled scan ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should have the trigger for the PR as well

pull_request:
    types: [opened, synchronize]

@azhar-saleem-infoway azhar-saleem-infoway merged commit 53be34d into main Nov 13, 2025
7 of 8 checks passed
@azhar-saleem-infoway azhar-saleem-infoway deleted the UpdateSonarQube branch November 14, 2025 15:04
azhar-saleem-infoway added a commit that referenced this pull request Nov 14, 2025
* core 6.5.7 and ahdis#339

* Update documentation

* Improve the CI coverage

* Use the right PostgreSQL dialect with Hibernate in configurations

Fixes ahdis#321

* Validation GUI: handle non-200 codes with an OperationOutcome

Fixes ahdis#326

* Update the changelog

* Optimize the NpmPackageVersionResourceEntity update

Fixes ahdis#341

* Fix the .editorconfig

* Optimize NpmPackageIndexBuilder.seeFile

Fixes ahdis#342

* patch ahdis#344

* ahdis#345 fix document validation

* server: rebuild the Angular GUI resources

* release 3.9.12

* Update Github workflows

* Inject the GUI version in the server

Fixes ahdis#346

* support for bundle option ahdis#348

* update core to 6.5.9

* json security

* validate composition ahdis#348

* remove NpmPackageIndexBuilder

* update changelog

* copilot fix

* fix np

* Use FhirTerser to simplify multi-version field accesses

* Validation: hide primitive/complex datatypes and logical models

Fixes ahdis#352

* Fix handling of the hl7.fhir.uv.extensions packages

Fixes ahdis#343

* Only disable FhirXVersTests on GitHub Actions

* Upgrade to HAPI 8.0.0 and FHIR Core 6.5.15

* Remove unneeded overridden classes

* Upgrade and clean dependencies

* Update the changelog

* Enhance code

* Fix the FHIR classes patching

* 4.0.0

* tag also latest

* update docs

* Fix handling of UTF-8 content in the validator GUI ahdis#363

Fixes ahdis#363

* add testcase for resolve() in Bundle

* PoC: support resolve() for references in Bundle

* fix NPE

* improve testcase

* use validationhostservices for resolve ahdis#361

* use uuid too

* update changelog

* Fix base64 resource in URL ahdis#363

* Reformat code

* Rebuild frontend

* update to 6.5.17

* refactor slicing

* ahdis#348 add validation info

* add ai analyze components to frontend

* implement logic for ai analyze

* add ai analysis as extension parameter

* display markdown validation results correctly

* add details to ai results

* remove ai analyze button and ai result tab

* add openai api key to application parameters

* add comboboxes for boolean settings

* implement langchain4j for ai anaysis

* add ai analyze button

* read default values for validation settings

* add claude to ai analysis

* add documentation for ai analysis

* fix javadoc errors

* change default value of llm parameters

* add llmProvider, modelName and apiKey references to CliContext

* update application properties

* add analyzeOutcomeWithAI to parameter list

* add analyzeOutcomeWithAI to CliContext constructor

* remove unused code in LLMConnector

* clean up LLMConnector

* only show ai analyze button when a llm is set

* update changelog.md

* fix llm provider configuration spelling

* fix ai analyze button always showing

* remove apiKey from CliContext.toString and CliContext extensions

* add googles gemini 2.5 pro preview model

* automatically perform ai analysis when validation has errors

* differenciate default and manual setting of ai analyze

* add analyzeOutcomeWithAIOnError parameter

* add analyzeOutcomeWithAIOnError to docs

* server: rebuild the Angular GUI resources

* update core to 6.5.18

* fix version

* ahdis#367 fml parse improvement

* update validation tutorial

* val: set showMessagesFromReferences to true ahdis#370

* Update frontend dependencies

* Clean the code

* Catch validated resource parsing exceptions

* Allow passing the filename in the GUI validation parameters

* Don't start validation without a profile

* Start validation from URL parameters before data loading

* Rebuild the frontend

* matchbox validation: html tags in result ahdis#371

* remove saveStringToFile function

* add fix exception during ai validation to changelog

* update core to 6.5.20

* Fix error thrown when opening a validation link in the GUI

Fixes ahdis#379

* Update matchbox-frontend/src/app/validate/validate.component.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix xml ai analysis

* update changelog with xml error fix

* Fix error thrown when opening a validation link in the GUI

Fixes ahdis#379

* Improve the QuestionnaireResponse $extract operation handling

* Improve parsing of media type

* Don't pass the default engine in HttpRequestWrapper

* Use HttpRequestWrapper in StructureMapListProvider

* Clarify use of CliContext.fhirVersion

We deprecate `matchbox.fhir.context.fhirVersion` in favor of `hapi.fhir.fhir_version`

* Use HttpRequestWrapper in ConformancePackageResourceProvider

* Add StructureMap parameter to QuestionnaireResponse/$Extract

* update core to 6.5.21

* 4.0.3

* 4.0.3

* GUI: fix dev proxy

* GUI: allow locking the validation profile selection

Fixes ahdis#385

* GUI: sort validation settings

* Rebuild the frontend

* Update changelog.md

add it to the 4.0.3 release

* When in "debug" mode, return the output from the transform wrapped in a parameters object.
(which is displayed by the fhirpath-lab)

* Update the CORS conditional property (HAPI changed since fork)

* add cors

* add cors

* remove enabled

* Update matchbox-server/src/main/java/ch/ahdis/matchbox/mappinglanguage/StructureMapTransformProvider.java

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* add trace parameter

* fix javadoc

* update config for 4.0.4 ahdis#389 ahdis#384

* update cda-r5 config

* fix common mark and package loading

* fix circular dependencies

* update test ig for class loading

* reduce to debug log

* Create java-sonar-build.yml

Add support for SonarQube

* Update pom.xml

Added sonar properties

* ADTT-777: Update SonarQube Configuration (#1)

* server: rebuild the Angular GUI resources

* Sync fork with parent Main branch (#3)

* implement mcp server for validation

* implement mcp like example project

* add WebMvcSseServerTransportProvider to McpConfig

* Clean the MCP implementation

* return list of validation messages in mcp tool

* remove commented code

* extend changelog with mcp server integration

* add version numbers for mcp dependencies

* check if resource and profile are empty or null in validateResource tool

* set matchIfMissing to false in MCP Configuration

* suppress error messages for known issues [ahdis#395]

* Update matchbox-engine/src/main/java/ch/ahdis/matchbox/engine/ValidationPolicyAdvisor.java

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Update docs/matchbox-server.md

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* ahdis#395 suppress Type_Specific_Checks_DT_URL_Resolve for IPS

* update to regex

* fix test

* 4.0.5 version

* improve error logging

* fix security issues

* server: rebuild the Angular GUI resources

* update core to 6.2.25

* ahdis#401 suppress error on invariants

* release 4.0.5

* ahdis#392, ahdis#399: fix cap statement, llm api key

* update to v4.0.6

* add validation with ai tutorial to docs

* Update docs/validation-with-ai-tutorial.md

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Update docs/validation-with-ai-tutorial.md

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* 4.0.7

* suppressErrors ahdis#405

* fix ig handling for suppressErrors

* ahdis#408 and ahdis#409

* Update docs/changelog.md

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* 411 update to  6.5.27

* Update execution order in readme

* 4.10.0 branch

* ahdis#415, ahdis#407

* fix pom

* update test for CDANarrative

* fix context

* update changelog

* ahdis#407, ahdis#417

* update to 4.0.11

* fix tho packge loading

* Tx: responses use the right FHIR version

* Upgrade to Tomcat 10.1.44

Fixes CVE-2025-48989 / GHSA-gqp3-2cvr-x8m3 / ahdis#82

* Move the internal terminology server to its own servlet

* Improve the HTMLClientLogger

* Add logging to TerminologyCache

* Update docs/validation.md

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Update docs/validation.md

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Update unit tests

* ahdis#425 Prevent multithreading issue in TerminologyCache

* Tx: also support R4B and R5 servers

* Tx: fix unit tests

* update to core 6.6.5 and ahdis#425

* prepare for 4.0.12

* ahdis#425

* move terminologycache to core

* multithreading validation issues
Fixes ahdis#425

* fix np

* Fix documentation publication

* Update Maven Central publication

* update readme

* follow hap-fhir-jpa approach

* update mcp integration

* further work on mcp

* Update matchbox-server/src/main/java/ch/ahdis/matchbox/mcp/ToolFactory.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update matchbox-server/src/main/java/ca/uhn/fhir/rest/server/McpFhirBridge.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update matchbox-server/src/main/java/ca/uhn/fhir/rest/server/McpMatchboxBridge.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update matchbox-server/src/main/java/ca/uhn/fhir/jpa/starter/mcp/RequestBuilder.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* server: rebuild the Angular GUI resources

* Update workflows

* Use auto-links to issues in changelog

* Update docs/changelog.md

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* further mcp integration ahdis#398

* fix version

* try to update node

* update home

* fix packages?

* server: rebuild the Angular GUI resources

* remove scan

* Upgrade Tomcat to fix CVE-2025-55752

* Extend gitignore

* Add support for ST.r2b datatype in matchbox-engine

Implements ST.r2b support for issue ahdis#439. ST.r2b is a CDA2 string datatype
variant that uses a value attribute instead of element content.

Changes:
- Added ST.r2b type declaration and mapping in datatypes.map
- Created test XML file with ST.r2b observation value
- Added test mapping file for ST.r2b observations
- Added Java test case TestObservationStR2b

Note: Test will pass once ST.r2b is added to the CDA core model.

Fixes ahdis#439

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update CDA Logical model for  ST.r2b

* use old package-lock.json

* v4.0.15

* Minor updates

* Update sonar pipeline.

* Update sonar pipeline.

---------

Co-authored-by: Noa Junod <noa.junod@ahdis.ch>
Co-authored-by: Quentin Ligier <quentin.ligier@bluewin.ch>
Co-authored-by: oliveregger <oliver.egger@ahdis.ch>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: oliveregger <2414516+oliveregger@users.noreply.github.com>
Co-authored-by: NoaJunod <42997808+NoaJunod@users.noreply.github.com>
Co-authored-by: gabriel0316 <81679576+gabriel0316@users.noreply.github.com>
Co-authored-by: Quentin Ligier <3299399+qligier@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>

* remove .idea folder from git.
updated .gitignore

* Remove Duplicate Postgres Dependency.

---------

Co-authored-by: oliveregger <oliver.egger@ahdis.ch>
Co-authored-by: Quentin Ligier <quentin.ligier@bluewin.ch>
Co-authored-by: oliveregger <2414516+oliveregger@users.noreply.github.com>
Co-authored-by: Michael Rebsamen <michael.rebsamen@balgrist.ch>
Co-authored-by: Noa Junod <noa.junod@ahdis.ch>
Co-authored-by: Quentin Ligier <3299399+qligier@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Brian Postlethwaite <brian_pos@hotmail.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: NoaJunod <42997808+NoaJunod@users.noreply.github.com>
Co-authored-by: gabriel0316 <81679576+gabriel0316@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants