Closed aitorcelaya closed 3 years ago
From a purely formal technical point of view, the return 200 is fine here, though admittedly confusing in conjunction with a Broker-HTML Error-Page 404 as the Brokers response.
Likely solution:
/browse
is the frontend endpoint of the broker (requests frontend).
The endpoint required for IDS-Messages is /infrastructure
.
Please try to send the IDS-Message on /infrastructure
instead of /browse
.
Description for /infrastructure
: This endpoint serves as the main interaction point for onboarding and updating of metadata at the broker. Most probably the relevant messages are ConnectorAvailableMessage, ConnectorUnavailableMessage, ConnectorInactiveMessage, ConnectorUpdateMessage, ResourceAvailableMessage, ResourceUnavailableMessage, ResourceUpdateMessage.
In general, there is a good documentation of the endpoints of the open-core broker here: https://app.swaggerhub.com/apis/idsa/IDS-Broker/1.3.1
Thank you for the response however the issue still remains. Same Code 200 with a html 404 Not Found response
The issue is now fixed. Thank you for the assistance!
I performed the /api/ids/connector/update call to register my connector at the IDS Broker. I installed the Broker locally in localhost. I tried registering the connector to my own Broker and I got a code 200 with a ¨404 Not Found¨ response body.
The expected behavior was the connector to register at the local Broker and then update resources.
Instead of getting a Code 404, obtained a Code 200 mentioning ¨404 Not Found¨
OS: Ubuntu Browser: Firefox Version: 88.0