Zizou
Zizou

Reputation: 943

WSO2 api manager not showing destination adress in API Usage by Destination

I'm using WSO2 AM 2.0. I'm using dynamic endpoint throught custom sequence. The problem is that my endpoint destination adress is not showing now I have verifyed that it is insert empty in my analytics DB. Is there any way to add this information?

Upvotes: 0

Views: 99

Answers (1)

In your custom sequence, please set another property named "ENDPOINT_ADDRESS" with the same value as the one you assign to "To" header. It will solve your problem. For consequent invokes, the destination address will be set correctly. ex:

<header name="To" value="https://localhost:9448/am/sample/pizzashack/v1/api/menu"/>

<property name="ENDPOINT_ADDRESS" value="https://localhost:9448/am/sample/pizzashack/v1/api/menu"/>

Upvotes: 1

Related Questions