OCSADV-154 Update TOO target/guide to take real magnitudes

This is more fallout from removing the `brightness` string, which it turns out was used by the TOO servlet.

- Added `ImList<Magnitude> getMagnitudes()` as a member to `TooTarget`, and changed `TooUpdateServiceImpl` to propagate this information to the database.
- Added parser for magnitude lists like `1.2/UC/Jy,3.4/R/Vega`.
- Added code to `Http*` implementations of `TooTarget` to parse and retain a magnitude list.
- Refactored common `HttpTarget` superclass for `HttpTooTarget` and `HttpTooGuideTarget` just to get rid of some copy-paste. The refactored code looks kind of gross in the diff, sorry.
- Updated `README` to document the new request format. @swalker2m we need to notify the authorities of this change; not sure how to do this.


I'd expect that if these are queries only GET would be available, a POST would imply a change on the server's state

Sent from my iPhone

On dic 11, 2014, at 15:10, "Rob Norris" <notifications@github.com<mailto:notifications@github.com>> wrote:


In bundle/edu.gemini.oodb.too.url/README.md<https://github.com/gemini-hlsw/ocs/pull/170#discussion-diff-21695054>:

> @@ -1,8 +1,78 @@
>
> -## edu.gemini.oodb.too.url
> +# edu.gemini.oodb.too.url
> +
> +This bundle originated from `edu.gemini.oodb.too.url` in the OCS 1.5 build.


I'm not really following any standard. But I do think using bundle READMEs is good; nobody will ever generate and read java/scaladoc.

I will add an example of doing this using curl with get and post (I think both will work).

-
Reply to this email directly or view it on GitHub<https://github.com/gemini-hlsw/ocs/pull/170/files#r21695054>.