Skip to content

Commit 3c1ad98

Browse files
Update deps
1 parent 8fcdf1b commit 3c1ad98

4 files changed

Lines changed: 22 additions & 2 deletions

File tree

.github/actions/slack-notify/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ runs:
5252
"text": "*Workflow Run Link:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Run Details>"
5353
}
5454
},
55+
{
56+
"type": "section",
57+
"text": {
58+
"type": "mrkdwn",
59+
"text": ":bust_in_silhouette: Commit of message ${{ github.event.head_commit.message }} commited by **${{ github.event.head_commit.author.name }}** has caused a failure.\n*Ref*: <${{ github.event.head_commit.url }}|${{ github.sha }}>"
60+
}
61+
},
5562
{
5663
"type": "section",
5764
"text": {

.github/workflows/backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132

133133
- name: Run Trivy vulnerability scanner on Java dependencies
134134
uses: aquasecurity/trivy-action@master
135-
# continue-on-error: true
135+
continue-on-error: true
136136
with:
137137
scan-type: 'fs'
138138
scan-ref: './backend'
@@ -174,7 +174,7 @@ jobs:
174174

175175
- name: Run Trivy vulnerability scanner for the entire image artifact
176176
uses: aquasecurity/trivy-action@master
177-
#continue-on-error: true
177+
continue-on-error: true
178178
with:
179179
image-ref: localbuild/backend:${{ env.TAG }}
180180
severity: 'HIGH,CRITICAL'

backend/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,15 @@
5757
<scope>runtime</scope>
5858
</dependency>
5959

60+
<dependency>
61+
<groupId>org.springframework.boot</groupId>
62+
<artifactId>spring-boot-starter-actuator</artifactId>
63+
</dependency>
64+
65+
<dependency>
66+
<groupId>io.micrometer</groupId>
67+
<artifactId>micrometer-registry-prometheus</artifactId>
68+
</dependency>
6069
<!-- Lombok -->
6170
<dependency>
6271
<groupId>org.projectlombok</groupId>
@@ -151,6 +160,7 @@
151160
</plugins>
152161
</build>
153162

163+
154164
<distributionManagement>
155165
<repository>
156166
<id>github</id>

backend/src/main/resources/application.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ spring.data.mongodb.uri=${MONGO_URI}
1818

1919
# Server Configuration
2020
server.port=8080
21+
22+
management.endpoints.web.exposure.include=*
23+
management.endpoint.health.show-details=always

0 commit comments

Comments
 (0)