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

Implement websocket client API #20

Merged
merged 15 commits into from
May 21, 2024
Merged

Implement websocket client API #20

merged 15 commits into from
May 21, 2024

Conversation

NeonDaniel
Copy link
Member

@NeonDaniel NeonDaniel commented Apr 11, 2024

Description

Implements a websocket API for a Node client
Adds ClientPermissions object to define per-client permissions

Issues

Closes #6

Other Notes

Example client implementation: NeonGeckoCom/neon-nodes#14

@NeonDaniel NeonDaniel marked this pull request as ready for review April 12, 2024 19:39
@NeonDaniel NeonDaniel marked this pull request as draft April 12, 2024 19:39
@NeonDaniel NeonDaniel requested a review from mikejgray April 25, 2024 01:35
Copy link
Contributor

@mikejgray mikejgray left a comment

Choose a reason for hiding this comment

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

I don't have a good way to test this locally, but the code looks good to me

@NeonDaniel
Copy link
Member Author

Deployed to hana.neonaialpha.com with neon/neon auth

@NeonDaniel
Copy link
Member Author

I don't have a good way to test this locally, but the code looks good to me

This can be tested now with configuration:

neon_node:
  description: Neon Node
#  hana_address: https://hana.neonaiservices.com
  hana_address: https://hana.neonaialpha.com
  hana_username: neon
  hana_password: neon

using NeonGeckoCom/neon-nodes#14

@NeonDaniel NeonDaniel requested a review from mikejgray May 7, 2024 17:30
@NeonDaniel NeonDaniel marked this pull request as ready for review May 7, 2024 17:31
@NeonDaniel NeonDaniel merged commit 589da9b into dev May 21, 2024
6 checks passed
@NeonDaniel NeonDaniel deleted the FEAT_Websocket branch May 21, 2024 20:05
NeonDaniel added a commit to NeonGeckoCom/neon-nodes that referenced this pull request May 22, 2024
# Description
Implements a WS communication-based client
Refactor to minimize duplicate code


# Issues
<!-- If this is related to or closes an issue/other PR, please note them
here -->

# Other Notes
- Goes with NeonGeckoCom/neon-hana#20

---------

Co-authored-by: Daniel McKnight <[email protected]>
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.

[FEAT] Websocket Client API
2 participants