6869N/A- Remove use of default arguments when calling functions
6869N/A - Search for the following regexps to find some default args:
6869N/A <function-arg-def[^>]*default="DIRECTORY
6869N/A <function-arg-def[^>]*default="STAF_REMOTE_HOSTNAME
6869N/A - Check calls to 'isAlive', 'StartDsWithScript', 'addEntry', 'modifyEntry'
6869N/A - Check calls to 'isAlive', 'StartDsWithScript', 'addEntry', 'modifyEntry'
6869N/A - Replace such calls:
6869N/A (<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*)?
6869N/A with
6869N/A \1
6869N/A Replace this:
6869N/A <call function="'StopDsWithScript'">\s*\{\s*\}\s*</call>
6869N/A with:
6869N/A <call function="'StopDsWithScript'" />
6869N/A Replace this:
6869N/A <!--\s*Stop\s*DS\s*-->\s*<call function="'StopDsWithScript'" />
6869N/A with:
6869N/A <call function="'StopDsWithScript'" />