Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-7906 - Remove tldraw legacy code #5390

Merged
merged 32 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
ceb4003
Implement Tldraw client module with API integration and configuration
SevenWaysDP Dec 10, 2024
d0628e7
Remove runer.js
bischofmax Dec 10, 2024
6c94403
Remove npm commands
bischofmax Dec 10, 2024
e1a6881
Remove tldraw apps
bischofmax Dec 10, 2024
e0a213c
Remove tldraw and tldraw client modules
bischofmax Dec 10, 2024
55ce0a9
Remove yjs and y-protocols package
bischofmax Dec 10, 2024
223e5f6
Remove tldraw env vars
bischofmax Dec 10, 2024
69b934b
Remove tldraw from ansible
bischofmax Dec 10, 2024
b8d97bd
Remove env vars from server config
bischofmax Dec 10, 2024
43502c2
Add tldraw client config
bischofmax Dec 10, 2024
5bb6a10
Revert deletion of tldraw env vars
bischofmax Dec 10, 2024
9eb7d18
Revert deletion of TLDRAW__WEBSOCKET_URL in ansible
bischofmax Dec 10, 2024
641b0e5
Remove TldrawWsFactory
bischofmax Dec 10, 2024
814799e
Remove TldrawDrawing fro all entities
bischofmax Dec 10, 2024
e8027e0
Revert removal of tldraw envs in schema
bischofmax Dec 10, 2024
515f223
Fix naming of api key and base url in boardCollaborationConfig
bischofmax Dec 10, 2024
f0d7238
Fix infra import
bischofmax Dec 10, 2024
35f9ab9
Revert env removal in test config
bischofmax Dec 10, 2024
235ec8c
Merge branch 'main' into BC-7906
bischofmax Dec 10, 2024
b0d719c
Merge branch 'main' into BC-7906
bischofmax Dec 10, 2024
c852db7
Merge branch 'BC-7906' of github.com:hpi-schul-cloud/schulcloud-serve…
bischofmax Dec 10, 2024
4e9c7c4
Remove call of board config in module
bischofmax Dec 11, 2024
e3a060e
Fix typo in env name
bischofmax Dec 11, 2024
526dbed
Remove tldraw env vars
bischofmax Dec 11, 2024
a87ebf8
Remove tldraw env vars from config response
bischofmax Dec 11, 2024
026eb2d
Remove tldraw properties from config response
bischofmax Dec 11, 2024
99148d8
Fix mocks in tests
bischofmax Dec 11, 2024
f51234e
Add headers to tldraw client config
bischofmax Dec 11, 2024
c4ee9e6
Remove tldraw envs from server api spec
bischofmax Dec 11, 2024
583879d
Add tldraw client adapter test
bischofmax Dec 11, 2024
ee03371
Add barrel file to tldraw client
bischofmax Dec 11, 2024
a3daa18
Merge branch 'main' into BC-7906
bischofmax Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 0 additions & 69 deletions ansible/roles/schulcloud-server-core/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,6 @@
tags:
- cronjob

- name: Delete Tldraw Files CronJob
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-delete-files-cronjob.yml.j2
state: "{{ 'present' if WITH_TLDRAW else 'absent'}}"
tags:
- cronjob

- name: Data deletion trigger CronJob
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
Expand Down Expand Up @@ -349,66 +340,6 @@
tags:
- prometheus

- name: External Secret for TlDraw Server
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-server-external-secret.yml.j2
state: "{{ 'present' if WITH_BRANCH_MONGO_DB_MANAGEMENT is defined and WITH_BRANCH_MONGO_DB_MANAGEMENT|bool else 'absent'}}"
when:
- EXTERNAL_SECRETS_OPERATOR is defined and EXTERNAL_SECRETS_OPERATOR|bool
- WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- 1password

- name: TlDraw server Secret (from 1Password)
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-server-onepassword.yml.j2
when:
- ONEPASSWORD_OPERATOR is defined and ONEPASSWORD_OPERATOR|bool
- WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- 1password

- name: TlDraw server deployment
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-deployment.yml.j2
state: "{{ 'present' if WITH_TLDRAW else 'absent'}}"
tags:
- deployment

- name: TlDraw server service
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-server-svc.yml.j2
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- service

- name: Tldraw ingress
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-ingress.yml.j2
apply: yes
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
tags:
- ingress

- name: TldrawServiceMonitor
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-svc-monitor.yml.j2
state: "{{ 'present' if WITH_TLDRAW else 'absent'}}"
tags:
- prometheus

- name: BoardCollaboration configmap
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ spec:
data:
DB_URL: "{{ '{{ .MONGO_MANAGEMENT_TEMPLATE_URL }}/' ~ MONGO_MANAGEMENT_PREFIX ~ 'scapp' ~ MONGO_MANAGEMENT_POSTFIX }}"
DATABASE__URL: "{{ '{{ .MONGO_MANAGEMENT_TEMPLATE_URL }}/' ~ MONGO_MANAGEMENT_PREFIX ~ 'scapp' ~ MONGO_MANAGEMENT_POSTFIX }}"
TLDRAW_DB_URL: "{{ '{{ .MONGO_MANAGEMENT_TEMPLATE_URL }}/' ~ MONGO_MANAGEMENT_PREFIX ~ 'tldraw' ~ MONGO_MANAGEMENT_POSTFIX }}"
dataFrom:
- extract:
key: api-secret{{ EXTERNAL_SECRETS_POSTFIX }}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading