Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config file support #64

Merged
merged 5 commits into from Oct 29, 2019
Merged

Commits on Oct 29, 2019

  1. feat: Support read config from file

    feat: Add base_url as config parameter
    
    refactor: Move S3/DynamoDB configs in AWS Config block
    
    doc: add example configuration file
    
    fix: fix auth module tests
    
    fix: remove debug print
    AndresCidoncha committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    081dbc3 View commit details
    Browse the repository at this point in the history
  2. refactor: Rename basePath-related functions

    * Now it's more readable
    * Also add test for SetBasePath method
    * Fix dependent tests
    AndresCidoncha committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    c361d80 View commit details
    Browse the repository at this point in the history
  3. feat: Database port should be configurable

    Avoid dependencies and executable in git
    
    Add vendor/ and terraboard to .gitignore
    AndresCidoncha committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    f9e324d View commit details
    Browse the repository at this point in the history
  4. feat: Add short CLI param to config-file

    * Move Port to Web param group
    * Add ENV option to Port
    * Remove default value from config-file
    
    doc: Update readme
    
    * Add parameters to README
    
    Add LoadConfigFromYaml tests
    * db_port as uint16
    * remove parameter from LoadConfigFromYaml method
    
    refactor: Use config.DBConfig as parameter in db.Init
    
    Sync interval configuration
    
    doc: Update README for sync-interval config
    * Use sync-interval in retry sleep too
    AndresCidoncha committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    58ae32b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b866010 View commit details
    Browse the repository at this point in the history