Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-143

Move all hardcoded values to configuration files

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • master
    • master
    • Other
    • None

    Description

      Especially, the python code currently contains lot of hard-coded string constants, eg:

      "state.thrift_bin"
      "provision.txt"
      "buildlog.txt"

      Consequently, whenever default values are changed, the developer needs to change the according string constants in multiple files, which is time-consuming and error-prone.

      Moving the hard-coded values to a configuration json (or similar data structure) utility class would make a significant improvement from maintenance point of view.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tosaario Toni Saario
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2 weeks
                2w
                Remaining:
                Remaining Estimate - 2 weeks
                2w
                Logged:
                Time Spent - Not Specified
                Not Specified

                Gerrit Reviews

                  There are no open Gerrit changes