Apigee proxies -Node js -How to find -Any automated way - Management API calls

To get automated report of proxies, which have Node js implementation.

Do we have any automated ways to get reports of names of such proxies (in CSV or other format ?), which have Node js implementation.

Tried custom report option of apigee, but that did not help or I am not sure, if any of API Management call may help ? to extract names of Apigee proxies which are implemented as Node js type.

Have multiple apigee proxies  implemented on Node js across different environment.

Is there any ways to create report (in CSV file)  and either run Management API call or custom report to know, how many proxies in given environment is of type Node JS ?  

Note: we have Apigee proxies which are non - Node JS type and just uses Apigee inbuild policies and other Apigee proxies (which has resources as  node js implementation) and trying to replace them (node js type), by finding them, using report instead of clicking each and every proxies manually (which is time consuming or may be error prone)

@dino @API-Evangelist 

Solved Solved
0 4 381
2 ACCEPTED SOLUTIONS

There's no out of the box solution for this that I'm aware of.

If you do development with CI CD where your develop your API proxies outside of Apigee and have your Api proxy configuration in some source code repo, then search through your repo for nodejs resources.

Otherwise write a script to retrieve your API proxy bundles over the management APIs then scan through the configuration

View solution in original post

Analytics report should provide details across such node js targets.

Try this https://github.com/DinoChiesa/apigee-edge-js-examples/blob/main/findProxyWithTarget.js

tested it& it works.

node ./findProxyWithTarget.js -v -o <<replace with org>> --targettype=node

or

https://github.com/DinoChiesa/apigee-scanner

Haven't tested but you should be okay with first one which lists all the api's which are of type node.

 

Good luck.

 

credits @dchiesa1 

 

View solution in original post

4 REPLIES 4

There's no out of the box solution for this that I'm aware of.

If you do development with CI CD where your develop your API proxies outside of Apigee and have your Api proxy configuration in some source code repo, then search through your repo for nodejs resources.

Otherwise write a script to retrieve your API proxy bundles over the management APIs then scan through the configuration

Analytics report should provide details across such node js targets.

Try this https://github.com/DinoChiesa/apigee-edge-js-examples/blob/main/findProxyWithTarget.js

tested it& it works.

node ./findProxyWithTarget.js -v -o <<replace with org>> --targettype=node

or

https://github.com/DinoChiesa/apigee-scanner

Haven't tested but you should be okay with first one which lists all the api's which are of type node.

 

Good luck.

 

credits @dchiesa1 

 

Wow apigee-scanner is super helpful

Glad to see people finding value in these things.