Skip to content

Commit

Permalink
feat : adds new sbom
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed May 24, 2024
1 parent 1eccafd commit 8f12833
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,16 @@
"projectName": "boot-hibernate2ndlevelcache-sample",
"args": "",
"envFile": "${workspaceFolder}/.env"
},
{
"type": "java",
"name": "Spring Boot-TestApplication<batch-boot-jpa-sample>",
"request": "launch",
"cwd": "${workspaceFolder}",
"mainClass": "com.example.bootbatchjpa.TestApplication",
"projectName": "batch-boot-jpa-sample",
"args": "",
"envFile": "${workspaceFolder}/.env"
}
]
}
1 change: 1 addition & 0 deletions batch-boot-jpa-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ You can also run the application using Maven as follows:
* Swagger UI: http://localhost:8080/swagger-ui.html
* Actuator Endpoint: http://localhost:8080/actuator
* PgAdmin : http://localhost:5050
* SBOM : http://localhost:8080/actuator/sbom/application
4 changes: 4 additions & 0 deletions batch-boot-jpa-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spring.jmx.enabled=false
spring.mvc.problemdetails.enabled=true

################ Actuator #####################
management.endpoints.web.exposure.include=configprops,env,health,info,logfile,loggers,metrics,prometheus
management.endpoints.web.exposure.include=configprops,env,health,info,logfile,loggers,metrics,prometheus,sbom
management.endpoint.health.show-details=always

################ Database #####################
Expand Down

0 comments on commit 8f12833

Please sign in to comment.