Feat: Update the logger config to show the parent_id

This commit is contained in:
Manendra Pal Singh
2026-01-28 21:29:37 +05:30
parent a42159ddb4
commit 8948479dea
9 changed files with 104 additions and 13 deletions

View File

@@ -22,7 +22,8 @@ func TestNewPreProcessorSuccessCases(t *testing.T) {
{
name: "BAP role with valid context",
config: &Config{
Role: "bap",
Role: "bap",
ParentID: "bap:bap-123",
},
requestBody: map[string]interface{}{
"context": map[string]interface{}{
@@ -38,7 +39,8 @@ func TestNewPreProcessorSuccessCases(t *testing.T) {
{
name: "BPP role with valid context",
config: &Config{
Role: "bpp",
Role: "bpp",
ParentID: "bap:bap-123",
},
requestBody: map[string]interface{}{
"context": map[string]interface{}{