Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Viss client grpc #291

Merged

Conversation

nayakned
Copy link
Contributor

This PR can be tested once the #287 is merged.

How to use the kuksa VISS Client for gRPC.

  • Ensure that the kuksa.val server implements the get/set/authorize gRPC calls (done in PR New implementation of the gRPC set, get and authorize. #287 ).
  • Start the client. It will automatically connect using ws protocol.
  • Disconnect it using disconnect command
  • Change Server Address using setServerAddress command and use -p switch to change the protocol
    -- If insecure mode, IP address would suffice, e.g., setServerAddress -p grpc 127.0.0.1 50051
    -- If secure mode, server name (be default: Server ) is needed from the used certificate, e.g., setServerAddress -p grpc Server 50051
  • Connect using connect command
    -- insecure mode: connect -i
    -- secure mode: connect
  • Finally execute commands as usual.

nayakned added 6 commits June 15, 2022 13:14
… threads for websocket handling.

Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
… VISS client.

Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
…o a new module.

Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
…S Client.

Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
…en gRPC capable VISS Client and a non-gRPC (older) Kuksa implementations.

Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
nayakned added 10 commits June 27, 2022 17:13
Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
…ation of strings.

Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
…when none existec.

Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
@SebastianSchildt
Copy link
Contributor

Working now. Not worse than before :)

@SebastianSchildt SebastianSchildt merged commit 170b6a6 into eclipse-archived:master Jun 29, 2022
@SebastianSchildt SebastianSchildt deleted the viss_client_grpc branch June 29, 2022 13:01
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants