Hello there.
In step 4 you do not need to copy everthing from the encass policy, just use the
Include Policy Fragment Assertion pointing to the policy of your encass.
Step 5 is very important to check.
------------------------------
Sr. Consultant Services
HCL Enterprise Studio
------------------------------
Original Message:
Sent: 11-27-2019 06:33 AM
From: Stefan Klotz
Subject: How to do debugging with Policy Template Fragment
What you also can try:
- open the policy/fragment of your encAssertion
- copy everything
- open the original policy
- replace the encAssertion with the content from step 2
- keep in mind: if the encAssertion uses input values, you need to specify them manually at the beginning of the copied content
With this in place you have full visibility again in the Service Debugger. Once troubleshooting is finished, you can revert your changes. Or if possible, you can do all these modifications on a copy of the original policy.
Hope that helps.
Ciao Stefan :)
Original Message:
Sent: 11-22-2019 02:32 PM
From: Louie Kwan
Subject: How to do debugging with Policy Template Fragment
Need to use audit log then. Thanks.
------------------------------
Enterprise Architect
TwoCoins.ca Inc.
Original Message:
Sent: 11-22-2019 12:00 PM
From: Joe Dascole
Subject: How to do debugging with Policy Template Fragment
That is correct. The service debugger will not work with encapsulated assertions.
Regards,
Joe
Original Message:
Sent: 11-22-2019 11:43 AM
From: Louie Kwan
Subject: How to do debugging with Policy Template Fragment
Try to debug a fragment policy provided by the Layer 7 Portal Developer and it is encapsulated assertions.
Only Debug log for encapsulated assertions then?
------------------------------
Enterprise Architect
TwoCoins.ca Inc.
Original Message:
Sent: 11-22-2019 11:26 AM
From: Joe Dascole
Subject: How to do debugging with Policy Template Fragment
Hi Louie,
The policy fragments can be debugged via the service debugger. Are you perhaps referring to encapsulated assertions?
We have a great doc here on enabling policy tracing that should be of some value to you. It is not quite as elegant as the service debugger but logs some great detail that can get inside of encapsulated assertions and listed out the exact line at which a failure occurs. Hope this helps.
https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=136303
Regards,
Joe
Original Message:
Sent: 11-22-2019 10:39 AM
From: Louie Kwan
Subject: How to do debugging with Policy Template Fragment
When setting breakpoint in Service Debugger, it seems it cannot go inside any Policy Fragment inside a Policy Template ? Any tip how to step inside a policy template.
Thanks in advance.
------------------------------
.
------------------------------