diff --git a/deployments/examples/oc10_ocis_parallel/config/ocis/proxy.yaml b/deployments/examples/oc10_ocis_parallel/config/ocis/proxy.yaml index 7c9a1c21b5..7a3688598c 100755 --- a/deployments/examples/oc10_ocis_parallel/config/ocis/proxy.yaml +++ b/deployments/examples/oc10_ocis_parallel/config/ocis/proxy.yaml @@ -17,7 +17,7 @@ policies: - endpoint: /archiver backend: http://localhost:9140 - type: regex - endpoint: /ocs/v[12].php/cloud/(users?|groups) + endpoint: /ocs/v[12].php/cloud/user/signing-key backend: http://localhost:9110 - endpoint: /ocs/ backend: http://localhost:9140 @@ -53,10 +53,6 @@ policies: backend: http://localhost:9120 - endpoint: /graph-explorer backend: http://localhost:9135 - - endpoint: /api/v0/accounts - backend: http://localhost:9181 - - endpoint: /accounts.js - backend: http://localhost:9181 - endpoint: /api/v0/settings backend: http://localhost:9190 - endpoint: /settings.js diff --git a/deployments/examples/ocis_hello/config/ocis/proxy.yaml b/deployments/examples/ocis_hello/config/ocis/proxy.yaml index 0eef29b573..7f19ee7961 100644 --- a/deployments/examples/ocis_hello/config/ocis/proxy.yaml +++ b/deployments/examples/ocis_hello/config/ocis/proxy.yaml @@ -3,149 +3,62 @@ policy_selector: policy: ocis policies: -- name: ocis - routes: - # defaults, taken from https://owncloud.dev/extensions/proxy/configuration/ - - type: "" - method: "" - endpoint: / - backend: http://localhost:9100 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /.well-known/ - backend: http://localhost:9130 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /konnect/ - backend: http://localhost:9130 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /signin/ - backend: http://localhost:9130 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /archiver - backend: http://localhost:9140 - service: "" - apache_vhost: false - - type: regex - method: "" - endpoint: /ocs/v[12].php/cloud/(users?|groups) - backend: http://localhost:9110 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /ocs/ - backend: http://localhost:9140 - service: "" - apache_vhost: false - - type: query - method: "" - endpoint: /remote.php/?preview=1 - backend: http://localhost:9115 - service: "" - apache_vhost: false - - type: "" - method: REPORT - endpoint: /remote.php/dav/ - backend: http://localhost:9115 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /remote.php/ - backend: "" - service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /dav/ - backend: "" - service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /webdav/ - backend: "" - service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /status.php - backend: "" - service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /index.php/ - backend: "" - service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /apps/ - backend: "" - service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /data - backend: http://localhost:9140 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /app/ - backend: http://localhost:9140 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /graph/ - backend: http://localhost:9120 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /graph-explorer - backend: http://localhost:9135 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /api/v0/accounts - backend: http://localhost:9181 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /accounts.js - backend: http://localhost:9181 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /api/v0/settings - backend: http://localhost:9190 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /settings.js - backend: http://localhost:9190 - service: "" - apache_vhost: false - # oCIS Hello specific routes - - endpoint: "/api/v0/greet" - backend: http://ocis-hello:9105 - - endpoint: "/hello.js" - backend: http://ocis-hello:9105 + - name: ocis + routes: + # defaults, taken from https://owncloud.dev/extensions/proxy/configuration/ + - endpoint: / + backend: http://localhost:9100 + - endpoint: /.well-known/ + backend: http://localhost:9130 + - endpoint: /konnect/ + backend: http://localhost:9130 + - endpoint: /signin/ + backend: http://localhost:9130 + - endpoint: /archiver + backend: http://localhost:9140 + - type: regex + endpoint: /ocs/v[12].php/cloud/user/signing-key + backend: http://localhost:9110 + - endpoint: /ocs/ + backend: http://localhost:9140 + - type: query + endpoint: /remote.php/?preview=1 + backend: http://localhost:9115 + - method: REPORT + endpoint: /remote.php/dav/ + backend: http://localhost:9115 + - type: query + endpoint: /dav/?preview=1 + backend: http://localhost:9115 + - type: query + endpoint: /webdav/?preview=1 + backend: http://localhost:9115 + - endpoint: /remote.php/ + service: com.owncloud.web.ocdav + - endpoint: /dav/ + service: com.owncloud.web.ocdav + - endpoint: /webdav/ + service: com.owncloud.web.ocdav + - endpoint: /status.php + service: com.owncloud.web.ocdav + - endpoint: /index.php/ + service: com.owncloud.web.ocdav + - endpoint: /apps/ + service: com.owncloud.web.ocdav + - endpoint: /data + backend: http://localhost:9140 + - endpoint: /app/ + backend: http://localhost:9140 + - endpoint: /graph/ + backend: http://localhost:9120 + - endpoint: /graph-explorer + backend: http://localhost:9135 + - endpoint: /api/v0/settings + backend: http://localhost:9190 + - endpoint: /settings.js + backend: http://localhost:9190 + # oCIS Hello specific routes + - endpoint: "/api/v0/greet" + backend: http://ocis-hello:9105 + - endpoint: "/hello.js" + backend: http://ocis-hello:9105 diff --git a/tests/parallelDeployAcceptance/drone/ocis/proxy.yaml b/tests/parallelDeployAcceptance/drone/ocis/proxy.yaml index 7c9a1c21b5..7a3688598c 100644 --- a/tests/parallelDeployAcceptance/drone/ocis/proxy.yaml +++ b/tests/parallelDeployAcceptance/drone/ocis/proxy.yaml @@ -17,7 +17,7 @@ policies: - endpoint: /archiver backend: http://localhost:9140 - type: regex - endpoint: /ocs/v[12].php/cloud/(users?|groups) + endpoint: /ocs/v[12].php/cloud/user/signing-key backend: http://localhost:9110 - endpoint: /ocs/ backend: http://localhost:9140 @@ -53,10 +53,6 @@ policies: backend: http://localhost:9120 - endpoint: /graph-explorer backend: http://localhost:9135 - - endpoint: /api/v0/accounts - backend: http://localhost:9181 - - endpoint: /accounts.js - backend: http://localhost:9181 - endpoint: /api/v0/settings backend: http://localhost:9190 - endpoint: /settings.js