Closed borrosjim closed 1 year ago
The Tenant API is supposed to be used by Hono's protocol adapters, not external components. The Sandbox therefore does not expose the corresponding API endpoint(s) to the outside world. In your script you are connecting to Hono's north bound AMQP 1.0 endpoint. This endpoint only supports the Telemetry, Event and Command & Control APIs. Would you mind explaining why you need to access the Tenant API via AMQP 1.0?
The Tenant API is supposed to be used by Hono's protocol adapters, not external components. The Sandbox therefore does not expose the corresponding API endpoint(s) to the outside world. In your script you are connecting to Hono's north bound AMQP 1.0 endpoint. This endpoint only supports the Telemetry, Event and Command & Control APIs. Would you mind explaining why you need to access the Tenant API via AMQP 1.0?
Hello @sophokles73 and thanks for your support. I was trying to see if it's possible to create a custom protocol adapter directly (rather than using a software gateway) with python. Best regards, B
That is definitely possible but the Sandbox does not expose the API to components outside of the k3s cluster it is deployed to. You can, of course, create a custom adapter and deploy it to your own Hono installation ...
I wanted to do that, but somehow I'm finding it difficult to deploy it in a mac m1 machine, that's why I was experimenting on hono directly; but I'll definitely have a look into it :) Thanks again for your support, B
Hello, I'm exploring around Hono's functionalities and I was wondering if it's possible to interact with Hono's core APIS using the sandbox. I've made a script in python that tries to connect to AMQP 1.0 broker and following https://eclipse.dev/hono/docs/api/tenant/ Not sure if I got something wrong or it's just not permitted, it seems like I don't have credits from the server so I can't even publish a message (I've tried calling it directly without connecting to /tenant but I can't get the connection to work). I've put the user "hono-client@HONO". Here's my script
Would you mind taking a look at it? Thanks in advance! B