summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/SConscript
diff options
context:
space:
mode:
authorAdam Rayner <adam.rayner@gmail.com>2022-03-08 15:35:04 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-30 07:19:10 +0000
commitdca101cdb1370e25ebf1730a46467a820919c1d5 (patch)
tree5b2458a6e1f1f86eefe9c8d2ab18fa4f42c21243 /src/mongo/db/commands/SConscript
parentb7cec3249e810734a34f2a095d1c994f293d201e (diff)
downloadmongo-dca101cdb1370e25ebf1730a46467a820919c1d5.tar.gz
SERVER-64326 setClusterParameter command unpacks object parameters and valdiates
Diffstat (limited to 'src/mongo/db/commands/SConscript')
-rw-r--r--src/mongo/db/commands/SConscript18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/mongo/db/commands/SConscript b/src/mongo/db/commands/SConscript
index 29e58008a5b..37055dd8a94 100644
--- a/src/mongo/db/commands/SConscript
+++ b/src/mongo/db/commands/SConscript
@@ -623,7 +623,7 @@ env.Library(
'rwc_defaults_commands',
'server_status',
'servers',
- 'set_cluster_parameter_idl',
+ 'set_cluster_parameter_invocation',
'set_feature_compatibility_version_idl',
'set_index_commit_quorum_idl',
'set_user_write_block_mode_idl',
@@ -637,6 +637,18 @@ env.Library(
)
env.Library(
+ target='set_cluster_parameter_invocation',
+ source=[
+ 'set_cluster_parameter_invocation.cpp',
+ ],
+ LIBDEPS=[
+ '$BUILD_DIR/mongo/base',
+ '$BUILD_DIR/mongo/s/write_ops/cluster_write_ops',
+ 'set_cluster_parameter_idl'
+ ],
+)
+
+env.Library(
target='kill_common',
source=[
'kill_op_cmd_base.cpp',
@@ -814,6 +826,7 @@ env.CppUnitTest(
"mr_test.cpp" if get_option('js-engine') != 'none' else [],
"parse_log_component_settings_test.cpp",
"plan_cache_commands_test.cpp",
+ "set_cluster_parameter_invocation_test.cpp",
],
LIBDEPS=[
"$BUILD_DIR/mongo/db/auth/authmocks",
@@ -834,6 +847,7 @@ env.CppUnitTest(
"create_command",
"mongod",
"servers",
+ "set_cluster_parameter_invocation",
"standalone",
],
-)
+) \ No newline at end of file