@@ -1190,21 +1190,21 @@ register_rabbit_vhost_projection() ->
11901190 register_simple_projection (Name , PathPattern , KeyPos ).
11911191
11921192register_rabbit_users_projection () ->
1193- Name = rabbit_khepri_users ,
1193+ Name = rabbit_khepri_user ,
11941194 PathPattern = rabbit_db_user :khepri_user_path (
11951195 _UserName = ? KHEPRI_WILDCARD_STAR ),
11961196 KeyPos = 2 , % % #internal_user.username
11971197 register_simple_projection (Name , PathPattern , KeyPos ).
11981198
11991199register_rabbit_global_runtime_parameters_projection () ->
1200- Name = rabbit_khepri_global_rtparams ,
1200+ Name = rabbit_khepri_global_rtparam ,
12011201 PathPattern = rabbit_db_rtparams :khepri_global_rp_path (
12021202 _Key = ? KHEPRI_WILDCARD_STAR_STAR ),
12031203 KeyPos = # runtime_parameters .key ,
12041204 register_simple_projection (Name , PathPattern , KeyPos ).
12051205
12061206register_rabbit_per_vhost_runtime_parameters_projection () ->
1207- Name = rabbit_khepri_per_vhost_rtparams ,
1207+ Name = rabbit_khepri_per_vhost_rtparam ,
12081208 PathPattern = rabbit_db_rtparams :khepri_vhost_rp_path (
12091209 _VHost = ? KHEPRI_WILDCARD_STAR_STAR ,
12101210 _Component = ? KHEPRI_WILDCARD_STAR_STAR ,
@@ -1213,7 +1213,7 @@ register_rabbit_per_vhost_runtime_parameters_projection() ->
12131213 register_simple_projection (Name , PathPattern , KeyPos ).
12141214
12151215register_rabbit_user_permissions_projection () ->
1216- Name = rabbit_khepri_user_permissions ,
1216+ Name = rabbit_khepri_user_permission ,
12171217 PathPattern = rabbit_db_user :khepri_user_permission_path (
12181218 _UserName = ? KHEPRI_WILDCARD_STAR ,
12191219 _VHost = ? KHEPRI_WILDCARD_STAR ),
@@ -1232,7 +1232,7 @@ register_rabbit_bindings_projection() ->
12321232 ProjectionFun = projection_fun_for_sets (MapFun ),
12331233 Options = #{keypos => # route .binding },
12341234 Projection = khepri_projection :new (
1235- rabbit_khepri_bindings , ProjectionFun , Options ),
1235+ rabbit_khepri_binding , ProjectionFun , Options ),
12361236 PathPattern = rabbit_db_binding :khepri_route_path (
12371237 _VHost = ? KHEPRI_WILDCARD_STAR ,
12381238 _ExchangeName = ? KHEPRI_WILDCARD_STAR ,
0 commit comments