Skip to content

Commit 096f943

Browse files
author
Andrei Neagu
committed
Merge remote-tracking branch 'upstream/master' into pr-osparc-docker-socket-via-http-interface
2 parents faaf938 + 65e1ab2 commit 096f943

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

services/docker-compose-dev-vendors.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ services:
2424
- traefik.http.services.${SWARM_STACK_NAME}_manual.loadbalancer.healthcheck.interval=2000ms
2525
- traefik.http.services.${SWARM_STACK_NAME}_manual.loadbalancer.healthcheck.timeout=1000ms
2626
- traefik.http.routers.${SWARM_STACK_NAME}_manual.entrypoints=http
27-
- traefik.http.routers.${SWARM_STACK_NAME}_manual.priority=10
2827
- traefik.http.routers.${SWARM_STACK_NAME}_manual.rule=HostRegexp(`${VENDOR_DEV_MANUAL_SUBDOMAIN}\.(?P<host>.+)`)
2928
- traefik.http.routers.${SWARM_STACK_NAME}_manual.middlewares=${SWARM_STACK_NAME}_gzip@swarm, ${SWARM_STACK_NAME}_manual-auth
3029
networks:

services/docker-compose.local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ services:
138138
- traefik.http.routers.${SWARM_STACK_NAME}_webserver_local.service=${SWARM_STACK_NAME}_webserver
139139
- traefik.http.routers.${SWARM_STACK_NAME}_webserver_local.entrypoints=http
140140
- traefik.http.routers.${SWARM_STACK_NAME}_webserver_local.rule=PathPrefix(`/dev/`)
141-
- traefik.http.routers.${SWARM_STACK_NAME}_webserver_local.priority=3
141+
- traefik.http.routers.${SWARM_STACK_NAME}_webserver_local.priority=9
142142
- traefik.http.routers.${SWARM_STACK_NAME}_webserver_local.middlewares=${SWARM_STACK_NAME}_gzip@swarm, ${SWARM_STACK_NAME_NO_HYPHEN}_sslheader@swarm, ${SWARM_STACK_NAME}_webserver_retry
143143

144144
wb-api-server:

