@openshift-migration-advisor/planner-sdk 0.5.1 → 0.6.0-048145a30095
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/.openapi-generator/FILES +8 -0
- package/README.md +7 -2
- package/dist/apis/AssessmentApi.d.ts +39 -2
- package/dist/apis/AssessmentApi.js +45 -1
- package/dist/apis/HealthApi.d.ts +1 -1
- package/dist/apis/HealthApi.js +1 -1
- package/dist/apis/ImageApi.d.ts +1 -1
- package/dist/apis/ImageApi.js +1 -1
- package/dist/apis/InfoApi.d.ts +5 -5
- package/dist/apis/InfoApi.js +3 -3
- package/dist/apis/JobApi.d.ts +1 -1
- package/dist/apis/JobApi.js +1 -1
- package/dist/apis/SourceApi.d.ts +1 -1
- package/dist/apis/SourceApi.js +1 -1
- package/dist/esm/apis/AssessmentApi.d.ts +39 -2
- package/dist/esm/apis/AssessmentApi.js +46 -2
- package/dist/esm/apis/HealthApi.d.ts +1 -1
- package/dist/esm/apis/HealthApi.js +1 -1
- package/dist/esm/apis/ImageApi.d.ts +1 -1
- package/dist/esm/apis/ImageApi.js +1 -1
- package/dist/esm/apis/InfoApi.d.ts +5 -5
- package/dist/esm/apis/InfoApi.js +3 -3
- package/dist/esm/apis/JobApi.d.ts +1 -1
- package/dist/esm/apis/JobApi.js +1 -1
- package/dist/esm/apis/SourceApi.d.ts +1 -1
- package/dist/esm/apis/SourceApi.js +1 -1
- package/dist/esm/models/Agent.d.ts +1 -1
- package/dist/esm/models/Agent.js +1 -1
- package/dist/esm/models/AgentProxy.d.ts +1 -1
- package/dist/esm/models/AgentProxy.js +1 -1
- package/dist/esm/models/Assessment.d.ts +1 -1
- package/dist/esm/models/Assessment.js +1 -1
- package/dist/esm/models/AssessmentForm.d.ts +2 -2
- package/dist/esm/models/AssessmentForm.js +1 -1
- package/dist/esm/models/AssessmentUpdate.d.ts +1 -1
- package/dist/esm/models/AssessmentUpdate.js +1 -1
- package/dist/esm/models/ClusterRequirementsRequest.d.ts +27 -1
- package/dist/esm/models/ClusterRequirementsRequest.js +14 -1
- package/dist/esm/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.js +1 -1
- package/dist/esm/models/ClusterSizing.d.ts +1 -1
- package/dist/esm/models/ClusterSizing.js +1 -1
- package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +45 -0
- package/dist/esm/models/ComplexityDiskScoreEntry.js +51 -0
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +39 -0
- package/dist/esm/models/ComplexityOSScoreEntry.js +47 -0
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimationDetail.d.ts +1 -1
- package/dist/esm/models/EstimationDetail.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -1
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +1 -1
- package/dist/esm/models/Host.js +1 -1
- package/dist/esm/models/Info.d.ts +14 -2
- package/dist/esm/models/Info.js +5 -1
- package/dist/esm/models/Infra.d.ts +1 -1
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/Inventory.d.ts +1 -1
- package/dist/esm/models/Inventory.js +1 -1
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/InventoryTotals.d.ts +1 -1
- package/dist/esm/models/InventoryTotals.js +1 -1
- package/dist/esm/models/Ipv4Config.d.ts +1 -1
- package/dist/esm/models/Ipv4Config.js +1 -1
- package/dist/esm/models/Job.d.ts +1 -1
- package/dist/esm/models/Job.js +1 -1
- package/dist/esm/models/JobStatus.d.ts +1 -1
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Label.d.ts +1 -1
- package/dist/esm/models/Label.js +1 -1
- package/dist/esm/models/MigrationComplexityRequest.d.ts +32 -0
- package/dist/esm/models/MigrationComplexityRequest.js +43 -0
- package/dist/esm/models/MigrationComplexityResponse.d.ts +60 -0
- package/dist/esm/models/MigrationComplexityResponse.js +57 -0
- package/dist/esm/models/MigrationEstimationRequest.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationRequest.js +1 -1
- package/dist/esm/models/MigrationEstimationResponse.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationResponse.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/ModelError.d.ts +1 -7
- package/dist/esm/models/ModelError.js +1 -3
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PresignedUrl.d.ts +1 -1
- package/dist/esm/models/PresignedUrl.js +1 -1
- package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/esm/models/SizingOverCommitRatio.js +1 -1
- package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/esm/models/SizingResourceConsumption.js +1 -1
- package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
- package/dist/esm/models/SizingResourceLimits.js +1 -1
- package/dist/esm/models/Snapshot.d.ts +1 -1
- package/dist/esm/models/Snapshot.js +1 -1
- package/dist/esm/models/Source.d.ts +1 -1
- package/dist/esm/models/Source.js +1 -1
- package/dist/esm/models/SourceCreate.d.ts +1 -1
- package/dist/esm/models/SourceCreate.js +1 -1
- package/dist/esm/models/SourceInfra.d.ts +1 -1
- package/dist/esm/models/SourceInfra.js +1 -1
- package/dist/esm/models/SourceUpdate.d.ts +1 -1
- package/dist/esm/models/SourceUpdate.js +1 -1
- package/dist/esm/models/Status.d.ts +1 -1
- package/dist/esm/models/Status.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +1 -1
- package/dist/esm/models/UpdateInventory.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -1
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VmNetwork.d.ts +1 -1
- package/dist/esm/models/VmNetwork.js +1 -1
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +16 -1
- package/dist/models/Agent.d.ts +1 -1
- package/dist/models/Agent.js +1 -1
- package/dist/models/AgentProxy.d.ts +1 -1
- package/dist/models/AgentProxy.js +1 -1
- package/dist/models/Assessment.d.ts +1 -1
- package/dist/models/Assessment.js +1 -1
- package/dist/models/AssessmentForm.d.ts +2 -2
- package/dist/models/AssessmentForm.js +1 -1
- package/dist/models/AssessmentUpdate.d.ts +1 -1
- package/dist/models/AssessmentUpdate.js +1 -1
- package/dist/models/ClusterRequirementsRequest.d.ts +27 -1
- package/dist/models/ClusterRequirementsRequest.js +15 -2
- package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/models/ClusterRequirementsResponse.js +1 -1
- package/dist/models/ClusterSizing.d.ts +1 -1
- package/dist/models/ClusterSizing.js +1 -1
- package/dist/models/ComplexityDiskScoreEntry.d.ts +45 -0
- package/dist/models/ComplexityDiskScoreEntry.js +58 -0
- package/dist/models/ComplexityOSScoreEntry.d.ts +39 -0
- package/dist/models/ComplexityOSScoreEntry.js +54 -0
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -1
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimationDetail.d.ts +1 -1
- package/dist/models/EstimationDetail.js +1 -1
- package/dist/models/Histogram.d.ts +1 -1
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +1 -1
- package/dist/models/Host.js +1 -1
- package/dist/models/Info.d.ts +14 -2
- package/dist/models/Info.js +5 -1
- package/dist/models/Infra.d.ts +1 -1
- package/dist/models/Infra.js +1 -1
- package/dist/models/Inventory.d.ts +1 -1
- package/dist/models/Inventory.js +1 -1
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/InventoryTotals.d.ts +1 -1
- package/dist/models/InventoryTotals.js +1 -1
- package/dist/models/Ipv4Config.d.ts +1 -1
- package/dist/models/Ipv4Config.js +1 -1
- package/dist/models/Job.d.ts +1 -1
- package/dist/models/Job.js +1 -1
- package/dist/models/JobStatus.d.ts +1 -1
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Label.d.ts +1 -1
- package/dist/models/Label.js +1 -1
- package/dist/models/MigrationComplexityRequest.d.ts +32 -0
- package/dist/models/MigrationComplexityRequest.js +50 -0
- package/dist/models/MigrationComplexityResponse.d.ts +60 -0
- package/dist/models/MigrationComplexityResponse.js +64 -0
- package/dist/models/MigrationEstimationRequest.d.ts +1 -1
- package/dist/models/MigrationEstimationRequest.js +1 -1
- package/dist/models/MigrationEstimationResponse.d.ts +1 -1
- package/dist/models/MigrationEstimationResponse.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/ModelError.d.ts +1 -7
- package/dist/models/ModelError.js +1 -3
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PresignedUrl.d.ts +1 -1
- package/dist/models/PresignedUrl.js +1 -1
- package/dist/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/models/SizingOverCommitRatio.js +1 -1
- package/dist/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/models/SizingResourceConsumption.js +1 -1
- package/dist/models/SizingResourceLimits.d.ts +1 -1
- package/dist/models/SizingResourceLimits.js +1 -1
- package/dist/models/Snapshot.d.ts +1 -1
- package/dist/models/Snapshot.js +1 -1
- package/dist/models/Source.d.ts +1 -1
- package/dist/models/Source.js +1 -1
- package/dist/models/SourceCreate.d.ts +1 -1
- package/dist/models/SourceCreate.js +1 -1
- package/dist/models/SourceInfra.d.ts +1 -1
- package/dist/models/SourceInfra.js +1 -1
- package/dist/models/SourceUpdate.d.ts +1 -1
- package/dist/models/SourceUpdate.js +1 -1
- package/dist/models/Status.d.ts +1 -1
- package/dist/models/Status.js +1 -1
- package/dist/models/UpdateInventory.d.ts +1 -1
- package/dist/models/UpdateInventory.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -1
- package/dist/models/VMs.js +1 -1
- package/dist/models/VmNetwork.d.ts +1 -1
- package/dist/models/VmNetwork.js +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +16 -1
- package/docs/AssessmentApi.md +76 -0
- package/docs/ClusterRequirementsRequest.md +6 -0
- package/docs/ComplexityDiskScoreEntry.md +39 -0
- package/docs/ComplexityOSScoreEntry.md +37 -0
- package/docs/Info.md +5 -1
- package/docs/InfoApi.md +1 -1
- package/docs/MigrationComplexityRequest.md +35 -0
- package/docs/MigrationComplexityResponse.md +41 -0
- package/docs/ModelError.md +0 -2
- package/package.json +1 -1
- package/src/apis/AssessmentApi.ts +91 -1
- package/src/apis/HealthApi.ts +1 -1
- package/src/apis/ImageApi.ts +1 -1
- package/src/apis/InfoApi.ts +5 -5
- package/src/apis/JobApi.ts +1 -1
- package/src/apis/SourceApi.ts +1 -1
- package/src/models/Agent.ts +1 -1
- package/src/models/AgentProxy.ts +1 -1
- package/src/models/Assessment.ts +1 -1
- package/src/models/AssessmentForm.ts +2 -2
- package/src/models/AssessmentUpdate.ts +1 -1
- package/src/models/ClusterRequirementsRequest.ts +34 -1
- package/src/models/ClusterRequirementsResponse.ts +1 -1
- package/src/models/ClusterSizing.ts +1 -1
- package/src/models/ComplexityDiskScoreEntry.ts +85 -0
- package/src/models/ComplexityOSScoreEntry.ts +76 -0
- package/src/models/Datastore.ts +1 -1
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimationDetail.ts +1 -1
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +1 -1
- package/src/models/Info.ts +18 -2
- package/src/models/Infra.ts +1 -1
- package/src/models/Inventory.ts +1 -1
- package/src/models/InventoryData.ts +1 -1
- package/src/models/InventoryTotals.ts +1 -1
- package/src/models/Ipv4Config.ts +1 -1
- package/src/models/Job.ts +1 -1
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Label.ts +1 -1
- package/src/models/MigrationComplexityRequest.ts +66 -0
- package/src/models/MigrationComplexityResponse.ts +112 -0
- package/src/models/MigrationEstimationRequest.ts +1 -1
- package/src/models/MigrationEstimationResponse.ts +1 -1
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/ModelError.ts +1 -9
- package/src/models/Network.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PresignedUrl.ts +1 -1
- package/src/models/SizingOverCommitRatio.ts +1 -1
- package/src/models/SizingResourceConsumption.ts +1 -1
- package/src/models/SizingResourceLimits.ts +1 -1
- package/src/models/Snapshot.ts +1 -1
- package/src/models/Source.ts +1 -1
- package/src/models/SourceCreate.ts +1 -1
- package/src/models/SourceInfra.ts +1 -1
- package/src/models/SourceUpdate.ts +1 -1
- package/src/models/Status.ts +1 -1
- package/src/models/UpdateInventory.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +1 -1
- package/src/models/VmNetwork.ts +1 -1
- package/src/models/index.ts +4 -0
- package/src/runtime.ts +19 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -20,6 +20,8 @@ import type {
|
|
|
20
20
|
AssessmentUpdate,
|
|
21
21
|
ClusterRequirementsRequest,
|
|
22
22
|
ClusterRequirementsResponse,
|
|
23
|
+
MigrationComplexityRequest,
|
|
24
|
+
MigrationComplexityResponse,
|
|
23
25
|
MigrationEstimationRequest,
|
|
24
26
|
MigrationEstimationResponse,
|
|
25
27
|
} from '../models/index.js';
|
|
@@ -34,6 +36,10 @@ import {
|
|
|
34
36
|
ClusterRequirementsRequestToJSON,
|
|
35
37
|
ClusterRequirementsResponseFromJSON,
|
|
36
38
|
ClusterRequirementsResponseToJSON,
|
|
39
|
+
MigrationComplexityRequestFromJSON,
|
|
40
|
+
MigrationComplexityRequestToJSON,
|
|
41
|
+
MigrationComplexityResponseFromJSON,
|
|
42
|
+
MigrationComplexityResponseToJSON,
|
|
37
43
|
MigrationEstimationRequestFromJSON,
|
|
38
44
|
MigrationEstimationRequestToJSON,
|
|
39
45
|
MigrationEstimationResponseFromJSON,
|
|
@@ -45,6 +51,11 @@ export interface CalculateAssessmentClusterRequirementsRequest {
|
|
|
45
51
|
clusterRequirementsRequest: ClusterRequirementsRequest;
|
|
46
52
|
}
|
|
47
53
|
|
|
54
|
+
export interface CalculateMigrationComplexityRequest {
|
|
55
|
+
id: string;
|
|
56
|
+
migrationComplexityRequest: MigrationComplexityRequest;
|
|
57
|
+
}
|
|
58
|
+
|
|
48
59
|
export interface CalculateMigrationEstimationRequest {
|
|
49
60
|
id: string;
|
|
50
61
|
migrationEstimationRequest: MigrationEstimationRequest;
|
|
@@ -102,6 +113,30 @@ export interface AssessmentApiInterface {
|
|
|
102
113
|
*/
|
|
103
114
|
calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
|
|
104
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Creates request options for calculateMigrationComplexity without sending the request
|
|
118
|
+
* @param {string} id ID of the assessment
|
|
119
|
+
* @param {MigrationComplexityRequest} migrationComplexityRequest
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
* @memberof AssessmentApiInterface
|
|
122
|
+
*/
|
|
123
|
+
calculateMigrationComplexityRequestOpts(requestParameters: CalculateMigrationComplexityRequest): Promise<runtime.RequestOpts>;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
127
|
+
* @param {string} id ID of the assessment
|
|
128
|
+
* @param {MigrationComplexityRequest} migrationComplexityRequest
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
* @memberof AssessmentApiInterface
|
|
132
|
+
*/
|
|
133
|
+
calculateMigrationComplexityRaw(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationComplexityResponse>>;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
137
|
+
*/
|
|
138
|
+
calculateMigrationComplexity(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationComplexityResponse>;
|
|
139
|
+
|
|
105
140
|
/**
|
|
106
141
|
* Creates request options for calculateMigrationEstimation without sending the request
|
|
107
142
|
* @param {string} id ID of the assessment
|
|
@@ -300,6 +335,61 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
300
335
|
return await response.value();
|
|
301
336
|
}
|
|
302
337
|
|
|
338
|
+
/**
|
|
339
|
+
* Creates request options for calculateMigrationComplexity without sending the request
|
|
340
|
+
*/
|
|
341
|
+
async calculateMigrationComplexityRequestOpts(requestParameters: CalculateMigrationComplexityRequest): Promise<runtime.RequestOpts> {
|
|
342
|
+
if (requestParameters['id'] == null) {
|
|
343
|
+
throw new runtime.RequiredError(
|
|
344
|
+
'id',
|
|
345
|
+
'Required parameter "id" was null or undefined when calling calculateMigrationComplexity().'
|
|
346
|
+
);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
if (requestParameters['migrationComplexityRequest'] == null) {
|
|
350
|
+
throw new runtime.RequiredError(
|
|
351
|
+
'migrationComplexityRequest',
|
|
352
|
+
'Required parameter "migrationComplexityRequest" was null or undefined when calling calculateMigrationComplexity().'
|
|
353
|
+
);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
const queryParameters: any = {};
|
|
357
|
+
|
|
358
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
359
|
+
|
|
360
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
let urlPath = `/api/v1/assessments/{id}/complexity-estimation`;
|
|
364
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
365
|
+
|
|
366
|
+
return {
|
|
367
|
+
path: urlPath,
|
|
368
|
+
method: 'POST',
|
|
369
|
+
headers: headerParameters,
|
|
370
|
+
query: queryParameters,
|
|
371
|
+
body: MigrationComplexityRequestToJSON(requestParameters['migrationComplexityRequest']),
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
377
|
+
*/
|
|
378
|
+
async calculateMigrationComplexityRaw(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationComplexityResponse>> {
|
|
379
|
+
const requestOptions = await this.calculateMigrationComplexityRequestOpts(requestParameters);
|
|
380
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
381
|
+
|
|
382
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MigrationComplexityResponseFromJSON(jsonValue));
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
387
|
+
*/
|
|
388
|
+
async calculateMigrationComplexity(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationComplexityResponse> {
|
|
389
|
+
const response = await this.calculateMigrationComplexityRaw(requestParameters, initOverrides);
|
|
390
|
+
return await response.value();
|
|
391
|
+
}
|
|
392
|
+
|
|
303
393
|
/**
|
|
304
394
|
* Creates request options for calculateMigrationEstimation without sending the request
|
|
305
395
|
*/
|
package/src/apis/HealthApi.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/apis/ImageApi.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/apis/InfoApi.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -37,7 +37,7 @@ export interface InfoApiInterface {
|
|
|
37
37
|
getInfoRequestOpts(): Promise<runtime.RequestOpts>;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Get
|
|
40
|
+
* Get OpenShift Migration Advisor information
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
* @memberof InfoApiInterface
|
|
@@ -45,7 +45,7 @@ export interface InfoApiInterface {
|
|
|
45
45
|
getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>>;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Get
|
|
48
|
+
* Get OpenShift Migration Advisor information
|
|
49
49
|
*/
|
|
50
50
|
getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
|
|
51
51
|
|
|
@@ -76,7 +76,7 @@ export class InfoApi extends runtime.BaseAPI implements InfoApiInterface {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* Get
|
|
79
|
+
* Get OpenShift Migration Advisor information
|
|
80
80
|
*/
|
|
81
81
|
async getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>> {
|
|
82
82
|
const requestOptions = await this.getInfoRequestOpts();
|
|
@@ -86,7 +86,7 @@ export class InfoApi extends runtime.BaseAPI implements InfoApiInterface {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
* Get
|
|
89
|
+
* Get OpenShift Migration Advisor information
|
|
90
90
|
*/
|
|
91
91
|
async getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info> {
|
|
92
92
|
const response = await this.getInfoRaw(initOverrides);
|
package/src/apis/JobApi.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/apis/SourceApi.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/models/Agent.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/models/AgentProxy.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/models/Assessment.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -36,7 +36,7 @@ export interface AssessmentForm {
|
|
|
36
36
|
/**
|
|
37
37
|
* Source of the assessment data:
|
|
38
38
|
* * `inventory` - Manual inventory upload via JSON
|
|
39
|
-
* * `agent` - Collected by
|
|
39
|
+
* * `agent` - Collected by OpenShift Migration Advisor agent
|
|
40
40
|
*
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof AssessmentForm
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -61,6 +61,24 @@ export interface ClusterRequirementsRequest {
|
|
|
61
61
|
* @memberof ClusterRequirementsRequest
|
|
62
62
|
*/
|
|
63
63
|
controlPlaneSchedulable?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* CPU cores per control plane node (default: 6)
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof ClusterRequirementsRequest
|
|
68
|
+
*/
|
|
69
|
+
controlPlaneCPU?: number;
|
|
70
|
+
/**
|
|
71
|
+
* Memory (GB) per control plane node (default: 16)
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ClusterRequirementsRequest
|
|
74
|
+
*/
|
|
75
|
+
controlPlaneMemory?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Number of control plane nodes (1 for single node, 3 for HA)
|
|
78
|
+
* @type {ClusterRequirementsRequestControlPlaneNodeCountEnum}
|
|
79
|
+
* @memberof ClusterRequirementsRequest
|
|
80
|
+
*/
|
|
81
|
+
controlPlaneNodeCount?: ClusterRequirementsRequestControlPlaneNodeCountEnum;
|
|
64
82
|
}
|
|
65
83
|
|
|
66
84
|
|
|
@@ -85,6 +103,15 @@ export const ClusterRequirementsRequestMemoryOverCommitRatioEnum = {
|
|
|
85
103
|
} as const;
|
|
86
104
|
export type ClusterRequirementsRequestMemoryOverCommitRatioEnum = typeof ClusterRequirementsRequestMemoryOverCommitRatioEnum[keyof typeof ClusterRequirementsRequestMemoryOverCommitRatioEnum];
|
|
87
105
|
|
|
106
|
+
/**
|
|
107
|
+
* @export
|
|
108
|
+
*/
|
|
109
|
+
export const ClusterRequirementsRequestControlPlaneNodeCountEnum = {
|
|
110
|
+
NUMBER_1: 1,
|
|
111
|
+
NUMBER_3: 3
|
|
112
|
+
} as const;
|
|
113
|
+
export type ClusterRequirementsRequestControlPlaneNodeCountEnum = typeof ClusterRequirementsRequestControlPlaneNodeCountEnum[keyof typeof ClusterRequirementsRequestControlPlaneNodeCountEnum];
|
|
114
|
+
|
|
88
115
|
|
|
89
116
|
/**
|
|
90
117
|
* Check if a given object implements the ClusterRequirementsRequest interface.
|
|
@@ -115,6 +142,9 @@ export function ClusterRequirementsRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
115
142
|
'workerNodeMemory': json['workerNodeMemory'],
|
|
116
143
|
'workerNodeThreads': json['workerNodeThreads'] == null ? undefined : json['workerNodeThreads'],
|
|
117
144
|
'controlPlaneSchedulable': json['controlPlaneSchedulable'] == null ? undefined : json['controlPlaneSchedulable'],
|
|
145
|
+
'controlPlaneCPU': json['controlPlaneCPU'] == null ? undefined : json['controlPlaneCPU'],
|
|
146
|
+
'controlPlaneMemory': json['controlPlaneMemory'] == null ? undefined : json['controlPlaneMemory'],
|
|
147
|
+
'controlPlaneNodeCount': json['controlPlaneNodeCount'] == null ? undefined : json['controlPlaneNodeCount'],
|
|
118
148
|
};
|
|
119
149
|
}
|
|
120
150
|
|
|
@@ -136,6 +166,9 @@ export function ClusterRequirementsRequestToJSONTyped(value?: ClusterRequirement
|
|
|
136
166
|
'workerNodeMemory': value['workerNodeMemory'],
|
|
137
167
|
'workerNodeThreads': value['workerNodeThreads'],
|
|
138
168
|
'controlPlaneSchedulable': value['controlPlaneSchedulable'],
|
|
169
|
+
'controlPlaneCPU': value['controlPlaneCPU'],
|
|
170
|
+
'controlPlaneMemory': value['controlPlaneMemory'],
|
|
171
|
+
'controlPlaneNodeCount': value['controlPlaneNodeCount'],
|
|
139
172
|
};
|
|
140
173
|
}
|
|
141
174
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
* One entry in the disk complexity breakdown
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ComplexityDiskScoreEntry
|
|
20
|
+
*/
|
|
21
|
+
export interface ComplexityDiskScoreEntry {
|
|
22
|
+
/**
|
|
23
|
+
* Complexity score from 1 to 4, where 1 is the least complex disk footprint and 4 is the most complex. Score 1: <=10 TB provisioned; score 2: <=20 TB; score 3: <=50 TB; score 4: >50 TB.
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ComplexityDiskScoreEntry
|
|
27
|
+
*/
|
|
28
|
+
score: number;
|
|
29
|
+
/**
|
|
30
|
+
* Number of VMs at this complexity score
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof ComplexityDiskScoreEntry
|
|
33
|
+
*/
|
|
34
|
+
vmCount: number;
|
|
35
|
+
/**
|
|
36
|
+
* Total provisioned storage in TB for VMs at this score
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof ComplexityDiskScoreEntry
|
|
39
|
+
*/
|
|
40
|
+
totalSizeTB: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ComplexityDiskScoreEntry interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfComplexityDiskScoreEntry(value: object): value is ComplexityDiskScoreEntry {
|
|
47
|
+
if (!('score' in value) || value['score'] === undefined) return false;
|
|
48
|
+
if (!('vmCount' in value) || value['vmCount'] === undefined) return false;
|
|
49
|
+
if (!('totalSizeTB' in value) || value['totalSizeTB'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ComplexityDiskScoreEntryFromJSON(json: any): ComplexityDiskScoreEntry {
|
|
54
|
+
return ComplexityDiskScoreEntryFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function ComplexityDiskScoreEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComplexityDiskScoreEntry {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'score': json['score'],
|
|
64
|
+
'vmCount': json['vmCount'],
|
|
65
|
+
'totalSizeTB': json['totalSizeTB'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ComplexityDiskScoreEntryToJSON(json: any): ComplexityDiskScoreEntry {
|
|
70
|
+
return ComplexityDiskScoreEntryToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ComplexityDiskScoreEntryToJSONTyped(value?: ComplexityDiskScoreEntry | null, ignoreDiscriminator: boolean = false): any {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
|
|
80
|
+
'score': value['score'],
|
|
81
|
+
'vmCount': value['vmCount'],
|
|
82
|
+
'totalSizeTB': value['totalSizeTB'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
* One entry in the OS complexity breakdown
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ComplexityOSScoreEntry
|
|
20
|
+
*/
|
|
21
|
+
export interface ComplexityOSScoreEntry {
|
|
22
|
+
/**
|
|
23
|
+
* Complexity score from 0 to 4, where 1 indicates the least complex OS to migrate and 0 indicates an OS that could not be classified.
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ComplexityOSScoreEntry
|
|
27
|
+
*/
|
|
28
|
+
score: number;
|
|
29
|
+
/**
|
|
30
|
+
* Number of VMs at this complexity score
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof ComplexityOSScoreEntry
|
|
33
|
+
*/
|
|
34
|
+
vmCount: number;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ComplexityOSScoreEntry interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfComplexityOSScoreEntry(value: object): value is ComplexityOSScoreEntry {
|
|
41
|
+
if (!('score' in value) || value['score'] === undefined) return false;
|
|
42
|
+
if (!('vmCount' in value) || value['vmCount'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ComplexityOSScoreEntryFromJSON(json: any): ComplexityOSScoreEntry {
|
|
47
|
+
return ComplexityOSScoreEntryFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ComplexityOSScoreEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComplexityOSScoreEntry {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'score': json['score'],
|
|
57
|
+
'vmCount': json['vmCount'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function ComplexityOSScoreEntryToJSON(json: any): ComplexityOSScoreEntry {
|
|
62
|
+
return ComplexityOSScoreEntryToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ComplexityOSScoreEntryToJSONTyped(value?: ComplexityOSScoreEntry | null, ignoreDiscriminator: boolean = false): any {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'score': value['score'],
|
|
73
|
+
'vmCount': value['vmCount'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
package/src/models/Datastore.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/models/Histogram.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/models/Host.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/models/Info.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
16
|
/**
|
|
17
|
-
* Migration
|
|
17
|
+
* OpenShift Migration Advisor information
|
|
18
18
|
* @export
|
|
19
19
|
* @interface Info
|
|
20
20
|
*/
|
|
@@ -31,6 +31,18 @@ export interface Info {
|
|
|
31
31
|
* @memberof Info
|
|
32
32
|
*/
|
|
33
33
|
versionName: string;
|
|
34
|
+
/**
|
|
35
|
+
* Agent git commit hash
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Info
|
|
38
|
+
*/
|
|
39
|
+
agentGitCommit?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Agent version name, based on git tag
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof Info
|
|
44
|
+
*/
|
|
45
|
+
agentVersionName?: string | null;
|
|
34
46
|
}
|
|
35
47
|
|
|
36
48
|
/**
|
|
@@ -54,6 +66,8 @@ export function InfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Info
|
|
|
54
66
|
|
|
55
67
|
'gitCommit': json['gitCommit'],
|
|
56
68
|
'versionName': json['versionName'],
|
|
69
|
+
'agentGitCommit': json['agentGitCommit'] == null ? undefined : json['agentGitCommit'],
|
|
70
|
+
'agentVersionName': json['agentVersionName'] == null ? undefined : json['agentVersionName'],
|
|
57
71
|
};
|
|
58
72
|
}
|
|
59
73
|
|
|
@@ -70,6 +84,8 @@ export function InfoToJSONTyped(value?: Info | null, ignoreDiscriminator: boolea
|
|
|
70
84
|
|
|
71
85
|
'gitCommit': value['gitCommit'],
|
|
72
86
|
'versionName': value['versionName'],
|
|
87
|
+
'agentGitCommit': value['agentGitCommit'],
|
|
88
|
+
'agentVersionName': value['agentVersionName'],
|
|
73
89
|
};
|
|
74
90
|
}
|
|
75
91
|
|
package/src/models/Infra.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/models/Inventory.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|