namirasoft-credential 1.4.0
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/dist/NamirasoftCredentialServer.d.ts +17 -0
- package/dist/NamirasoftCredentialServer.js +24 -0
- package/dist/NamirasoftCredentialServer.js.map +1 -0
- package/dist/NamirasoftCredentialServerAWS.d.ts +18 -0
- package/dist/NamirasoftCredentialServerAWS.js +64 -0
- package/dist/NamirasoftCredentialServerAWS.js.map +1 -0
- package/dist/NamirasoftCredentialServerAWSCategory.d.ts +16 -0
- package/dist/NamirasoftCredentialServerAWSCategory.js +56 -0
- package/dist/NamirasoftCredentialServerAWSCategory.js.map +1 -0
- package/dist/NamirasoftCredentialServerAWSField.d.ts +17 -0
- package/dist/NamirasoftCredentialServerAWSField.js +64 -0
- package/dist/NamirasoftCredentialServerAWSField.js.map +1 -0
- package/dist/NamirasoftCredentialServerAWSTag.d.ts +17 -0
- package/dist/NamirasoftCredentialServerAWSTag.js +64 -0
- package/dist/NamirasoftCredentialServerAWSTag.js.map +1 -0
- package/dist/NamirasoftCredentialServerBase.d.ts +5 -0
- package/dist/NamirasoftCredentialServerBase.js +11 -0
- package/dist/NamirasoftCredentialServerBase.js.map +1 -0
- package/dist/NamirasoftCredentialServerHealthz.d.ts +6 -0
- package/dist/NamirasoftCredentialServerHealthz.js +28 -0
- package/dist/NamirasoftCredentialServerHealthz.js.map +1 -0
- package/dist/NamirasoftCredentialServerValue.d.ts +6 -0
- package/dist/NamirasoftCredentialServerValue.js +29 -0
- package/dist/NamirasoftCredentialServerValue.js.map +1 -0
- package/dist/command/AWSCategoryCommand.d.ts +4 -0
- package/dist/command/AWSCategoryCommand.js +21 -0
- package/dist/command/AWSCategoryCommand.js.map +1 -0
- package/dist/command/AWSCategoryCreateCommand.d.ts +5 -0
- package/dist/command/AWSCategoryCreateCommand.js +49 -0
- package/dist/command/AWSCategoryCreateCommand.js.map +1 -0
- package/dist/command/AWSCategoryDeleteCommand.d.ts +5 -0
- package/dist/command/AWSCategoryDeleteCommand.js +38 -0
- package/dist/command/AWSCategoryDeleteCommand.js.map +1 -0
- package/dist/command/AWSCategoryGetCommand.d.ts +5 -0
- package/dist/command/AWSCategoryGetCommand.js +38 -0
- package/dist/command/AWSCategoryGetCommand.js.map +1 -0
- package/dist/command/AWSCategoryListCommand.d.ts +5 -0
- package/dist/command/AWSCategoryListCommand.js +38 -0
- package/dist/command/AWSCategoryListCommand.js.map +1 -0
- package/dist/command/AWSCommand.d.ts +4 -0
- package/dist/command/AWSCommand.js +23 -0
- package/dist/command/AWSCommand.js.map +1 -0
- package/dist/command/AWSCreateCommand.d.ts +5 -0
- package/dist/command/AWSCreateCommand.js +112 -0
- package/dist/command/AWSCreateCommand.js.map +1 -0
- package/dist/command/AWSDeleteCommand.d.ts +5 -0
- package/dist/command/AWSDeleteCommand.js +38 -0
- package/dist/command/AWSDeleteCommand.js.map +1 -0
- package/dist/command/AWSFieldCommand.d.ts +4 -0
- package/dist/command/AWSFieldCommand.js +23 -0
- package/dist/command/AWSFieldCommand.js.map +1 -0
- package/dist/command/AWSFieldCreateCommand.d.ts +5 -0
- package/dist/command/AWSFieldCreateCommand.js +58 -0
- package/dist/command/AWSFieldCreateCommand.js.map +1 -0
- package/dist/command/AWSFieldDeleteCommand.d.ts +5 -0
- package/dist/command/AWSFieldDeleteCommand.js +38 -0
- package/dist/command/AWSFieldDeleteCommand.js.map +1 -0
- package/dist/command/AWSFieldGetCommand.d.ts +5 -0
- package/dist/command/AWSFieldGetCommand.js +38 -0
- package/dist/command/AWSFieldGetCommand.js.map +1 -0
- package/dist/command/AWSFieldListCommand.d.ts +5 -0
- package/dist/command/AWSFieldListCommand.js +38 -0
- package/dist/command/AWSFieldListCommand.js.map +1 -0
- package/dist/command/AWSFieldUpdateCommand.d.ts +5 -0
- package/dist/command/AWSFieldUpdateCommand.js +58 -0
- package/dist/command/AWSFieldUpdateCommand.js.map +1 -0
- package/dist/command/AWSGetCommand.d.ts +5 -0
- package/dist/command/AWSGetCommand.js +38 -0
- package/dist/command/AWSGetCommand.js.map +1 -0
- package/dist/command/AWSListCommand.d.ts +5 -0
- package/dist/command/AWSListCommand.js +38 -0
- package/dist/command/AWSListCommand.js.map +1 -0
- package/dist/command/AWSTagCommand.d.ts +4 -0
- package/dist/command/AWSTagCommand.js +23 -0
- package/dist/command/AWSTagCommand.js.map +1 -0
- package/dist/command/AWSTagCreateCommand.d.ts +5 -0
- package/dist/command/AWSTagCreateCommand.js +58 -0
- package/dist/command/AWSTagCreateCommand.js.map +1 -0
- package/dist/command/AWSTagDeleteCommand.d.ts +5 -0
- package/dist/command/AWSTagDeleteCommand.js +38 -0
- package/dist/command/AWSTagDeleteCommand.js.map +1 -0
- package/dist/command/AWSTagGetCommand.d.ts +5 -0
- package/dist/command/AWSTagGetCommand.js +38 -0
- package/dist/command/AWSTagGetCommand.js.map +1 -0
- package/dist/command/AWSTagListCommand.d.ts +5 -0
- package/dist/command/AWSTagListCommand.js +38 -0
- package/dist/command/AWSTagListCommand.js.map +1 -0
- package/dist/command/AWSTagUpdateCommand.d.ts +5 -0
- package/dist/command/AWSTagUpdateCommand.js +58 -0
- package/dist/command/AWSTagUpdateCommand.js.map +1 -0
- package/dist/command/AWSUpdateCommand.d.ts +5 -0
- package/dist/command/AWSUpdateCommand.js +112 -0
- package/dist/command/AWSUpdateCommand.js.map +1 -0
- package/dist/command/HealthzCommand.d.ts +4 -0
- package/dist/command/HealthzCommand.js +15 -0
- package/dist/command/HealthzCommand.js.map +1 -0
- package/dist/command/HealthzGetCommand.d.ts +5 -0
- package/dist/command/HealthzGetCommand.js +38 -0
- package/dist/command/HealthzGetCommand.js.map +1 -0
- package/dist/command/ValueCommand.d.ts +4 -0
- package/dist/command/ValueCommand.js +15 -0
- package/dist/command/ValueCommand.js.map +1 -0
- package/dist/command/ValueListCommand.d.ts +5 -0
- package/dist/command/ValueListCommand.js +38 -0
- package/dist/command/ValueListCommand.js.map +1 -0
- package/dist/command/cli.d.ts +2 -0
- package/dist/command/cli.js +24 -0
- package/dist/command/cli.js.map +1 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.js +66 -0
- package/dist/index.js.map +1 -0
- package/dist/meta/AWSCategoryMetaTable.d.ts +15 -0
- package/dist/meta/AWSCategoryMetaTable.js +38 -0
- package/dist/meta/AWSCategoryMetaTable.js.map +1 -0
- package/dist/meta/AWSFieldMetaTable.d.ts +16 -0
- package/dist/meta/AWSFieldMetaTable.js +39 -0
- package/dist/meta/AWSFieldMetaTable.js.map +1 -0
- package/dist/meta/AWSMetaTable.d.ts +18 -0
- package/dist/meta/AWSMetaTable.js +41 -0
- package/dist/meta/AWSMetaTable.js.map +1 -0
- package/dist/meta/AWSTagMetaTable.d.ts +16 -0
- package/dist/meta/AWSTagMetaTable.js +39 -0
- package/dist/meta/AWSTagMetaTable.js.map +1 -0
- package/dist/meta/NamirasoftCredentialMetaDatabase.d.ts +19 -0
- package/dist/meta/NamirasoftCredentialMetaDatabase.js +33 -0
- package/dist/meta/NamirasoftCredentialMetaDatabase.js.map +1 -0
- package/dist/row/AWSCategoryRow.d.ts +8 -0
- package/dist/row/AWSCategoryRow.js +3 -0
- package/dist/row/AWSCategoryRow.js.map +1 -0
- package/dist/row/AWSFieldRow.d.ts +9 -0
- package/dist/row/AWSFieldRow.js +3 -0
- package/dist/row/AWSFieldRow.js.map +1 -0
- package/dist/row/AWSFullRow.d.ts +17 -0
- package/dist/row/AWSFullRow.js +3 -0
- package/dist/row/AWSFullRow.js.map +1 -0
- package/dist/row/AWSInputRow.d.ts +13 -0
- package/dist/row/AWSInputRow.js +3 -0
- package/dist/row/AWSInputRow.js.map +1 -0
- package/dist/row/AWSRow.d.ts +11 -0
- package/dist/row/AWSRow.js +3 -0
- package/dist/row/AWSRow.js.map +1 -0
- package/dist/row/AWSTagRow.d.ts +9 -0
- package/dist/row/AWSTagRow.js +3 -0
- package/dist/row/AWSTagRow.js.map +1 -0
- package/dist/row/EntityCategoryInputRow.d.ts +3 -0
- package/dist/row/EntityCategoryInputRow.js +3 -0
- package/dist/row/EntityCategoryInputRow.js.map +1 -0
- package/dist/row/EntityFieldInputRow.d.ts +4 -0
- package/dist/row/EntityFieldInputRow.js +3 -0
- package/dist/row/EntityFieldInputRow.js.map +1 -0
- package/dist/row/EntityTagInputRow.d.ts +4 -0
- package/dist/row/EntityTagInputRow.js +3 -0
- package/dist/row/EntityTagInputRow.js.map +1 -0
- package/logo.png +0 -0
- package/package.json +28 -0
- package/src/NamirasoftCredentialServer.ts +48 -0
- package/src/NamirasoftCredentialServerAWS.ts +71 -0
- package/src/NamirasoftCredentialServerAWSCategory.ts +63 -0
- package/src/NamirasoftCredentialServerAWSField.ts +70 -0
- package/src/NamirasoftCredentialServerAWSTag.ts +70 -0
- package/src/NamirasoftCredentialServerBase.ts +30 -0
- package/src/NamirasoftCredentialServerHealthz.ts +36 -0
- package/src/NamirasoftCredentialServerValue.ts +37 -0
- package/src/command/AWSCategoryCommand.ts +38 -0
- package/src/command/AWSCategoryCreateCommand.ts +56 -0
- package/src/command/AWSCategoryDeleteCommand.ts +45 -0
- package/src/command/AWSCategoryGetCommand.ts +45 -0
- package/src/command/AWSCategoryListCommand.ts +45 -0
- package/src/command/AWSCommand.ts +40 -0
- package/src/command/AWSCreateCommand.ts +119 -0
- package/src/command/AWSDeleteCommand.ts +45 -0
- package/src/command/AWSFieldCommand.ts +40 -0
- package/src/command/AWSFieldCreateCommand.ts +65 -0
- package/src/command/AWSFieldDeleteCommand.ts +45 -0
- package/src/command/AWSFieldGetCommand.ts +45 -0
- package/src/command/AWSFieldListCommand.ts +45 -0
- package/src/command/AWSFieldUpdateCommand.ts +65 -0
- package/src/command/AWSGetCommand.ts +45 -0
- package/src/command/AWSListCommand.ts +45 -0
- package/src/command/AWSTagCommand.ts +40 -0
- package/src/command/AWSTagCreateCommand.ts +65 -0
- package/src/command/AWSTagDeleteCommand.ts +45 -0
- package/src/command/AWSTagGetCommand.ts +45 -0
- package/src/command/AWSTagListCommand.ts +45 -0
- package/src/command/AWSTagUpdateCommand.ts +65 -0
- package/src/command/AWSUpdateCommand.ts +119 -0
- package/src/command/HealthzCommand.ts +32 -0
- package/src/command/HealthzGetCommand.ts +45 -0
- package/src/command/ValueCommand.ts +32 -0
- package/src/command/ValueListCommand.ts +45 -0
- package/src/command/cli.ts +43 -0
- package/src/index.ts +69 -0
- package/src/meta/AWSCategoryMetaTable.ts +58 -0
- package/src/meta/AWSFieldMetaTable.ts +60 -0
- package/src/meta/AWSMetaTable.ts +64 -0
- package/src/meta/AWSTagMetaTable.ts +60 -0
- package/src/meta/NamirasoftCredentialMetaDatabase.ts +60 -0
- package/src/row/AWSCategoryRow.ts +29 -0
- package/src/row/AWSFieldRow.ts +30 -0
- package/src/row/AWSFullRow.ts +39 -0
- package/src/row/AWSInputRow.ts +35 -0
- package/src/row/AWSRow.ts +32 -0
- package/src/row/AWSTagRow.ts +30 -0
- package/src/row/EntityCategoryInputRow.ts +24 -0
- package/src/row/EntityFieldInputRow.ts +25 -0
- package/src/row/EntityTagInputRow.ts +25 -0
- package/tsconfig.json +42 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AWSFieldUpdateCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftCredentialServer_1 = require("../NamirasoftCredentialServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class AWSFieldUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["entity_id", "id"], [
|
|
20
|
+
{
|
|
21
|
+
name: "field_id",
|
|
22
|
+
short: "",
|
|
23
|
+
description: "Provides the value of 'field_id' in body",
|
|
24
|
+
optional: false,
|
|
25
|
+
args: ["field_id"],
|
|
26
|
+
defaults: [""]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "value",
|
|
30
|
+
short: "",
|
|
31
|
+
description: "Provides the value of 'value' in body",
|
|
32
|
+
optional: true,
|
|
33
|
+
args: ["value"],
|
|
34
|
+
defaults: [""]
|
|
35
|
+
}
|
|
36
|
+
]);
|
|
37
|
+
}
|
|
38
|
+
exec() {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
let token = this.app.storage.getNSAToken();
|
|
41
|
+
if (token == null)
|
|
42
|
+
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
43
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
44
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
45
|
+
manager.setValue(token, false);
|
|
46
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
47
|
+
let server = new NamirasoftCredentialServer_1.NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
|
|
48
|
+
let ans = yield server.a_w_s_field.Update(this.arg_values[0], this.arg_values[1], {
|
|
49
|
+
field_id: this.option_values.field_id,
|
|
50
|
+
value: this.option_values.value
|
|
51
|
+
});
|
|
52
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.AWSFieldUpdateCommand = AWSFieldUpdateCommand;
|
|
57
|
+
;
|
|
58
|
+
//# sourceMappingURL=AWSFieldUpdateCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSFieldUpdateCommand.js","sourceRoot":"","sources":["../../src/command/AWSFieldUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,8EAA2E;AAC3E,2DAAkD;AAElD,MAAa,qBAAsB,SAAQ,sCAAgB;IAEvD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE;YAC7B;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,0CAA0C;gBACvD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,UAAU,CAAC;gBAClB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,uCAAuC;gBACpD,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,OAAO,CAAC;gBACf,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;SACA,CAAC,CAAC;IACX,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,qHAAqH,CAAC,CAAC;YAC3I,IAAI,OAAO,GAAG,IAAI,gCAAc,EAAE,CAAC;YACnC,IAAI,OAAO,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YAC/B,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;YAC/D,IAAI,MAAM,GAAG,IAAI,uDAA0B,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACjG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE;gBAC9E,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ;gBACrC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,KAAK;aAClC,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAvCD,sDAuCC;AAAA,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AWSGetCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftCredentialServer_1 = require("../NamirasoftCredentialServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class AWSGetCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["id"], []);
|
|
20
|
+
}
|
|
21
|
+
exec() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
let token = this.app.storage.getNSAToken();
|
|
24
|
+
if (token == null)
|
|
25
|
+
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
26
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
27
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
28
|
+
manager.setValue(token, false);
|
|
29
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
30
|
+
let server = new NamirasoftCredentialServer_1.NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
|
|
31
|
+
let ans = yield server.aws.Get(this.arg_values[0]);
|
|
32
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.AWSGetCommand = AWSGetCommand;
|
|
37
|
+
;
|
|
38
|
+
//# sourceMappingURL=AWSGetCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSGetCommand.js","sourceRoot":"","sources":["../../src/command/AWSGetCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,8EAA2E;AAC3E,2DAAkD;AAElD,MAAa,aAAc,SAAQ,sCAAgB;IAE/C,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,qHAAqH,CAAC,CAAC;YAC3I,IAAI,OAAO,GAAG,IAAI,gCAAc,EAAE,CAAC;YACnC,IAAI,OAAO,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YAC/B,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;YAC/D,IAAI,MAAM,GAAG,IAAI,uDAA0B,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACjG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YACnD,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,sCAmBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AWSListCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftCredentialServer_1 = require("../NamirasoftCredentialServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class AWSListCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["filters", "page", "size", "sorts"], []);
|
|
20
|
+
}
|
|
21
|
+
exec() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
let token = this.app.storage.getNSAToken();
|
|
24
|
+
if (token == null)
|
|
25
|
+
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
26
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
27
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
28
|
+
manager.setValue(token, false);
|
|
29
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
30
|
+
let server = new NamirasoftCredentialServer_1.NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
|
|
31
|
+
let ans = yield server.aws.List(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3]);
|
|
32
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.AWSListCommand = AWSListCommand;
|
|
37
|
+
;
|
|
38
|
+
//# sourceMappingURL=AWSListCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSListCommand.js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AAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,wCAmBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AWSTagCommand = void 0;
|
|
4
|
+
const AWSTagCreateCommand_1 = require("./AWSTagCreateCommand");
|
|
5
|
+
const AWSTagDeleteCommand_1 = require("./AWSTagDeleteCommand");
|
|
6
|
+
const AWSTagGetCommand_1 = require("./AWSTagGetCommand");
|
|
7
|
+
const AWSTagListCommand_1 = require("./AWSTagListCommand");
|
|
8
|
+
const AWSTagUpdateCommand_1 = require("./AWSTagUpdateCommand");
|
|
9
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
10
|
+
class AWSTagCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
|
|
11
|
+
constructor(argv) {
|
|
12
|
+
super(argv, {
|
|
13
|
+
"list": AWSTagListCommand_1.AWSTagListCommand,
|
|
14
|
+
"get": AWSTagGetCommand_1.AWSTagGetCommand,
|
|
15
|
+
"create": AWSTagCreateCommand_1.AWSTagCreateCommand,
|
|
16
|
+
"update": AWSTagUpdateCommand_1.AWSTagUpdateCommand,
|
|
17
|
+
"delete": AWSTagDeleteCommand_1.AWSTagDeleteCommand,
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.AWSTagCommand = AWSTagCommand;
|
|
22
|
+
;
|
|
23
|
+
//# sourceMappingURL=AWSTagCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSTagCommand.js","sourceRoot":"","sources":["../../src/command/AWSTagCommand.ts"],"names":[],"mappings":";;;AAoBA,+DAA4D;AAC5D,+DAA4D;AAC5D,yDAAsD;AACtD,2DAAwD;AACxD,+DAA4D;AAC5D,6DAA2D;AAE3D,MAAa,aAAc,SAAQ,0CAAoB;IAEnD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,MAAM,EAAE,qCAAiB;YACzB,KAAK,EAAE,mCAAgB;YACvB,QAAQ,EAAE,yCAAmB;YAC7B,QAAQ,EAAE,yCAAmB;YAC7B,QAAQ,EAAE,yCAAmB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AAZD,sCAYC;AAAA,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AWSTagCreateCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftCredentialServer_1 = require("../NamirasoftCredentialServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class AWSTagCreateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["entity_id"], [
|
|
20
|
+
{
|
|
21
|
+
name: "name",
|
|
22
|
+
short: "",
|
|
23
|
+
description: "Provides the value of 'name' in body",
|
|
24
|
+
optional: false,
|
|
25
|
+
args: ["name"],
|
|
26
|
+
defaults: [""]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "value",
|
|
30
|
+
short: "",
|
|
31
|
+
description: "Provides the value of 'value' in body",
|
|
32
|
+
optional: true,
|
|
33
|
+
args: ["value"],
|
|
34
|
+
defaults: [""]
|
|
35
|
+
}
|
|
36
|
+
]);
|
|
37
|
+
}
|
|
38
|
+
exec() {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
let token = this.app.storage.getNSAToken();
|
|
41
|
+
if (token == null)
|
|
42
|
+
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
43
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
44
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
45
|
+
manager.setValue(token, false);
|
|
46
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
47
|
+
let server = new NamirasoftCredentialServer_1.NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
|
|
48
|
+
let ans = yield server.a_w_s_tag.Create(this.arg_values[0], {
|
|
49
|
+
name: this.option_values.name,
|
|
50
|
+
value: this.option_values.value
|
|
51
|
+
});
|
|
52
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.AWSTagCreateCommand = AWSTagCreateCommand;
|
|
57
|
+
;
|
|
58
|
+
//# sourceMappingURL=AWSTagCreateCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSTagCreateCommand.js","sourceRoot":"","sources":["../../src/command/AWSTagCreateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,8EAA2E;AAC3E,2DAAkD;AAElD,MAAa,mBAAoB,SAAQ,sCAAgB;IAErD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,CAAC,EAAE;YACvB;gBACI,IAAI,EAA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K;aAClC,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAvCD,kDAuCC;AAAA,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AWSTagDeleteCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftCredentialServer_1 = require("../NamirasoftCredentialServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class AWSTagDeleteCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["entity_id", "id"], []);
|
|
20
|
+
}
|
|
21
|
+
exec() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
let token = this.app.storage.getNSAToken();
|
|
24
|
+
if (token == null)
|
|
25
|
+
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
26
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
27
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
28
|
+
manager.setValue(token, false);
|
|
29
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
30
|
+
let server = new NamirasoftCredentialServer_1.NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
|
|
31
|
+
let ans = yield server.a_w_s_tag.Delete(this.arg_values[0], this.arg_values[1]);
|
|
32
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.AWSTagDeleteCommand = AWSTagDeleteCommand;
|
|
37
|
+
;
|
|
38
|
+
//# sourceMappingURL=AWSTagDeleteCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSTagDeleteCommand.js","sourceRoot":"","sources":["../../src/command/AWSTagDeleteCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,8EAA2E;AAC3E,2DAAkD;AAElD,MAAa,mBAAoB,SAAQ,sCAAgB;IAErD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;IACzC,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,qHAAqH,CAAC,CAAC;YAC3I,IAAI,OAAO,GAAG,IAAI,gCAAc,EAAE,CAAC;YACnC,IAAI,OAAO,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YAC/B,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;YAC/D,IAAI,MAAM,GAAG,IAAI,uDAA0B,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACjG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YAChF,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,kDAmBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AWSTagGetCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftCredentialServer_1 = require("../NamirasoftCredentialServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class AWSTagGetCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["id"], []);
|
|
20
|
+
}
|
|
21
|
+
exec() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
let token = this.app.storage.getNSAToken();
|
|
24
|
+
if (token == null)
|
|
25
|
+
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
26
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
27
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
28
|
+
manager.setValue(token, false);
|
|
29
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
30
|
+
let server = new NamirasoftCredentialServer_1.NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
|
|
31
|
+
let ans = yield server.a_w_s_tag.Get(this.arg_values[0]);
|
|
32
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.AWSTagGetCommand = AWSTagGetCommand;
|
|
37
|
+
;
|
|
38
|
+
//# sourceMappingURL=AWSTagGetCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSTagGetCommand.js","sourceRoot":"","sources":["../../src/command/AWSTagGetCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,8EAA2E;AAC3E,2DAAkD;AAElD,MAAa,gBAAiB,SAAQ,sCAAgB;IAElD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,qHAAqH,CAAC,CAAC;YAC3I,IAAI,OAAO,GAAG,IAAI,gCAAc,EAAE,CAAC;YACnC,IAAI,OAAO,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YAC/B,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;YAC/D,IAAI,MAAM,GAAG,IAAI,uDAA0B,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACjG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YACzD,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,4CAmBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AWSTagListCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftCredentialServer_1 = require("../NamirasoftCredentialServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class AWSTagListCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["filters", "page", "size", "sorts"], []);
|
|
20
|
+
}
|
|
21
|
+
exec() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
let token = this.app.storage.getNSAToken();
|
|
24
|
+
if (token == null)
|
|
25
|
+
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
26
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
27
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
28
|
+
manager.setValue(token, false);
|
|
29
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
30
|
+
let server = new NamirasoftCredentialServer_1.NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
|
|
31
|
+
let ans = yield server.a_w_s_tag.List(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3]);
|
|
32
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.AWSTagListCommand = AWSTagListCommand;
|
|
37
|
+
;
|
|
38
|
+
//# sourceMappingURL=AWSTagListCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSTagListCommand.js","sourceRoot":"","sources":["../../src/command/AWSTagListCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,8EAA2E;AAC3E,2DAAkD;AAElD,MAA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 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AWSTagUpdateCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftCredentialServer_1 = require("../NamirasoftCredentialServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class AWSTagUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["entity_id", "id"], [
|
|
20
|
+
{
|
|
21
|
+
name: "name",
|
|
22
|
+
short: "",
|
|
23
|
+
description: "Provides the value of 'name' in body",
|
|
24
|
+
optional: false,
|
|
25
|
+
args: ["name"],
|
|
26
|
+
defaults: [""]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "value",
|
|
30
|
+
short: "",
|
|
31
|
+
description: "Provides the value of 'value' in body",
|
|
32
|
+
optional: true,
|
|
33
|
+
args: ["value"],
|
|
34
|
+
defaults: [""]
|
|
35
|
+
}
|
|
36
|
+
]);
|
|
37
|
+
}
|
|
38
|
+
exec() {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
let token = this.app.storage.getNSAToken();
|
|
41
|
+
if (token == null)
|
|
42
|
+
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
43
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
44
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
45
|
+
manager.setValue(token, false);
|
|
46
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
47
|
+
let server = new NamirasoftCredentialServer_1.NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
|
|
48
|
+
let ans = yield server.a_w_s_tag.Update(this.arg_values[0], this.arg_values[1], {
|
|
49
|
+
name: this.option_values.name,
|
|
50
|
+
value: this.option_values.value
|
|
51
|
+
});
|
|
52
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.AWSTagUpdateCommand = AWSTagUpdateCommand;
|
|
57
|
+
;
|
|
58
|
+
//# sourceMappingURL=AWSTagUpdateCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSTagUpdateCommand.js","sourceRoot":"","sources":["../../src/command/AWSTagUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,8EAA2E;AAC3E,2DAAkD;AAElD,MAAa,mBAAoB,SAAQ,sCAAgB;IAErD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE;YAC7B;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,uCAAuC;gBAC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
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AWSUpdateCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftCredentialServer_1 = require("../NamirasoftCredentialServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class AWSUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["id"], [
|
|
20
|
+
{
|
|
21
|
+
name: "workspace_id",
|
|
22
|
+
short: "",
|
|
23
|
+
description: "Provides the value of 'workspace_id' in body",
|
|
24
|
+
optional: true,
|
|
25
|
+
args: ["workspace_id"],
|
|
26
|
+
defaults: [""]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "name",
|
|
30
|
+
short: "",
|
|
31
|
+
description: "Provides the value of 'name' in body",
|
|
32
|
+
optional: false,
|
|
33
|
+
args: ["name"],
|
|
34
|
+
defaults: [""]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: "access_key",
|
|
38
|
+
short: "",
|
|
39
|
+
description: "Provides the value of 'access_key' in body",
|
|
40
|
+
optional: false,
|
|
41
|
+
args: ["access_key"],
|
|
42
|
+
defaults: [""]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "secret_key",
|
|
46
|
+
short: "",
|
|
47
|
+
description: "Provides the value of 'secret_key' in body",
|
|
48
|
+
optional: false,
|
|
49
|
+
args: ["secret_key"],
|
|
50
|
+
defaults: [""]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: "description",
|
|
54
|
+
short: "",
|
|
55
|
+
description: "Provides the value of 'description' in body",
|
|
56
|
+
optional: false,
|
|
57
|
+
args: ["description"],
|
|
58
|
+
defaults: [""]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "aws_category",
|
|
62
|
+
short: "",
|
|
63
|
+
description: "Provides the value of 'aws_category' in body",
|
|
64
|
+
optional: false,
|
|
65
|
+
args: ["aws_category"],
|
|
66
|
+
defaults: [""]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "aws_field",
|
|
70
|
+
short: "",
|
|
71
|
+
description: "Provides the value of 'aws_field' in body",
|
|
72
|
+
optional: false,
|
|
73
|
+
args: ["aws_field"],
|
|
74
|
+
defaults: [""]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: "aws_tag",
|
|
78
|
+
short: "",
|
|
79
|
+
description: "Provides the value of 'aws_tag' in body",
|
|
80
|
+
optional: false,
|
|
81
|
+
args: ["aws_tag"],
|
|
82
|
+
defaults: [""]
|
|
83
|
+
}
|
|
84
|
+
]);
|
|
85
|
+
}
|
|
86
|
+
exec() {
|
|
87
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
+
let token = this.app.storage.getNSAToken();
|
|
89
|
+
if (token == null)
|
|
90
|
+
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
91
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
92
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
93
|
+
manager.setValue(token, false);
|
|
94
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
95
|
+
let server = new NamirasoftCredentialServer_1.NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
|
|
96
|
+
let ans = yield server.aws.Update(this.arg_values[0], {
|
|
97
|
+
workspace_id: this.option_values.workspace_id,
|
|
98
|
+
name: this.option_values.name,
|
|
99
|
+
access_key: this.option_values.access_key,
|
|
100
|
+
secret_key: this.option_values.secret_key,
|
|
101
|
+
description: this.option_values.description,
|
|
102
|
+
aws_category: this.option_values.aws_category,
|
|
103
|
+
aws_field: this.option_values.aws_field,
|
|
104
|
+
aws_tag: this.option_values.aws_tag
|
|
105
|
+
});
|
|
106
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.AWSUpdateCommand = AWSUpdateCommand;
|
|
111
|
+
;
|
|
112
|
+
//# sourceMappingURL=AWSUpdateCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSUpdateCommand.js","sourceRoot":"","sources":["../../src/command/AWSUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,8EAA2E;AAC3E,2DAAkD;AAElD,MAAa,gBAAiB,SAAQ,sCAAgB;IAElD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;YAChB;gBACI,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,8CAA8C;gBAC3D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,cAAc,CAAC;gBACtB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gB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