Closed dschniepp closed 5 years ago
Thanks for the report. The adapter has a slightly different pattern matching behavior. It’s documented here: https://docs.apigee.com/api-platform/istio-adapter/operation.
Thank you for the feedback, I am still confused because the test references https://docs.apigee.com/developer-services/content/create-api-products#resourcebehavior. But anyway thank you for clarification.
Good point. I'll update the comment.
The behaviour of the plugin https://github.com/apigee/istio-mixer-adapter/blob/860febb62f80bf740fdc225909306c7e746299e3/adapter/product/manager.go#L325 compared to the logic described here https://docs.apigee.com/developer-services/content/create-api-products#resourcebehavior seems to be different.
I guess, the testcase of https://github.com/apigee/istio-mixer-adapter/blob/3d62678ea5111b751a42c02871764f7ee24d7cbd/adapter/product/products_test.go#L177 should look like, as we omit the basepath:
and this test case fails with the current implementation.