@@ -1190,21 +1190,21 @@ register_rabbit_vhost_projection() ->
1190
1190
register_simple_projection (Name , PathPattern , KeyPos ).
1191
1191
1192
1192
register_rabbit_users_projection () ->
1193
- Name = rabbit_khepri_users ,
1193
+ Name = rabbit_khepri_user ,
1194
1194
PathPattern = rabbit_db_user :khepri_user_path (
1195
1195
_UserName = ? KHEPRI_WILDCARD_STAR ),
1196
1196
KeyPos = 2 , % % #internal_user.username
1197
1197
register_simple_projection (Name , PathPattern , KeyPos ).
1198
1198
1199
1199
register_rabbit_global_runtime_parameters_projection () ->
1200
- Name = rabbit_khepri_global_rtparams ,
1200
+ Name = rabbit_khepri_global_rtparam ,
1201
1201
PathPattern = rabbit_db_rtparams :khepri_global_rp_path (
1202
1202
_Key = ? KHEPRI_WILDCARD_STAR_STAR ),
1203
1203
KeyPos = # runtime_parameters .key ,
1204
1204
register_simple_projection (Name , PathPattern , KeyPos ).
1205
1205
1206
1206
register_rabbit_per_vhost_runtime_parameters_projection () ->
1207
- Name = rabbit_khepri_per_vhost_rtparams ,
1207
+ Name = rabbit_khepri_per_vhost_rtparam ,
1208
1208
PathPattern = rabbit_db_rtparams :khepri_vhost_rp_path (
1209
1209
_VHost = ? KHEPRI_WILDCARD_STAR_STAR ,
1210
1210
_Component = ? KHEPRI_WILDCARD_STAR_STAR ,
@@ -1213,7 +1213,7 @@ register_rabbit_per_vhost_runtime_parameters_projection() ->
1213
1213
register_simple_projection (Name , PathPattern , KeyPos ).
1214
1214
1215
1215
register_rabbit_user_permissions_projection () ->
1216
- Name = rabbit_khepri_user_permissions ,
1216
+ Name = rabbit_khepri_user_permission ,
1217
1217
PathPattern = rabbit_db_user :khepri_user_permission_path (
1218
1218
_UserName = ? KHEPRI_WILDCARD_STAR ,
1219
1219
_VHost = ? KHEPRI_WILDCARD_STAR ),
@@ -1232,7 +1232,7 @@ register_rabbit_bindings_projection() ->
1232
1232
ProjectionFun = projection_fun_for_sets (MapFun ),
1233
1233
Options = #{keypos => # route .binding },
1234
1234
Projection = khepri_projection :new (
1235
- rabbit_khepri_bindings , ProjectionFun , Options ),
1235
+ rabbit_khepri_binding , ProjectionFun , Options ),
1236
1236
PathPattern = rabbit_db_binding :khepri_route_path (
1237
1237
_VHost = ? KHEPRI_WILDCARD_STAR ,
1238
1238
_ExchangeName = ? KHEPRI_WILDCARD_STAR ,
0 commit comments