I’m trying to move a nodejs script and some item/rules into a proper binding. I’ve never written anything in Java before and the last time I used eclipse was a few years ago and I was programming using C for micro-controllers, so everything is kind of new. I’m not sure if I just not familiar with java, how eclipse works or just don’t know how to write bindings.
I managed to get the environment working and the skeleton binding working. I wanted to then implement a discovery services and looked at binding that implemented a discovery service in a similar way. So the skeleton seemed to be missing any of the files for discovery. So initially I sort of manually copy over stuff from a binding with discovery but started manually editing the files. But it seems a bit kind of messy and I’m not sure I’m doing the right thing. It just felt like the way things were set up what I really should have done is just change a config setting or file to add discovery and then it would properly add the default classes and files for discovery, or something along those lines. That might be something that is normal in java/eclipse but since I have no proper experience I jut don’t know.