@broadcom/idms-for-zowe-cli 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +9 -9
- package/lib/api/Datasources.d.ts +7 -0
- package/lib/api/Datasources.js +60 -0
- package/lib/api/Datasources.js.map +1 -0
- package/lib/api/Dcmt.js +1 -1
- package/lib/api/Dcuf.js +1 -1
- package/lib/api/IDMSSession.js +2 -2
- package/lib/api/IDMSSession.js.map +1 -1
- package/lib/api/Log.js +1 -1
- package/lib/api/Systems.js +1 -1
- package/lib/api/TransactionDetails.js +1 -1
- package/lib/api/UserTasks.js +1 -1
- package/lib/api/doc/IDatasource.d.ts +5 -0
- package/lib/api/doc/IDatasource.js +25 -0
- package/lib/api/doc/IDatasource.js.map +1 -0
- package/lib/api/doc/ILogRecord.js +1 -1
- package/lib/api/doc/ILogReport.js +1 -1
- package/lib/api/doc/ISystem.js +1 -1
- package/lib/api/doc/ITaskCommand.js +1 -1
- package/lib/api/doc/ITransactionDetail.js +1 -1
- package/lib/api/doc/IUserTask.js +1 -1
- package/lib/cli/-strings-/en.d.ts +6 -0
- package/lib/cli/-strings-/en.js +10 -2
- package/lib/cli/-strings-/en.js.map +1 -1
- package/lib/cli/IDMSBaseHandler.js +1 -1
- package/lib/cli/issue/Issue.definition.js +2 -2
- package/lib/cli/issue/Issue.definition.js.map +1 -1
- package/lib/cli/issue/dcmt-display/DcmtDisplay.definition.js +2 -2
- package/lib/cli/issue/dcmt-display/DcmtDisplay.handler.js +2 -2
- package/lib/cli/issue/dcmt-display/DcmtDisplay.handler.js.map +1 -1
- package/lib/cli/issue/dcmt-help/DcmtHelp.definition.js +2 -2
- package/lib/cli/issue/dcmt-help/DcmtHelp.handler.js +1 -1
- package/lib/cli/issue/dcmt-quiesce/DcmtQuiesce.definition.js +2 -2
- package/lib/cli/issue/dcmt-quiesce/DcmtQuiesce.handler.js +1 -1
- package/lib/cli/issue/dcmt-shutdown/DcmtShutdown.definition.js +2 -2
- package/lib/cli/issue/dcmt-shutdown/DcmtShutdown.handler.js +1 -1
- package/lib/cli/issue/dcmt-statistics/DcmtStatistics.definition.js +2 -2
- package/lib/cli/issue/dcmt-statistics/DcmtStatistics.handler.js +1 -1
- package/lib/cli/issue/dcmt-test/DcmtTest.definition.js +3 -3
- package/lib/cli/issue/dcmt-test/DcmtTest.definition.js.map +1 -1
- package/lib/cli/issue/dcmt-test/DcmtTest.handler.js +1 -1
- package/lib/cli/issue/dcmt-vary/DcmtVary.definition.js +2 -2
- package/lib/cli/issue/dcmt-vary/DcmtVary.handler.js +1 -1
- package/lib/cli/issue/dcuf-help/DcufHelp.definition.js +2 -2
- package/lib/cli/issue/dcuf-help/DcufHelp.handler.js +1 -1
- package/lib/cli/issue/dcuf-show/DcufShow.definition.js +2 -2
- package/lib/cli/issue/dcuf-show/DcufShow.handler.js +1 -1
- package/lib/cli/list/List.definition.js +17 -5
- package/lib/cli/list/List.definition.js.map +1 -1
- package/lib/cli/list/datasources/Datasources.definition.d.ts +2 -0
- package/lib/cli/list/datasources/Datasources.definition.js +67 -0
- package/lib/cli/list/datasources/Datasources.definition.js.map +1 -0
- package/lib/cli/list/datasources/Datasources.handler.d.ts +23 -0
- package/lib/cli/list/datasources/Datasources.handler.js +78 -0
- package/lib/cli/list/datasources/Datasources.handler.js.map +1 -0
- package/lib/cli/list/log/Log.definition.js +3 -3
- package/lib/cli/list/log/Log.definition.js.map +1 -1
- package/lib/cli/list/log/Log.handler.js +1 -1
- package/lib/cli/list/systems/Systems.definition.js +2 -2
- package/lib/cli/list/systems/Systems.handler.js +1 -1
- package/lib/cli/list/transactions/TransactionDetails.definition.js +2 -2
- package/lib/cli/list/transactions/TransactionDetails.handler.js +1 -1
- package/lib/cli/list/user-tasks/UserTasks.definition.js +2 -2
- package/lib/cli/list/user-tasks/UserTasks.handler.js +1 -1
- package/lib/healthCheck.Handler.js +1 -1
- package/lib/imperative.js +14 -5
- package/lib/imperative.js.map +1 -1
- package/lib/index.js +7 -3
- package/lib/index.js.map +1 -1
- package/lib/overrides/CredentialManager.override.d.ts +0 -17
- package/lib/overrides/CredentialManager.override.js +55 -41
- package/lib/overrides/CredentialManager.override.js.map +1 -1
- package/lib/util/IdmsRestClient.js +2 -2
- package/lib/util/IdmsRestClient.js.map +1 -1
- package/package.json +125 -113
- package/CHANGELOG.md +0 -16
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -37,7 +37,7 @@ exports.DcufHelpDefinition = {
|
|
|
37
37
|
...IDMSSession_1.IDMSSession.IDMS_CONNECTION_OPTIONS
|
|
38
38
|
],
|
|
39
39
|
profile: {
|
|
40
|
-
|
|
40
|
+
optional: ["idms"],
|
|
41
41
|
},
|
|
42
42
|
outputFormatOptions: true,
|
|
43
43
|
examples: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -49,7 +49,7 @@ exports.DcufShowDefinition = {
|
|
|
49
49
|
}
|
|
50
50
|
],
|
|
51
51
|
profile: {
|
|
52
|
-
|
|
52
|
+
optional: ["idms"],
|
|
53
53
|
},
|
|
54
54
|
outputFormatOptions: true,
|
|
55
55
|
examples: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -25,13 +25,14 @@ const Systems_definition_1 = require("./systems/Systems.definition");
|
|
|
25
25
|
const TransactionDetails_definition_1 = require("./transactions/TransactionDetails.definition");
|
|
26
26
|
const UserTasks_definition_1 = require("./user-tasks/UserTasks.definition");
|
|
27
27
|
const Log_definition_1 = require("./log/Log.definition");
|
|
28
|
+
const Datasources_definition_1 = require("./datasources/Datasources.definition");
|
|
28
29
|
const ListDefinition = {
|
|
29
30
|
name: "list",
|
|
30
31
|
aliases: ["ls"],
|
|
31
|
-
summary: "List active IDMS systems, log messages, user tasks, and transaction details",
|
|
32
|
-
description: "Lists real-time monitor statistics information, log messages, active user tasks, and transaction details",
|
|
32
|
+
summary: "List available datasources, active IDMS systems, log messages, user tasks, and transaction details",
|
|
33
|
+
description: "Lists available datasources, real-time monitor statistics information, log messages, active user tasks, and transaction details",
|
|
33
34
|
type: "group",
|
|
34
|
-
children: [Systems_definition_1.SystemsDefinition, Log_definition_1.LogDefinition, TransactionDetails_definition_1.TransactionDetailsDefinition, UserTasks_definition_1.UserTasksDefinition],
|
|
35
|
+
children: [Datasources_definition_1.DatasourcesDefinition, Systems_definition_1.SystemsDefinition, Log_definition_1.LogDefinition, TransactionDetails_definition_1.TransactionDetailsDefinition, UserTasks_definition_1.UserTasksDefinition],
|
|
35
36
|
passOn: [
|
|
36
37
|
{
|
|
37
38
|
property: "options",
|
|
@@ -41,12 +42,23 @@ const ListDefinition = {
|
|
|
41
42
|
description: "The job name of the active IDMS system",
|
|
42
43
|
type: "string",
|
|
43
44
|
required: true
|
|
44
|
-
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: "datasourcename",
|
|
48
|
+
aliases: ["dsn"],
|
|
49
|
+
description: "The data source name of the specified IDMS system",
|
|
50
|
+
type: "string",
|
|
51
|
+
required: true
|
|
52
|
+
}
|
|
53
|
+
],
|
|
45
54
|
merge: true,
|
|
46
55
|
ignoreNodes: [
|
|
47
56
|
{
|
|
48
57
|
type: "group"
|
|
49
58
|
},
|
|
59
|
+
{
|
|
60
|
+
name: "datasources"
|
|
61
|
+
},
|
|
50
62
|
{
|
|
51
63
|
name: "systems"
|
|
52
64
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.definition.js","sourceRoot":"","sources":["../../../src/cli/list/List.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE;AAGF,qEAAiE;AACjE,gGAA4F;AAC5F,4EAAwE;AACxE,yDAAqD;
|
|
1
|
+
{"version":3,"file":"List.definition.js","sourceRoot":"","sources":["../../../src/cli/list/List.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE;AAGF,qEAAiE;AACjE,gGAA4F;AAC5F,4EAAwE;AACxE,yDAAqD;AAErD,iFAA6E;AAE7E,MAAM,cAAc,GAAuB;IACvC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,CAAC,IAAI,CAAC;IACf,OAAO,EAAE,oGAAoG;IAC7G,WAAW,EAAE,iIAAiI;IAC9I,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,CAAC,8CAAqB,EAAE,sCAAiB,EAAE,8BAAa,EAAE,4DAA4B,EAAE,0CAAmB,CAAC;IACtH,MAAM,EAAE;QACJ;YACI,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,CAAC;oBACJ,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,CAAC,GAAG,CAAC;oBACd,WAAW,EAAE,wCAAwC;oBACrD,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,IAAI;iBACjB;gBACD;oBACI,IAAI,EAAE,gBAAgB;oBACtB,OAAO,EAAE,CAAC,KAAK,CAAC;oBAChB,WAAW,EAAE,mDAAmD;oBAChE,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,IAAI;iBACjB;aACJ;YACG,KAAK,EAAE,IAAI;YACX,WAAW,EAAE;gBACT;oBACI,IAAI,EAAE,OAAO;iBAChB;gBACD;oBACI,IAAI,EAAE,aAAa;iBACtB;gBACD;oBACI,IAAI,EAAE,SAAS;iBAClB;gBACD;oBACI,IAAI,EAAE,KAAK;iBACd;aACJ;SACJ;KACJ;CACJ,CAAC;AAEF,iBAAS,cAAc,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
|
+
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
*
|
|
6
|
+
* This software and all information contained therein is
|
|
7
|
+
* confidential and proprietary and shall not be duplicated,
|
|
8
|
+
* used, disclosed, or disseminated in any way except as
|
|
9
|
+
* authorized by the applicable license agreement, without the
|
|
10
|
+
* express written permission of Broadcom. All authorized
|
|
11
|
+
* reproductions must be marked with this language.
|
|
12
|
+
*
|
|
13
|
+
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO
|
|
14
|
+
* THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS
|
|
15
|
+
* SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT
|
|
16
|
+
* LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
|
|
17
|
+
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM
|
|
18
|
+
* BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR
|
|
19
|
+
* DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE,
|
|
20
|
+
* INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS
|
|
21
|
+
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
|
|
22
|
+
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
|
|
23
|
+
*/
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.DatasourcesDefinition = void 0;
|
|
26
|
+
const IDMSSession_1 = require("../../../api/IDMSSession");
|
|
27
|
+
// Does not use the import in anticipation of some internationalization work to be done later.
|
|
28
|
+
const strings = require("../../-strings-/en").default.LIST.DATASOURCES;
|
|
29
|
+
exports.DatasourcesDefinition = {
|
|
30
|
+
name: "datasources",
|
|
31
|
+
aliases: ["ds"],
|
|
32
|
+
summary: "Lists defined data sources",
|
|
33
|
+
description: "Lists data sources defined to the IDMS REST API",
|
|
34
|
+
type: "command",
|
|
35
|
+
handler: __dirname + "/Datasources.handler",
|
|
36
|
+
options: [
|
|
37
|
+
...IDMSSession_1.IDMSSession.IDMS_CONNECTION_OPTIONS,
|
|
38
|
+
{
|
|
39
|
+
name: "datasourcename",
|
|
40
|
+
aliases: ["dsn"],
|
|
41
|
+
description: "Specifies a specific datasource to view the definition of",
|
|
42
|
+
type: "string"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "all",
|
|
46
|
+
aliases: ["a"],
|
|
47
|
+
description: "Lists each datasource defined to the IDMS REST API",
|
|
48
|
+
type: "boolean",
|
|
49
|
+
defaultValue: null
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
profile: {
|
|
53
|
+
optional: ["idms"],
|
|
54
|
+
},
|
|
55
|
+
outputFormatOptions: true,
|
|
56
|
+
examples: [
|
|
57
|
+
{
|
|
58
|
+
options: "--all",
|
|
59
|
+
description: strings.EXAMPLES.EX1
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
options: "--dsn SYSDEMO",
|
|
63
|
+
description: strings.EXAMPLES.EX2
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=Datasources.definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Datasources.definition.js","sourceRoot":"","sources":["../../../../src/cli/list/datasources/Datasources.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE;;;AAGF,0DAAuD;AAIvD,8FAA8F;AAC9F,MAAM,OAAO,GAAI,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAA8B,CAAC,IAAI,CAAC,WAAW,CAAC;AAElF,QAAA,qBAAqB,GAAuB;IACrD,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,CAAC,IAAI,CAAC;IACf,OAAO,EAAE,4BAA4B;IACrC,WAAW,EAAE,iDAAiD;IAC9D,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,sBAAsB;IAC3C,OAAO,EAAE;QACL,GAAG,yBAAW,CAAC,uBAAuB;QACtC;YACI,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,CAAC,KAAK,CAAC;YAChB,WAAW,EAAE,2DAA2D;YACxE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,KAAK;YACX,OAAO,EAAE,CAAC,GAAG,CAAC;YACd,WAAW,EAAE,oDAAoD;YACjE,IAAI,EAAE,SAAS;YACf,YAAY,EAAE,IAAI;SACrB;KACJ;IACD,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,MAAM,CAAC;KACrB;IACD,mBAAmB,EAAE,IAAI;IACzB,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,OAAO;YAChB,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG;SACpC;QACD;YACI,OAAO,EAAE,eAAe;YACxB,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG;SACpC;KACJ;CACJ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IHandlerParameters } from "@zowe/imperative";
|
|
2
|
+
import { IDMSBaseHandler } from "../../IDMSBaseHandler";
|
|
3
|
+
/**
|
|
4
|
+
* Command handler for listing directory contents
|
|
5
|
+
* @export
|
|
6
|
+
* @class DirectoryContentsHandler
|
|
7
|
+
* @implements {ICommandHandler}
|
|
8
|
+
*/
|
|
9
|
+
export default class DatasourcesHandler extends IDMSBaseHandler {
|
|
10
|
+
/**
|
|
11
|
+
* Max table width
|
|
12
|
+
* @static
|
|
13
|
+
* @memberof DirectoryContentsHandler
|
|
14
|
+
*/
|
|
15
|
+
static readonly MAX_WIDTH = 9999;
|
|
16
|
+
/**
|
|
17
|
+
* Process the list directory contents command.
|
|
18
|
+
* @param {IHandlerParameters} params
|
|
19
|
+
* @returns {Promise<void>}
|
|
20
|
+
* @memberof DirectoryContentsHandler
|
|
21
|
+
*/
|
|
22
|
+
processCmd(params: IHandlerParameters): Promise<void>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
|
+
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
*
|
|
6
|
+
* This software and all information contained therein is
|
|
7
|
+
* confidential and proprietary and shall not be duplicated,
|
|
8
|
+
* used, disclosed, or disseminated in any way except as
|
|
9
|
+
* authorized by the applicable license agreement, without the
|
|
10
|
+
* express written permission of Broadcom. All authorized
|
|
11
|
+
* reproductions must be marked with this language.
|
|
12
|
+
*
|
|
13
|
+
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO
|
|
14
|
+
* THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS
|
|
15
|
+
* SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT
|
|
16
|
+
* LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
|
|
17
|
+
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM
|
|
18
|
+
* BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR
|
|
19
|
+
* DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE,
|
|
20
|
+
* INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS
|
|
21
|
+
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
|
|
22
|
+
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
|
|
23
|
+
*/
|
|
24
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
25
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
26
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
27
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
28
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
29
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
30
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
const IDMSBaseHandler_1 = require("../../IDMSBaseHandler");
|
|
35
|
+
const Datasources_1 = require("../../../api/Datasources");
|
|
36
|
+
/**
|
|
37
|
+
* Command handler for listing directory contents
|
|
38
|
+
* @export
|
|
39
|
+
* @class DirectoryContentsHandler
|
|
40
|
+
* @implements {ICommandHandler}
|
|
41
|
+
*/
|
|
42
|
+
class DatasourcesHandler extends IDMSBaseHandler_1.IDMSBaseHandler {
|
|
43
|
+
/**
|
|
44
|
+
* Process the list directory contents command.
|
|
45
|
+
* @param {IHandlerParameters} params
|
|
46
|
+
* @returns {Promise<void>}
|
|
47
|
+
* @memberof DirectoryContentsHandler
|
|
48
|
+
*/
|
|
49
|
+
processCmd(params) {
|
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
// params.response.console.log("hey");
|
|
52
|
+
const datasources = yield Datasources_1.Datasources.list(this.mSession, params.arguments.datasourcename, params.arguments.all);
|
|
53
|
+
params.response.data.setObj(datasources);
|
|
54
|
+
params.response.data.setMessage(`List of datasources returned, or details of a specific datasource`);
|
|
55
|
+
if (params.arguments.all || !params.arguments.datasourcename) {
|
|
56
|
+
params.response.format.output({
|
|
57
|
+
fields: ["datasourceName", "description", "databaseName"],
|
|
58
|
+
output: datasources,
|
|
59
|
+
format: "table",
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
params.response.format.output({
|
|
64
|
+
output: datasources,
|
|
65
|
+
format: "object"
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.default = DatasourcesHandler;
|
|
72
|
+
/**
|
|
73
|
+
* Max table width
|
|
74
|
+
* @static
|
|
75
|
+
* @memberof DirectoryContentsHandler
|
|
76
|
+
*/
|
|
77
|
+
DatasourcesHandler.MAX_WIDTH = 9999;
|
|
78
|
+
//# sourceMappingURL=Datasources.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Datasources.handler.js","sourceRoot":"","sources":["../../../../src/cli/list/datasources/Datasources.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE;;;;;;;;;;;AAGF,2DAAwD;AACxD,0DAAuD;AAGvD;;;;;GAKG;AACH,MAAqB,kBAAmB,SAAQ,iCAAe;IAQ3D;;;;;OAKG;IACU,UAAU,CAAC,MAA0B;;YAE9C,sCAAsC;YAEtC,MAAM,WAAW,GAAkB,MAAM,yBAAW,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,SAAS,CAAC,cAAc,EAAE,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;YAChI,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;YACzC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,mEAAmE,CAAC,CAAC;YAErG,IAAI,MAAM,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,EAAE;gBAC1D,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;oBAC1B,MAAM,EAAE,CAAC,gBAAgB,EAAE,aAAa,EAAE,cAAc,CAAC;oBACzD,MAAM,EAAE,WAAW;oBACnB,MAAM,EAAE,OAAO;iBAClB,CAAC,CAAC;aACN;iBACI;gBACD,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;oBAC1B,MAAM,EAAE,WAAW;oBACnB,MAAM,EAAE,QAAQ;iBACnB,CAAC,CAAC;aACN;QAEL,CAAC;KAAA;;AApCL,qCAqCC;AApCG;;;;GAIG;AACoB,4BAAS,GAAG,IAAI,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -37,7 +37,7 @@ exports.LogDefinition = {
|
|
|
37
37
|
{
|
|
38
38
|
name: "datasource",
|
|
39
39
|
aliases: ["d"],
|
|
40
|
-
description: "Identifies the
|
|
40
|
+
description: "Identifies the IDMS system where the API request will be sent" +
|
|
41
41
|
" and is defined in the data sources definition file for the IDMS REST API",
|
|
42
42
|
type: "string",
|
|
43
43
|
group: IDMSSession_1.IDMSSession.IDMS_CONNECTION_OPTION_GROUP,
|
|
@@ -87,7 +87,7 @@ exports.LogDefinition = {
|
|
|
87
87
|
}
|
|
88
88
|
],
|
|
89
89
|
profile: {
|
|
90
|
-
|
|
90
|
+
optional: ["idms"],
|
|
91
91
|
},
|
|
92
92
|
outputFormatOptions: true,
|
|
93
93
|
examples: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Log.definition.js","sourceRoot":"","sources":["../../../../src/cli/list/log/Log.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE;;;AAGF,0DAAuD;AAIvD,8FAA8F;AAC9F,MAAM,OAAO,GAAI,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAA8B,CAAC,IAAI,CAAC,GAAG,CAAC;AAE1E,QAAA,aAAa,GAAuB;IAC7C,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,oBAAoB;IAC7B,WAAW,EAAE,yDAAyD;IACtE,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,cAAc;IACnC,OAAO,EAAE;QACL,GAAG,yBAAW,CAAC,uBAAuB;QACtC;YACI,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,CAAC,GAAG,CAAC;YACd,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"Log.definition.js","sourceRoot":"","sources":["../../../../src/cli/list/log/Log.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE;;;AAGF,0DAAuD;AAIvD,8FAA8F;AAC9F,MAAM,OAAO,GAAI,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAA8B,CAAC,IAAI,CAAC,GAAG,CAAC;AAE1E,QAAA,aAAa,GAAuB;IAC7C,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,oBAAoB;IAC7B,WAAW,EAAE,yDAAyD;IACtE,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,cAAc;IACnC,OAAO,EAAE;QACL,GAAG,yBAAW,CAAC,uBAAuB;QACtC;YACI,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,CAAC,GAAG,CAAC;YACd,WAAW,EAAE,+DAA+D;gBAC5E,2EAA2E;YAC3E,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,yBAAW,CAAC,4BAA4B;YAC/C,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,CAAC,IAAI,CAAC;YACf,WAAW,EAAE,yCAAyC;gBACtD,wCAAwC;YACxC,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,CAAC,IAAI,CAAC;YACf,WAAW,EAAE,sCAAsC;gBACnD,wCAAwC;YACxC,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,OAAO,EAAE,CAAC,IAAI,CAAC;YACf,WAAW,EAAE,0BAA0B;gBACvC,wBAAwB;gBACxB,oDAAoD;gBACpD,mCAAmC;gBACnC,2BAA2B;gBAC3B,qCAAqC;gBACrC,+BAA+B;YAC/B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,mBAAmB;YACzB,OAAO,EAAE,CAAC,IAAI,CAAC;YACf,WAAW,EAAE,0CAA0C;gBACvD,sDAAsD;YACtD,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,OAAO,EAAE,CAAC,OAAO,CAAC;YAClB,WAAW,EAAE,oCAAoC;gBACjD,kEAAkE;YAClE,IAAI,EAAE,QAAQ;SACjB;KACJ;IACD,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,MAAM,CAAC;KACrB;IACD,mBAAmB,EAAE,IAAI;IACzB,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,yEAAyE;YAClF,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG;SACpC;QACD;YACI,OAAO,EAAE,0EAA0E;gBAC/E,wCAAwC;YAC5C,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG;SACpC;QACD;YACI,OAAO,EAAE,oFAAoF;gBACpF,8BAA8B;YACvC,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG;SACpC;KACJ;CACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -50,7 +50,7 @@ exports.SystemsDefinition = {
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
profile: {
|
|
53
|
-
|
|
53
|
+
optional: ["idms"],
|
|
54
54
|
},
|
|
55
55
|
outputFormatOptions: true,
|
|
56
56
|
examples: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -37,7 +37,7 @@ exports.TransactionDetailsDefinition = {
|
|
|
37
37
|
...IDMSSession_1.IDMSSession.IDMS_CONNECTION_OPTIONS,
|
|
38
38
|
],
|
|
39
39
|
profile: {
|
|
40
|
-
|
|
40
|
+
optional: ["idms"],
|
|
41
41
|
},
|
|
42
42
|
outputFormatOptions: true,
|
|
43
43
|
examples: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -37,7 +37,7 @@ exports.UserTasksDefinition = {
|
|
|
37
37
|
...IDMSSession_1.IDMSSession.IDMS_CONNECTION_OPTIONS,
|
|
38
38
|
],
|
|
39
39
|
profile: {
|
|
40
|
-
|
|
40
|
+
optional: ["idms"],
|
|
41
41
|
},
|
|
42
42
|
outputFormatOptions: true,
|
|
43
43
|
examples: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
package/lib/imperative.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -25,16 +25,16 @@ const IDMSSession_1 = require("./api/IDMSSession");
|
|
|
25
25
|
const config = {
|
|
26
26
|
commandModuleGlobs: ["**/cli/*/*.definition!(.d).*s"],
|
|
27
27
|
pluginHealthCheck: __dirname + "/healthCheck.Handler",
|
|
28
|
-
pluginSummary: "Interact with
|
|
29
|
-
rootCommandDescription: "
|
|
30
|
-
productDisplayName: "
|
|
28
|
+
pluginSummary: "Interact with IDMS",
|
|
29
|
+
rootCommandDescription: "IDMS plug-in for listing real-time monitor statistics and information, viewing DC log messages, and issuing DCMT and DCUF commands",
|
|
30
|
+
productDisplayName: "IDMS Zowe CLI Plug-in",
|
|
31
31
|
name: "idms",
|
|
32
32
|
profiles: [
|
|
33
33
|
{
|
|
34
34
|
type: "idms",
|
|
35
35
|
schema: {
|
|
36
36
|
type: "object",
|
|
37
|
-
title: "
|
|
37
|
+
title: "IDMS Profile",
|
|
38
38
|
description: "An IDMS profile is required to issue IDMS CLI commands. The IDMS " +
|
|
39
39
|
"profile contains your host and port information",
|
|
40
40
|
properties: {
|
|
@@ -68,6 +68,15 @@ const config = {
|
|
|
68
68
|
type: "boolean",
|
|
69
69
|
optionDefinition: IDMSSession_1.IDMSSession.IDMS_OPTION_REJECT_UNAUTHORIZED
|
|
70
70
|
},
|
|
71
|
+
/*tokenType: {
|
|
72
|
+
type: "string",
|
|
73
|
+
optionDefinition: IDMSSession.IDMS_OPTION_TOKEN_TYPE
|
|
74
|
+
},
|
|
75
|
+
tokenValue: {
|
|
76
|
+
type: "string",
|
|
77
|
+
optionDefinition: IDMSSession.IDMS_OPTION_TOKEN_VALUE,
|
|
78
|
+
secure: true
|
|
79
|
+
}*/
|
|
71
80
|
},
|
|
72
81
|
required: ["host"],
|
|
73
82
|
},
|
package/lib/imperative.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imperative.js","sourceRoot":"","sources":["../src/imperative.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE;AAGF,mDAAgD;AAEhD,MAAM,MAAM,GAAsB;IAC9B,kBAAkB,EAAE,CAAC,+BAA+B,CAAC;IACrD,iBAAiB,EAAE,SAAS,GAAG,sBAAsB;IACrD,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"imperative.js","sourceRoot":"","sources":["../src/imperative.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE;AAGF,mDAAgD;AAEhD,MAAM,MAAM,GAAsB;IAC9B,kBAAkB,EAAE,CAAC,+BAA+B,CAAC;IACrD,iBAAiB,EAAE,SAAS,GAAG,sBAAsB;IACrD,aAAa,EAAE,oBAAoB;IACnC,sBAAsB,EAAE,oIAAoI;IAC5J,kBAAkB,EAAE,uBAAuB;IAC3C,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE;QACN;YACI,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,cAAc;gBACrB,WAAW,EAAE,mEAAmE;oBAC5E,iDAAiD;gBACrD,UAAU,EAAE;oBACR,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,gBAAgB,EAAE,yBAAW,CAAC,gBAAgB;qBACjD;oBACD,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,gBAAgB,EAAE,yBAAW,CAAC,gBAAgB;qBACjD;oBACD,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE,IAAI;wBACZ,gBAAgB,EAAE,yBAAW,CAAC,gBAAgB;qBACjD;oBACD,QAAQ,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE,IAAI;wBACZ,gBAAgB,EAAE,yBAAW,CAAC,oBAAoB;qBACrD;oBACD,UAAU,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,gBAAgB,EAAE,yBAAW,CAAC,sBAAsB;qBACvD;oBACD,QAAQ,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,gBAAgB,EAAE,yBAAW,CAAC,qBAAqB;qBACtD;oBACD,kBAAkB,EAAE;wBAChB,IAAI,EAAE,SAAS;wBACf,gBAAgB,EAAE,yBAAW,CAAC,+BAA+B;qBAChE;oBACL;;;;;;;;uBAQG;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,CAAC;aACrB;YACD,qBAAqB,EAAE;gBACnB;oBACI,OAAO,EAAE,wHAAwH;oBACjI,WAAW,EAAE,uGAAuG;wBACpH,iEAAiE;iBACpE;gBACD;oBACI,OAAO,EAAE,kHAAkH;oBAC3H,WAAW,EAAE,uGAAuG;wBACpH,wHAAwH;iBAC3H;aACJ;YACD,qBAAqB,EAAE;gBACnB;oBACI,OAAO,EAAE,4BAA4B;oBACrC,WAAW,EAAE,8EAA8E;iBAC9F;aACJ;SACJ;KACJ;CACJ,CAAC;AAEF,iBAAS,MAAM,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2022 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -23,13 +23,17 @@
|
|
|
23
23
|
*/
|
|
24
24
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
25
25
|
if (k2 === undefined) k2 = k;
|
|
26
|
-
Object.
|
|
26
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
27
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
28
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
29
|
+
}
|
|
30
|
+
Object.defineProperty(o, k2, desc);
|
|
27
31
|
}) : (function(o, m, k, k2) {
|
|
28
32
|
if (k2 === undefined) k2 = k;
|
|
29
33
|
o[k2] = m[k];
|
|
30
34
|
}));
|
|
31
35
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
32
|
-
for (var p in m) if (p !== "default" && !
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
33
37
|
};
|
|
34
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
39
|
/**
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;EAqBE;;;;;;;;;;;;;;;;AAEF;;;;;;;;GAQG;AACH,6CAA2B;AAC3B,6CAA2B;AAC3B,gDAA8B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Logger, SecureCredential } from "@zowe/imperative";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (service: string, displayName: string): {
|
|
4
|
-
consoleLog: Logger;
|
|
5
|
-
deleteCredentials(account: string): Promise<void>;
|
|
6
|
-
loadCredentials(account: string): Promise<string>;
|
|
7
|
-
saveCredentials(account: string, credentials: SecureCredential): Promise<void>;
|
|
8
|
-
initialize?(): Promise<void>;
|
|
9
|
-
readonly service: string;
|
|
10
|
-
displayName: any;
|
|
11
|
-
readonly name: string;
|
|
12
|
-
delete(account: string): Promise<void>;
|
|
13
|
-
load(account: string, optional?: boolean): Promise<string>;
|
|
14
|
-
save(account: string, secureValue: string): Promise<void>;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export = _default;
|