https://access.redhat.com/documentation/id-id/red_hat_build_of_apache_camel/4.4
We are using Apache Camel
version 4.4.0
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.redhat.camel.springboot.platform</groupId>
<artifactId>camel-spring-boot-bom</artifactId>
<version>4.4.0.redhat-00014</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
$ curl -kv http://localhost:8080/api/hello-world
* Trying [::1]:8080...
* Connected to localhost (::1) port 8080
> GET /api/hello-world HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 200
< accept: */*
< user-agent: curl/8.4.0
< Content-Type: application/json
< Transfer-Encoding: chunked
< Date: Sun, 14 Jul 2024 05:34:37 GMT
<
* Connection #0 to host localhost left intact
{"hello":"world"}
We are using registry.redhat.io/fuse7/fuse-java-openshift-jdk17-rhel8:1.13
for this application.
At this point in time (14 July 2024), there is no HIGH
or CRITICAL
vulnerabilities visible on the image. Scan is being done by using Aquasec Trivy
2024-07-14T12:29:38+07:00 INFO Vulnerability scanning is enabled
2024-07-14T12:30:13+07:00 INFO [python] License acquired from METADATA classifiers may be subject to additional terms name="setuptools" version="39.2.0"
2024-07-14T12:30:13+07:00 INFO Detected OS family="redhat" version="8.10"
2024-07-14T12:30:13+07:00 INFO [redhat] Detecting RHEL/CentOS vulnerabilities... os_version="8" pkg_num=190
2024-07-14T12:30:13+07:00 INFO Number of language-specific files num=1
2024-07-14T12:30:13+07:00 INFO [jar] Detecting vulnerabilities...
registry.redhat.io/fuse7/fuse-java-openshift-jdk17-rhel8:1.13 (redhat 8.10)
Total: 118 (UNKNOWN: 0, LOW: 90, MEDIUM: 28, HIGH: 0, CRITICAL: 0)
podman run -p 8080:8080 localhost/spring-boot-camel-4-java-17
Starting the Java application using /opt/run-java/run-java.sh ...
exec java -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties -javaagent:/opt/prometheus/jmx_prometheus_javaagent.jar=9779:/opt/prometheus/prometheus-config.yml -Xmx1954m -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp . -jar /deployments/application.jar
I> No access restrictor found, access to any MBean is allowed
Jolokia: Agent started with URL http://10.88.0.38:8778/jolokia/
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.5)
2024-06-25T18:31:29.432Z INFO 1 --- [ main] com.edw.Main : Starting Main using Java 17.0.11 with PID 1 (/deployments/application.jar started by jboss in /deployments)
2024-06-25T18:31:29.490Z DEBUG 1 --- [ main] com.edw.Main : Running with Spring Boot v3.2.5, Spring v6.1.6
..........
..........
2024-06-25T18:31:51.106Z INFO 1 --- [ main] com.edw.Main : Started Main in 24.809 seconds (process running for 29.219)
2024-06-25T18:31:51.747Z INFO 1 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2671 ms