Axway/agents-apigee

API Product with unlimited quota plan is not cloned

gwandwingor opened this issue · 2 comments

Hi,

Context :
I have an API Product (apigee) with a quota already set.
This product is discovered and a new Product (Foundry) is created from it.
This new Product has a plan with an unlimited quota.

Issue :
When I subscribe to the plan and request access, no clone of the original API Product (apigee) is made and the original API product is linked to the Apigee application. As a consequence the Application inherits the original API Product quota instead of being unlimited.

Proposal :
Clone the API product also for unlimited quotas.

Thanks,
Guillaume

@gwandwingor would you mind validating this fix? The alpha build is docker pull ghcr.io/axway/apigee_discovery_agent:v0.1.17-alpha1

Hi @jcollins-axway,
Apologies for the late reply.

I was able to validate the fix. Now, when a product has a plan with no quota, a clone of the product with an name suffixed with "-no-quota" is created. The original product remains untouched and the application is linked to the cloned product instead of the original one.