1. My understanding is that I can write either a OSGi bundle (as AD-SAL (or) MD-SAL service) that runs in the controller space or a remote app that consumes the Rest API to communicate with the controller. Could you confirm this is correct?
Yes
2. For writing the OSGi bundle (which makes sense for my use case), I would require the Java API doc. Theopendaylight.org site of late has been unsupportive with broken links for the Java doc. I have not heard back from opendaylight-dev mailing list folks on this.
Yes, the javadoc links are currently not working. Not sure why.
I will persuade the site admin to fix it, but this being open source, it might take a few days.
In the mean time, here is a workaround.
You can download a copy of the java source from the link below: