08 Mar 2022 11:27 AM
I am trying to add key requests on one of our services as bellow :
/AXA_BE_pc_retail/sellingcsp/v1/selection/contract/[UUID]-POST
/AXA_BE_pc_retail/sellingcsp/v1/selection/[UUID]/partyRole/[UUID]-PUT
And knowing that i have added a naming rule : {Request:Name}-{HTTP-Method}
builtin:service.keyRequest.response.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),entityName(~"/AXA_BE_pc_retail/sellingcsp/v1/selection/contract/[UUID]-POST~")"))))):splitBy("dt.entity.service_method"):median:auto:sort(value(median,descending)):limit(10)
PartyRole
builtin:service.keyRequest.response.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),entityName(~"/AXA_BE_pc_retail/sellingcsp/v1/selection/[UUID]/partyRole-GET~")")),in("dt.entity.service_method",entitySelector("type(service_method),entityName(~"/AXA_BE_pc_retail/sellingcsp/v1/selection/[UUID]/partyRole/[UUID]-PUT~")")),in("dt.entity.service_method",entitySelector("type(service_method),entityName(~"/AXA_BE_pc_retail/sellingcsp/v1/selection/[UUID]/partyRole-POST~")")),in("dt.entity.service_method",entitySelector("type(service_method),entityName(~"/AXA_BE_pc_retail/sellingcsp/v1/selection/[UUID]/partyRole/[UUID]-DELETE~")"))))):splitBy("dt.entity.service_method"):median:auto:sort(value(median,descending)):limit(10)
For the first key request (on Contract) it does not work : request is not considered as key request and my data explorer shows no data.
For the second one (on PartyRole) it works : request is considered as key request and my data explorer shows data.
Although calls to Contract request exist :
Do you have an idea why it is not working for contract?
11 Mar 2022 12:18 PM
any help with this issue?