New Text Document
New Text Document
Course Overview
Getting Started
Mastering Microservices Architecture
Exposing Microservices REST APIs
Implementing Paging & Sorting
Implementing Custom Search APIs
Leveraging Complex Relationships
Testing Microservices REST APIs
Documenting Microservices REST APIs
Maven Fundamentals
Course Overview
Introduction to Maven
Structure
Dependencies
Repositories
Plugins
IDE Integration
Course Overview
An Overview of Git and GitHub
Getting Started with GitHub
Working with Repositories
Collaborating Using the GitHub Flow
Tracking Issues and Creating Releases
Creating a GitHub Wiki
Working with Social Features
Course Overview
Writing Your First Test
Writing More Complex Tests
Making Existing Code Testable
Writing Tests First
Expanding Your Knowledge
Java Microservices with Spring Cloud: Developing Services
Course Overview
Introduction to Microservices, Spring Boot, and Spring Cloud
Simplifying Environment Management with Centralized Configuration
Offloading Asynchronous Activities with Lightweight, Short-lived Tasks
Securing Your Microservices with a Declarative Model
Chasing Down Performance Issues Using Distributed Tracing
Course Introduction
Anonymous Blocks
PL/SQL Commonly Used Datatypes
Loops
Conditional Execution
Cursors
Exceptions
Debugging
@Override
public Task editTask(Integer task_id, Task task) {
taskRepo.save(task);
return taskRepo.findById(task_id).get();
}
@Override
public Task getTaskById(Integer id) {
return taskRepo.getById(id);
}
@PutMapping("/edit-task?user_id={role_id}&task_id={task_id}")
public ResponseEntity<Task> editTask(@PathVariable() Integer task_id, Task
task) {
return new ResponseEntity<>(taskService.editTask(task_id, task),
HttpStatus.OK);
@DeleteMapping("/delete-task?user_id={role_id}&task_id={task_id}")
public ResponseEntity<String> deleteTask(@PathVariable("task_id") Integer
task_id) {
taskService.deleteTask(task_id);
return new ResponseEntity<String>("Successfully Deleted the Task" +
task_id, HttpStatus.OK);
}