Skip to content

Commit

Permalink
PRIME-2789 - Adjustments based on demo feedback (#2592)
Browse files Browse the repository at this point in the history
* Initial commit

* Adjustments based on demo feedback

* Change to cause build

---------

Co-authored-by: Jack Wong <[email protected]>
  • Loading branch information
neophyte57 and bergomi02 authored Sep 19, 2024
1 parent 024d9fb commit 3b988c3
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public async Task<ActionResult> GetGpidDetail()
await _vendorAPILogService.UpdateLogAsync(logId, SerializeObjectForLog(result));
var enrolleeStub = await _enrolleeService.GetEnrolleeStubAsync(User.GetPrimeUsername());
await _businessEventService.CreateEnrolleeEventAsync(enrolleeStub.Id,
$"First-time provisioning API (aka GetGpidDetail) returned data to calling entity {TranslateAuthorizedParty(authorizedParty)}");
$"\"First-Time Provisioning API\" (aka GetGpidDetail) returned data to calling entity {TranslateAuthorizedParty(authorizedParty)}");
return Ok(result);
}

Expand Down Expand Up @@ -289,7 +289,7 @@ private static string SerializeObjectForLog(object obj)
}

/// <summary>
/// Translate given to something PRIME administrator would understand
/// Translate given <paramref name="authorizedParty"/> to something PRIME administrator would understand
/// </summary>
/// <param name="authorizedParty"></param>
/// <returns></returns>
Expand All @@ -300,7 +300,9 @@ private string TranslateAuthorizedParty(string authorizedParty)
case "PRIME-POS-GPID":
return "Medinet";
case "PRIME-APPLICATION-LOCAL":
return "PRIME (testing)";
return "PRIME (testing in `dev`)";
case "PRIME-APPLICATION-TEST":
return "PRIME (testing in `test`)";
default:
return "N/A";
}
Expand Down

0 comments on commit 3b988c3

Please sign in to comment.