From a7fc9d683358b269b088bd3d0843e26ecee3844c Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 12 Nov 2013 14:11:59 +0000
Subject: [PATCH] Staf refactor
---
opends/tests/staf-tests/TODO | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/opends/tests/staf-tests/TODO b/opends/tests/staf-tests/TODO
new file mode 100644
index 0000000..d0c934b
--- /dev/null
+++ b/opends/tests/staf-tests/TODO
@@ -0,0 +1,18 @@
+- Remove use of default arguments when calling functions
+ - Search for the following regexps to find some default args:
+ <function-arg-def[^>]*default="DIRECTORY
+ <function-arg-def[^>]*default="STAF_REMOTE_HOSTNAME
+ - Check calls to 'isAlive', 'StartDsWithScript', 'addEntry', 'modifyEntry'
+ - Check calls to 'isAlive', 'StartDsWithScript', 'addEntry', 'modifyEntry'
+ - Replace such calls:
+ (<call function="'StopDsWithScript'">\s*\{\s*)('location'\s*:\s*STAF_REMOTE_HOSTNAME|'dsHost'\s*:\s*DIRECTORY_INSTANCE_HOST|'dsAdminPort'\s*:\s*DIRECTORY_INSTANCE_ADMIN_PORT|'dsBindDN'\s*:\s*DIRECTORY_INSTANCE_DN|'dsBindPwd'\s*:\s*DIRECTORY_INSTANCE_PSWD)\s*(,\s*)?
+ with
+ \1
+ Replace this:
+ <call function="'StopDsWithScript'">\s*\{\s*\}\s*</call>
+ with:
+ <call function="'StopDsWithScript'" />
+ Replace this:
+ <!--\s*Stop\s*DS\s*-->\s*<call function="'StopDsWithScript'" />
+ with:
+ <call function="'StopDsWithScript'" />
--
Gitblit v1.10.0