Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-747

Custom REST operations doesn't work with SSL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 1.37.0
    • Runtimes
    • None

      1) Create a WF that uses a custom rest operation like below.

      functions:
        - name: myHttpsFunction
          type: custom
          operation: "rest:post:/my-endpoint" 

      2) configure the application properties like this:

      kogito.sw.functions.myHttpsFunction.host=myhost.whatever.com 
      
      kogito.sw.functions.myHttpsFunction.port=443

       
      3) Make the workflow use the function in an arbitrary step

      4) When function call is executed, the httpClient is used instead of  httpsClient

       

              ftirados Francisco Javier Tirado Sarti
              wmedvede@redhat.com Walter Medvedeo
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: