Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Unable to deploy modules if XCC port is secured with TLS #862

@mwarnes

Description

@mwarnes

RFE

Roxy is unable to deploy modules if he XCC port is secure using TLS

Within ./deploy/lib/xcc.rb the url is hardcoded to use http.

  def build_load_uri(target_uri, options, commit)
  url = "http://#{@hostname}:#{@port}/insert?"

It would be useful if the url was created with the protocol set to http our https depending on a configuration setting such as in ./deploy/lib/ml_rest.rb, i.e

 @rest_protocol = "http#{options[:use_https_for_rest] ? 's' : ''}"
 ...
 url = "#{@rest_protocol}://#{@hostname}:#{@port}/v1/config/properties"

The issue can be worked round by hardcoding https in the xcc.rb url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions