@openshift-migration-advisor/planner-sdk 0.5.1-b1cf34547cfc → 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 -1
- package/dist/esm/models/ModelError.js +1 -1
- 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 -1
- package/dist/models/ModelError.js +1 -1
- 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/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 -1
- 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
package/.openapi-generator/FILES
CHANGED
|
@@ -11,6 +11,8 @@ docs/AssessmentUpdate.md
|
|
|
11
11
|
docs/ClusterRequirementsRequest.md
|
|
12
12
|
docs/ClusterRequirementsResponse.md
|
|
13
13
|
docs/ClusterSizing.md
|
|
14
|
+
docs/ComplexityDiskScoreEntry.md
|
|
15
|
+
docs/ComplexityOSScoreEntry.md
|
|
14
16
|
docs/Datastore.md
|
|
15
17
|
docs/DiskSizeTierSummary.md
|
|
16
18
|
docs/DiskTypeSummary.md
|
|
@@ -30,6 +32,8 @@ docs/Job.md
|
|
|
30
32
|
docs/JobApi.md
|
|
31
33
|
docs/JobStatus.md
|
|
32
34
|
docs/Label.md
|
|
35
|
+
docs/MigrationComplexityRequest.md
|
|
36
|
+
docs/MigrationComplexityResponse.md
|
|
33
37
|
docs/MigrationEstimationRequest.md
|
|
34
38
|
docs/MigrationEstimationResponse.md
|
|
35
39
|
docs/MigrationIssue.md
|
|
@@ -69,6 +73,8 @@ src/models/AssessmentUpdate.ts
|
|
|
69
73
|
src/models/ClusterRequirementsRequest.ts
|
|
70
74
|
src/models/ClusterRequirementsResponse.ts
|
|
71
75
|
src/models/ClusterSizing.ts
|
|
76
|
+
src/models/ComplexityDiskScoreEntry.ts
|
|
77
|
+
src/models/ComplexityOSScoreEntry.ts
|
|
72
78
|
src/models/Datastore.ts
|
|
73
79
|
src/models/DiskSizeTierSummary.ts
|
|
74
80
|
src/models/DiskTypeSummary.ts
|
|
@@ -84,6 +90,8 @@ src/models/Ipv4Config.ts
|
|
|
84
90
|
src/models/Job.ts
|
|
85
91
|
src/models/JobStatus.ts
|
|
86
92
|
src/models/Label.ts
|
|
93
|
+
src/models/MigrationComplexityRequest.ts
|
|
94
|
+
src/models/MigrationComplexityResponse.ts
|
|
87
95
|
src/models/MigrationEstimationRequest.ts
|
|
88
96
|
src/models/MigrationEstimationResponse.ts
|
|
89
97
|
src/models/MigrationIssue.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/planner-sdk@0.
|
|
1
|
+
# @openshift-migration-advisor/planner-sdk@0.6.0-048145a30095
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -53,6 +53,7 @@ All URIs are relative to *https://raw.githubusercontent.com*
|
|
|
53
53
|
| Class | Method | HTTP request | Description
|
|
54
54
|
| ----- | ------ | ------------ | -------------
|
|
55
55
|
*AssessmentApi* | [**calculateAssessmentClusterRequirements**](docs/AssessmentApi.md#calculateassessmentclusterrequirements) | **POST** /api/v1/assessments/{id}/cluster-requirements |
|
|
56
|
+
*AssessmentApi* | [**calculateMigrationComplexity**](docs/AssessmentApi.md#calculatemigrationcomplexity) | **POST** /api/v1/assessments/{id}/complexity-estimation |
|
|
56
57
|
*AssessmentApi* | [**calculateMigrationEstimation**](docs/AssessmentApi.md#calculatemigrationestimation) | **POST** /api/v1/assessments/{id}/migration-estimation |
|
|
57
58
|
*AssessmentApi* | [**createAssessment**](docs/AssessmentApi.md#createassessment) | **POST** /api/v1/assessments |
|
|
58
59
|
*AssessmentApi* | [**deleteAssessment**](docs/AssessmentApi.md#deleteassessment) | **DELETE** /api/v1/assessments/{id} |
|
|
@@ -85,6 +86,8 @@ All URIs are relative to *https://raw.githubusercontent.com*
|
|
|
85
86
|
- [ClusterRequirementsRequest](docs/ClusterRequirementsRequest.md)
|
|
86
87
|
- [ClusterRequirementsResponse](docs/ClusterRequirementsResponse.md)
|
|
87
88
|
- [ClusterSizing](docs/ClusterSizing.md)
|
|
89
|
+
- [ComplexityDiskScoreEntry](docs/ComplexityDiskScoreEntry.md)
|
|
90
|
+
- [ComplexityOSScoreEntry](docs/ComplexityOSScoreEntry.md)
|
|
88
91
|
- [Datastore](docs/Datastore.md)
|
|
89
92
|
- [DiskSizeTierSummary](docs/DiskSizeTierSummary.md)
|
|
90
93
|
- [DiskTypeSummary](docs/DiskTypeSummary.md)
|
|
@@ -100,6 +103,8 @@ All URIs are relative to *https://raw.githubusercontent.com*
|
|
|
100
103
|
- [Job](docs/Job.md)
|
|
101
104
|
- [JobStatus](docs/JobStatus.md)
|
|
102
105
|
- [Label](docs/Label.md)
|
|
106
|
+
- [MigrationComplexityRequest](docs/MigrationComplexityRequest.md)
|
|
107
|
+
- [MigrationComplexityResponse](docs/MigrationComplexityResponse.md)
|
|
103
108
|
- [MigrationEstimationRequest](docs/MigrationEstimationRequest.md)
|
|
104
109
|
- [MigrationEstimationResponse](docs/MigrationEstimationResponse.md)
|
|
105
110
|
- [MigrationIssue](docs/MigrationIssue.md)
|
|
@@ -134,7 +139,7 @@ and is automatically generated by the
|
|
|
134
139
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
135
140
|
|
|
136
141
|
- API version: `undefined`
|
|
137
|
-
- Package version: `0.
|
|
142
|
+
- Package version: `0.6.0-048145a30095`
|
|
138
143
|
- Generator version: `7.21.0-SNAPSHOT`
|
|
139
144
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
140
145
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Migration
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: undefined
|
|
@@ -10,11 +10,15 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { Assessment, AssessmentForm, AssessmentUpdate, ClusterRequirementsRequest, ClusterRequirementsResponse, MigrationEstimationRequest, MigrationEstimationResponse } from '../models/index.js';
|
|
13
|
+
import type { Assessment, AssessmentForm, AssessmentUpdate, ClusterRequirementsRequest, ClusterRequirementsResponse, MigrationComplexityRequest, MigrationComplexityResponse, MigrationEstimationRequest, MigrationEstimationResponse } from '../models/index.js';
|
|
14
14
|
export interface CalculateAssessmentClusterRequirementsRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
clusterRequirementsRequest: ClusterRequirementsRequest;
|
|
17
17
|
}
|
|
18
|
+
export interface CalculateMigrationComplexityRequest {
|
|
19
|
+
id: string;
|
|
20
|
+
migrationComplexityRequest: MigrationComplexityRequest;
|
|
21
|
+
}
|
|
18
22
|
export interface CalculateMigrationEstimationRequest {
|
|
19
23
|
id: string;
|
|
20
24
|
migrationEstimationRequest: MigrationEstimationRequest;
|
|
@@ -63,6 +67,27 @@ export interface AssessmentApiInterface {
|
|
|
63
67
|
* Calculate cluster requirements for an assessment
|
|
64
68
|
*/
|
|
65
69
|
calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Creates request options for calculateMigrationComplexity without sending the request
|
|
72
|
+
* @param {string} id ID of the assessment
|
|
73
|
+
* @param {MigrationComplexityRequest} migrationComplexityRequest
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
* @memberof AssessmentApiInterface
|
|
76
|
+
*/
|
|
77
|
+
calculateMigrationComplexityRequestOpts(requestParameters: CalculateMigrationComplexityRequest): Promise<runtime.RequestOpts>;
|
|
78
|
+
/**
|
|
79
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
80
|
+
* @param {string} id ID of the assessment
|
|
81
|
+
* @param {MigrationComplexityRequest} migrationComplexityRequest
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
* @memberof AssessmentApiInterface
|
|
85
|
+
*/
|
|
86
|
+
calculateMigrationComplexityRaw(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationComplexityResponse>>;
|
|
87
|
+
/**
|
|
88
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
89
|
+
*/
|
|
90
|
+
calculateMigrationComplexity(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationComplexityResponse>;
|
|
66
91
|
/**
|
|
67
92
|
* Creates request options for calculateMigrationEstimation without sending the request
|
|
68
93
|
* @param {string} id ID of the assessment
|
|
@@ -198,6 +223,18 @@ export declare class AssessmentApi extends runtime.BaseAPI implements Assessment
|
|
|
198
223
|
* Calculate cluster requirements for an assessment
|
|
199
224
|
*/
|
|
200
225
|
calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
|
|
226
|
+
/**
|
|
227
|
+
* Creates request options for calculateMigrationComplexity without sending the request
|
|
228
|
+
*/
|
|
229
|
+
calculateMigrationComplexityRequestOpts(requestParameters: CalculateMigrationComplexityRequest): Promise<runtime.RequestOpts>;
|
|
230
|
+
/**
|
|
231
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
232
|
+
*/
|
|
233
|
+
calculateMigrationComplexityRaw(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationComplexityResponse>>;
|
|
234
|
+
/**
|
|
235
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
236
|
+
*/
|
|
237
|
+
calculateMigrationComplexity(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationComplexityResponse>;
|
|
201
238
|
/**
|
|
202
239
|
* Creates request options for calculateMigrationEstimation without sending the request
|
|
203
240
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
|
@@ -73,6 +73,50 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
73
73
|
return yield response.value();
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Creates request options for calculateMigrationComplexity without sending the request
|
|
78
|
+
*/
|
|
79
|
+
calculateMigrationComplexityRequestOpts(requestParameters) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
if (requestParameters['id'] == null) {
|
|
82
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling calculateMigrationComplexity().');
|
|
83
|
+
}
|
|
84
|
+
if (requestParameters['migrationComplexityRequest'] == null) {
|
|
85
|
+
throw new runtime.RequiredError('migrationComplexityRequest', 'Required parameter "migrationComplexityRequest" was null or undefined when calling calculateMigrationComplexity().');
|
|
86
|
+
}
|
|
87
|
+
const queryParameters = {};
|
|
88
|
+
const headerParameters = {};
|
|
89
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
90
|
+
let urlPath = `/api/v1/assessments/{id}/complexity-estimation`;
|
|
91
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
92
|
+
return {
|
|
93
|
+
path: urlPath,
|
|
94
|
+
method: 'POST',
|
|
95
|
+
headers: headerParameters,
|
|
96
|
+
query: queryParameters,
|
|
97
|
+
body: (0, index_js_1.MigrationComplexityRequestToJSON)(requestParameters['migrationComplexityRequest']),
|
|
98
|
+
};
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
103
|
+
*/
|
|
104
|
+
calculateMigrationComplexityRaw(requestParameters, initOverrides) {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
const requestOptions = yield this.calculateMigrationComplexityRequestOpts(requestParameters);
|
|
107
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
108
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.MigrationComplexityResponseFromJSON)(jsonValue));
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
113
|
+
*/
|
|
114
|
+
calculateMigrationComplexity(requestParameters, initOverrides) {
|
|
115
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
const response = yield this.calculateMigrationComplexityRaw(requestParameters, initOverrides);
|
|
117
|
+
return yield response.value();
|
|
118
|
+
});
|
|
119
|
+
}
|
|
76
120
|
/**
|
|
77
121
|
* Creates request options for calculateMigrationEstimation without sending the request
|
|
78
122
|
*/
|
package/dist/apis/HealthApi.d.ts
CHANGED
package/dist/apis/HealthApi.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
package/dist/apis/ImageApi.d.ts
CHANGED
package/dist/apis/ImageApi.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
package/dist/apis/InfoApi.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Migration
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: undefined
|
|
@@ -25,14 +25,14 @@ export interface InfoApiInterface {
|
|
|
25
25
|
*/
|
|
26
26
|
getInfoRequestOpts(): Promise<runtime.RequestOpts>;
|
|
27
27
|
/**
|
|
28
|
-
* Get
|
|
28
|
+
* Get OpenShift Migration Advisor information
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
* @memberof InfoApiInterface
|
|
32
32
|
*/
|
|
33
33
|
getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>>;
|
|
34
34
|
/**
|
|
35
|
-
* Get
|
|
35
|
+
* Get OpenShift Migration Advisor information
|
|
36
36
|
*/
|
|
37
37
|
getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
|
|
38
38
|
}
|
|
@@ -45,11 +45,11 @@ export declare class InfoApi extends runtime.BaseAPI implements InfoApiInterface
|
|
|
45
45
|
*/
|
|
46
46
|
getInfoRequestOpts(): Promise<runtime.RequestOpts>;
|
|
47
47
|
/**
|
|
48
|
-
* Get
|
|
48
|
+
* Get OpenShift Migration Advisor information
|
|
49
49
|
*/
|
|
50
50
|
getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>>;
|
|
51
51
|
/**
|
|
52
|
-
* Get
|
|
52
|
+
* Get OpenShift Migration Advisor information
|
|
53
53
|
*/
|
|
54
54
|
getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
|
|
55
55
|
}
|
package/dist/apis/InfoApi.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
|
@@ -46,7 +46,7 @@ class InfoApi extends runtime.BaseAPI {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* Get
|
|
49
|
+
* Get OpenShift Migration Advisor information
|
|
50
50
|
*/
|
|
51
51
|
getInfoRaw(initOverrides) {
|
|
52
52
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -56,7 +56,7 @@ class InfoApi extends runtime.BaseAPI {
|
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Get
|
|
59
|
+
* Get OpenShift Migration Advisor information
|
|
60
60
|
*/
|
|
61
61
|
getInfo(initOverrides) {
|
|
62
62
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist/apis/JobApi.d.ts
CHANGED
package/dist/apis/JobApi.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
package/dist/apis/SourceApi.d.ts
CHANGED
package/dist/apis/SourceApi.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Migration
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: undefined
|
|
@@ -10,11 +10,15 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { Assessment, AssessmentForm, AssessmentUpdate, ClusterRequirementsRequest, ClusterRequirementsResponse, MigrationEstimationRequest, MigrationEstimationResponse } from '../models/index.js';
|
|
13
|
+
import type { Assessment, AssessmentForm, AssessmentUpdate, ClusterRequirementsRequest, ClusterRequirementsResponse, MigrationComplexityRequest, MigrationComplexityResponse, MigrationEstimationRequest, MigrationEstimationResponse } from '../models/index.js';
|
|
14
14
|
export interface CalculateAssessmentClusterRequirementsRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
clusterRequirementsRequest: ClusterRequirementsRequest;
|
|
17
17
|
}
|
|
18
|
+
export interface CalculateMigrationComplexityRequest {
|
|
19
|
+
id: string;
|
|
20
|
+
migrationComplexityRequest: MigrationComplexityRequest;
|
|
21
|
+
}
|
|
18
22
|
export interface CalculateMigrationEstimationRequest {
|
|
19
23
|
id: string;
|
|
20
24
|
migrationEstimationRequest: MigrationEstimationRequest;
|
|
@@ -63,6 +67,27 @@ export interface AssessmentApiInterface {
|
|
|
63
67
|
* Calculate cluster requirements for an assessment
|
|
64
68
|
*/
|
|
65
69
|
calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Creates request options for calculateMigrationComplexity without sending the request
|
|
72
|
+
* @param {string} id ID of the assessment
|
|
73
|
+
* @param {MigrationComplexityRequest} migrationComplexityRequest
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
* @memberof AssessmentApiInterface
|
|
76
|
+
*/
|
|
77
|
+
calculateMigrationComplexityRequestOpts(requestParameters: CalculateMigrationComplexityRequest): Promise<runtime.RequestOpts>;
|
|
78
|
+
/**
|
|
79
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
80
|
+
* @param {string} id ID of the assessment
|
|
81
|
+
* @param {MigrationComplexityRequest} migrationComplexityRequest
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
* @memberof AssessmentApiInterface
|
|
85
|
+
*/
|
|
86
|
+
calculateMigrationComplexityRaw(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationComplexityResponse>>;
|
|
87
|
+
/**
|
|
88
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
89
|
+
*/
|
|
90
|
+
calculateMigrationComplexity(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationComplexityResponse>;
|
|
66
91
|
/**
|
|
67
92
|
* Creates request options for calculateMigrationEstimation without sending the request
|
|
68
93
|
* @param {string} id ID of the assessment
|
|
@@ -198,6 +223,18 @@ export declare class AssessmentApi extends runtime.BaseAPI implements Assessment
|
|
|
198
223
|
* Calculate cluster requirements for an assessment
|
|
199
224
|
*/
|
|
200
225
|
calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
|
|
226
|
+
/**
|
|
227
|
+
* Creates request options for calculateMigrationComplexity without sending the request
|
|
228
|
+
*/
|
|
229
|
+
calculateMigrationComplexityRequestOpts(requestParameters: CalculateMigrationComplexityRequest): Promise<runtime.RequestOpts>;
|
|
230
|
+
/**
|
|
231
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
232
|
+
*/
|
|
233
|
+
calculateMigrationComplexityRaw(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationComplexityResponse>>;
|
|
234
|
+
/**
|
|
235
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
236
|
+
*/
|
|
237
|
+
calculateMigrationComplexity(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationComplexityResponse>;
|
|
201
238
|
/**
|
|
202
239
|
* Creates request options for calculateMigrationEstimation without sending the request
|
|
203
240
|
*/
|
|
@@ -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
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime.js';
|
|
24
|
-
import { AssessmentFromJSON, AssessmentFormToJSON, AssessmentUpdateToJSON, ClusterRequirementsRequestToJSON, ClusterRequirementsResponseFromJSON, MigrationEstimationRequestToJSON, MigrationEstimationResponseFromJSON, } from '../models/index.js';
|
|
24
|
+
import { AssessmentFromJSON, AssessmentFormToJSON, AssessmentUpdateToJSON, ClusterRequirementsRequestToJSON, ClusterRequirementsResponseFromJSON, MigrationComplexityRequestToJSON, MigrationComplexityResponseFromJSON, MigrationEstimationRequestToJSON, MigrationEstimationResponseFromJSON, } from '../models/index.js';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -70,6 +70,50 @@ export class AssessmentApi extends runtime.BaseAPI {
|
|
|
70
70
|
return yield response.value();
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* Creates request options for calculateMigrationComplexity without sending the request
|
|
75
|
+
*/
|
|
76
|
+
calculateMigrationComplexityRequestOpts(requestParameters) {
|
|
77
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
78
|
+
if (requestParameters['id'] == null) {
|
|
79
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling calculateMigrationComplexity().');
|
|
80
|
+
}
|
|
81
|
+
if (requestParameters['migrationComplexityRequest'] == null) {
|
|
82
|
+
throw new runtime.RequiredError('migrationComplexityRequest', 'Required parameter "migrationComplexityRequest" was null or undefined when calling calculateMigrationComplexity().');
|
|
83
|
+
}
|
|
84
|
+
const queryParameters = {};
|
|
85
|
+
const headerParameters = {};
|
|
86
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
87
|
+
let urlPath = `/api/v1/assessments/{id}/complexity-estimation`;
|
|
88
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
89
|
+
return {
|
|
90
|
+
path: urlPath,
|
|
91
|
+
method: 'POST',
|
|
92
|
+
headers: headerParameters,
|
|
93
|
+
query: queryParameters,
|
|
94
|
+
body: MigrationComplexityRequestToJSON(requestParameters['migrationComplexityRequest']),
|
|
95
|
+
};
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
100
|
+
*/
|
|
101
|
+
calculateMigrationComplexityRaw(requestParameters, initOverrides) {
|
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
const requestOptions = yield this.calculateMigrationComplexityRequestOpts(requestParameters);
|
|
104
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
105
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MigrationComplexityResponseFromJSON(jsonValue));
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
110
|
+
*/
|
|
111
|
+
calculateMigrationComplexity(requestParameters, initOverrides) {
|
|
112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
const response = yield this.calculateMigrationComplexityRaw(requestParameters, initOverrides);
|
|
114
|
+
return yield response.value();
|
|
115
|
+
});
|
|
116
|
+
}
|
|
73
117
|
/**
|
|
74
118
|
* Creates request options for calculateMigrationEstimation without sending the request
|
|
75
119
|
*/
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Migration
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: undefined
|
|
@@ -25,14 +25,14 @@ export interface InfoApiInterface {
|
|
|
25
25
|
*/
|
|
26
26
|
getInfoRequestOpts(): Promise<runtime.RequestOpts>;
|
|
27
27
|
/**
|
|
28
|
-
* Get
|
|
28
|
+
* Get OpenShift Migration Advisor information
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
* @memberof InfoApiInterface
|
|
32
32
|
*/
|
|
33
33
|
getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>>;
|
|
34
34
|
/**
|
|
35
|
-
* Get
|
|
35
|
+
* Get OpenShift Migration Advisor information
|
|
36
36
|
*/
|
|
37
37
|
getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
|
|
38
38
|
}
|
|
@@ -45,11 +45,11 @@ export declare class InfoApi extends runtime.BaseAPI implements InfoApiInterface
|
|
|
45
45
|
*/
|
|
46
46
|
getInfoRequestOpts(): Promise<runtime.RequestOpts>;
|
|
47
47
|
/**
|
|
48
|
-
* Get
|
|
48
|
+
* Get OpenShift Migration Advisor information
|
|
49
49
|
*/
|
|
50
50
|
getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>>;
|
|
51
51
|
/**
|
|
52
|
-
* Get
|
|
52
|
+
* Get OpenShift Migration Advisor information
|
|
53
53
|
*/
|
|
54
54
|
getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
|
|
55
55
|
}
|
package/dist/esm/apis/InfoApi.js
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
|
|
@@ -43,7 +43,7 @@ export class InfoApi extends runtime.BaseAPI {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
* Get
|
|
46
|
+
* Get OpenShift Migration Advisor information
|
|
47
47
|
*/
|
|
48
48
|
getInfoRaw(initOverrides) {
|
|
49
49
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -53,7 +53,7 @@ export class InfoApi extends runtime.BaseAPI {
|
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Get
|
|
56
|
+
* Get OpenShift Migration Advisor information
|
|
57
57
|
*/
|
|
58
58
|
getInfo(initOverrides) {
|
|
59
59
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist/esm/apis/JobApi.js
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
|
package/dist/esm/models/Agent.js
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
|