Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Migrate API to websockets#485

Draft
boswelja wants to merge 75 commits intomainfrom
websockets
Draft

Migrate API to websockets#485
boswelja wants to merge 75 commits intomainfrom
websockets

Conversation

@boswelja
Copy link
Owner

@boswelja boswelja commented Oct 29, 2024

⚠️ This is a work in progress, and a long-running one at that ⚠️

The websocket client is now functional! There's likely still some bugs (I'm new to WS in general), and I'm still in the process of migrating everything off REST

Fixes #484

@boswelja boswelja self-assigned this Oct 29, 2024
@github-actions github-actions bot added dependencies Pull requests that update a dependency file core:api labels Oct 29, 2024
# Conflicts:
#	core/api/src/commonMain/kotlin/com/nasdroid/api/websocket/ddp/EjsonSerializers.kt
#	core/api/src/commonMain/kotlin/com/nasdroid/api/websocket/ddp/SubscriptionEvent.kt
#	core/api/src/commonMain/kotlin/com/nasdroid/api/websocket/ddp/Throwables.kt
#	core/api/src/commonMain/kotlin/com/nasdroid/api/websocket/ddp/message/ConnectionMessages.kt
#	core/api/src/commonMain/kotlin/com/nasdroid/api/websocket/ddp/message/Error.kt
# Conflicts:
#	apitester/build.gradle.kts
#	apitester/src/androidMain/AndroidManifest.xml
#	apitester/src/androidMain/res/mipmap-anydpi-v26/ic_launcher.xml
#	gradle/libs.versions.toml
@github-actions github-actions bot removed the dependencies Pull requests that update a dependency file label Jan 22, 2025
# Conflicts:
#	app/src/main/java/com/nasdroid/DI.kt
#	core/api/src/commonMain/kotlin/com/nasdroid/api/DI.kt
#	core/api/src/commonMain/kotlin/com/nasdroid/api/v2/HttpClient.kt
#	core/api/src/commonMain/kotlin/com/nasdroid/api/v2/core/CoreV2Api.kt
#	core/api/src/commonMain/kotlin/com/nasdroid/api/v2/pool/PoolV2Api.kt
#	core/api/src/commonMain/kotlin/com/nasdroid/api/v2/system/SystemV2Api.kt
#	features/auth/logic/src/main/kotlin/com/nasdroid/auth/logic/auth/LogIn.kt
#	features/dashboard/logic/src/test/kotlin/com/nasdroid/dashboard/logic/dataloading/cpu/GetCpuSpecsTest.kt
#	features/dashboard/logic/src/test/kotlin/com/nasdroid/dashboard/logic/dataloading/memory/GetMemorySpecsTest.kt
#	features/dashboard/logic/src/test/kotlin/com/nasdroid/dashboard/logic/dataloading/system/GetSystemInformationTest.kt
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

detekt found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REST API deprecated with TrueNAS 25.04

1 participant