You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eventmesh.apache.org by "Pil0tXia (via GitHub)" <gi...@apache.org> on 2023/07/26 03:36:54 UTC

[GitHub] [eventmesh-site] Pil0tXia opened a new issue, #109: [Bug] Query WebHook config causes NPE and returns empty response

Pil0tXia opened a new issue, #109:
URL: https://github.com/apache/eventmesh-site/issues/109

   ![55b07433e099064891d9a7a68d9e48d](https://github.com/apache/eventmesh-site/assets/41445332/5c9ad421-bb06-4496-a604-82052c90ecb5)
   
   When inserting the config, the path contains `manufacturerName`, and the same logic applies when querying. Therefore, if we follow the request example in the documentation, it will result in an NPE (NullPointerException).
   
   ![de668469ccf5d20f22302fc5e2c1863](https://github.com/apache/eventmesh-site/assets/41445332/11bb064e-7cbf-4756-8937-8d242110cbc3)
   
   There are two possible solutions, with no impact on users. One way is to retrieve `manufacturerName` from `callbackPath` when making a query on our end. However, this would require specifying in the documentation that `manufacturerName` must be included in users' `callbackPath`, which doesn't seem like a common practice.
   
   A simpler solution is to include `manufacturerName` in the request. Since there are likely no users for our webhook at the moment, I will go with the latter option.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org


[GitHub] [eventmesh-site] xwm1992 closed issue #109: [Bug] queryWebHookConfigById endpoint causes NPE and returns empty response

Posted by "xwm1992 (via GitHub)" <gi...@apache.org>.
xwm1992 closed issue #109: [Bug] queryWebHookConfigById endpoint causes NPE and returns empty response
URL: https://github.com/apache/eventmesh-site/issues/109


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org