zowe/zowe-explorer-intellij

Zowe config detection doesn't work correctly

dnlsv opened this issue · 0 comments

dnlsv commented

If credentials are not specified, then the configuration file is not detected or is not added to the connections

Steps To Reproduce

  1. Init Zowe config file (zowe config init)
  2. Delete all Zowe credentials (need to use zowe.kotlin.sdk DefaultKeytarWrapper or just keytar lib)
  3. Open the project
  4. Copy zowe.config.json and zowe.schema.json to root project folder

Zowe config is not detected

  1. Close the project
  2. Init new Zowe config file (add username and password) in another folder and not copy this file to project
  3. Open project (zowe config file is detected)
  4. Click on "Add Zowe Config"

Zowe config is not added to connections

I think we need to add notification that credentials are not set or prompt the user to enter them

image

image

The Setup

  • OS: Windows 64 bit
  • Zowe Explorer IntelliJ Plug-in Version: v1.1.0-221
  • IntelliJ IDE Version: 2022.1 (Community Edition)