apigee / apigee-config-maven-plugin

apigee-config-maven-plugin
Apache License 2.0
55 stars 109 forks source link

API Key import is allowing only for first 100 developer apps #184

Closed mahesh-kannekanti closed 1 year ago

mahesh-kannekanti commented 1 year ago

Current version we are using: v2.4.3

We are migrating Apigee onprem to Hybrid. While doing an import to Hybrid Apigee the pulgin is able to create all the developer apps (150) under a single developer email, when trying to do the importKeys for the first 100 apps, it is scuccessful. But the remaining 50 apps import key is failing with error - "App appName does not exist".

This is because Hybrid Apigee management API call(Google API) returns only 100 apps.

https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.developers.apps/list

Possible Solution:

Is there a way to release a new version of the plugin with /v1/organizations//developers//apps?expand=true in ImportKeysMojo.java (getApp()) so that it will extract all the apps that are associated with the developer.

ssvaidyanathan commented 1 year ago

Duplicate of #182