Skip to content

Commit 2d1c442

Browse files
committed
Apply Sonarqube updates
1 parent d354914 commit 2d1c442

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.github/workflows/ci-all.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
- name: Build All Services
2222
run: mvn clean install -DskipTests
2323

24+
- name: SonarQube Analysis
25+
run: |
26+
mvn sonar:sonar \
27+
-Dsonar.projectKey=spring-dynamic-microservices \
28+
-Dsonar.host.url=${{ secrets.SONAR_HOST_URL }} \
29+
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
30+
2431
- name: Set up Docker Buildx
2532
uses: docker/setup-buildx-action@v3
2633

gateway-service/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ eureka:
2626

2727
logging:
2828
level:
29-
org.springframework.cloud.gateway: DEBUG
29+
"[org.springframework.cloud.gateway]": DEBUG

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
<java.version>17</java.version> <!-- Or your JDK version -->
2020
<spring-cloud.version>2023.0.0</spring-cloud.version>
2121
</properties>
22+
<parent>
23+
<groupId>org.springframework.boot</groupId>
24+
<artifactId>spring-boot-starter-parent</artifactId>
25+
<version>3.2.12</version> <!-- or 3.3.1 if using latest -->
26+
<relativePath /> <!-- lookup parent from repository -->
27+
</parent>
2228

2329

2430
<dependencyManagement>

0 commit comments

Comments
 (0)