Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

opConfig 4.2.2

Status
subtletrue
colourGreen
titleReleased
25 May 2021

Bug Fixes

  • Fixed issue in opConfig where a large amount MongoDB connections were created and retained.

opConfig 4.2.1

Status
subtletrue
colourGreen
titleReleased
 3 Dec 2020.

...

  • Command Set Parameters
    • opConfig now supports parameterized command sets. Eg: ping $ipaddress
    • Parameters can be passed in via the command line. Eg parameters.x
    • When creating a new Virtual Operator Job, if you have selected a command set which has parameters, the form will then display "Next" and the second screen will ask you to provide parameters
    • Parameters can also be passed in through derived data
    • Parameters currently have two data types, "string" and "ipaddress"
      • ipaddress is just used for front end validation, the cli does no validation
    • parameters_required => "true" can be set. If the parameters from the cli or gui have not been passed in, opConfig will not run the command
    • Parameters get defined by a top level key and are an array of objects with two keys: parameter and type

      Code Block
      "parameters" : [
               {
                  "parameter" : "id",
                  "type" : "String"
               },
               {
                  "type" : "String",
                  "parameter" : "name"
               }
            ],


  • Command Set Editor under "System" > "Manage Command Sets"
    • You can delete, update and create new command sets through a visual GUI
    • Only command sets under conf/command_sets.d/ can be modified.
  • Derived Data has new types of table columns to display related jobs or create new virtual operator jobs from. Plugins in opConfig#NewDerivedInformationElementsinopConfig4.2.1
  • Conditions has new types of table columns to display tags, urls and tooltips, More details can be found here Plugins in opConfig#NewReportConditionElementsinopConfig4.2.1
  • New top level key, "active" can be set to "true"/"false" if false the command set wont be loaded
  • New key for commands "active" can be set to "true"/"false" if false the command from that set wont be loaded, other commands set to true will be loaded as part of the set.


BugFixes

  • Fixed issue where opConfig would report duplicate command sets.
  • Fixed Issue where the trouble shooting button would always display.
  • Fixed issue with logging at debug levels not requested in opconfig-cli
  • Fixed issue where opcharts-cli would not honor different debug levels

...