Simple HTTPS web server, used by explorer UI plugins
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
configs
public
src
test
.editorconfig
.eslintignore
.eslintrc.yml
.gitignore
.npmignore
.nycrc
Jenkinsfile
LICENSE
README.md
package-lock.json
package.json
sonar-project.properties

README.md

explorer-ui-server

Code Quality

Provide simple HTTPS server to server Zowe Desktop Explorer plugins.

Start Dev Server

npm start

Then visit https://localhost:8080 to access the test server. The default config file is configs/config-default.json.

CLI Options

$ node src/index.js -h
Usage: explorer-ui-server [options]

Options:
  --version      Show version number                                   [boolean]
  -C, --config   config JSON file               [default: "config-default.json"]
  -v, --verbose  show request logs                    [boolean] [default: false]
  -h, --help     Show help                                             [boolean]

Run Tests

npm test

Test reports are saved in reports folder, including JUnit result, Mochawesome report, Istanbul Coverage report, Cobertura report etc.

Run SonarQube Code Analysis

Install SonarQube Scanner.

If you are using Mac, try install with HomeBrew sonar-scanner formula, then update the configuration of SonarQube server at /usr/local/Cellar/sonar-scanner/<version>/libexec/conf/sonar-scanner.properties.

Example scanner configurations:

sonar.host.url=https://jayne.zowe.org:9000
sonar.login=<hash>

Then you can run sonar-scanner to start code analysis.

Build pipeline has embedded the SonarQube code analysis stage.