• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

emqx / emqx / 13979276088

20 Mar 2025 09:02PM UTC coverage: 83.253%. First build
13979276088

Pull #14901

github

web-flow
Merge 7b2283018 into 6c32718fc
Pull Request #14901: feat: port external HTTP serde from 4.x to schema registry

113 of 142 new or added lines in 7 files covered. (79.58%)

61708 of 74121 relevant lines covered (83.25%)

16593.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/apps/emqx_schema_registry/src/proto/emqx_schema_registry_http_api_proto_v1.erl
1
%%--------------------------------------------------------------------
2
%% Copyright (c) 2025 EMQ Technologies Co., Ltd. All Rights Reserved.
3
%%--------------------------------------------------------------------
4
-module(emqx_schema_registry_http_api_proto_v1).
5

6
-behaviour(emqx_bpapi).
7

8
-include_lib("emqx/include/bpapi.hrl").
9

10
-export([
11
    introduced_in/0,
12

13
    lookup_resource_from_all_nodes/3
14
]).
15

16
-define(LOOKUP_TIMEOUT, 15_000).
17

18
introduced_in() ->
NEW
19
    "5.9.0".
×
20

21
-spec lookup_resource_from_all_nodes(
22
    [node()],
23
    emqx_schema_registry:serde_type(),
24
    emqx_schema_registry:schema_name()
25
) ->
26
    emqx_rpc:erpc_multicall({ok, map()} | {error, not_found}).
27
lookup_resource_from_all_nodes(Nodes, Type, Name) ->
28
    erpc:multicall(
2✔
29
        Nodes,
30
        emqx_schema_registry_http_api,
31
        lookup_resource_from_local_node_v1,
32
        [Type, Name],
33
        ?LOOKUP_TIMEOUT
34
    ).
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc