Skip to content

Commit

Permalink
Change tundra.content:deliver SFTP delivery to support a new rename
Browse files Browse the repository at this point in the history
option, which when true will first write the content to a unique
temporary filename and then rename it to its specified name once
written
  • Loading branch information
lachlan committed Oct 26, 2017
1 parent 475e2b2 commit 9675bf6
Show file tree
Hide file tree
Showing 3 changed files with 1,861 additions and 184 deletions.
8 changes: 7 additions & 1 deletion SERVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2555,7 +2555,7 @@ specification.
is only supported on Integration Server versions 9.0 and higher.
An example [SFTP] [URI] is as follows:

sftp://useralias/path/file?append=true
sftp://useralias/path/file?append=false&rename=true

Where:
* `useralias` identifies the Integration Server [SFTP] User Alias to
Expand All @@ -2572,6 +2572,12 @@ specification.
append the content to the given file if it already exists.
Defaults to false if not specified, which overwrites the given
file if it already exists.
* `rename` is an optional query string boolean which if `true` will
first write the content to a unique temporary filename and then
rename it to its specified name once written. Defaults to `false`,
where the content is written directly to the filename specified
in the destination [URI]. Note if the append option is `true`,
this option has no effect.
* `$pipeline` is an optional `IData` document for providing arbitrary
variables to the delivery implementation service. Variables
provided will take precedence and override their corresponding
Expand Down
8 changes: 7 additions & 1 deletion ns/tundra/content/deliver/node.ndf
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ specification.
is only supported on Integration Server versions 9.0 and higher.
An example [SFTP] [URI] is as follows:

sftp://useralias/path/file?append=true
sftp://useralias/path/file?append=false&rename=true

Where:
* useralias identifies the Integration Server [SFTP] User Alias to
Expand All @@ -454,6 +454,12 @@ specification.
append the content to the given file if it already exists.
Defaults to false if not specified, which overwrites the given
file if it already exists.
* rename is an optional query string boolean which if true will
first write the content to a unique temporary filename and then
rename it to its specified name once written. Defaults to false,
where the content is written directly to the filename specified
in the destination [URI]. Note if the append option is true,
this option has no effect.
* $pipeline is an optional IData document for providing arbitrary
variables to the delivery implementation service. Variables
provided will take precedence and override their corresponding
Expand Down
Loading

0 comments on commit 9675bf6

Please sign in to comment.