diff options
author | kaixiliu <liukaixi@chinamobile.com> | 2023-06-14 15:29:55 +0800 |
---|---|---|
committer | kaixiliu <liukaixi@chinamobile.com> | 2023-06-14 15:30:13 +0800 |
commit | 254facd32db93db81f906074a116eeb1b6c5b1b3 (patch) | |
tree | 796c442a51636e1bed6442cb10f575bd54c99359 | |
parent | 2066b6f83bf3d178cdd3ac99b5b0abf03984c253 (diff) |
Delete extra blank lines5.2.2
Issue-ID: USECASEUI-812
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Change-Id: I44b3f92a5b5b51e03b61106214e92fb44f36af65
-rwxr-xr-x | server/src/main/java/org/onap/usecaseui/server/controller/PerformanceController.java | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/controller/PerformanceController.java b/server/src/main/java/org/onap/usecaseui/server/controller/PerformanceController.java index 5366e4ba..cb433917 100755 --- a/server/src/main/java/org/onap/usecaseui/server/controller/PerformanceController.java +++ b/server/src/main/java/org/onap/usecaseui/server/controller/PerformanceController.java @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.onap.usecaseui.server.controller; +package org.onap.usecaseui.server.controller; import java.text.ParseException; import java.text.SimpleDateFormat; @@ -47,7 +47,6 @@ import org.springframework.web.bind.annotation.RestController; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; - @RestController @Configuration @EnableAspectJAutoProxy @@ -60,18 +59,17 @@ public class PerformanceController { private PerformanceInformationService performanceInformationService; private Logger logger = LoggerFactory.getLogger(PerformanceController.class); - + public void setPerformanceHeaderService(PerformanceHeaderService performanceHeaderService) { this.performanceHeaderService = performanceHeaderService; } - public void setPerformanceInformationService(PerformanceInformationService performanceInformationService) { this.performanceInformationService = performanceInformationService; } private ObjectMapper omPerformance = new ObjectMapper(); - + @GetMapping(value = {"/performance/{currentPage}/{pageSize}"}, produces = "application/json") public String getPerformanceData(@PathVariable String currentPage, @PathVariable String pageSize, @@ -94,7 +92,7 @@ public class PerformanceController { return omPerformance.writeValueAsString("failed"); } } - + @GetMapping(value = {"/performance/queryAllSourceNames"}) public String getSourceIds(){ try { @@ -104,7 +102,7 @@ public class PerformanceController { return ""; } } - + @RequestMapping("/performance/getPerformanceHeaderDetail/{id}") public String getPerformanceHeaderDetail(@PathVariable String id) throws JsonProcessingException { PerformanceHeader performanceHeader= performanceHeaderService.getPerformanceHeaderById(id); @@ -121,7 +119,7 @@ public class PerformanceController { String string =omPerformance.writeValueAsString(map); return string; } - + @GetMapping(value = {"/performance/getSourceNames/{currentPage}/{pageSize}"}, produces = "application/json") public String getPerformanceSourceNames(@PathVariable String currentPage,@PathVariable String pageSize, @RequestParam(required = false) String sourceName) throws JsonProcessingException{ |