Skip to content

z/OSMF profiles do not respect protocol property #2703

@traeok

Description

@traeok

Describe the bug

In Zowe Explorer, zosmf profiles defined with the protocol property set to http will not respect said protocol during API requests.

To Reproduce

  1. Use a Zowe config that has a z/OSMF profile defined with the HTTP protocol, e.g.:
{
    "profiles": {
        "lpar.zosmf": {
            "properties": {
                "protocol": "http"
            }
        }
    }
}
  1. Attempt to send an API request to z/OSMF by listing data sets or USS files
  2. Notice that the request either fails or uses the HTTPS protocol

Expected behavior

Profiles in Zowe Explorer should respect the protocol property.

Desktop (please complete the following information):

  • OS: Windows 10
  • Zowe Explorer Version: 2.14.0

Additional context

The request may not fail if the server supports HTTPS, so it would be best to test with an LPAR or server that only supports HTTP.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority-highProduction outage - this quarter or at least next quarterseverity-highBug for which there may be workaround but limits the usage of the Zowe for major use cases

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions