Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17797

All system properties and environment variables should be accessed via the new CassandraRelevantProperties and CassandraRelevantEnv classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 5.0-alpha1, 5.0
    • Local/Config
    • None
    • Code Clarity
    • Low Hanging Fruit
    • All
    • None, Docs
    • Hide

      The patch requires running all tests related to the CI part. 
      Documentation is not required for now due to no new system properties were added.

      Show
      The patch requires running all tests related to the CI part.  Documentation is not required for now due to no new system properties were added.

    Description

      Follow up ticket for CASSANDRA-15876
      "Always access system properties and environment variables via the new CassandraRelevantProperties and CassandraRelevantEnv classes"
      As part of that ticket we moved to the two new classes only properties/variables that were currently listed in System Properties Virtual Table.
      We have to move to those classes the rest of the properties around the code and start using those classes to access all of them. 

      Additional information for newcomers:

      You might want to start by getting acquainted with CassandraRelevantProperties and CassandraRelevantEnv classes. Also, you might want to check what changes were done and how the first batch was transferred to this new framework as part of  CASSANDRA-15876

      We are interested into the properties accessed currently through getProperties around the code.

      As part of CASSANDRA-15876 relevant unit tests were added (CassandraRelevantPropertiesTest). To verify the new patch we need to ensure that all tests Cassandra pass and also to think about potential update of the mentioned test class.

      Attachments

        Issue Links

          Activity

            People

              mmuzaf Maxim Muzafarov
              e.dimitrova Ekaterina Dimitrova
              Maxim Muzafarov
              Jacek Lewandowski, Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 33.5h
                  33.5h