dle-tools": "node ./out/build/bundle-tools.js --platform", "todo": "leasot **/*.ts --ignore node_modules -x", "test": "npm run vscode:prepublish && node ./out/build/run-tests.js unit", "test-integration": "npm run vscode:prepublish && node ./out/build/run-tests.js integration", "test:instrument": "shx rm -rf out/src-orig && shx mv out/src out/src-orig && istanbul instrument --complete-copy --embed-source --output out/src out/src-orig", "test:coverage": "npm run build && npm run test:instrument && node ./out/build/install-vscode.js redhat.vscode-redhat-account && node ./out/build/run-tests.js unit", "update-deps": "ncu --upgrade --loglevel verbose --packageFile package.json && npm update", "coverage:upload": "codecov -f coverage/coverage-final.json", "build": "npm run clean && npm run lint && npm run compile && npm run bundle-tools", "smoke-test": "npm run compile:ext && extest setup-and-run out/test/ui/smoke-test.js -o test/ui/settings.json -m test/ui/.mocharc.js -c max", "public-ui-test": "npm run compile:ext && extest setup-and-run out/test/ui/public-ui-test.js -o test/ui/settings.json -m test/ui/.mocharc.js -c max" }, "dependencies": { "@kubernetes/client-node": "^0.16.1", "@octokit/rest": "^19.0.5", "@redhat-developer/vscode-redhat-telemetry": "^0.5.2", "binary-search": "^1.3.6", "byline": "^5.0.0", "clsx": "^1.1.1", "docker-file-parser": "^1.0.4", "fs-extra": "^10.0.0", "git-url-parse": "^13.1.0", "gitlab": "10.0.1", "globby": "^10.0.1", "i18next": "^21.8.11", "immutable": "^4.0.0", "install": "^0.13.0", "js-yaml": "^4.1.0", "json-schema": "^0.4.0", "lodash": "^4.17.21", "make-fetch-happen": "^9.1.0", "minimatch": "^3.0.4", "mkdirp": "^1.0.4", "parse-bitbucket-url": "^0.3.0", "rxjs": "^7.4.0", "semver": "^7.3.5", "stacktrace-parser": "^0.1.10", "string-format": "^2.0.0", "tmp": "^0.2.1", "tree-kill": "^1.2.2", "validator": "^13.7.0", "vscode-kubernetes-tools-api": "^1.3.0", "vscode-welcome-view": "^0.0.4", "wait-port": "^0.2.9", "yaml": "^1.10.2" }, "devDependencies": { "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", "@mui/core": "^5.0.0-alpha.54", "@mui/icons-material": "^5.11.0", "@mui/lab": "^5.0.0-alpha.112", "@mui/material": "^5.11.0", "@rjsf/core": "^5.0.0-beta.14", "@rjsf/material-ui": "^5.0.0-beta.14", "@segment/analytics-next": "^1.17.4", "@types/byline": "^4.2.33", "@types/chai": "^4.3.0", "@types/collections": "^5.1.2", "@types/express": "^4.17.13", "@types/fs-extra": "^9.0.13", "@types/js-base64": "^3.3.1", "@types/js-yaml": "^4.0.5", "@types/lodash": "^4.14.177", "@types/make-fetch-happen": "^9.0.1", "@types/mkdirp": "^1.0.2", "@types/mocha": "^9.0.0", "@types/node": "^16.11.12", "@types/pify": "^5.0.1", "@types/react": "^17.0.37", "@types/react-dom": "^17.0.11", "@types/react-jsonschema-form": "^1.7.8", "@types/react-lazylog": "^4.5.1", "@types/react-syntax-highlighter": "^13.5.2", "@types/shelljs": "^0.8.9", "@types/sinon": "^10.0.6", "@types/sinon-chai": "^3.2.6", "@types/string-format": "^2.0.0", "@types/targz": "^1.0.1", "@types/tmp": "0.2.2", "@types/validator": "^13.7.0", "@types/vscode": "1.64.0", "@typescript-eslint/eslint-plugin": "^5.6.0", "@typescript-eslint/parser": "^5.6.0", "@vscode/test-electron": "^2.2.0", "babel-loader": "^8.2.3", "base64-inline-loader": "^2.0.1", "bootstrap": "^5.1.3", "bufferutil": "^4.0.5", "call-bind": "^1.0.2", "chai": "^4.3.4", "codecov": "^3.8.2", "copy-webpack-plugin": "^10.0.0", "css-loader": "^6.5.1", "decache": "^4.6.1", "eslint": "8.4.1", "eslint-config-prettier": "^8.3.0", "eslint-import-resolver-typescript": "^2.5.0", "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "^2.25.3", "eslint-plugin-json": "^3.1.0", "eslint-plugin-prettier": "^4.0.0", "express": "^4.17.2", "file-loader": "^6.2.0", "glob": "^7.2.0", "got": "^11.8.5", "handlebars": "^4.7.7", "hasha": "5.2.2", "html-webpack-plugin": "^5.5.0", "istanbul": "^0.4.5", "leasot": "^12.0.0", "mocha": "^9.1.3", "mocha-jenkins-reporter": "^0.4.7", "node-sass": "^7.0.3", "npm-check-updates": "^12.0.3", "npm-run-all": "^4.1.5", "pify": "^5.0.0", "prettier": "^2.5.1", "pretty-bytes": "^5.6.0", "proxyquire": "^2.1.3", "react": "^17.0.2", "react-copy-to-clipboard": "^5.1.0", "react-dom": "^17.0.2", "react-jsonschema-form": "^1.8.1", "react-lazylog": "^4.5.3", "react-loader-spinner": "^4.0.0", "react-phone-input-2": "^2.14.0", "react-router-dom": "^6.3.0", "react-scroll-to-top": "^3.0.0", "react-syntax-highlighter": "^15.5.0", "remap-istanbul": "^0.13.0", "request": "^2.88.2", "sass-loader": "^13.0.2", "shelljs": "^0.8.5", "shx": "^0.3.3", "sinon": "^12.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", "style-loader": "^3.3.1", "targz": "^1.0.1", "ts-loader": "^9.2.6", "tslint": "^5.20.1", "typescript": "^4.5.2", "unzip-stream": "^0.3.1", "utf-8-validate": "^5.0.7", "vscode-extension-tester": "^5.2.0", "webpack": "^5.65.0", "webpack-cli": "^4.9.1", "webpack-dev-server": "^4.6.0" }, "activationEvents": [ "onView:openshiftProjectExplorer", "onView:extension.vsKubernetesExplorer", "onView:openshiftComponentTypesView", "onCommand:openshift.welcome", "onCommand:openshift.getStarted", "onCommand:openshift.about", "onCommand:openshift.oc.about", "onCommand:openshift.output", "onCommand:openshift.create", "onCommand:openshift.open.developerConsole", "onCommand:openshift.open.developerConsole.palette", "onCommand:openshift.explorer.addCluster", "onCommand:openshift.explorer.login", "onCommand:openshift.explorer.login.credentialsLogin", "onCommand:openshift.explorer.login.tokenLogin", "onCommand:openshift.explorer.login.clipboard", "onCommand:openshift.explorer.logout", "onCommand:openshift.explorer.refresh", "onCommand:openshift.componentTypesView.refresh", "onCommand:openshift.project.create", "onCommand:openshift.project.delete", "onCommand:openshift.project.delete.palette", "onCommand:openshift.component.createFromLocal", "onCommand:openshift.component.openImportFromGit", "onCommand:openshift.component.createFromRootWorkspaceFolder", "onCommand:openshift.component.describe", "onCommand:openshift.component.openInBrowser", "onCommand:openshift.component.describe.palette", "onCommand:openshift.component.log", "onCommand:openshift.component.log.palette", "onCommand:openshift.component.followLog", "onCommand:openshift.component.followLog.palette", "onCommand:openshift.component.delete", "onCommand:openshift.componentTypesView.registry.closeView", "onCommand:openshift.component.debug", "onCommand:openshift.component.debug.palette", "onCommand:openshift.resource.load", "onCommand:openshift.service.create", "onCommand:openshift.service.delete", "onCommand:openshift.component.folder.create", "onCommand:openshift.explorer.reportIssue", "onCommand:openshift.explorer.switchContext", "onCommand:clusters.openshift.project.openConsole", "onCommand:clusters.openshift.useProject", "onCommand:clusters.openshift.deploy", "onCommand:clusters.openshift.build.start", "onCommand:clusters.openshift.build.showLog", "onCommand:clusters.openshift.build.showLog.palette", "onCommand:clusters.openshift.build.followLog", "onCommand:clusters.openshift.build.delete", "onCommand:clusters.openshift.build.delete.palette", "onCommand:clusters.openshift.build.rebuild", "onCommand:clusters.openshift.build.openConsole", "onCommand:clusters.openshift.deploy.dc.showLog", "onCommand:clusters.openshift.deploy.dc.showLog.palette", "onCommand:clusters.openshift.deploy.delete", "onCommand:clusters.openshift.deploy.delete.palette", "onCommand:clusters.openshift.deploy.rcShowLog", "onCommand:clusters.openshift.deploy.rcShowLog.palette", "onCommand:clusters.openshift.deployment.openConsole", "onCommand:clusters.openshift.imagestream.openConsole", "onCommand:openshift.componentTypesView.registry.openInView", "onWalkthrough:openshiftWalkthrough" ], "contributes": { "commands": [ { "command": "openshift.about", "title": "About", "category": "OpenShift" }, { "command": "openshift.oc.about", "title": "Print OKD Client Tool Version", "category": "OpenShift" }, { "command": "openshift.create", "title": "Create", "category": "OpenShift" }, { "command": "clusters.openshift.build.start", "title": "Start Build", "category": "OpenShift" }, { "command": "clusters.openshift.deploy", "title": "Deploy", "category": "OpenShift" }, { "command": "openshift.output", "title": "Show Output Channel", "category": "OpenShift" }, { "command": "openshift.explorer.logout", "title": "Log out", "category": "OpenShift" }, { "command": "openshift.explorer.addCluster", "title": "Add OpenShift Cluster", "category": "OpenShift", "icon": { "dark": "images/title/dark/add-cluster.svg", "light": "images/title/light/add-cluster.svg" } }, { "command": "openshift.explorer.stopCluster", "title": "Stop OpenShift Local", "category": "OpenShift" }, { "command": "openshift.explorer.login", "title": "Login into Cluster", "category": "OpenShift", "icon": { "dark": "images/title/dark/icon-login.svg", "light": "images/title/light/icon-login.svg" } }, { "command": "openshift.explorer.login.tokenLogin", "title": "Login into Cluster with token", "category": "OpenShift" }, { "command": "openshift.explorer.login.credentialsLogin", "title": "Login into Cluster with credentials", "category": "OpenShift" }, { "command": "openshift.explorer.login.clipboard", "title": "Login into Cluster using URL and token from clipboard", "category": "OpenShift" }, { "command": "openshift.explorer.switchContext", "title": "Switch Contexts", "category": "OpenShift", "icon": { "dark": "images/title/dark/users.svg", "light": "images/title/light/users.svg" } }, { "command": "openshift.explorer.refresh", "title": "Refresh Application Explorer View", "category": "OpenShift", "icon": { "dark": "images/title/dark/icon-refresh.svg", "light": "images/title/light/icon-refresh.svg" } }, { "command": "openshift.explorer.reportIssue", "title": "Report Extension Issue on GitHub", "category": "OpenShift", "icon": { "dark": "images/title/dark/icon-issue.svg", "light": "images/title/light/icon-issue.svg" } }, { "command": "openshift.project.create", "title": "New Project", "category": "OpenShift" }, { "command": "openshift.project.delete", "title": "Delete", "category": "OpenShift" }, { "command": "openshift.project.delete.palette", "title": "Delete Project", "category": "OpenShift" }, { "command": "openshift.open.configFile", "title": "Open in editor", "category": "OpenShift", "icon": "$(link-external)" }, { "command": "openshift.project.set", "title": "Change Active Project", "category": "OpenShift", "icon": { "dark": "images/title/dark/set-project.svg", "light": "images/title/light/set-project.svg" } }, { "command": "openshift.project.set.palette", "title": "Set Active Project", "category": "OpenShift" }, { "command": "openshift.component.openImportFromGit", "title": "Import from Git", "category": "OpenShift", "icon": { "light": "images/title/light/git-branch.svg", "dark": "images/title/dark/git-branch.svg" } }, { "command": "openshift.component.createFromLocal", "title": "New Component", "category": "OpenShift", "icon": { "light": "images/title/light/workspace-new.svg", "dark": "images/title/dark/workspace-new.svg" } }, { "command": "openshift.component.createFromRootWorkspaceFolder", "title": "New OpenShift Component", "category": "OpenShift" }, { "command": "openshift.component.delete.palette", "title": "Delete Component", "category": "OpenShift" }, { "command": "openshift.component.dev", "title": "Start Dev", "category": "OpenShift" }, { "command": "openshift.component.exitDevMode", "title": "Stop Dev", "category": "OpenShift" }, { "command": "openshift.component.forceExitDevMode", "title": "Force Stop Dev", "category": "OpenShift" }, { "command": "openshift.component.deploy", "title": "Deploy", "category": "OpenShift" }, { "command": "openshift.component.undeploy", "title": "Undeploy", "category": "OpenShift" }, { "command": "openshift.component.showDevTerminal", "title": "Show Dev Terminal", "category": "OpenShift" }, { "command": "openshift.component.describe", "title": "Describe", "category": "OpenShift" }, { "command": "openshift.component.describe.palette", "title": "Describe Component", "category": "OpenShift" }, { "command": "openshift.component.log", "title": "Show Log", "category": "OpenShift" }, { "command": "openshift.component.log.palette", "title": "Show Component Log", "category": "OpenShift" }, { "command": "openshift.component.followLog", "title": "Follow Log", "category": "OpenShift" }, { "command": "openshift.component.followLog.palette", "title": "Follow Component Log", "category": "OpenShift" }, { "command": "openshift.component.openInBrowser", "title": "Open in Browser", "category": "OpenShift" }, { "command": "openshift.open.developerConsole", "title": "Open Console Dashboard", "category": "OpenShift" }, { "command": "openshift.open.developerConsole.palette", "title": "Open Console Dashboard for Current Cluster", "category": "OpenShift" }, { "command": "openshift.component.delete", "title": "Delete", "category": "OpenShift" }, { "command": "openshift.component.debug", "title": "Debug", "category": "OpenShift" }, { "command": "openshift.component.debug.palette", "title": "Debug Component", "category": "OpenShift" }, { "command": "openshift.service.create", "title": "New Service", "category": "OpenShift" }, { "command": "openshift.service.delete", "title": "Delete", "category": "OpenShift" }, { "command": "openshift.service.delete.palette", "title": "Delete Service", "category": "OpenShift" }, { "command": "clusters.openshift.useProject", "title": "Use Project", "category": "OpenShift" }, { "command": "clusters.openshift.project.openConsole", "title": "Open in Console", "Category": "OpenShift" }, { "command": "clusters.openshift.build.showLog", "title": "Show Log", "category": "OpenShift" }, { "command": "clusters.openshift.build.showLog.palette", "title": "Show Build's Log", "category": "OpenShift" }, { "command": "clusters.openshift.deploy.dc.showLog", "title": "Show Log", "category": "OpenShift" }, { "command": "clusters.openshift.deploy.dc.showLog.palette", "title": "Show DeploymentConfig's Log", "category": "OpenShift" }, { "command": "clusters.openshift.build.followLog", "title": "Follow Log", "category": "OpenShift" }, { "command": "clusters.openshift.build.delete.palette", "title": "Delete Build", "category": "OpenShift" }, { "command": "clusters.openshift.build.delete", "title": "Delete", "category": "OpenShift" }, { "command": "clusters.openshift.build.rebuild", "title": "Rebuild", "category": "OpenShift" }, { "command": "clusters.openshift.build.openConsole", "title": "Open in Console", "Category": "OpenShift" }, { "command": "clusters.openshift.deploy.rcShowLog.palette", "title": "Show Replica's Log", "category": "OpenShift" }, { "command": "clusters.openshift.deploy.rcShowLog", "title": "Show Log", "category": "OpenShift" }, { "command": "clusters.openshift.deploy.delete.palette", "title": "Delete Replica", "category": "OpenShift" }, { "command": "clusters.openshift.deploy.delete", "title": "Delete", "category": "OpenShift" }, { "command": "clusters.openshift.deployment.openConsole", "title": "Open in Console", "Category": "OpenShift" }, { "command": "clusters.openshift.imagestream.openConsole", "title": "Open in Console", "Category": "OpenShift" }, { "command": "clusters.openshift.route.open", "title": "Open in Browser", "category": "OpenShift" }, { "command": "openshift.componentTypesView.refresh", "title": "Refresh Components Types View", "category": "OpenShift", "icon": { "dark": "images/title/dark/icon-refresh.svg", "light": "images/title/light/icon-refresh.svg" } }, { "command": "openshift.componentType.openStarterProjectRepository", "title": "Open in Browser", "category": "OpenShift" }, { "command": "openshift.componentType.cloneStarterProjectRepository", "title": "Clone to Workspace", "category": "OpenShift" }, { "command": "openshift.componentType.newComponent", "title": "New Component", "category": "OpenShift" }, { "command": "openshift.explorer.addCluster.openLaunchSandboxPage", "title": "Launch Developer Sandbox", "category": "OpenShift" }, { "command": "openshift.explorer.addCluster.openCreateClusterPage", "title": "Deploy it in your public cloud", "category": "OpenShift" }, { "command": "openshift.explorer.addCluster.openCrcAddClusterPage", "title": "Open Add OpenShift Local Setup Workflow", "category": "OpenShift" }, { "command": "openshift.explorer.addCluster.crcSetup", "title": "Run OpenShift Local Setup Command", "category": "OpenShift" }, { "command": "openshift.explorer.addCluster.crcStart", "title": "Run OpenShift Local Start Command", "category": "OpenShift" }, { "command": "openshift.explorer.addCluster.crcStop", "title": "Run OpenShift Local Stop Command", "category": "OpenShift" }, { "command": "openshift.component.revealContextInExplorer", "title": "Reveal in Explorer" }, { "command": "openshift.component.revealInExplorer", "title": "Reveal in Explorer", "category": "OpenShift" }, { "command": "openshift.componentsView.refresh", "title": "Refresh Components View", "category": "OpenShift", "icon": { "dark": "images/title/dark/icon-refresh.svg", "light": "images/title/light/icon-refresh.svg" } }, { "command": "openshift.componentTypesView.registry.openInView", "title": "Open Registry View", "category": "OpenShift", "icon": { "dark": "images/title/dark/book.svg", "light": "images/title/light/book.svg" } }, { "command": "openshift.componentTypesView.registry.add", "title": "Add Registry", "category": "OpenShift", "icon": { "dark": "images/title/dark/add-cluster.svg", "light": "images/title/light/add-cluster.svg" } }, { "command": "openshift.componentTypesView.registry.remove", "title": "Remove", "category": "OpenShift" }, { "command": "openshift.componentTypesView.registry.edit", "title": "Edit", "category": "OpenShift" }, { "command": "openshift.componentTypesView.registry.openInBrowser", "title": "Open in Browser", "category": "OpenShift" }, { "command": "openshift.componentTypesView.registry.openInEditor", "title": "Open in Editor", "category": "OpenShift" }, { "command": "openshift.welcome", "title": "Welcome", "category": "OpenShift" }, { "command": "openshift.getStarted", "title": "Get Started", "category": "OpenShift" }, { "command": "clusters.openshift.csv.create", "title": "Create Service ...", "category": "OpenShift" }, { "command": "openshift.resource.load", "title": "Load", "category": "OpenShift" }, { "command": "openshift.resource.openInDeveloperConsole", "title": "Open in Developer Console" }, { "command": "openshift.openStatusBar", "title": "OpenShift", "category": "OpenShift" }, { "command": "openshift.component.importFromGit", "title": "Import Component from git repository", "category": "OpenShift" }, { "command": "openshift.experimental.mode.enable", "title": "Experimental Features", "category": "OpenShift" }, { "command": "openshift.experimental.mode.disable", "title": "✓ Experimental Features", "category": "OpenShift" }, { "command": "openshift.component.dev.onPodman", "title": "Start Dev on Podman", "category": "OpenShift" } ], "keybindings": [ { "command": "openshift.explorer.refresh", "key": "alt+shift+r", "mac": "ctrl+shift+r" }, { "command": "openshift.component.lastPush", "key": "alt+shift+p", "mac": "ctrl+shift+p" } ], "viewsContainers": {"activitybar": [ { "id": "openshiftView", "title": "OpenShift", "icon": "images/openshift_view.svg" }]}, "views": {"openshiftView": [ { "id": "openshiftProjectExplorer", "name": "Application Explorer" }, { "id": "openshiftComponentsView", "name": "Components" }, { "id": "openshiftComponentTypesView", "name": "Devfile Registries" }, { "id": "openshiftDebugView", "name": "Debug Sessions" } ]}, "viewsWelcome": [ { "view": "openshiftProjectExplorer", "contents": "Cluster is not accessible or you are not logged in.\n[Login](command:openshift.explorer.login)\n[Select Kubernetes Context](command:openshift.explorer.switchContext)\n[Add OpenShift Cluster](command:openshift.explorer.addCluster)\n[$(git-branch) Import from Git](command:openshift.component.openImportFromGit)\n[Create Component](command:openshift.component.createFromLocal)", "enablement": "openshift.app.explorer.init" }, { "view": "openshiftComponentsView", "contents": "You have no OpenShift Components in your workspace yet.\n[$(git-branch) Import from Git](command:openshift.component.openImportFromGit)\n[Create Component](command:openshift.component.createFromLocal)", "enablement": "openshift.component.explorer.init" } ], "menus": { "explorer/context": [ { "command": "openshift.component.createFromRootWorkspaceFolder", "when": "explorerResourceIsFolder && explorerResourceIsRoot" }], "commandPalette": [ { "command": "openshift.project.delete", "when": "view == openshiftProjectExplorer" }, { "command": "openshift.project.set", "when": "view == openshiftProjectExplorer" }, { "command": "openshift.open.configFile", "when": "view == openshiftProjectExplorer" }, { "command": "openshift.componentType.openStarterProjectRepository", "when": "false" }, { "command": "openshift.componentType.cloneStarterProjectRepository", "when": "false" }, { "command": "openshift.component.createFromRootWorkspaceFolder", "when": "view == workbench.view.explorer" }, { "command": "clusters.openshift.build.delete", "when": "view == openshiftProjectExplorer" }, { "command": "clusters.openshift.build.showLog", "when": "view == openshiftProjectExplorer" }, { "command": "clusters.openshift.deploy.delete", "when": "view == openshiftProjectExplorer" }, { "command": "openshift.explorer.addCluster", "when": "view == openshiftProjectExplorer && isVSCode == 1" }, { "command": "openshift.explorer.login", "when": "view == openshiftProjectExplorer" }, { "command": "clusters.openshift.deploy.rcShowLog", "when": "view == openshiftProjectExplorer" }, { "command": "openshift.component.describe", "when": "view == openshiftComponentsView" }, { "command": "openshift.component.log", "when": "view == openshiftProjectExplorer" }, { "command": "openshift.component.followLog", "when": "view == openshiftProjectExplorer" }, { "command": "openshift.open.developerConsole", "when": "view == openshiftProjectExplorer" }, { "command": "openshift.component.debug", "when": "view == openshiftProjectExplorer" }, { "command": "openshift.component.delete", "when": "view == openshiftProjectExplorer" }, { "command": "openshift.service.delete", "when": "view == openshiftProjectExplorer" }, { "command": "clusters.openshift.deploy.dc.showLog", "when": "view == openshiftProjectExplorer" }, { "command": "clusters.openshift.route.open", "when": "false" }, { "command": "clusters.openshift.project.openConsole", "when": "false" }, { "command": "clusters.openshift.imagestream.openConsole", "when": "false" }, { "command": "clusters.openshift.deployment.openConsole", "when": "false" }, { "command": "clusters.openshift.build.openConsole", "when": "false" }, { "command": "openshift.explorer.addCluster.openCrcAddClusterPage", "when": "false" }, { "command": "openshift.explorer.addCluster.openLaunchSandboxPage", "when": "false" }, { "command": "openshift.explorer.addCluster.openCreateClusterPage", "when": "false" }, { "command": "openshift.explorer.addCluster.crcSetup", "when": "false" }, { "command": "openshift.explorer.addCluster.crcStart", "when": "false" }, { "command": "openshift.explorer.addCluster.crcStop", "when": "false" }, { "command": "openshift.component.revealInExplorer", "when": "false" }, { "command": "openshift.componentType.newComponent", "when": "false" }, { "command": "openshift.component.revealContextInExplorer", "when": "false" }, { "command": "openshift.componentTypesView.registry.add", "when": "false" }, { "command": "openshift.componentTypesView.registry.remove", "when": "false" }, { "command": "openshift.componentTypesView.registry.edit", "when": "false" }, { "command": "openshift.componentTypesView.registry.openInView", "when": "false" }, { "command": "openshift.componentTypesView.registry.openInBrowser", "when": "false" }, { "command": "openshift.componentTypesView.registry.openInEditor", "when": "false" }, { "command": "openshift.resource.load", "when": "false" }, { "command": "openshift.resource.openInDeveloperConsole", "when": "false" }, { "command": "openshift.component.forceExitDevMode", "when": "false" }, { "command": "openshift.component.importFromGit", "when": "false" } ], "view/title": [ { "command": "openshift.componentTypesView.registry.openInView", "when": "view == openshiftComponentTypesView", "group": "navigation" }, { "command": "openshift.componentTypesView.registry.add", "when": "view == openshiftComponentTypesView", "group": "navigation" }, { "command": "openshift.componentTypesView.refresh", "when": "view == openshiftComponentTypesView", "group": "navigation" }, { "command": "openshift.componentsView.refresh", "when": "view == openshiftComponentsView", "group": "navigation" }, { "command": "openshift.explorer.addCluster", "when": "view == openshiftProjectExplorer && isVSCode == 1", "group": "navigation@0" }, { "command": "openshift.explorer.login", "when": "view == openshiftProjectExplorer", "group": "navigation@1" }, { "command": "openshift.explorer.switchContext", "when": "view == openshiftProjectExplorer", "group": "navigation@2" }, { "command": "openshift.explorer.refresh", "when": "view == openshiftProjectExplorer", "group": "navigation@3" }, { "command": "openshift.explorer.reportIssue", "when": "view == openshiftProjectExplorer", "group": "navigation@4" }, { "command": "openshift.component.createFromLocal", "when": "view == openshiftComponentsView", "group": "navigation" }, { "command": "openshift.component.openImportFromGit", "when": "view == openshiftComponentsView", "group": "navigation" }, { "command": "openshift.experimental.mode.enable", "when": "view == openshiftComponentsView && !config.openshiftToolkit.experimentalFeatures" }, { "command": "openshift.experimental.mode.disable", "when": "view == openshiftComponentsView && config.openshiftToolkit.experimentalFeatures" } ], "view/item/context": [ { "command": "clusters.openshift.csv.create", "group": "1@1", "when": "view == extension.vsKubernetesExplorer && viewItem == openshift.resource.csv.crdDescription" }, { "command": "clusters.openshift.deployment.openConsole", "group": "3@0", "when": "view == extension.vsKubernetesExplorer && viewItem == vsKubernetes.resource.dc" }, { "command": "clusters.openshift.imagestream.openConsole", "group": "3@0", "when": "view == extension.vsKubernetesExplorer && viewItem =~ /vsKubernetes\\.resource\\.imagestream*/i" }, { "command": "clusters.openshift.build.start", "group": "2@0", "when": "view == extension.vsKubernetesExplorer && viewItem == vsKubernetes.resource.bc" }, { "command": "clusters.openshift.deploy", "group": "2@0", "when": "view == extension.vsKubernetesExplorer && viewItem == vsKubernetes.resource.dc" }, { "command": "clusters.openshift.deploy.dc.showLog", "group": "2@1", "when": "view == extension.vsKubernetesExplorer && viewItem == vsKubernetes.resource.dc" }, { "command": "clusters.openshift.build.openConsole", "group": "3@0", "when": "view == extension.vsKubernetesExplorer && viewItem == vsKubernetes.resource.bc" }, { "command": "clusters.openshift.build.showLog", "group": "1@1", "when": "view == extension.vsKubernetesExplorer && viewItem =~ /openShift\\.resource\\.build.*/i" }, { "command": "clusters.openshift.build.followLog", "group": "1@2", "when": "view == extension.vsKubernetesExplorer && viewItem =~ /openShift\\.resource\\.build.*/i" }, { "command": "clusters.openshift.build.delete", "group": "2@0", "when": "view == extension.vsKubernetesExplorer && viewItem =~ /openShift\\.resource\\.build.*/i" }, { "command": "clusters.openshift.deploy.rcShowLog", "group": "1@1", "when": "view == extension.vsKubernetesExplorer && viewItem =~ /openShift\\.resource\\.rc.*/i" }, { "command": "clusters.openshift.deploy.delete", "group": "2@0", "when": "view == extension.vsKubernetesExplorer && viewItem =~ /openShift\\.resource\\.rc.*/i" }, { "command": "clusters.openshift.build.rebuild", "group": "1@0", "when": "view == extension.vsKubernetesExplorer && viewItem =~ /openShift\\.resource\\.build.*/i" }, { "command": "openshift.open.developerConsole", "when": "view == openshiftProjectExplorer && viewItem == openshift.k8sContext", "group": "c0" }, { "command": "openshift.project.create", "when": "view == openshiftProjectExplorer && viewItem == openshift.k8sContext && isLoggedIn", "group": "c1" }, { "command": "openshift.explorer.logout", "when": "view == openshiftProjectExplorer && viewItem == openshift.k8sContext && isLoggedIn", "group": "c3" }, { "command": "openshift.about", "when": "view == openshiftProjectExplorer && viewItem == openshift.k8sContext", "group": "c4" }, { "command": "openshift.output", "when": "view == openshiftProjectExplorer && viewItem == openshift.k8sContext", "group": "c5" }, { "command": "openshift.project.delete", "when": "view == openshiftProjectExplorer && viewItem == openshift.project", "group": "p3" }, { "command": "openshift.component.describe", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*/", "group": "c3@1" }, { "command": "openshift.component.log", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*\\.dev-run.*/", "group": "c3@2" }, { "command": "openshift.component.followLog", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*\\.dev-run.*/", "group": "c3@3" }, { "command": "openshift.component.debug", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*\\.deb-nrn.*/ && viewItem =~ /openshift\\.component.*\\.dev-run.*/", "group": "c4@5" }, { "command": "openshift.component.revealContextInExplorer", "when": "view == openshiftProjectExplorer && viewItem =~ /openshift\\.component.*/ || viewItem == componentNotPushed", "group": "c5@1" }, { "command": "openshift.component.delete", "when": "view == openshiftProjectExplorer && viewItem == componentNoContext || viewItem == component || viewItem == componentNotPushed || viewItem == componentOther", "group": "c6@1" }, { "command": "openshift.component.dev", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*\\.dev-nrn.*/", "group": "c1@1" }, { "command": "openshift.component.dev.onPodman", "when": "view == openshiftComponentsView && config.openshiftToolkit.experimentalFeatures && viewItem =~ /openshift\\.component.*\\.dev-nrn.*/", "group": "c1@2" }, { "command": "openshift.component.exitDevMode", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*\\.dev-run.*/", "group": "c1@3" }, { "command": "openshift.component.forceExitDevMode", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*\\.dev-stp.*/", "group": "c1@4" }, { "command": "openshift.component.deploy", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*\\.dep-nrn.*/ || viewItem =~ /openshift\\.component.*\\.dep-run.*/", "group": "c2@0" }, { "command": "openshift.component.undeploy", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*\\.dep-nrn.*/ || viewItem =~ /openshift\\.component.*\\.dep-run.*/", "group": "c2@1" }, { "command": "openshift.component.showDevTerminal", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*\\.dev-run.*/", "group": "c1@3" }, { "command": "openshift.component.openInBrowser", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*\\.dev-run.*/", "group": "c3@4" }, { "command": "openshift.service.delete", "when": "view == openshiftProjectExplorer && viewItem == service", "group": "s2" }, { "command": "clusters.openshift.useProject", "when": "viewItem =~ /\\.openshift\\.inactiveProject/i" }, { "command": "clusters.openshift.project.openConsole", "when": "view == extension.vsKubernetesExplorer && viewItem =~ /vsKubernetes\\.resource\\.project*/i" }, { "command": "clusters.openshift.route.open", "group": "2@0", "when": "view == extension.vsKubernetesExplorer && viewItem =~ /vsKubernetes\\.resource\\.route/i" }, { "command": "openshift.explorer.login.tokenLogin", "when": "view == openshiftProjectExplorer && viewItem == loginRequired" }, { "command": "openshift.explorer.login.credentialsLogin", "when": "view == openshiftProjectExplorer && viewItem == loginRequired" }, { "command": "openshift.open.configFile", "when": "view == openshiftProjectExplorer && viewItem == openshift.openConfigFile", "group": "inline" }, { "command": "openshift.project.set", "when": "view == openshiftProjectExplorer && viewItem == openshift.k8sContext || viewItem == openshift.project", "group": "inline" }, { "command": "openshift.component.revealInExplorer", "when": "view == openshiftComponentsView && viewItem =~ /openshift\\.component.*/", "group": "c40@1" }, { "command": "openshift.componentTypesView.registry.edit", "when": "view == openshiftComponentTypesView && viewItem == devfileRegistry && viewItem != DefaultdevfileRegistry", "group": "1@0" }, { "command": "openshift.componentTypesView.registry.remove", "when": "view == openshiftComponentTypesView && viewItem == devfileRegistry && viewItem != DefaultdevfileRegistry", "group": "1@0" }, { "command": "openshift.componentTypesView.registry.openInBrowser", "when": "view == openshiftComponentTypesView && viewItem == devfileRegistry", "group": "0@0" }, { "command": "openshift.componentTypesView.registry.openInEditor", "when": "view == openshiftComponentTypesView && viewItem == devfileRegistry", "group": "0@0" }, { "command": "openshift.resource.load", "when": "view == openshiftProjectExplorer && viewItem == openshift.k8sObject" }, { "command": "openshift.resource.openInDeveloperConsole", "when": "view == openshiftProjectExplorer && viewItem == openshift.k8sObject" } ] }, "walkthroughs": [ { "id": "openshiftWalkthrough", "title": "Getting Started with OpenShift Toolkit", "description": "Start your application development on OpenShift or Kubernetes", "steps": [ { "id": "login", "title": "Login/Provision OpenShift cluster", "description": "Users can Login to an existing OpenShift cluster using the login button.\nTo provision a new OpenShift cluster, **Add OpenShift Cluster** button opens a guided workflow to provision a local, sandbox or hyrid cloud cluster.\n[Login to the existing OpenShift cluster](command:openshift.explorer.login)\n[Provision local OpenShift cluster](command:openshift.explorer.addCluster?[\"crc\"])\n[Provision Red Hat Developer Sandbox cluster](command:openshift.explorer.addCluster?[\"sandbox\"])", "media": { "image": "images/walkthrough/loginCluster.gif", "altText": "login to cluster" }, "completionEvents": [ "onCommand:openshift.explorer.login", "onCommand:openshift.explorer.addCluster", "onCommand:openshift.explorer.login.credentialsLogin", "onCommand:openshift.explorer.login.tokenLogin" ] }, { "id": "showRegistries", "title": "Create Component from Devfile registries webview", "description": "Select a specific devfile registry to create a component directly.\n[Browse Devfile Registries](command:openshift.componentTypesView.registry.openInView)", "media": { "image": "images/walkthrough/showRegistries.gif", "altText": "show registry" }, "completionEvents": ["onCommand:openshift.componentTypesView.registry.openInView"] }, { "id": "createComponent", "title": "Create a Component using local workspace", "description": "Create a component in the local workspace using the selected starter project and associated `devfile.yaml` configuration. Devfile is a manifest file that contains information about various resources (URL, Storage, Services, etc.) that correspond to your component. \n[Create Component](command:openshift.component.createFromLocal)", "media": { "image": "images/walkthrough/createComponent.gif", "altText": "create component" }, "completionEvents": ["onCommand:openshift.componentType.newComponent"] }, { "id": "importFromGit", "title": "Create a Component from git repository", "description": "Create a component directly from git repository. The guided workflow will detect the repository and recommend the deployment `devfile` for it. Users can also provide their own custom devfile. \n[Import from Git](command:openshift.component.openImportFromGit)", "media": { "image": "images/walkthrough/git-import-walkthrough.gif", "altText": "create component from git" }, "completionEvents": ["onCommand:openshift.component.openImportFromGit"] }, { "id": "startDevComponent", "title": "Start a component in development mode", "description": "This is inner loop development and allows you to code, build, run and test the application in a continuous workflow. It continuously watches the directory for any new changes and automatically syncs them with the application running on the cluster.\n\n This also forwards a port on the development system to the port on the container cluster allowing you remote access to your deployed application", "media": { "image": "images/walkthrough/startDev.gif", "altText": "dev component" } }, { "id": "debugComponent", "title": "Debug the component", "description": "Start the component in debug mode. The devfile.yaml should be specified with the debug port as an endpoint for the debug to work.", "media": { "image": "images/walkthrough/startDebug.png", "altText": "debug component" } }, { "id": "deployComponent", "title": "Deploy component on the cluster", "description": "Deploy components in a similar manner they would be deployed by a CI/CD system, by first building the images of the containers to deploy, then by deploying the OpenShift/Kubernetes resources necessary to deploy the components.", "media": { "image": "images/walkthrough/deploy-demo.gif", "altText": "deploy component" } } ] }], "configuration": [ { "type": "object", "order": 1, "title": "OpenShift Toolkit", "properties": { "openshiftToolkit.showWelcomePage": { "type": "boolean", "default": true, "description": "Show Welcome Page when using OpenShift Toolkit Extension." }, "openshiftToolkit.showChannelOnOutput": { "type": "boolean", "default": false, "description": "Show OpenShift Toolkit output channel when new text added to output stream." }, "openshiftToolkit.outputVerbosityLevel": { "type": "number", "default": 0, "description": "Output verbosity level (value between 0 and 9) for OpenShift Create, and Dev commands in output channel and integrated terminal." }, "openshiftToolkit.searchForToolsInPath": { "type": "boolean", "default": false, "description": "Force extension to search for `oc` and `odo` CLI tools in PATH locations before using bundled binaries." }, "openshiftToolkit.useWebviewInsteadOfTerminalView": { "type": "boolean", "default": false, "description": "By default the Terminal View is used to execute OpenShift 'Show Log', 'Follow Log' and 'Describe' commands. Select this option if you want to use Webview based editors for it." }, "openshiftToolkit.stopDevModeTimeout": { "type": "number", "default": 90000, "description": "Controls stopping development mode timeout (in milliseconds)." } } }, { "type": "object", "order": 2, "title": "Red Hat OpenShift Local", "properties": { "openshiftToolkit.crcBinaryLocation": { "type": "string", "default": null, "description": "Provide the path where the OpenShift Local executable is present." }, "openshiftToolkit.crcPullSecretPath": { "type": "string", "default": null, "description": "Path of image pull secret." }, "openshiftToolkit.crcCpuCores": { "type": "number", "default": 4, "description": "Number of CPU cores to allocate to the OpenShift cluster as selected during the first run" }, "openshiftToolkit.crcMemoryAllocated": { "type": "number", "default": 9216, "description": "MiB of memory to allocate to the OpenShift cluster as selected during the first run" }, "openshiftToolkit.crcNameserver": { "type": "string", "default": "", "description": "IP address/name of DNS to use with OpenShift Local" } } }, { "type": "object", "order": 3, "title": "Developer Sandbox for Red Hat OpenShift", "properties": { "openshiftToolkit.sandboxApiHostUrl": { "type": "string", "default": "https://registration-service-toolchain-host-operator.apps.sandbox.x8i5.p1.openshiftapps.com" }, "openshiftToolkit.sandboxApiTimeout": { "description": "Controls timeout (im milliseconds) for requests to OpenShift Sandbox Registration Service. Increase timeout value in case of unexpected errors in OpenShift Sandbox Provisioning workflow.", "type": "number", "default": 100000 } } }, { "type": "object", "order": 4, "title": "Experimental Features", "properties": { "openshiftToolkit.experimentalFeatures": { "order": 1, "description": "Show OpenShift Toolkit Experimental Features.", "type": "boolean", "default": true }, "openshiftToolkit.devModeRunOnPodman": { "order": 2, "description": "Show warning about experimental feature", "type": "boolean", "default": true } } } ] }, "extensionDependencies": [ "redhat.vscode-redhat-account", "ms-kubernetes-tools.vscode-kubernetes-tools" ], "__metadata": { "id": "8fea1f1f-b45c-4eea-b479-3a92c6e697d3", "publisherDisplayName": "Red Hat", "publisherId": "eed56242-9699-4317-8bc7-e9f4b9bdd3ff", "isPreReleaseVersion": false } }ØA —Eoúô