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

WIP: Feature/erp5 smart backend

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Łukasz Nowak requested to merge luke/slapos:feature/erp5-smart-backend into master Oct 25, 2021
  • Overview 10
  • Commits 0
  • Pipelines 0
  • Changes -

A backend smart enough, that can serve correctly with frontend without having knowledge about zope type.

Requirements:

  • by default the non-path (/) setup is provided
    • /VirtualHostBase/{frontend-schema}/{frontend-hostname}:{frontend-port}/VirtualHostRoot/{frontend-path}
  • default-path from caddy-frontend entry point has to be implemented here, as this is special case to handle the path, possibly exposed on some specific ip/port combination
    • /VirtualHostBase/{frontend-schema}/{frontend-hostname}:{frontend-port}/{backend-path}/VirtualHostRoot/{frontend-path}
  • virtualhostroot-http-port and virtualhostroot-https-port shall be extracted from request itself (trust that frontend gives proper information in the URL)

TODOs:

  • follow https://lab.nexedi.com/nexedi/slapos/merge_requests/1070#note_169765
Edited Nov 03, 2022 by Łukasz Nowak
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/erp5-smart-backend
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7