Skip to content

Commit 1e6346a

Browse files
author
Andrei Neagu
committed
Merge remote-tracking branch 'upstream/master' into pr-osparc-pull-inputs-after-services-start
2 parents e5033d6 + 502ac45 commit 1e6346a

File tree

230 files changed

+4374
-1555
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

230 files changed

+4374
-1555
lines changed

.env-devel

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ REDIS_HOST=redis
161161
REDIS_PORT=6379
162162
REDIS_PASSWORD=adminadmin
163163
REDIS_SECURE=false
164+
REDIS_USER=null
164165

165166
REGISTRY_AUTH=True
166167
REGISTRY_PW=adminadminadmin
@@ -307,9 +308,11 @@ SESSION_COOKIE_SECURE=False
307308
SIMCORE_VCS_RELEASE_TAG=latest
308309
STUDIES_ACCESS_ANONYMOUS_ALLOWED=0
309310
STUDIES_DEFAULT_SERVICE_THUMBNAIL=https://via.placeholder.com/170x120.png
310-
TRACING_ENABLED=1
311-
TRACING_THRIFT_COMPACT_ENDPOINT=http://jaeger:5775
312-
TRACING_ZIPKIN_ENDPOINT=http://jaeger:9411
311+
TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE=2
312+
TRACING_OPENTELEMETRY_COLLECTOR_PORT=4318
313+
TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT=http://opentelemetry-collector
314+
TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE=100
315+
TRACING_OPENTELEMETRY_COLLECTOR_EXPORTER_ENDPOINT=http://jaeger:4318
313316
TRAEFIK_SIMCORE_ZONE=internal_simcore_stack
314317
TWILIO_ACCOUNT_SID=DUMMY
315318
TWILIO_AUTH_TOKEN=DUMMY

.github/dependabot.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ updates:
1212
assignees:
1313
- pcrespov
1414
ignore:
15-
- dependency-name: aiozipkin
16-
versions:
17-
- ">= 1.a, < 2"
1815
- dependency-name: docker-compose
1916
versions:
2017
- 1.28.2
@@ -41,9 +38,6 @@ updates:
4138
assignees:
4239
- pcrespov
4340
ignore:
44-
- dependency-name: aiozipkin
45-
versions:
46-
- ">= 1.a, < 2"
4741
- dependency-name: openapi-core
4842
versions:
4943
- "> 0.12.0, < 1"

.github/workflows/ci-testing-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ jobs:
590590
unit-test-autoscaling:
591591
needs: changes
592592
if: ${{ needs.changes.outputs.autoscaling == 'true' || github.event_name == 'push' }}
593-
timeout-minutes: 18 # if this timeout gets too small, then split the tests
593+
timeout-minutes: 19 # if this timeout gets too small, then split the tests
594594
name: "[unit] autoscaling"
595595
runs-on: ${{ matrix.os }}
596596
strategy:

Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -310,18 +310,19 @@ TableWidth=140;\
310310
printf "%24s | %90s | %12s | %12s\n" Name Endpoint User Password;\
311311
printf "%.$${TableWidth}s\n" "$$separator";\
312312
printf "$$rows" "oSparc platform" "http://$(get_my_ip).nip.io:9081";\
313-
printf "$$rows" "oSparc web API doc" "http://$(get_my_ip).nip.io:9081/dev/doc";\
314313
printf "$$rows" "oSparc public API doc" "http://$(get_my_ip).nip.io:8006/dev/doc";\
315-
printf "$$rows" "Postgres DB" "http://$(get_my_ip).nip.io:18080/?pgsql=postgres&username="$${POSTGRES_USER}"&db="$${POSTGRES_DB}"&ns=public" $${POSTGRES_USER} $${POSTGRES_PASSWORD};\
316-
printf "$$rows" "Portainer" "http://$(get_my_ip).nip.io:9000" admin adminadmin;\
317-
printf "$$rows" "Redis" "http://$(get_my_ip).nip.io:18081";\
314+
printf "$$rows" "oSparc web API doc" "http://$(get_my_ip).nip.io:9081/dev/doc";\
318315
printf "$$rows" "Dask Dashboard" "http://$(get_my_ip).nip.io:8787";\
319316
printf "$$rows" "Docker Registry" "http://$${REGISTRY_URL}/v2/_catalog" $${REGISTRY_USER} $${REGISTRY_PW};\
320317
printf "$$rows" "Invitations" "http://$(get_my_ip).nip.io:8008/dev/doc" $${INVITATIONS_USERNAME} $${INVITATIONS_PASSWORD};\
318+
printf "$$rows" "Jaeger" "http://$(get_my_ip).nip.io:16686";\
321319
printf "$$rows" "Payments" "http://$(get_my_ip).nip.io:8011/dev/doc" $${PAYMENTS_USERNAME} $${PAYMENTS_PASSWORD};\
320+
printf "$$rows" "Portainer" "http://$(get_my_ip).nip.io:9000" admin adminadmin;\
321+
printf "$$rows" "Postgres DB" "http://$(get_my_ip).nip.io:18080/?pgsql=postgres&username="$${POSTGRES_USER}"&db="$${POSTGRES_DB}"&ns=public" $${POSTGRES_USER} $${POSTGRES_PASSWORD};\
322322
printf "$$rows" "Rabbit Dashboard" "http://$(get_my_ip).nip.io:15672" admin adminadmin;\
323-
printf "$$rows" "Traefik Dashboard" "http://$(get_my_ip).nip.io:8080/dashboard/";\
323+
printf "$$rows" "Redis" "http://$(get_my_ip).nip.io:18081";\
324324
printf "$$rows" "Storage S3 Minio" "http://$(get_my_ip).nip.io:9001" 12345678 12345678;\
325+
printf "$$rows" "Traefik Dashboard" "http://$(get_my_ip).nip.io:8080/dashboard/";\
325326

