Skip to content

Incorrect profile specification can cause profile validation to hang #3364

@MarkAckert

Description

@MarkAckert

Is your feature request related to a problem? Please describe.

If a user enters the host value of a profile incorrectly with the format protocol:host, then profile validation can hang due to an unreachable network endpoint. e.g.

            "properties": {
                "host": "https://my.host.name",
                "port": 443,
                "rejectUnauthorized": false,
                "protocol": "https"
            },

Describe the solution you'd like

Zowe Explorer can detect host values which include a protocol and short-circuit the validation before hitting the /zosmf/info endpoint.

In addition / alternatively, Zowe Explorer validation shouldn't hang for an unreachable endpoint, I'd expect a network error response.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpriority-lowLegit issue but cosmetic or nice-to-have

Type

No type
No fields configured for issues without a type.

Projects

Status
Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions