Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Apigeelint Custom Plugin - Validating Product/App Naming via metadata

Hi, I am working on creating custom plugins to enforce naming conventions for API proxies, products and apps using apigeelint. While I have the custom code prepared, I'm currently facing a limitation ___apigeelint only supports bundles for validating API proxies. However, product and app information is typically retrieved separately as metadata from management call, not as a part of the bundle.

@dchiesa1  , @edupandrade could you please guide me on how I might approach validating naming conventions for products and apps using just their metadata?
Thanks in advance!

0 1 161
1 REPLY 1

Yes, Apigeelint is intended to scan API Proxy bundles. 

It does not look at products, apps, developers, and other entities in the Apigee configuration store.   Also Apigeelint looks at proxies that are stored locally in a filesystem.

You will probably want to build a different tool, building on the Apigee API to query the things you're interested in.  Something to start with maybe? https://github.com/DinoChiesa/apigee-scanner   Like Apigeelint, this scans proxies. But,  it connects to the Apigee API, and you could use it as a starting point to scan things like Products, Apps, and developers, too. I think it would be pretty easy to modify it, in that way.