Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

transfers/pipeline: organization specific FTP/SFTP configuration #594

Open
adamdecaf opened this issue Oct 12, 2020 · 0 comments
Open

transfers/pipeline: organization specific FTP/SFTP configuration #594

adamdecaf opened this issue Oct 12, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@adamdecaf
Copy link
Member

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 adamdecaf added the enhancement New feature or request label Oct 12, 2020
@adamdecaf adamdecaf added this to the v0.10.0 milestone Nov 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant