Jupyter: Publish the serialized result
authorAyush Tiwari <ayush.tiwari@nexedi.com>
Wed, 2 Dec 2015 09:43:47 +0000 (09:43 +0000)
committerKirill Smelkov <kirr@nexedi.com>
Fri, 18 Dec 2015 21:17:57 +0000 (00:17 +0300)
commit0fb4f687e0a2f156051c97f747e47369b326be4e
tree57db9d1d1731d4fb0008ad0de3ba1f3704dda087
parent3bf1cce94f40a7a7b7cbd5e092608fbccec2ce4f
Jupyter: Publish the serialized result

Maintain consistency with the slapOS SR format.
This SR can be hooked with other SR(ex:wendelin) and its better
to follow one way of publishing result parameters

[ kirr: This essentially changes publication format to JSON:

    $ xslapos proxy show --params

    # before
    slappart0: ipython_notebook (type default)
        url = https://[2001:67c:1254:e:49::952d]:8888
        monitor_url = https://[2001:67c:1254:e:49::952d]:9685

    # after
    slappart0: ipython_notebook (type default)
        _ = {"url": "https://[2001:67c:1254:e:49::952d]:8888", "monitor_url": "https://[2001:67c:1254:e:49::952d]:9685"}

  I'm not convinced we really need this, nor that the .serialized version is
  the most oftenly used one:

    slapos$ git grep 'slapos.cookbook:publish$' |wc -l
    59
    slapos$ git grep 'slapos.cookbook:publish.serialised$' |wc -l
    13

  but we can have it and see how it goes, reverting if needed ]

/cc @jerome
/proposed-for-review-on nexedi/slapos!33
software/ipython_notebook/instance.cfg.in
software/ipython_notebook/software.cfg