emqx/apps/emqx_bridge/src
Kjell Winblad b59c4c34c5 fix(Bridge REST API): no feedback when deleting bridge
This fixes https://emqx.atlassian.net/browse/EMQX-8648. The issue
described in `EMQX-8648` is that when deleting a non-existing bridge the
server gives a success response. See below:

```
curl --head -u admin:public2 -X 'DELETE' 'http://localhost:18083/api/v5/bridges/webhook:i_do_not_exist'
HTTP/1.1 204 No Content
date: Tue, 03 Jan 2023 16:59:01 GMT
server: Cowboy
```

After the fix, deleting a non existing bridge will give the following
response:

```
HTTP/1.1 404 Not Found
content-length: 49
content-type: application/json
date: Thu, 05 Jan 2023 12:40:35 GMT
server: Cowboy
```

Closes: EMQX-8648
2023-01-05 16:19:46 +01:00
..
proto chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
schema feat(buffer_worker): refactor buffer/resource workers to always use queue 2023-01-05 10:15:09 -03:00
emqx_bridge_api.erl fix(Bridge REST API): no feedback when deleting bridge 2023-01-05 16:19:46 +01:00
emqx_bridge_app.erl chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
emqx_bridge_resource.erl chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
emqx_bridge_sup.erl chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
emqx_bridge.app.src chore: bump app vsns 2022-12-30 16:51:24 -03:00
emqx_bridge.erl chore: update copyright year 2023 2023-01-02 09:22:27 +01:00