3scale / 3scale_toolbox

3scale toolbox
Apache License 2.0
37 stars 73 forks source link

disabled option in create application plan doesn't work as expected #335

Open lucamaf opened 3 years ago

lucamaf commented 3 years ago

Just applied this command: 3scale application-plan create --disabled --system-name=finnhub_crypto acme-ocp4 6 "crypto basic" and the only method/metric that was disabled during configuration was Hits, the rest which are not default, but come with the Product are enabled

eguzki commented 3 years ago

you are talking about metrics/methods in the Product, right? Because, now looking at the code, I would expect to miss the backend metrics/methods because it was developed before backends were implemented and this command was not updated to support backends.

lucamaf commented 3 years ago

correct, I'm speaking about application plan of a product

eguzki commented 3 years ago

The limits and pricingrules defined in the application plan belong to the product or to some backend?

lucamaf commented 3 years ago

they belong to the product

eguzki commented 3 years ago

reproduced! thanks for the report. Only metrics are being "disabled". Methods are not.