Skip to content

Proxy: Forward requests as partition and use it in standalone

Jérome Perrin requested to merge feat/standalone_multimaster into master

The idea is to make it possible while embedding SlapOS in an existing partition to configure that some requests are forwarded to the master of the partition and to make these requests as the partition - so that when this partition is destroyed all other partitions from the embedded partitions are destroyed.

A bit more integration in slapos is still needed, but is intended to be used in theia (and why not webrunner):

At the beginning theia's instance looks like this:

screenshot of theia hosting subscription on slapos master, with the default 3 partitions

after an ERP5 instance is requested in theia's embedded slapos, the partition requests are forwarded as this partition and appear here, as requested by theia:

screenshot of theia hosting subscription on slapos master, frontend partitions requested by ERP5 appears as requested by theia

This can also allow transparent integration, because the partition credentials are known by the partition, unlike the user credentials.

Edited by Jérome Perrin

Merge request reports