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

Refactor platform API message handling in kernel.ts #1121

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

pastuxso
Copy link
Contributor

  • Remapped cloud API requests to platform API requests when platform authentication is enabled.
  • Updated the response messages for saving cell executions to use platform API response messages.
  • Added tests for platform API request handling and saving cell executions.

@pastuxso pastuxso force-pushed the cpda/refactor-platform-kernel-events branch from 24fdf51 to 454b3e5 Compare February 15, 2024 15:46
@pastuxso pastuxso marked this pull request as ready for review February 15, 2024 15:48
@pastuxso pastuxso force-pushed the cpda/refactor-platform-kernel-events branch from 454b3e5 to e992acd Compare February 15, 2024 16:44
Copy link
Member

@sourishkrout sourishkrout left a comment

Choose a reason for hiding this comment

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

👍 LGTM - Using an TS interface ViewModel could also help an additional strategy to keep the "backend" interchangeable. However, if we are planning to decom the old backend it's probably not worth doing all the refactoring to implement said strategy.

Let's merge.

Copy link
Contributor

@degrammer degrammer left a comment

Choose a reason for hiding this comment

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

LGTM

- Remapped cloud API requests to platform API requests when platform authentication is enabled.
- Updated the response messages for saving cell executions to use platform API response messages.
- Added tests for platform API request handling and saving cell executions.
@pastuxso pastuxso force-pushed the cpda/refactor-platform-kernel-events branch from e992acd to 111ffef Compare February 16, 2024 16:25
Copy link

sonarcloud bot commented Feb 16, 2024

@pastuxso pastuxso merged commit 2e3a55c into main Feb 16, 2024
4 checks passed
@pastuxso pastuxso deleted the cpda/refactor-platform-kernel-events branch February 16, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants