Skip to content

Commit

Permalink
ci/cd endpoint test
Browse files Browse the repository at this point in the history
  • Loading branch information
m1u1s1 committed Nov 16, 2024
1 parent d6222d4 commit 2ae3701
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Random;
import java.util.Set;

@RestController
Expand Down Expand Up @@ -68,5 +69,10 @@ public ResponseEntity<List<PostResponse>> getRandomPosts(
return ResponseEntity.ok(randomPosts);
}

@GetMapping("/test-cicd")
public ResponseEntity<String> testCiCdPipeline() {
return ResponseEntity.ok("CI/CD Pipeline is working fine!");
}

}

0 comments on commit 2ae3701

Please sign in to comment.