Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 29
    • Merge requests 29
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Merge requests
  • !775

Open
Created May 23, 2025 by Romain Courteaud@romain🐙Owner
  • Report abuse
Report abuse

Draft: slap/slap.py: use the json rpc entry points

  • Overview 0
  • Commits 1
  • Changes 6

TODO: Compatibility layer (and slapproxy) must be implemented before thinking doing the merge


  • add callJsonRpcAPI method
  • Drop GET/POST methods

slap/hateoas:

  • drop unwanted parameters and old compatibility
  • reduce number of errors catched/rewriten by do_request

slap/exception:

  • all slap Exception must have a common parent class This will allow to catch only the slap exceptions.

grid/slapgrid:

  • drop not needed try/except
  • WIP: desactivate offline support, as it catches too many errors
  • reduce cases when slapgrid switch to offline mode
  • slapgrid: desactivate handling of transaction file

test_slapgrid:

  • return 404 instead of 500 if url is not handled

slap.py: use new entry points

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: json_api_client
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7