From 16560c7ce6ea8f342a73668fdfd715ea7f6c936e Mon Sep 17 00:00:00 2001 From: MateuszKolankowski Date: Fri, 15 May 2026 13:26:45 +0200 Subject: [PATCH] Add Membership API configuration for segment resolution --- ibexa/cdp/5.0/config/packages/ibexa_cdp.yaml | 10 ++++++++++ ibexa/cdp/5.0/manifest.json | 4 +++- ibexa/cdp/6.0/config/packages/ibexa_cdp.yaml | 10 ++++++++++ ibexa/cdp/6.0/manifest.json | 4 +++- 4 files changed, 26 insertions(+), 2 deletions(-) diff --git a/ibexa/cdp/5.0/config/packages/ibexa_cdp.yaml b/ibexa/cdp/5.0/config/packages/ibexa_cdp.yaml index 04e84a3f..4a2afc85 100644 --- a/ibexa/cdp/5.0/config/packages/ibexa_cdp.yaml +++ b/ibexa/cdp/5.0/config/packages/ibexa_cdp.yaml @@ -30,6 +30,16 @@ # # Segment Group where CDP data will be imported to # segment_group_identifier: example_segment_group_identifier # +# # Uncomment to enable resolving segments for anonymous visitors via the Membership API +# membership: +# # Base URL for the Membership API +# base_url: 'https://cdp-api.raptorsmartadvisor.com' +# # Timeout in seconds for Membership API requests +# timeout: 5 +# # Credentials sent as X-ACTIVATION-ID and X-API-KEY headers +# activation_id: '%env(CDP_MEMBERSHIP_ACTIVATION_ID)%' +# api_key: '%env(CDP_MEMBERSHIP_API_KEY)%' +# #ibexa_cdp: # data_export: # schedule: diff --git a/ibexa/cdp/5.0/manifest.json b/ibexa/cdp/5.0/manifest.json index 28583a7d..eee7b6be 100644 --- a/ibexa/cdp/5.0/manifest.json +++ b/ibexa/cdp/5.0/manifest.json @@ -5,7 +5,9 @@ }, "env": { "CDP_ACTIVATION_CLIENT_ID": "123456", - "CDP_ACTIVATION_CLIENT_SECRET": "abcdef" + "CDP_ACTIVATION_CLIENT_SECRET": "abcdef", + "CDP_MEMBERSHIP_ACTIVATION_ID": "activation-id", + "CDP_MEMBERSHIP_API_KEY": "api-key" }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/" diff --git a/ibexa/cdp/6.0/config/packages/ibexa_cdp.yaml b/ibexa/cdp/6.0/config/packages/ibexa_cdp.yaml index 04e84a3f..4a2afc85 100644 --- a/ibexa/cdp/6.0/config/packages/ibexa_cdp.yaml +++ b/ibexa/cdp/6.0/config/packages/ibexa_cdp.yaml @@ -30,6 +30,16 @@ # # Segment Group where CDP data will be imported to # segment_group_identifier: example_segment_group_identifier # +# # Uncomment to enable resolving segments for anonymous visitors via the Membership API +# membership: +# # Base URL for the Membership API +# base_url: 'https://cdp-api.raptorsmartadvisor.com' +# # Timeout in seconds for Membership API requests +# timeout: 5 +# # Credentials sent as X-ACTIVATION-ID and X-API-KEY headers +# activation_id: '%env(CDP_MEMBERSHIP_ACTIVATION_ID)%' +# api_key: '%env(CDP_MEMBERSHIP_API_KEY)%' +# #ibexa_cdp: # data_export: # schedule: diff --git a/ibexa/cdp/6.0/manifest.json b/ibexa/cdp/6.0/manifest.json index 28583a7d..eee7b6be 100644 --- a/ibexa/cdp/6.0/manifest.json +++ b/ibexa/cdp/6.0/manifest.json @@ -5,7 +5,9 @@ }, "env": { "CDP_ACTIVATION_CLIENT_ID": "123456", - "CDP_ACTIVATION_CLIENT_SECRET": "abcdef" + "CDP_ACTIVATION_CLIENT_SECRET": "abcdef", + "CDP_MEMBERSHIP_ACTIVATION_ID": "activation-id", + "CDP_MEMBERSHIP_API_KEY": "api-key" }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/"