-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/write-n-read-w-encoding
Signed-off-by: Trae Yelovich <[email protected]>
- Loading branch information
Showing
38 changed files
with
706 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ dumps | |
artifacts | ||
lib | ||
node_modules | ||
out | ||
tsconfig.tsbuildinfo | ||
zowe.config.json | ||
zowe.schema.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"amodio.tsl-problem-matcher" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// A launch configuration that compiles the extension and then opens it inside a new window | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Run Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"--extensionDevelopmentPath=${workspaceFolder}/packages/vsce" | ||
], | ||
"outFiles": [ | ||
"${workspaceFolder}/packages/vsce/out/**/*.js" | ||
], | ||
"preLaunchTask": "npm: watch" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "watch", | ||
"problemMatcher": "$ts-webpack-watch", | ||
"isBackground": true, | ||
"presentation": { | ||
"reveal": "never" | ||
}, | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"path": "./packages/vsce" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
| API | Backend | Middleware | SDK | CLI | VSCE | | ||
| ---------------- | ------- | ---------- | --- | --- | ---- | | ||
| List data sets | ✅ | ✅ | ✅ | ✅ | ❌ | | ||
| List members | ✅ | ✅ | ✅ | ✅ | ❌ | | ||
| List USS files | ✅ | ✅ | ✅ | ✅ | ❌ | | ||
| List jobs | ✅ | ✅ | ✅ | ✅ | ❌ | | ||
| List spool files | ✅ | ✅ | ❌ | ❌ | ❌ | | ||
| Read data set | ✅ | ✅ | ✅ | ✅ | ❌ | | ||
| Read USS file | ✅ | ✅ | ❌ | ❌ | ❌ | | ||
| Read spool file | ✅ | ✅ | ❌ | ❌ | ❌ | | ||
| Write data set | ✅ | ✅ | ❌ | ❌ | ❌ | | ||
| Write USS file | ✅ | ✅ | ❌ | ❌ | ❌ | | ||
| Get job JCL | ✅ | ✅ | ❌ | ❌ | ❌ | | ||
| List data sets | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| List members | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| List USS files | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| List jobs | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| List spool files | ✅ | ✅ | ✅ | ❌ | ✅ | | ||
| Read data set | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| Read USS file | ✅ | ✅ | ✅ | ❌ | ❌ | | ||
| Read spool file | ✅ | ✅ | ✅ | ❌ | ✅ | | ||
| Write data set | ✅ | ✅ | ✅ | ❌ | ❌ | | ||
| Write USS file | ✅ | ✅ | ✅ | ❌ | ❌ | | ||
| Get job JCL | ✅ | ✅ | ✅ | ❌ | ✅ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import type { IRpcRequest, IRpcResponse } from "./doc"; | ||
import type * as ds from "./doc/zos-ds"; | ||
import type * as jobs from "./doc/zos-jobs"; | ||
import type * as uss from "./doc/zos-uss"; | ||
|
||
export abstract class AbstractRpcClient { | ||
public abstract request<T extends IRpcResponse>(request: IRpcRequest): Promise<T>; | ||
|
||
public get ds() { | ||
return { | ||
listDatasets: (request: Omit<ds.ListDatasets.Request, "command">): Promise<ds.ListDatasets.Response> => | ||
this.request({ command: "listDatasets", ...request }), | ||
listDsMembers: (request: Omit<ds.ListDsMembers.Request, "command">): Promise<ds.ListDsMembers.Response> => | ||
this.request({ command: "listDsMembers", ...request }), | ||
readDataset: (request: Omit<ds.ReadDataset.Request, "command">): Promise<ds.ReadDataset.Response> => | ||
this.request({ command: "readDataset", ...request }), | ||
writeDataset: (request: Omit<ds.WriteDataset.Request, "command">): Promise<ds.WriteDataset.Response> => | ||
this.request({ command: "writeDataset", ...request }), | ||
}; | ||
} | ||
|
||
public get jobs() { | ||
return { | ||
getJcl: (request: Omit<jobs.GetJcl.Request, "command">): Promise<jobs.GetJcl.Response> => | ||
this.request({ command: "getJcl", ...request }), | ||
listJobs: (request: Omit<jobs.ListJobs.Request, "command">): Promise<jobs.ListJobs.Response> => | ||
this.request({ command: "listJobs", ...request }), | ||
listSpools: (request: Omit<jobs.ListSpools.Request, "command">): Promise<jobs.ListSpools.Response> => | ||
this.request({ command: "listSpools", ...request }), | ||
readSpool: (request: Omit<jobs.ReadSpool.Request, "command">): Promise<jobs.ReadSpool.Response> => | ||
this.request({ command: "readSpool", ...request }), | ||
}; | ||
} | ||
|
||
public get uss() { | ||
return { | ||
listFiles: (request: Omit<uss.ListFiles.Request, "command">): Promise<uss.ListFiles.Response> => | ||
this.request({ command: "listFiles", ...request }), | ||
readFile: (request: Omit<uss.ReadFile.Request, "command">): Promise<uss.ReadFile.Response> => | ||
this.request({ command: "readFile", ...request }), | ||
writeFile: (request: Omit<uss.WriteFile.Request, "command">): Promise<uss.WriteFile.Response> => | ||
this.request({ command: "writeFile", ...request }), | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.