326327
printf "\n%s\n" "⚠️ if a DNS is not used (as displayed above), the interactive services started via dynamic-sidecar";\
327328
echo "⚠️ will not be shown. The frontend accesses them via the uuid.services.YOUR_IP.nip.io:9081";

api/tests/requirements.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ aiohttp==3.10.5
66
# -r requirements.in
77
aiosignal==1.3.1
88
# via aiohttp
9-
async-timeout==4.0.3
10-
# via aiohttp
119
attrs==24.2.0
1210
# via
1311
# aiohttp
@@ -23,8 +21,6 @@ coverage==7.6.1
2321
# via
2422
# -r requirements.in
2523
# pytest-cov
26-
exceptiongroup==1.2.2
27-
# via pytest
2824
frozenlist==1.4.1
2925
# via
3026
# aiohttp
@@ -118,10 +114,6 @@ six==1.16.0
118114
# rfc3339-validator
119115
termcolor==2.4.0
120116
# via pytest-sugar
121-
tomli==2.0.1
122-
# via
123-
# coverage
124-
# pytest
125117
urllib3==2.2.2
126118
# via
127119
# -c ../../requirements/constraints.txt

docs/coding-conventions.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,7 @@ Have a look at `ESLint`'s configuration files [.eslintrc.json](.eslintrc.json) a
136136
[mypy]:https://www.mypy-lang.org/
137137
[pep257]:https://peps.python.org/pep-0257/
138138
[pylint]:https://pylint.readthedocs.io/en/latest/
139+
140+
# My first osparc-simcore PR: common pitfalls
141+
142+
- Make sure to run `make mypy` and `make pylint`, as the associated github-actions are required to pass. If you include new dependencies in `requirements/*.in`, make sure to run `make touch && make reqs "upgrade=NAME_OF_YOUR_NEW_DEPENDENCY"`. It is best to do this inside a reproducible environment, for this purpose a shell inside a docker container can be used: Go to `osparc-simcore/requirements/tools` and run `make shell`. Inside the new shell the osparc-simcore repo is placed in `~`. Run `make reqs` from inside this shell.

packages/aws-library/requirements/_base.txt

