Skip to content

Commit

Permalink
Quickstarts: Improve it/spring-boot-with-jib integration test (#1803)
Browse files Browse the repository at this point in the history
* improved it/spring-boot-with-jib/src/main/java/io/fabric8/maven/sample/springboot/jib/HelloController.java

Signed-off-by: mdxabu <[email protected]>

* Improve it/spring-boot-with-jib integration test

Signed-off-by: mdxabu <[email protected]>

---------

Signed-off-by: mdxabu <[email protected]>
  • Loading branch information
mdxabu authored Nov 21, 2024
1 parent 84790ac commit 76f4aee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion it/spring-boot-with-jib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<docker.user>fabric8</docker.user>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<spring.version>2.5.12</spring.version>
<spring.version>2.7.9</spring.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package io.fabric8.maven.sample.springboot.jib;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class HelloController {

@RequestMapping("/")
@GetMapping("/")
public String index() {
return "<h1>Greetings from Spring Boot(Powered by JIB)!!</h1>";
}
Expand Down

0 comments on commit 76f4aee

Please sign in to comment.