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

Merged
Created Nov 25, 2021 by Rafael Monnerat@rafael👻Owner

Extending Internal API using *_slap_interface_workflow

  • Overview 19
  • Commits 26
  • Changes 164

Extending Internal API using *_slap_interface_workflow

This MR aims to introduce and extend the internal API with the support for manage:

  • Project
  • Organisation
  • Site (also Organisation)
  • Tokens
  • Computer Network

So via the introductions of workflows we included the following methods:

  • Project.approveRegistration()
  • Project.leaveProject()
  • Project.acceptInvitation()
  • Organisation.approveRegistration()
  • Organisation.leaveOrganisation()
  • Organisation.acceptInvitation()
  • Person.requestProject(project_title)
  • Person.requestOrganisation(organisation_title)
  • Person.requestSite(organisation_title)
  • Person.requestToken(request_url)
  • Person.requestNetwork(network_title)
  • ComputeNote.requestTransfer(...)
  • InstanceTree.requestTransfer(...)
  • ComputerNetwork.approveRegistration()
  • ComputerNetwork.requestTransfer(...)

This API with minor exceptions, don't replaces the way the Hateoas/JIO website interacts with ERP5, so the original scripts are kept just changed to call internal APIs.

Some rework lead to minor clean ups and security updates, but nothing to change the overall behavior of the site.

Edited Dec 13, 2021 by Rafael Monnerat
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: slap-interface-workflow
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7