Uploaded image for project: 'ngrinder'
  1. ngrinder
  2. NGRINDER-703

Make the configuration keys more consistent

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: controller, core
    • Labels:
      None

      Description

      Currently there are many configurations which are not named properly.
      For example, sometime, configuration start with no prefix, some times it required "ngrinder" or "agent." prefix.

      This makes the system very untrustworthy.
      Provide the consistent way to make the configuration more predictable still keeping backward compatibility.

        Activity

        Hide
        junoyoon JunHo Yoon added a comment - - edited

        Changes include followings.

        • $ {NGRINDER_HOME}

          /system.conf

          new default value old
          controller.verbose TRUE verbose
          controller.dev_mode FALSE testmode
          controller.demo_mode FALSE demo
          controller.security FALSE security
          controller.user_password_sha256 FALSE ngrinder.security.sha256
          controller.usage_report TRUE usage.report
          controller.plugin_support TRUE pluginsupport
          controller.user_security TRUE user.security
          controller.max_agent_per_test 10 agent.max.size
          controller.max_vuser_per_agent 3000 agent.max.vuser
          controller.max_run_count 10000 agent.max.runcount
          controller.max_run_hour 8 agent.max.runhour
          controller.max_concurrent_test 10 ngrinder.max.concurrenttest
          controller.monitor_port 13243 monitor.listen.port
          controller.url   ngrinder.http.url
          controller.console_port_base 12000 ngrinder.console.portbase
          controller.controller_port 16001 ngrinder.agent.control.port
          controller.font_page_enabled TRUE  
          controller.ip   ngrinder.controller.ipaddress,ngrinder.controller.ip
          controller.validation_timeout 100 ngrinder.validation.timeout
          controller.validation_syntax_check TRUE  
          controller.dist_logback FALSE ngrinder.dist.logback
          controller.safe_dist FALSE ngrinder.dist.safe
          controller.safe_dist_threshold 1000000 ngrinder.dist.safe.threshold
          controller.allow_sign_up FALSE  
          controller.max_connection_waiting_millisecond 5000 ngrinder.max.waitingmilliseconds
          controller.front_page_resources_rss http://www.cubrid.org/wiki_ngrinder/rss ngrinder.frontpage.rss
          controller.front_page_qna_rss   ngrinder.qna.rss
          controller.front_page_more_qna_url   ngrinder.more.question.url
          controller.front_page_ask_question_url   ngrinder.ask.question.url
          controller.help_url http://www.cubrid.org/wiki_ngrinder/entry/user-guide ngrinder.help.url
          controller.default_lang en ngrinder.langauge.default
          cluster.enabled FALSE ngrinder.cluster.mode
          cluster.members   ngrinder.cluster.uris
          cluster.port 40003 ngrinder.cluster.listener.port
          cluster.region NONE ngrinder.cluster.region
          cluster.hidden_region FALSE ngrinder.cluster.region.hide
          cluster.safe_dist FALSE  
        • $ {NGRINDER_AGENT_HOME}

          /agent.conf

          agent.controller_ip   agent.controller.ip,agent.console.ip
          agent.controller_port 16001 agent.controller.port,agent.console.port
          agent.region   agent.region
          agent.host_id   agent.host_id
          agent.server_mode   agent.server_mode
          agent.all_logs FALSE agent.send.all.logs
          agent.limit_xmx TRUE agent.useXmxLimit
          agent.java_opt   agent.javaopt,
          monitor.binding_ip   monitor.listen.ip
          monitor.binding_port 13243 monitor.listen.port
        Show
        junoyoon JunHo Yoon added a comment - - edited Changes include followings. $ {NGRINDER_HOME} /system.conf new default value old controller.verbose TRUE verbose controller.dev_mode FALSE testmode controller.demo_mode FALSE demo controller.security FALSE security controller.user_password_sha256 FALSE ngrinder.security.sha256 controller.usage_report TRUE usage.report controller.plugin_support TRUE pluginsupport controller.user_security TRUE user.security controller.max_agent_per_test 10 agent.max.size controller.max_vuser_per_agent 3000 agent.max.vuser controller.max_run_count 10000 agent.max.runcount controller.max_run_hour 8 agent.max.runhour controller.max_concurrent_test 10 ngrinder.max.concurrenttest controller.monitor_port 13243 monitor.listen.port controller.url   ngrinder.http.url controller.console_port_base 12000 ngrinder.console.portbase controller.controller_port 16001 ngrinder.agent.control.port controller.font_page_enabled TRUE   controller.ip   ngrinder.controller.ipaddress,ngrinder.controller.ip controller.validation_timeout 100 ngrinder.validation.timeout controller.validation_syntax_check TRUE   controller.dist_logback FALSE ngrinder.dist.logback controller.safe_dist FALSE ngrinder.dist.safe controller.safe_dist_threshold 1000000 ngrinder.dist.safe.threshold controller.allow_sign_up FALSE   controller.max_connection_waiting_millisecond 5000 ngrinder.max.waitingmilliseconds controller.front_page_resources_rss http://www.cubrid.org/wiki_ngrinder/rss ngrinder.frontpage.rss controller.front_page_qna_rss   ngrinder.qna.rss controller.front_page_more_qna_url   ngrinder.more.question.url controller.front_page_ask_question_url   ngrinder.ask.question.url controller.help_url http://www.cubrid.org/wiki_ngrinder/entry/user-guide ngrinder.help.url controller.default_lang en ngrinder.langauge.default cluster.enabled FALSE ngrinder.cluster.mode cluster.members   ngrinder.cluster.uris cluster.port 40003 ngrinder.cluster.listener.port cluster.region NONE ngrinder.cluster.region cluster.hidden_region FALSE ngrinder.cluster.region.hide cluster.safe_dist FALSE   $ {NGRINDER_AGENT_HOME} /agent.conf agent.controller_ip   agent.controller.ip,agent.console.ip agent.controller_port 16001 agent.controller.port,agent.console.port agent.region   agent.region agent.host_id   agent.host_id agent.server_mode   agent.server_mode agent.all_logs FALSE agent.send.all.logs agent.limit_xmx TRUE agent.useXmxLimit agent.java_opt   agent.javaopt, monitor.binding_ip   monitor.listen.ip monitor.binding_port 13243 monitor.listen.port
        Hide
        junoyoon JunHo Yoon added a comment -

        Fixed

        Show
        junoyoon JunHo Yoon added a comment - Fixed

          People

          • Assignee:
            junoyoon JunHo Yoon
            Reporter:
            junoyoon JunHo Yoon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: