I'm creating a plugin that blacklists certain API calls. Right now I've created a .yml file in the src/main/resources directory of my project, where I read the blacklisted APIs from.
The problem is, if I want to add more blacklisted API's to the list, I have to remove the plugin, change the yml file, rebuild and reinstall the plugin. I'd like my plugin to be able to read directly from elasticsearch.yml, so that I don't have to do this. Is this possible?
Any suggestions would be greatly appreciated.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.