We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b33aa5b commit 9881971Copy full SHA for 9881971
1 file changed
memex/src/main/java/com/johnlpage/memex/VehicleInspection/controller/VehicleInspectionController.java
@@ -70,16 +70,6 @@ public ResponseEntity<Vehicle> vehicleById(@PathVariable Long id) {
70
.orElse(ResponseEntity.notFound().build());
71
}
72
73
- @PostMapping("/inspection")
74
- public void oneinspection(@RequestBody VehicleInspection inspection) {
75
- LOG.warn("Saving vehicle inspection: {}", inspection);
76
- try {
77
- vehicleInspectionRepository.save(inspection);
78
- }
79
- catch (Exception e) {
80
- LOG.error(e.getMessage());
81
82
83
84
/**
85
* This could be something that reads a file, or even from a Kafka Queue as long as it gets a
0 commit comments