Lines changed: 86 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ aioboto3==13.1.1
55
aiobotocore==2.13.1
66
# via aioboto3
77
aiocache==0.12.2
8-
# via -r requirements/_base.in
8+
# via
9+
# -r requirements/../../../packages/service-library/requirements/_base.in
10+
# -r requirements/_base.in
911
aiodebug==2.3.0
1012
# via -r requirements/../../../packages/service-library/requirements/_base.in
1113
aiodocker==0.22.2
@@ -56,8 +58,25 @@ botocore==1.34.131
5658
# s3transfer
5759
botocore-stubs==1.35.2
5860
# via types-aiobotocore
61+
certifi==2024.7.4
62+
# via
63+
# -c requirements/../../../packages/models-library/requirements/../../../requirements/constraints.txt
64+
# -c requirements/../../../packages/service-library/requirements/../../../packages/models-library/requirements/../../../requirements/constraints.txt
65+
# -c requirements/../../../packages/service-library/requirements/../../../packages/settings-library/requirements/../../../requirements/constraints.txt
66+
# -c requirements/../../../packages/service-library/requirements/../../../requirements/constraints.txt
67+
# -c requirements/../../../packages/settings-library/requirements/../../../requirements/constraints.txt
68+
# -c requirements/../../../requirements/constraints.txt
69+
# requests
70+
charset-normalizer==3.3.2
71+
# via requests
5972
click==8.1.7
6073
# via typer
74+
deprecated==1.2.14
75+
# via
76+
# opentelemetry-api
77+
# opentelemetry-exporter-otlp-proto-grpc
78+
# opentelemetry-exporter-otlp-proto-http
79+
# opentelemetry-semantic-conventions
6180
dnspython==2.6.1
6281
# via email-validator
6382
email-validator==2.2.0
@@ -70,11 +89,20 @@ frozenlist==1.4.1
7089
# via
7190
# aiohttp
7291
# aiosignal
92+
googleapis-common-protos==1.65.0
93+
# via
94+
# opentelemetry-exporter-otlp-proto-grpc
95+
# opentelemetry-exporter-otlp-proto-http
96+
grpcio==1.66.0
97+
# via opentelemetry-exporter-otlp-proto-grpc
7398
idna==3.7
7499
# via
75100
# anyio
76101
# email-validator
102+
# requests
77103
# yarl
104+
importlib-metadata==8.0.0
105+
# via opentelemetry-api
78106
jmespath==1.0.1
79107
# via
80108
# boto3
@@ -93,6 +121,45 @@ multidict==6.0.5
93121
# via
94122
# aiohttp
95123
# yarl
124+
opentelemetry-api==1.26.0
125+
# via
126+
# -r requirements/../../../packages/service-library/requirements/_base.in
127+
# opentelemetry-exporter-otlp-proto-grpc
128+
# opentelemetry-exporter-otlp-proto-http
129+
# opentelemetry-instrumentation
130+
# opentelemetry-instrumentation-requests
131+
# opentelemetry-sdk
132+
# opentelemetry-semantic-conventions
133+
opentelemetry-exporter-otlp==1.26.0
134+
# via -r requirements/../../../packages/service-library/requirements/_base.in
135+
opentelemetry-exporter-otlp-proto-common==1.26.0
136+
# via
137+
# opentelemetry-exporter-otlp-proto-grpc
138+
# opentelemetry-exporter-otlp-proto-http
139+
opentelemetry-exporter-otlp-proto-grpc==1.26.0
140+
# via opentelemetry-exporter-otlp
141+
opentelemetry-exporter-otlp-proto-http==1.26.0
142+
# via opentelemetry-exporter-otlp
143+
opentelemetry-instrumentation==0.47b0
144+
# via opentelemetry-instrumentation-requests
145+
opentelemetry-instrumentation-requests==0.47b0
146+
# via -r requirements/../../../packages/service-library/requirements/_base.in
147+
opentelemetry-proto==1.26.0
148+
# via
149+
# opentelemetry-exporter-otlp-proto-common
150+
# opentelemetry-exporter-otlp-proto-grpc
151+
# opentelemetry-exporter-otlp-proto-http
152+
opentelemetry-sdk==1.26.0
153+
# via
154+
# -r requirements/../../../packages/service-library/requirements/_base.in
155+
# opentelemetry-exporter-otlp-proto-grpc
156+
# opentelemetry-exporter-otlp-proto-http
157+
opentelemetry-semantic-conventions==0.47b0
158+
# via
159+
# opentelemetry-instrumentation-requests
160+
# opentelemetry-sdk
161+
opentelemetry-util-http==0.47b0
162+
# via opentelemetry-instrumentation-requests
96163
orjson==3.10.7
97164
# via
98165
# -c requirements/../../../packages/models-library/requirements/../../../requirements/constraints.txt
@@ -105,6 +172,12 @@ orjson==3.10.7
105172
# -r requirements/../../../packages/service-library/requirements/../../../packages/models-library/requirements/_base.in
106173
pamqp==3.3.0
107174
# via aiormq
175+
protobuf==4.25.4
176+
# via
177+
# googleapis-common-protos
178+
# opentelemetry-proto
179+
psutil==6.0.0
180+
# via -r requirements/../../../packages/service-library/requirements/_base.in
108181
pydantic==1.10.17
109182
# via
110183
# -c requirements/../../../packages/models-library/requirements/../../../requirements/constraints.txt
@@ -151,6 +224,8 @@ referencing==0.29.3
151224
# -c requirements/../../../packages/service-library/requirements/./constraints.txt
152225
# jsonschema
153226
# jsonschema-specifications
227+
requests==2.32.3
228+
# via opentelemetry-exporter-otlp-proto-http
154229
rich==13.7.1
155230
# via
156231
# -r requirements/../../../packages/service-library/requirements/../../../packages/settings-library/requirements/_base.in
@@ -162,6 +237,8 @@ rpds-py==0.20.0
162237
# referencing
163238
s3transfer==0.10.2
164239
# via boto3
240+
setuptools==74.0.0
241+
# via opentelemetry-instrumentation
165242
sh==2.0.7
166243
# via -r requirements/_base.in
167244
shellingham==1.5.4
@@ -197,6 +274,7 @@ typing-extensions==4.12.2
197274
# via
198275
# aiodebug
199276
# faststream
277+
# opentelemetry-sdk
200278
# pydantic
201279
# typer
202280
# types-aiobotocore
@@ -212,10 +290,16 @@ urllib3==2.2.2
212290
# -c requirements/../../../packages/settings-library/requirements/../../../requirements/constraints.txt
213291
# -c requirements/../../../requirements/constraints.txt
214292
# botocore
293+
# requests
215294
wrapt==1.16.0
216-
# via aiobotocore
295+
# via
296+
# aiobotocore
297+
# deprecated
298+
# opentelemetry-instrumentation
217299
yarl==1.9.4
218300
# via
219301
# aio-pika
220302
# aiohttp
221303
# aiormq
304+
zipp==3.20.1
305+
# via importlib-metadata

