File tree Expand file tree Collapse file tree 6 files changed +5
-304
lines changed
NotificationsService/NotificationsService Expand file tree Collapse file tree 6 files changed +5
-304
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public async Task<IActionResult> GetOpenPrs()
7474 }
7575 }
7676
77- _logger . LogInformation ( $ "Successfully processed { processedReviews . Count } reviews") ;
77+ _logger . LogDebug ( $ "Successfully processed { processedReviews . Count } reviews") ;
7878 return Ok ( processedReviews ) ;
7979 }
8080 catch ( Exception ex )
@@ -140,7 +140,7 @@ public IActionResult PostFeedback([FromBody] FeedbackRequest request)
140140 _logger . LogDebug ( $ "Received feedback: PR#{ request . prNumber } , Vote: { request . vote } ") ;
141141 //Console.WriteLine($"Received feedback: PR#{request.PrNumber}, Vote: {request.Vote}");
142142
143- return Ok ( new { message = "Feedback received" } ) ;
143+ return Ok ( new { message = "Feedback received by the Notifications Service " } ) ;
144144 }
145145
146146 // 4. POST action decision (Approve or Request Changes)
@@ -149,7 +149,7 @@ public IActionResult PostReview([FromBody] DecisionRequest request)
149149 {
150150 _logger . LogDebug ( $ "Received decision: PR#{ request . prNumber } , Decision: { request . decision } ") ;
151151 // call the git service to submit the decision to Git
152- return Ok ( new { message = "Decision received" } ) ;
152+ return Ok ( new { message = "Decision received by the Notifications Service " } ) ;
153153 }
154154 public object GetPrItemDetails ( Dictionary < string , AttributeValue > prItem )
155155 {
Original file line number Diff line number Diff line change @@ -553,14 +553,14 @@ private async Task SimulateNewPrs()
553553 // Implement IDisposable to properly clean up resources
554554 public void Dispose ( )
555555 {
556- _logger . LogInformation ( $ "Entered dispose-1") ;
556+ _logger . LogDebug ( $ "Entered dispose-1") ;
557557 Dispose ( true ) ;
558558 GC . SuppressFinalize ( this ) ;
559559 }
560560
561561 protected virtual void Dispose ( bool disposing )
562562 {
563- _logger . LogInformation ( $ "Entered dispose-2") ;
563+ _logger . LogDebug ( $ "Entered dispose-2") ;
564564 if ( _disposed ) return ;
565565
566566 if ( disposing )
You can’t perform that action at this time.
0 commit comments