services/docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ services:
5959
- traefik.http.services.${SWARM_STACK_NAME}_api-server.loadbalancer.healthcheck.timeout=1000ms
6060
- traefik.http.routers.${SWARM_STACK_NAME}_api-server.rule=(Path(`/`) || Path(`/v0`) || PathPrefix(`/v0/`) || Path(`/api/v0/openapi.json`))
6161
- traefik.http.routers.${SWARM_STACK_NAME}_api-server.entrypoints=simcore_api
62-
- traefik.http.routers.${SWARM_STACK_NAME}_api-server.priority=1
62+
- traefik.http.routers.${SWARM_STACK_NAME}_api-server.priority=3
6363
- traefik.http.routers.${SWARM_STACK_NAME}_api-server.middlewares=${SWARM_STACK_NAME}_gzip@swarm,ratelimit-${SWARM_STACK_NAME}_api-server,inflightreq-${SWARM_STACK_NAME}_api-server
6464
networks:
6565
- default
@@ -609,11 +609,11 @@ services:
609609
- traefik.http.routers.${SWARM_STACK_NAME}_static_webserver.rule=(Path(`/osparc`) || Path(`/s4l`) || Path(`/s4llite`) || Path(`/s4lacad`) || Path(`/s4lengine`) || Path(`/s4ldesktop`) || Path(`/s4ldesktopacad`) || Path(`/tis`) || Path(`/tiplite`) || Path(`/transpiled`) || Path(`/resource`) || PathPrefix(`/osparc/`) || PathPrefix(`/s4l/`) || PathPrefix(`/s4llite/`) || PathPrefix(`/s4lacad/`) || PathPrefix(`/s4lengine/`) || PathPrefix(`/s4ldesktop/`) || PathPrefix(`/s4ldesktopacad/`) || PathPrefix(`/tis/`) || PathPrefix(`/tiplite/`) || PathPrefix(`/transpiled/`) || PathPrefix(`/resource/`))
610610
- traefik.http.routers.${SWARM_STACK_NAME}_static_webserver.service=${SWARM_STACK_NAME}_static_webserver
611611
- traefik.http.routers.${SWARM_STACK_NAME}_static_webserver.entrypoints=http
612-
- traefik.http.routers.${SWARM_STACK_NAME}_static_webserver.priority=2
612+
- traefik.http.routers.${SWARM_STACK_NAME}_static_webserver.priority=6
613613
- traefik.http.routers.${SWARM_STACK_NAME}_static_webserver.middlewares=${SWARM_STACK_NAME}_gzip@swarm,${SWARM_STACK_NAME}_static_webserver_retry
614614
# catchall for legacy services (this happens if a backend disappears and a frontend tries to reconnect, the right return value is a 503)
615615
- traefik.http.routers.${SWARM_STACK_NAME}_legacy_services_catchall.service=${SWARM_STACK_NAME}_legacy_services_catchall
616-
- traefik.http.routers.${SWARM_STACK_NAME}_legacy_services_catchall.priority=1
616+
- traefik.http.routers.${SWARM_STACK_NAME}_legacy_services_catchall.priority=3
617617
- traefik.http.routers.${SWARM_STACK_NAME}_legacy_services_catchall.entrypoints=http
618618
- traefik.http.routers.${SWARM_STACK_NAME}_legacy_services_catchall.rule=PathRegexp(`^/x/(?P<node_uuid>\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b)[\/]?`)
619619
# this tricks traefik into a 502 (bad gateway) since the service does not exist on this port
@@ -626,7 +626,7 @@ services:
626626
# catchall for dynamic-sidecar powered-services (this happens if a backend disappears and a frontend tries to reconnect, the right return value is a 503)
627627
- traefik.http.routers.${SWARM_STACK_NAME}_modern_services_catchall.service=${SWARM_STACK_NAME}_modern_services_catchall
628628
# the priority is a bit higher than webserver, the webserver is the fallback to everything and has prio 2
629-
- traefik.http.routers.${SWARM_STACK_NAME}_modern_services_catchall.priority=3
629+
- traefik.http.routers.${SWARM_STACK_NAME}_modern_services_catchall.priority=9
630630
- traefik.http.routers.${SWARM_STACK_NAME}_modern_services_catchall.entrypoints=http
631631
# in theory the pattern should be uuid.services.OSPARC_DOMAIN, but anything could go through.. so let's catch everything
632632
- traefik.http.routers.${SWARM_STACK_NAME}_modern_services_catchall.rule=HostRegexp(`(?P<node_uuid>\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b)\.services\.(?P<host>.+)`)
@@ -850,7 +850,7 @@ services:
850850
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.service=${SWARM_STACK_NAME}_webserver
851851
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.rule=(Path(`/`) || Path(`/v0`) || Path(`/socket.io/`) || Path(`/static-frontend-data.json`) || PathRegexp(`^/study/(?P<study_uuid>\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b)`) || Path(`/view`) || Path(`/#/view`) || Path(`/#/error`) || PathPrefix(`/v0/`))
852852
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.entrypoints=http
853-
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.priority=2
853+
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.priority=6
854854
- traefik.http.routers.${SWARM_STACK_NAME}_webserver.middlewares=${SWARM_STACK_NAME}_gzip@swarm, ${SWARM_STACK_NAME_NO_HYPHEN}_sslheader@swarm, ${SWARM_STACK_NAME}_webserver_retry
855855
networks: &webserver_networks
856856
- default

services/static-webserver/client/source/class/osparc/dashboard/ResourceBrowserBase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ qx.Class.define("osparc.dashboard.ResourceBrowserBase", {
124124
// pop up study options if the study was just created or if it has no wallet assigned or user has no access to it
125125
const resourceSelector = new osparc.study.StudyOptions(studyId);
126126
if (isStudyCreation) {
127-
resourceSelector.getChildControl("open-button").setLabel(this.tr("New"));
127+
resourceSelector.getChildControl("open-button").setLabel(qx.locale.Manager.tr("New"));
128128
}
129129
const win = osparc.study.StudyOptions.popUpInWindow(resourceSelector);
130130
win.moveItUp();

0 commit comments

Comments
 (0)