@ssvaidyanathan & Team,
I am looking to create apigee products from CICD pipeline, I have created new folder (resources/org) and created apiproducts.json file and this json file updated with below mentioned details. if deploy from pipeline I could see all environment apigee product is updating with same details. but our requirement is every environment has different quota limit, quota unit , etc...
Can some one please suggest how can we achieve this from CICD
[
{
"name": "apigee-poc_product",
"displayName": "apigee-poc_product",
"description": "apigee-poc_product",
"apiResources": [
"/**",
"/"
],
"approvalType": "auto",
"attributes": [
{
"name": "description",
"value": "apigee-poc_product"
},
{
"name": "developer.quota.limit",
"value": "100"
},
{
"name": "developer.quota.interval",
"value": "1"
},
{
"name": "developer.quota.timeunit",
"value": "month"
}
],
"environments": [
"env-name"
],
"proxies": [
"proxy-name"
],
"quota": "100",
"quotaInterval": "1",
"quotaTimeUnit": "month",
"scopes": []
}
]
Solved! Go to Solution.
@Laxmman - you will then need to configure different Products for each environment if you want the Quota to come from the API Product config.
Or else you can configure those values in KVM and then in your proxy refer to it from KVM. With that you will not need any Quota config in the API Product. You can control all the values using KVM and it will pick it depending on the environment