Commit ae788edd by neel

Enabled audit logs in all services

parent 0fbafda4
...@@ -51,8 +51,9 @@ public class LeaderCalc { ...@@ -51,8 +51,9 @@ public class LeaderCalc {
LeaderCalcConfig LeaderCalcConfig; LeaderCalcConfig LeaderCalcConfig;
@PostMapping(value = "/leaderCalculation", headers = "Accept=application/json") @PostMapping(value = "/leaderCalculation", headers = "Accept=application/json")
@ApiOperation("Create leadercalc") @ApiOperation("Create leadercalc")
// @AuditLogs(isRequest = true, isResponse = true,service="Create leadercalc") @AuditLogs(isRequest = true, isResponse = true,service="leadercalc")
//Neel – 20-Apr-2020 – Tata - Leader calculation – Added method for calculation of leader sheet
public ResponseEntity<?> Calculate(@RequestBody Map<String, Object> lookupRequestObject) throws JsonProcessingException { public ResponseEntity<?> Calculate(@RequestBody Map<String, Object> lookupRequestObject) throws JsonProcessingException {
System.out.println("in fyc contrroler"); System.out.println("in fyc contrroler");
System.out.println("in fycmapping"); System.out.println("in fycmapping");
......
...@@ -53,7 +53,7 @@ public class NGPACalc { ...@@ -53,7 +53,7 @@ public class NGPACalc {
LeaderCalcConfig LeaderCalcConfig; LeaderCalcConfig LeaderCalcConfig;
@PostMapping(value = "/ngpaCalculation", headers = "Accept=application/json") @PostMapping(value = "/ngpaCalculation", headers = "Accept=application/json")
@ApiOperation("Create ngpacalc") @ApiOperation("Create ngpacalc")
// @AuditLogs(isRequest = true, isResponse = true,service="Create leadercalc") @AuditLogs(isRequest = true, isResponse = true,service="Ngpa service")
@JsonSerialize @JsonSerialize
public ResponseEntity<?> CalculateNGPA(@RequestBody Map<String, Object> lookupRequestObject) throws JsonProcessingException { public ResponseEntity<?> CalculateNGPA(@RequestBody Map<String, Object> lookupRequestObject) throws JsonProcessingException {
System.out.println("in ngpa contrroler"); System.out.println("in ngpa contrroler");
......
...@@ -52,7 +52,7 @@ public class NGPAtoNGPLCalc { ...@@ -52,7 +52,7 @@ public class NGPAtoNGPLCalc {
LeaderCalcConfig LeaderCalcConfig; LeaderCalcConfig LeaderCalcConfig;
@PostMapping(value = "/ngpatongplCalculation", headers = "Accept=application/json") @PostMapping(value = "/ngpatongplCalculation", headers = "Accept=application/json")
@ApiOperation("Create ngplcalc") @ApiOperation("Create ngplcalc")
// @AuditLogs(isRequest = true, isResponse = true,service="Create leadercalc") @AuditLogs(isRequest = true, isResponse = true,service="ngpatongplcalc")
@JsonSerialize @JsonSerialize
public ResponseEntity<?> CalculateNGPL(@RequestBody Map<String, Object> lookupRequestObject) throws JsonProcessingException { public ResponseEntity<?> CalculateNGPL(@RequestBody Map<String, Object> lookupRequestObject) throws JsonProcessingException {
System.out.println("in ngpl contrroler"); System.out.println("in ngpl contrroler");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment