@codiac.io/codiac-cli 1.2.125 → 1.2.126
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/bin/run +1 -1
- package/lib/apis/codiac-relay/gen/client.d.ts +11 -1
- package/lib/apis/codiac-relay/gen/client.js +70 -0
- package/lib/apis/codiac-relay/gen/client.js.map +1 -1
- package/lib/apis/codiac-relay/gen/contracts.d.ts +76 -11
- package/lib/apis/codiac-relay/gen/contracts.js +22 -19
- package/lib/apis/codiac-relay/gen/contracts.js.map +1 -1
- package/lib/command-base-enterprise.d.ts +0 -3
- package/lib/command-base-enterprise.js +4 -10
- package/lib/command-base-enterprise.js.map +1 -1
- package/lib/commands/asset/create.js +2 -31
- package/lib/commands/asset/create.js.map +1 -1
- package/lib/commands/imageRegistry/capture.js +2 -4
- package/lib/commands/imageRegistry/capture.js.map +1 -1
- package/lib/commands/imageRegistry/forget.js +0 -1
- package/lib/commands/imageRegistry/forget.js.map +1 -1
- package/lib/commands/imageRegistry/pullSecret/set.js +0 -2
- package/lib/commands/imageRegistry/pullSecret/set.js.map +1 -1
- package/lib/commands/imageRegistry/pullSecret/unset.js +0 -2
- package/lib/commands/imageRegistry/pullSecret/unset.js.map +1 -1
- package/lib/commands/images/add.js +1 -2
- package/lib/commands/images/add.js.map +1 -1
- package/lib/commands/secretStore/forget.js +0 -3
- package/lib/commands/secretStore/forget.js.map +1 -1
- package/lib/relay/relay-container.js +1 -1
- package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.js +3 -2
- package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.js.map +1 -1
- package/lib/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.d.ts +16 -0
- package/lib/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js +85 -0
- package/lib/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js.map +1 -0
- package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.js +1 -1
- package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.js.map +1 -1
- package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js +1 -1
- package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js.map +1 -1
- package/lib/uilogic/cloud-resource-configurators/helm-resource-configurator.js.map +1 -1
- package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.d.ts +6 -5
- package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js +9 -8
- package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js.map +1 -1
- package/lib/uilogic/enterprise-contextualizer.d.ts +4 -3
- package/lib/uilogic/enterprise-contextualizer.js +17 -14
- package/lib/uilogic/enterprise-contextualizer.js.map +1 -1
- package/lib/uilogic/image-configurator.d.ts +5 -13
- package/lib/uilogic/image-configurator.js +38 -64
- package/lib/uilogic/image-configurator.js.map +1 -1
- package/lib/uilogic/image-contextualizer.d.ts +6 -4
- package/lib/uilogic/image-contextualizer.js +11 -6
- package/lib/uilogic/image-contextualizer.js.map +1 -1
- package/lib/uilogic/image-registry-contextualizer.d.ts +5 -7
- package/lib/uilogic/image-registry-contextualizer.js +16 -10
- package/lib/uilogic/image-registry-contextualizer.js.map +1 -1
- package/oclif.manifest.json +1 -0
- package/package.json +2 -2
|
@@ -2,25 +2,28 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ImageContextualizer = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const inversify_1 = require("inversify");
|
|
5
6
|
const codiac_common_1 = require("@codiac.io/codiac-common");
|
|
6
7
|
const codiac_ops_common_1 = require("@codiac.io/codiac-ops-common");
|
|
7
|
-
const inversify_1 = require("inversify");
|
|
8
8
|
const codiac_cli_common_1 = require("@codiac.io/codiac-cli-common");
|
|
9
|
+
const codiac_relay_1 = require("../apis/codiac-relay");
|
|
9
10
|
/** User interactions for selecting an image from a given container registry.
|
|
10
11
|
*/
|
|
11
12
|
let ImageContextualizer = class ImageContextualizer {
|
|
12
|
-
constructor(_ui, _styler, logger) {
|
|
13
|
+
constructor(_ui, _styler, relayClient, logger) {
|
|
13
14
|
this._ui = _ui;
|
|
14
15
|
this._styler = _styler;
|
|
16
|
+
this.relayClient = relayClient;
|
|
15
17
|
this.logger = logger;
|
|
16
18
|
}
|
|
17
|
-
promptForImage(
|
|
19
|
+
promptForImage(registry, defaults) {
|
|
18
20
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
19
21
|
return new Promise((resolve, reject) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
20
22
|
var _a, _b;
|
|
21
23
|
let img = Object.assign({ name: (_a = defaults.name) !== null && _a !== void 0 ? _a : "unnamed", registry: registry }, this.createAuditable());
|
|
22
24
|
try {
|
|
23
25
|
// if (img.registry.type === undefined) throw new Error(`You must specify a registry before prompting for an image.`);
|
|
26
|
+
// let regClient = this.clientFactory.createForRegistry(registry); // no need to authenticate - we just did that a few lines prior with the cloud pvd, and the same auth pvd should be injected along with its creds store client.
|
|
24
27
|
let imageFullName; // = defaults.name;
|
|
25
28
|
while (!imageFullName || imageFullName == "") {
|
|
26
29
|
// TODO: lets only get into the fuzzy search if they decide to change their selection
|
|
@@ -29,7 +32,8 @@ let ImageContextualizer = class ImageContextualizer {
|
|
|
29
32
|
var _c, _d, _e, _f;
|
|
30
33
|
let output = [];
|
|
31
34
|
try {
|
|
32
|
-
let searchResult =
|
|
35
|
+
// let searchResult = await regClient.search({ query: searchString ?? "*" });
|
|
36
|
+
let searchResult = yield this.relayClient.Call.searchRegistry({ registry: registry, searchString: searchString !== null && searchString !== void 0 ? searchString : "*" });
|
|
33
37
|
if (searchResult.error) {
|
|
34
38
|
output = [];
|
|
35
39
|
throw searchResult.error;
|
|
@@ -78,8 +82,9 @@ ImageContextualizer = tslib_1.__decorate([
|
|
|
78
82
|
(0, inversify_1.injectable)(),
|
|
79
83
|
tslib_1.__param(0, (0, inversify_1.inject)(codiac_ops_common_1.INTERFACES_OPS.IUserInputProvider)),
|
|
80
84
|
tslib_1.__param(1, (0, inversify_1.inject)(codiac_ops_common_1.INTERFACES_OPS.IOutputStyler)),
|
|
81
|
-
tslib_1.__param(2, (0, inversify_1.inject)(
|
|
82
|
-
tslib_1.
|
|
85
|
+
tslib_1.__param(2, (0, inversify_1.inject)(codiac_relay_1.RelayClient)),
|
|
86
|
+
tslib_1.__param(3, (0, inversify_1.inject)(codiac_common_1.INTERFACES.IBetterLogger)),
|
|
87
|
+
tslib_1.__metadata("design:paramtypes", [Object, Object, codiac_relay_1.RelayClient, Object])
|
|
83
88
|
], ImageContextualizer);
|
|
84
89
|
exports.ImageContextualizer = ImageContextualizer;
|
|
85
90
|
//# sourceMappingURL=image-contextualizer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-contextualizer.js","sourceRoot":"","sources":["../../src/uilogic/image-contextualizer.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"image-contextualizer.js","sourceRoot":"","sources":["../../src/uilogic/image-contextualizer.ts"],"names":[],"mappings":";;;;AAAA,yCAA+C;AAC/C,4DAAiF;AAEjF,oEAAiG;AACjG,oEAA+E;AAE/E,uDAAqE;AASrE;GACG;AAEI,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC9B,YACqD,GAAuB,EAC5B,OAAsB,EACpC,WAA2B,EACjB,MAAqB;QAHZ,QAAG,GAAH,GAAG,CAAoB;QAC5B,YAAO,GAAP,OAAO,CAAe;QACpC,gBAAW,GAAX,WAAW,CAAgB;QACjB,WAAM,GAAN,MAAM,CAAe;IAGjE,CAAC;IAGY,cAAc,CAAC,QAAuB,EAAE,QAAwB;;YAC3E,OAAO,IAAI,OAAO,CAAQ,CAAO,OAAO,EAAE,MAAM,EAAE,EAAE;;gBAClD,IAAI,GAAG,mBACL,IAAI,EAAE,MAAA,QAAQ,CAAC,IAAI,mCAAI,SAAS,EAChC,QAAQ,EAAE,QAAQ,IACf,IA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AAA,kBAAM,EAAC,0BAAU,CAAC,aAAa,CAAC,CAAA;6DADY,0BAAc;GAJlD,mBAAmB,CAoF/B;AApFY,kDAAmB"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { CodiacClient } from "../apis/codiac-api";
|
|
2
2
|
import { IBetterLogger } from "@codiac.io/codiac-common";
|
|
3
3
|
import { ImageRegistry } from "../apis/codiac-api/contracts";
|
|
4
|
-
import {
|
|
4
|
+
import { IUserInputProvider } from "@codiac.io/codiac-ops-common";
|
|
5
5
|
import { interfaces } from "inversify";
|
|
6
6
|
import { CloudProviderContextualizer } from "./cloud-provider-contextualizer";
|
|
7
|
-
|
|
8
|
-
registry: ImageRegistry;
|
|
9
|
-
client: IClientForImageRegistry;
|
|
10
|
-
};
|
|
7
|
+
import { RelayClient } from "../apis/codiac-relay";
|
|
11
8
|
/** Registry definition. */
|
|
12
9
|
export type RegistryReference = Partial<ImageRegistry>;
|
|
13
10
|
/**
|
|
@@ -16,15 +13,16 @@ export type RegistryReference = Partial<ImageRegistry>;
|
|
|
16
13
|
export declare class ImageRegistryContextualizer {
|
|
17
14
|
private _uiCloudProvider;
|
|
18
15
|
private _codiacApi;
|
|
16
|
+
private relayClient;
|
|
19
17
|
private _ui;
|
|
20
18
|
private logger;
|
|
21
|
-
constructor(_uiCloudProvider: CloudProviderContextualizer, _codiacApi: CodiacClient, _ui: IUserInputProvider, logger: IBetterLogger);
|
|
19
|
+
constructor(_uiCloudProvider: CloudProviderContextualizer, _codiacApi: CodiacClient, relayClient: RelayClient, _ui: IUserInputProvider, logger: IBetterLogger);
|
|
22
20
|
/** Selection of an EITHER:
|
|
23
21
|
* a) existing registry definition,
|
|
24
22
|
* b) a selector for a built-in registry type,
|
|
25
23
|
* c) manual entry of a registry url
|
|
26
24
|
*/
|
|
27
|
-
promptForRegistry(ioc: interfaces.Container,
|
|
25
|
+
promptForRegistry(ioc: interfaces.Container, defaults: RegistryReference, captureOnly?: boolean): Promise<ImageRegistry>;
|
|
28
26
|
/** Allows the user to OPTIONALLY select a registry that this tenant has already captured. */
|
|
29
27
|
promptForExistingRegistry(includeOptionToCapture?: boolean, registries?: ImageRegistry[]): Promise<ImageRegistry | undefined>;
|
|
30
28
|
}
|
|
@@ -10,13 +10,15 @@ const inversify_1 = require("inversify");
|
|
|
10
10
|
const codiac_constants_1 = require("../codiac-constants");
|
|
11
11
|
const cloud_provider_contextualizer_1 = require("./cloud-provider-contextualizer");
|
|
12
12
|
const cloud_resource_configurator_factory_1 = require("./cloud-resource-configurator-factory");
|
|
13
|
+
const codiac_relay_1 = require("../apis/codiac-relay");
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
*/
|
|
16
17
|
let ImageRegistryContextualizer = class ImageRegistryContextualizer {
|
|
17
|
-
constructor(_uiCloudProvider, _codiacApi, _ui, logger) {
|
|
18
|
+
constructor(_uiCloudProvider, _codiacApi, relayClient, _ui, logger) {
|
|
18
19
|
this._uiCloudProvider = _uiCloudProvider;
|
|
19
20
|
this._codiacApi = _codiacApi;
|
|
21
|
+
this.relayClient = relayClient;
|
|
20
22
|
this._ui = _ui;
|
|
21
23
|
this.logger = logger;
|
|
22
24
|
}
|
|
@@ -32,13 +34,11 @@ let ImageRegistryContextualizer = class ImageRegistryContextualizer {
|
|
|
32
34
|
* b) a selector for a built-in registry type,
|
|
33
35
|
* c) manual entry of a registry url
|
|
34
36
|
*/
|
|
35
|
-
promptForRegistry(ioc,
|
|
37
|
+
promptForRegistry(ioc, defaults, captureOnly = false) {
|
|
36
38
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
37
39
|
return new Promise((resolve, reject) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
38
|
-
let output;
|
|
39
40
|
try {
|
|
40
41
|
let registry;
|
|
41
|
-
let regClient;
|
|
42
42
|
// TODO: Consider : if the defaults exists, show them the default and promptConfirm. If they confirm no, then initiate the sequence below...
|
|
43
43
|
// SELECT EXISTING
|
|
44
44
|
if (captureOnly !== true) {
|
|
@@ -49,7 +49,12 @@ let ImageRegistryContextualizer = class ImageRegistryContextualizer {
|
|
|
49
49
|
}
|
|
50
50
|
else { // DECLARE NEW
|
|
51
51
|
// 1. Select a cloud resource provider
|
|
52
|
-
let
|
|
52
|
+
let pvdResult = yield this.relayClient.Call.getRegistryProviders({});
|
|
53
|
+
if (pvdResult.error)
|
|
54
|
+
throw pvdResult.error;
|
|
55
|
+
if (pvdResult.output == undefined || pvdResult.output.length === 0)
|
|
56
|
+
throw new Error("There are currently no supported registry providers.");
|
|
57
|
+
let choices = pvdResult.output.map(x => x);
|
|
53
58
|
let provider = yield this._uiCloudProvider.promptForCloudProvider(choices, defaults.provider);
|
|
54
59
|
// 2. Authenticate with the cloud resource provider
|
|
55
60
|
yield this._uiCloudProvider.promptForCloudProviderCreds(ioc, provider);
|
|
@@ -62,8 +67,7 @@ let ImageRegistryContextualizer = class ImageRegistryContextualizer {
|
|
|
62
67
|
let regCfg = factory.create(provider, ioc);
|
|
63
68
|
registry = yield regCfg.captureImageRegistry();
|
|
64
69
|
}
|
|
65
|
-
|
|
66
|
-
resolve({ registry: registry, client: regClient });
|
|
70
|
+
resolve(registry); //{ registry: registry, client: regClient })
|
|
67
71
|
}
|
|
68
72
|
catch (err) {
|
|
69
73
|
this.logger.error(`${err.name} ${err.message}`, err.stack);
|
|
@@ -112,10 +116,12 @@ ImageRegistryContextualizer = tslib_1.__decorate([
|
|
|
112
116
|
(0, inversify_1.injectable)(),
|
|
113
117
|
tslib_1.__param(0, (0, inversify_1.inject)(cloud_provider_contextualizer_1.CloudProviderContextualizer)),
|
|
114
118
|
tslib_1.__param(1, (0, inversify_1.inject)(codiac_api_1.CodiacClient)),
|
|
115
|
-
tslib_1.__param(2, (0, inversify_1.inject)(
|
|
116
|
-
tslib_1.__param(3, (0, inversify_1.inject)(
|
|
119
|
+
tslib_1.__param(2, (0, inversify_1.inject)(codiac_relay_1.RelayClient)),
|
|
120
|
+
tslib_1.__param(3, (0, inversify_1.inject)(codiac_ops_common_1.INTERFACES_OPS.IUserInputProvider)),
|
|
121
|
+
tslib_1.__param(4, (0, inversify_1.inject)(codiac_common_1.INTERFACES.IBetterLogger)),
|
|
117
122
|
tslib_1.__metadata("design:paramtypes", [cloud_provider_contextualizer_1.CloudProviderContextualizer,
|
|
118
|
-
codiac_api_1.CodiacClient,
|
|
123
|
+
codiac_api_1.CodiacClient,
|
|
124
|
+
codiac_relay_1.RelayClient, Object, Object])
|
|
119
125
|
], ImageRegistryContextualizer);
|
|
120
126
|
exports.ImageRegistryContextualizer = ImageRegistryContextualizer;
|
|
121
127
|
//# sourceMappingURL=image-registry-contextualizer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-registry-contextualizer.js","sourceRoot":"","sources":["../../src/uilogic/image-registry-contextualizer.ts"],"names":[],"mappings":";;;;AAAA,+DAA+D;AAC/D,mDAAkD;AAClD,4DAAqE;AAGrE,
|
|
1
|
+
{"version":3,"file":"image-registry-contextualizer.js","sourceRoot":"","sources":["../../src/uilogic/image-registry-contextualizer.ts"],"names":[],"mappings":";;;;AAAA,+DAA+D;AAC/D,mDAAkD;AAClD,4DAAqE;AAGrE,oEAAkF;AAClF,yCAA2D;AAE3D,0DAAmD;AACnD,mFAA8E;AAE9E,+FAAoF;AACpF,uDAAmD;AASnD;;GAEG;AAEI,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IACtC,YAC+C,gBAA6C,EAC5D,UAAwB,EACzB,WAAwB,EACF,GAAuB,EAChC,MAAqB;QAJlB,qBAAgB,GAAhB,gBAAgB,CAA6B;QAC5D,eAAU,GAAV,UAAU,CAAc;QACzB,gBAAW,GAAX,WAAW,CAAa;QACF,QAAG,GAAH,GAAG,CAAoB;QAChC,WAAM,GAAN,MAAM,CAAe;IAGjE,CAAC;IAGD,8EAA8E;IAC9E,gEAAgE;IAChE,wDAAwD;IACxD,kFAAkF;IAClF,MAAM;IACN,2CAA2C;IAC3C,IAAI;IAIJ;;;;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