Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-169

Pushpull dirstruct xml files fail to replace global variables in name attribute for dir and file elements

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.2
    • Fix Version/s: 0.3
    • Component/s: push pull framework
    • Labels:
      None
    • Environment:

      none

      Description

      for example, the below dirstruct xml file, pushpull currently will fail to replace '${DATE_NOW}' (ignore the extra '\' before '{' – i had to add it so formatting would work):

      <root>
          <variables>
              <variable name="DATE_NOW">
                  <type>STRING</type>
                  <value>[FORMAT(yyyy-MM-dd'T'HH:mm:ss.SSS'Z',[DATE.UTC], yyyyMMdd)]</value>
              </variable>
          </variables>
      
          <dirstruct starting_path="/pub/DailyIngest/">
              <dir name="$\{DATE_NOW}"/>
          </dirstruct>
      
      </root>
      

        Attachments

        1. OODT-169.2011-03-30.patch.txt
          2 kB
          Brian Foster

          Activity

            People

            • Assignee:
              bfoster Brian Foster
              Reporter:
              bfoster Brian Foster
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: