Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: json_api_client
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7