Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-3138

PDP-D: telemetry shell not working properly after upgrading from 1.8.0 to 1.8.1

XMLWordPrintable

    • Policy 3/16-3/30

      There seems to  be some breaking changes of the telemetry tool in drools-pdp when going from 1.8.0 to 1.8.1.   It seems that the http-prompt version has changed underneath, note 1.0.0 vs.  2.1.0.

      1.8.0:

      /tmp/policy-install $ env | grep BUILD BUILD_VERSION_APP_CL=1.8.0 BUILD_VERSION_DROOLS=1.8.0
      /tmp/policy-install $ http --version
      1.0.3
      /tmp/policy-install $ http-prompt --version
      1.0.0
      /tmp/policy-install $ telemetry
      generating new spec ..
      Version: 1.0.0
      Config file not found. Initialized a new one: /home/policy/.config/http-prompt/config.py
      https://localhost:9696/policy/pdp/engine> get | jq .alive
      true
      https://localhost:9696/policy/pdp/engine> exit
      Goodbye!
      
      

      1.8.1:

      /tmp/policy-install $ env | grep BUILD
      BUILD_VERSION_APP_CL=1.8.1
      BUILD_VERSION_DROOLS=1.8.1
      /tmp/policy-install $ http --version
      1.0.3
      /tmp/policy-install $ http-prompt --version
      2.1.0
      /tmp/policy-install $ telemetry
      generating new spec ..
      Version: 2.1.0
      Config file not found. Initialized a new one: /home/policy/.config/http-prompt/config.py
      https://localhost:9696/policy/pdp/engine> get . | jq .alive
      usage: http [--json] [--form] [--pretty {all,colors,format,none}] [--style STYLE] [--print WHAT] [--headers] [--body] [--verbose]
                  [--all] [--history-print WHAT] [--stream] [--output FILE] [--download] [--continue]
                  [--session SESSION_NAME_OR_PATH | --session-read-only SESSION_NAME_OR_PATH] [--auth USER[:PASS]]
                  [--auth-type {basic,digest}] [--proxy PROTOCOL:PROXY_URL] [--follow] [--max-redirects MAX_REDIRECTS] [--timeout SECONDS]
                  [--check-status] [--verify VERIFY] [--ssl {ssl2.3,tls1,tls1.1,tls1.2}] [--cert CERT] [--cert-key CERT_KEY] [--ignore-stdin]
                  [--help] [--version] [--traceback] [--default-scheme DEFAULT_SCHEME] [--debug]
                  [METHOD] URL [REQUEST_ITEM [REQUEST_ITEM ...]]
      http: error: unrecognized arguments: GET https://localhost:9696/policy/pdp/engine
      
      
      

            jhh jhh
            jhh jhh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: