Attempting to add a custom plugin to edge microgateway by referencing this page: https://docs.apigee.com/api-platform/microgateway/2.5.x/develop-custom-plugins#aboutpluginhandlerexe...
However, when I start edgemicro I get:
using pluginDir
using plugin dir /node-v10.15.3-linux-x64/lib/node_modules/edgemicro/plugins/
sequenced plugin not found: plugin-1
Even though I have it defined in my configuration as so:
plugins: dir: /node-v10.15.3-linux-x64/lib/node_modules/edgemicro/plugins sequence: - oauth - plugin-1
I read here you could add the absolute path in your edgemicro start command: https://community.apigee.com/questions/61022/sequenced-plugin-not-found-plugin-name.html
So I did that like so:
edgemicro start -c /var/cse/.edgemicro -o "$EDGEMICRO_ORG" -e "$EDGEMICRO_ENV" -k "$EDGEMICRO_KEY" -s "$EDGEMICRO_SECRET" -d /node-v10.15.3-linux-x64/lib/node_modules/edgemicro/plugins
However I'm still gettting the error/warning, am I doing something wrong here?