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
  • !388

Merged
Created Jun 01, 2022 by Rafael Monnerat@rafael👻Owner3 of 3 tasks completed3/3 tasks

Clean up for the JSON API work

  • Overview 1
  • Commits 3
  • Changes 20

The "internal" API only store dict, rather them store xml, this makes flexible to others APIs to be implemented w/o changing the core of the master.

It makes slapos.slap.slap only used on SlapTool context, releasing the internal API on having it, so it won't become a dependency anymore.

The approach is deprecate the usage of SlapTool as soon clients relies on a different API.

TODO:

  • Make Tests Pass
  • Clean up code (the creation of Compute Node and Compute Partition specially)
  • Cache the Compute Node XML in addition to the Dict (else the system will become too slow)
Edited Jun 29, 2022 by Rafael Monnerat
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: mixin-tool-cleanup-for-api
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7