• Xavier Thompson's avatar
    slapproxy: Add minimal hateoas support for cli · 655fb891
    Xavier Thompson authored
    Add the minimum hateoas support required for the cli commands:
    - `slapos service list`
    - `slapos service info <reference>`
    - `slapos computer list`
    - `slapos computer info <reference>`
    
    To enable hateoas, complete the slapos.cfg configuration with:
    ```
    [slapos]
    master_rest_url = <proxyaddr>/hateoas
    ```
    
    Also: Fix some bugs and python3 incompatibilities in slap/hateoas.py.
    
    See merge request nexedi/slapos.core!290
    655fb891
hateoas.py 17.1 KB