mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

tdj_tx
06.45.2007 cec086869b21556597831c3f08dbc96ca27d8f8a
removed the default backend, also added parsing for branches, attributes, and filters. for example,
you can specify multiple include branches 'dsIncludeBranch' : ['dc=com','dc=example,dc=com']
1 files modified
31 ■■■■■ changed files
opends/tests/functional-tests/shared/functions/dsadm.xml 31 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/functions/dsadm.xml
@@ -893,7 +893,7 @@
        </function-arg-description>
        <function-arg-property name="type" value="option"/>
      </function-arg-def>      
      <function-arg-def name="dsBackEnd" type="optional" default="'%s' % DIRECTORY_INSTANCE_BE">
      <function-arg-def name="dsBackEnd" type="optional">
        <function-arg-description>
          Backend ID for the backend to import
        </function-arg-description>
@@ -1014,26 +1014,29 @@
        if dsReplaceExisting:
          STAFCmdParamsList.append('-r')
        if dsBackEnd:
          STAFCmdParamsList.append('-n %s' % dsBackEnd)
        if dsIncludeBranch:
          STAFCmdParamsList.append('-b %s' % dsIncludeBranch)
          for InBranch in dsIncludeBranch:
            STAFCmdParamsList.append('-b %s ' % InBranch)
          
        if dsExcludeBranch:
          STAFCmdParamsList.append('-B %s' % dsExcludeBranch)
          for ExBranch in dsExcludeBranch:
            STAFCmdParamsList.append('-B %s ' % ExBranch)
          
        if dsIncludeAttribute:
          STAFCmdParamsList.append('-i %s' % dsIncludeAttribute)
          for InAttr in dsIncludeAttribute:
            STAFCmdParamsList.append('-i %s ' % InAttr)
          
        if dsExcludeAttribute:
          STAFCmdParamsList.append('-e %s' % dsExcludeAttribute)
          for ExAttr in dsExcludeAttribute:
            STAFCmdParamsList.append('-e %s ' % ExAttr)
          
        if dsIncludeFilter:
          STAFCmdParamsList.append('-I %s' % dsIncludeFilter)
          for InFilter in dsIncludeFilter:
            STAFCmdParamsList.append('-I %s ' % InFilter)
        if dsExcludeFilter:
          STAFCmdParamsList.append('-E %s' % dsExcludeFilter)
          for ExFilter in dsExcludeFilter:
            STAFCmdParamsList.append('-E %s ' % ExFilter)
          
        if dsRejectFile:
          STAFCmdParamsList.append('-R %s' % dsRejectFile)
@@ -1042,10 +1045,10 @@
          STAFCmdParamsList.append('-O')
          
        if dsRandomSeed:
          STAFCmdParamsList.append('-S %s' % dsRandomSeed)
          STAFCmdParamsList.append('-s %s' % dsRandomSeed)
        if dsSkipSchemaValidation:
          STAFCmdParamsList.append('-s')
          STAFCmdParamsList.append('-S')
          
        if dsIsCompressed:
          STAFCmdParamsList.append('-c')
@@ -1059,7 +1062,11 @@
        if dsHelp:
          STAFCmdParamsList.append('-H')
 
        if dsBackEnd:
          STAFCmdParamsList.append('-n %s' % dsBackEnd)
        STAFCmdParams=' '.join(STAFCmdParamsList)
      </script>
      
      <message>