config: expose configuration status from box.info
Fixes #10044 @TarantoolBot document Title: Configuration status is shown in `box.info.config` now There is the `config:info([version])` method, but in order to access it over iproto an application developer should add something like the following into the application code: ```lua _G.config = require('config') ``` It is not convenient, at least because it requires an attention from the application developer and it can't be solved solely by an administrator. Now, the `config:info('v2')` result is reported in the `config` field of the `box.info` table. It is accessible over iproto if appropriate privileges are granted for a calling user.
Showing
- changelogs/unreleased/box-info-config.md 3 additions, 0 deletionschangelogs/unreleased/box-info-config.md
- src/box/lua/info.c 37 additions, 0 deletionssrc/box/lua/info.c
- test/box-luatest/box_info_config_test.lua 117 additions, 0 deletionstest/box-luatest/box_info_config_test.lua
- test/box/info.result 1 addition, 0 deletionstest/box/info.result
changelogs/unreleased/box-info-config.md
0 → 100644
test/box-luatest/box_info_config_test.lua
0 → 100644
Please register or sign in to comment