packages/aws-library/requirements/_test.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,16 @@ botocore-stubs==1.35.2
3636
certifi==2024.7.4
3737
# via
3838
# -c requirements/../../../requirements/constraints.txt
39+
# -c requirements/_base.txt
3940
# requests
4041
cffi==1.17.0
4142
# via cryptography
4243
cfn-lint==1.10.3
4344
# via moto
4445
charset-normalizer==3.3.2
45-
# via requests
46+
# via
47+
# -c requirements/_base.txt
48+
# requests
4649
click==8.1.7
4750
# via
4851
# -c requirements/_base.txt
@@ -214,6 +217,7 @@ regex==2024.7.24
214217
# via cfn-lint
215218
requests==2.32.3
216219
# via
220+
# -c requirements/_base.txt
217221
# docker
218222
# jsonschema-path
219223
# moto
@@ -231,8 +235,10 @@ s3transfer==0.10.2
231235
# via
232236
# -c requirements/_base.txt
233237
# boto3
234-
setuptools==73.0.1
235-
# via moto
238+
setuptools==74.0.0
239+
# via
240+
# -c requirements/_base.txt
241+
# moto
236242
six==1.16.0
237243
# via
238244
# -c requirements/_base.txt

packages/aws-library/requirements/_tools.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ pyyaml==6.0.2
6868
# pre-commit
6969
ruff==0.6.1
7070
# via -r requirements/../../../requirements/devenv.txt
71-
setuptools==73.0.1
71+
setuptools==74.0.0
7272
# via
73+
# -c requirements/_base.txt
7374
# -c requirements/_test.txt
7475
# pip-tools
7576
tomlkit==0.13.2

packages/dask-task-models-library/requirements/_test.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ coverage==7.6.1
44
# via
55
# -r requirements/_test.in
66
# pytest-cov
7-
exceptiongroup==1.2.2
8-
# via pytest
97
faker==27.0.0
108
# via -r requirements/_test.in
119
flexcache==0.3
@@ -67,10 +65,6 @@ six==1.16.0
6765
# python-dateutil
6866
termcolor==2.4.0
6967
# via pytest-sugar
70-
tomli==2.0.1
71-
# via
72-
# coverage
73-
# pytest
7468
typing-extensions==4.12.2
7569
# via
7670
# -c requirements/_base.txt

0 commit comments

Comments
 (0)