Skip to content

Commit

Permalink
[DSD-5599]added changes for sonar coverage. (#279)
Browse files Browse the repository at this point in the history
* [DSD-5599]added changes for sonar coverage.

Signed-off-by: Mahesh.Binayak <[email protected]>

* [DSD-5599]added changes for sonar coverage and dco check

Signed-off-by: Mahesh.Binayak <[email protected]>

---------

Signed-off-by: Mahesh.Binayak <[email protected]>
  • Loading branch information
Mahesh-Binayak authored Jul 25, 2024
1 parent 049befb commit 90caa75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ To integrate any kafka(either local or remote) with hub following properties nee
- KAFKA_BOOTSTRAP_NODE

### Starting the IDP
After starting IDP and Auth service following properties need to updated in both websub service.
After starting IDP and Auth service following properties need to be updated in both websub service.

- MOSIP_AUTH_BASE_URL
- MOSIP_AUTH_VALIDATE_TOKEN_URL
Expand Down
17 changes: 4 additions & 13 deletions kafka-admin-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,10 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<skipTests>false</skipTests>
<skipTests>${skipTests}</skipTests>
<skip>false</skip>
<argLine>
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
--illegal-access=debug
--enable-preview
${argLine} --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --illegal-access=permit
</argLine>
</configuration>
</plugin>
Expand All @@ -134,14 +131,8 @@
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report-aggregate</goal>
<goal>report</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/site/jacoco-aggregate</outputDirectory>
<reportFormats>
<reportFormat>XML</reportFormat>
</reportFormats>
</configuration>
</execution>
</executions>
</plugin>
Expand Down Expand Up @@ -254,7 +245,7 @@
<properties>
<sonar.sources>.</sonar.sources>
<sonar.inclusions>src/main/java/**,src/main/resources/**</sonar.inclusions>
<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.exclusions>${sonar.coverage.exclusions}</sonar.exclusions>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<activation>
Expand Down

0 comments on commit 90caa75

Please sign in to comment.