github.com/acornpublishing/functional-programming-go@v0.0.0-20220401005601-c3bd3786d5a1/Chapter06/04_onion/config.toml (about)

     1  #@IgnoreInspection BashAddShebang
     2  
     3  # Runtime environment. Determines whether to run semver scripts or expect env vars
     4  app_env = "development"
     5  
     6  # Project root directory (used for referencing scripts and API server)
     7  project_root_dir = "/Users/lex/clients/packt/dev/fp-go/2-design-patterns/ch06-onion-arch/04_onion"
     8  
     9  # Where files are downloaded
    10  download_dir = "/Users/lex/clients/packt/dev/fp-go/2-design-patterns/ch06-onion-arch/04_onion/downloads"
    11  
    12  # Parent folders for the log files on Google Cloud Storage
    13  gcp_source_dir = "source-events"
    14  
    15  # Source key file for Google Cloud Platform
    16  gcp_source_key_file = "/Users/lex/clients/packt/dev/fp-go/2-design-patterns/ch06-onion-arch/04_onion/keys/google-cloud-storage/source/onion-source-key.json"
    17  
    18  # Source GCP project id for
    19  gcp_source_project_id = "rdbx-168418"
    20  
    21  # Parent folders for the log files on Google Cloud Storage
    22  gcp_sink_dir = "sink-events"
    23  
    24  # Sink key file for Google Cloud Platform
    25  gcp_sink_key_file = "/Users/lex/clients/packt/dev/fp-go/2-design-patterns/ch06-onion-arch/04_onion/keys/google-cloud-storage/sink/onion-sink-key.json"
    26  
    27  # GCP sink project id for
    28  gcp_sink_project_id = "rdbx-168418"
    29  
    30  # Cloud bucket where the log files to be processed
    31  source_bucket_name = "lexttc3-my-backup-bucket"
    32  
    33  # Cloud bucket where they are to be copied after processing
    34  sink_bucket_name = "lexttc3-my-backup-bucket"
    35  
    36  # How often to pull logs from Google Cloud bucket
    37  fetch_interval = "60s"
    38  
    39  # The port the API will listen on
    40  api_port = "8080"
    41  
    42  # Enable or disable logging of utils/TimeTrack() (For benchmarking/debugging)
    43  log_timetrack = true
    44  
    45  # Whether to display full stack traces in log files
    46  log_full_stack_traces = false
    47  
    48  # Whether to log debug output to the log (set to true for debug purposes)
    49  log_debug_info = true
    50  
    51  # Whether to log debug output to the log when running tests (set to true for debug purposes)
    52  log_debug_info_for_tests = false
    53  
    54  # Run web service tests only to determine if the endpoints are active
    55  test_return_code_only = false