Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !290

slapproxy: Add minimal hateoas support for cli

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xavier Thompson requested to merge xavier_thompson/slapos.core:slapproxy_hatoeas into master Apr 07, 2021
  • Overview 21
  • Commits 1
  • Pipelines 0
  • Changes 3

Add the minimum hateoas support required to let slapproxy answer 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 a few small bugs and python3 incompatibilities in slap/hateoas.

Edited Apr 08, 2021 by Xavier Thompson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: slapproxy_hatoeas
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7