Is there a java function for adding, removing a Stream Target?
For a little while the PushPublishMap.txt has said not to edit and to use the restAPI but we have several custom java modules that do things onPublish etc, I’ve looked several times but nothing.
Currently we add lines to the PushPublishMap.txt file but that often has issues, stuck on waiting, going into manager selecting edit and then save fixes this (nothing in the txt file changes so it was correct), we have for a couple years used a backup rest api to dynamically catch this but with this being often slow to respond it then causes additional issues with our webservers so we have removed this.
There must be an option to do this from Java without the need to go externally via the rest api.