Versions Compared

Key

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

...

  • The script is available for Linux and MacOS® using bash shells.
  • The script terminates with exit code 0 to signal a valid license that will not expire before a number of days, with exit code 1 for command line argument errors and with exit code 4 for non-recoverable errors. Exit code 2 signals an expired license; exit code 3 signals a valid license that is about to expire within a number of days.
  • The script is intended as a baseline example for customization by JS7 users and by SOS within the scope of professional services.

...

  • --url
  • --validity-days
    • Specifies the number of days before expiration of a JS7 license.
      • Exit code 2 signals that the license expiredan expired license or an inapplicable license check if the Open Source License is used.
      • Exit code 3 signals a valid license that is about to expire within the number of days specified.
  • --user
    • Specifies the user account for login to JOC Cockpit. Specification of the user account can be omitted if a JS7 - Identity Services is available for Client authentication certificates that are specified with the --client-cert and --client-key options.
    • --user=<account> If a user account is specified then a password can be specified to cause the password to be prompted.--user=<account>:<password> can be specifiedusing the --password option or interactive keyboard input can be prompted using the -p switch.
  • --password
    • Specifies the password used for the account specified with the --user option to login to JOC Cockpit.
    • Consider use of the -p switch offering a secure option for interactive keyboard input.
  • --cacert
    • Specifies the path to a .pem file that holds the Root CA Certificate and optionally Intermediate CA Certificates to verify HTTPS connections to JOC Cockpit.
  • --client-cert
    • Specifies the path to a .pem file that holds the Client Certificate if HTTPS mutual authentication is used..
  • --client-key
    • Specifies the path to a .pem file that holds the Client Privae Key if HTTPS mutual authentication is used..
  • --log-dir
    • If a log directory is specified then the script will log information about processing steps to a log file in this directory.
    • File names are created according to the pattern: set_job_resource.<yyyy>-<MM>-<dd>T<hh>-<mm>-<ss>.log
    • For example: set_job_resource.2022-03-19T20-50-45.log

...