emqx/lib-ee/emqx_ee_bridge
Zaiming (Stone) Shi 0697c692ed refactor: mongo_type and redis_type are not mandatory
the connector schemas are shared between authn, auth and bridges,
the difference is that authn and authz configs are unions like:

[
    {mongo_type = rs,
     ...
    }
    {another backend config}
]

however the brdige types are maps like, for example:

mongodb_rs.$name {
    mongo_type = rs
    ...
}

in which case, the mongo_type is not required.

in order to keep the schema static as much as possible,
this field is chanegd to 'required => false' with a default value.

However, for authn and authz, the union selector will still raise
exception if the there is no type provided.
2023-01-09 14:26:16 +01:00
..
i18n feat(bridges): integrate PostgreSQL into bridges 2023-01-06 11:47:22 +08:00
src refactor: use union member type selector for authz sources 2023-01-09 14:26:16 +01:00
test refactor: mongo_type and redis_type are not mandatory 2023-01-09 14:26:16 +01:00
.gitignore feat: add emqx enterprise app connector & bridge 2022-07-25 09:36:45 +08:00
docker-ct test(bridges): add test case for the PostgreSQL backend 2023-01-06 11:56:28 +08:00
README.md feat: add emqx enterprise app connector & bridge 2022-07-25 09:36:45 +08:00
rebar.config refactor: use union member type selector for authz sources 2023-01-09 14:26:16 +01:00

emqx_ee_bridge

An OTP application

Build

$ rebar3 compile