paygate icon indicating copy to clipboard operation
paygate copied to clipboard

transfers/pipeline: organization specific FTP/SFTP configuration

Open adamdecaf opened this issue 3 years ago • 0 comments

PayGate Version: v0.9.0-dev

With multiple organizations it becomes apparent that having different upload.Agent configurations for each would be really helpful. This could be accomplished by changing the configuration into an array of options. Then each organization could have a configuration option for the id they want to use.

upload:
  ftpConfigs:
    - id: test
      hostname: <string>
      # ... 
  sftpConfigs:
    - id: live
      hostname: <string>
      # ... 

Then our /configuration/transfers endpoint could support the following (validated at PUT submission time):

{
  "upload": {
    "sftpConfig": "live"
  }
}

This is largely a service config, which any client/UI wouldn't care about.

adamdecaf avatar Oct 12 '20 18:10 adamdecaf