@spinnaker/cloudfoundry 0.0.154 → 0.0.159
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/CHANGELOG.md +46 -0
- package/dist/cf.settings.d.ts +1 -1
- package/dist/deploymentStrategy/CloudFoundryDeploymentStrategySelector.d.ts +2 -2
- package/dist/deploymentStrategy/strategies/redblack/redblack.strategy.d.ts +1 -1
- package/dist/deploymentStrategy/strategies/rollingredblack/AdditionalFields.d.ts +1 -1
- package/dist/domain/ICloudFoundryAccount.d.ts +3 -3
- package/dist/domain/ICloudFoundryApplication.d.ts +1 -1
- package/dist/domain/ICloudFoundryCluster.d.ts +1 -1
- package/dist/domain/ICloudFoundryDroplet.d.ts +1 -1
- package/dist/domain/ICloudFoundryInstance.d.ts +1 -1
- package/dist/domain/ICloudFoundryLoadBalancer.d.ts +3 -3
- package/dist/domain/ICloudFoundryServerGroup.d.ts +4 -4
- package/dist/image/image.reader.cf.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/instance/details/CloudFoundryInstanceActions.d.ts +2 -2
- package/dist/instance/details/CloudFoundryInstanceDetails.d.ts +2 -2
- package/dist/instance/details/sections/CloudFoundryInstanceDetailsSection.d.ts +1 -1
- package/dist/loadBalancer/configure/CloudFoundryMapLoadBalancerModal.d.ts +2 -1
- package/dist/loadBalancer/configure/loadBalancerDetails.d.ts +3 -3
- package/dist/loadBalancer/details/CloudFoundryLoadBalancerActions.d.ts +1 -1
- package/dist/loadBalancer/details/CloudFoundryLoadBalancerDetails.d.ts +2 -2
- package/dist/loadBalancer/details/sections/CloudFoundryLoadBalancerDetailsSection.d.ts +1 -1
- package/dist/loadBalancer/details/sections/CloudFoundryLoadBalancerLinksSection.d.ts +1 -1
- package/dist/loadBalancer/details/sections/CloudFoundryLoadBalancerStatusSection.d.ts +1 -1
- package/dist/loadBalancer/loadBalancer.transformer.d.ts +2 -2
- package/dist/pipeline/config/validation/cfTargetImpedance.validator.d.ts +1 -1
- package/dist/pipeline/config/validation/instanceSize.validator.d.ts +1 -1
- package/dist/pipeline/config/validation/requiredRoutes.validator.d.ts +1 -1
- package/dist/pipeline/stages/bakeCloudFoundryManifest/BakeCloudFoundryManifestConfig.d.ts +3 -2
- package/dist/pipeline/stages/bakeCloudFoundryManifest/BakeCloudFoundryManifestConfigForm.d.ts +1 -1
- package/dist/pipeline/stages/bakeCloudFoundryManifest/BakeCloudFoundryManifestDetailsTab.d.ts +1 -1
- package/dist/pipeline/stages/cloneServerGroup/CloudfoundryCloneServerGroupStageConfig.d.ts +1 -1
- package/dist/pipeline/stages/createServiceBindings/CloudFoundryCreateServiceBindingsConfig.d.ts +3 -2
- package/dist/pipeline/stages/createServiceBindings/CloudFoundryCreateServiceBindingsStageConfigForm.d.ts +1 -1
- package/dist/pipeline/stages/createServiceKey/CloudfoundryCreateServiceKeyStageConfig.d.ts +1 -1
- package/dist/pipeline/stages/deleteServiceBindings/CloudFoundryDeleteServiceBindingsConfig.d.ts +3 -2
- package/dist/pipeline/stages/deleteServiceBindings/CloudFoundryDeleteServiceBindingsStageConfigForm.d.ts +1 -1
- package/dist/pipeline/stages/deleteServiceKey/CloudfoundryDeleteServiceKeyStageConfig.d.ts +1 -1
- package/dist/pipeline/stages/deployService/CloudfoundryDeployServiceStageConfig.d.ts +1 -1
- package/dist/pipeline/stages/deployService/CreateServiceInstanceDirectInput.d.ts +2 -2
- package/dist/pipeline/stages/deployService/CreateUserProvidedInput.d.ts +1 -1
- package/dist/pipeline/stages/deployService/ICloudFoundryServiceManifestSource.d.ts +1 -1
- package/dist/pipeline/stages/destroyService/CloudFoundryDestroyServiceStageConfigForm.d.ts +1 -1
- package/dist/pipeline/stages/destroyService/CloudfoundryDestroyServiceStageConfig.d.ts +3 -2
- package/dist/pipeline/stages/resizeAsg/CloudfoundryResizeAsgStageConfig.d.ts +1 -1
- package/dist/pipeline/stages/rollbackCluster/CloudfoundryRollbackClusterStageConfig.d.ts +1 -1
- package/dist/pipeline/stages/runJob/CloudfoundryRunJobStageConfig.d.ts +1 -1
- package/dist/pipeline/stages/runJob/RunJobExecutionDetails.d.ts +1 -1
- package/dist/pipeline/stages/shareService/CloudfoundryShareServiceExecutionDetails.d.ts +2 -1
- package/dist/pipeline/stages/shareService/CloudfoundryShareServiceStageConfig.d.ts +1 -1
- package/dist/pipeline/stages/unshareService/CloudfoundryUnshareServiceExecutionDetails.d.ts +2 -1
- package/dist/pipeline/stages/unshareService/CloudfoundryUnshareServiceStageConfig.d.ts +1 -1
- package/dist/presentation/pipeline/stages/CloudfoundryAsgStageConfig.d.ts +1 -1
- package/dist/presentation/pipeline/stages/CloudfoundryLoadBalancersExecutionDetails.d.ts +2 -1
- package/dist/presentation/pipeline/stages/CloudfoundryLoadBalancersStageConfig.d.ts +1 -1
- package/dist/presentation/pipeline/stages/CloudfoundryServiceExecutionDetails.d.ts +2 -1
- package/dist/presentation/pipeline/stages/CloudfoundryServiceKeyExecutionDetails.d.ts +2 -1
- package/dist/presentation/widgets/accountRegionClusterSelector/AccountRegionClusterSelector.d.ts +2 -2
- package/dist/presentation/widgets/accountRegionClusterSelector/FormikAccountRegionClusterSelector.d.ts +3 -3
- package/dist/routeDomains/routeDomainSelectField.d.ts +2 -1
- package/dist/serverGroup/configure/serverGroupCommandBuilder.service.cf.d.ts +3 -3
- package/dist/serverGroup/configure/serverGroupCommandBuilderShim.service.cf.d.ts +4 -4
- package/dist/serverGroup/configure/serverGroupConfigurationModel.cf.d.ts +2 -2
- package/dist/serverGroup/configure/wizard/CreateServerGroupModal.d.ts +4 -3
- package/dist/serverGroup/configure/wizard/ServerGroupTemplateSelection.d.ts +2 -2
- package/dist/serverGroup/configure/wizard/sections/artifactSettings/ArtifactSettings.cf.d.ts +3 -3
- package/dist/serverGroup/configure/wizard/sections/artifactSettings/ConstantArtifactSettings.cf.d.ts +2 -2
- package/dist/serverGroup/configure/wizard/sections/basicSettings/BasicSettings.cf.d.ts +3 -3
- package/dist/serverGroup/configure/wizard/sections/cloneSettings/CloneSettings.cf.d.ts +3 -3
- package/dist/serverGroup/configure/wizard/sections/configurationSettings/ConfigurationSettings.cf.d.ts +3 -3
- package/dist/serverGroup/details/cfServerGroupDetailsGetter.d.ts +2 -2
- package/dist/serverGroup/details/cloudFoundryServerGroupActions.d.ts +2 -2
- package/dist/serverGroup/details/mapLoadBalancers/CloudFoundryMapLoadBalancersModal.d.ts +3 -2
- package/dist/serverGroup/details/mapLoadBalancers/CloudFoundryUnmapLoadBalancersModal.d.ts +3 -2
- package/dist/serverGroup/details/resize/CloudFoundryResizeServerGroupModal.d.ts +3 -2
- package/dist/serverGroup/details/rollback/CloudFoundryRollbackServerGroupModal.d.ts +3 -2
- package/dist/serverGroup/details/sections/ApplicationManagerSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/BoundServicesSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/BuildSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/EnvironmentVariablesSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/HealthCheckSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/ICloudFoundryServerGroupDetailsSectionProps.d.ts +2 -2
- package/dist/serverGroup/details/sections/MetricsSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/PackageSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/ServerGroupInformationSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/ServerGroupSizingSection.d.ts +1 -1
- package/dist/serverGroup/serverGroup.transformer.d.ts +1 -1
- package/package.json +6 -6
- package/src/cf.settings.ts +2 -1
- package/src/deploymentStrategy/CloudFoundryDeploymentStrategySelector.tsx +7 -10
- package/src/deploymentStrategy/strategies/redblack/redblack.strategy.ts +1 -1
- package/src/deploymentStrategy/strategies/rollingredblack/AdditionalFields.tsx +2 -1
- package/src/domain/ICloudFoundryAccount.ts +3 -3
- package/src/domain/ICloudFoundryApplication.ts +1 -1
- package/src/domain/ICloudFoundryCluster.ts +1 -1
- package/src/domain/ICloudFoundryDroplet.ts +1 -1
- package/src/domain/ICloudFoundryInstance.ts +1 -1
- package/src/domain/ICloudFoundryLoadBalancer.ts +3 -3
- package/src/domain/ICloudFoundryServerGroup.ts +4 -4
- package/src/image/image.reader.cf.ts +1 -1
- package/src/instance/details/CloudFoundryInstanceActions.tsx +3 -2
- package/src/instance/details/CloudFoundryInstanceDetails.tsx +3 -2
- package/src/instance/details/sections/CloudFoundryInstanceDetailsSection.tsx +1 -1
- package/src/loadBalancer/configure/CloudFoundryMapLoadBalancerModal.tsx +9 -6
- package/src/loadBalancer/configure/loadBalancerDetails.tsx +6 -4
- package/src/loadBalancer/details/CloudFoundryLoadBalancerActions.tsx +2 -8
- package/src/loadBalancer/details/CloudFoundryLoadBalancerDetails.tsx +3 -2
- package/src/loadBalancer/details/sections/CloudFoundryLoadBalancerDetailsSection.tsx +1 -1
- package/src/loadBalancer/details/sections/CloudFoundryLoadBalancerLinksSection.tsx +1 -1
- package/src/loadBalancer/details/sections/CloudFoundryLoadBalancerStatusSection.tsx +1 -1
- package/src/loadBalancer/loadBalancer.transformer.ts +2 -2
- package/src/pipeline/config/validation/cfTargetImpedance.validator.ts +2 -4
- package/src/pipeline/config/validation/instanceSize.validator.ts +2 -8
- package/src/pipeline/config/validation/requiredRoutes.validator.ts +2 -1
- package/src/pipeline/stages/bakeCloudFoundryManifest/BakeCloudFoundryManifestConfig.tsx +3 -9
- package/src/pipeline/stages/bakeCloudFoundryManifest/BakeCloudFoundryManifestConfigForm.tsx +1 -3
- package/src/pipeline/stages/bakeCloudFoundryManifest/BakeCloudFoundryManifestDetailsTab.tsx +1 -2
- package/src/pipeline/stages/bakeCloudFoundryManifest/bakeCloudFoundryManifestStage.ts +1 -2
- package/src/pipeline/stages/cloneServerGroup/CloudfoundryCloneServerGroupStageConfig.tsx +2 -1
- package/src/pipeline/stages/cloneServerGroup/cloudfoundryCloneServerGroupStage.module.ts +2 -1
- package/src/pipeline/stages/createServiceBindings/CloudFoundryCreateServiceBindingsConfig.tsx +3 -2
- package/src/pipeline/stages/createServiceBindings/CloudFoundryCreateServiceBindingsStageConfigForm.tsx +1 -5
- package/src/pipeline/stages/createServiceKey/CloudfoundryCreateServiceKeyStageConfig.tsx +3 -10
- package/src/pipeline/stages/createServiceKey/cloudfoundryCreateServiceKeyStage.module.ts +2 -1
- package/src/pipeline/stages/deleteServiceBindings/CloudFoundryDeleteServiceBindingsConfig.tsx +3 -2
- package/src/pipeline/stages/deleteServiceBindings/CloudFoundryDeleteServiceBindingsStageConfigForm.tsx +2 -11
- package/src/pipeline/stages/deleteServiceKey/CloudfoundryDeleteServiceKeyStageConfig.tsx +3 -10
- package/src/pipeline/stages/deleteServiceKey/cloudfoundryDeleteServiceKeyStage.module.ts +2 -1
- package/src/pipeline/stages/deployService/CloudfoundryDeployServiceStageConfig.tsx +3 -7
- package/src/pipeline/stages/deployService/CreateServiceInstanceDirectInput.tsx +5 -12
- package/src/pipeline/stages/deployService/CreateUserProvidedInput.tsx +1 -1
- package/src/pipeline/stages/deployService/ICloudFoundryServiceManifestSource.ts +1 -1
- package/src/pipeline/stages/deployService/cloudfoundryDeployServiceStage.module.ts +3 -11
- package/src/pipeline/stages/destroyAsg/cloudfoundryDestroyAsgStage.module.ts +2 -1
- package/src/pipeline/stages/destroyService/CloudFoundryDestroyServiceStageConfigForm.tsx +4 -9
- package/src/pipeline/stages/destroyService/CloudfoundryDestroyServiceStageConfig.tsx +3 -2
- package/src/pipeline/stages/destroyService/cloudfoundryDestroyServiceStage.module.ts +2 -1
- package/src/pipeline/stages/disableAsg/cloudfoundryDisableAsgStage.module.ts +2 -1
- package/src/pipeline/stages/enableAsg/cloudfoundryEnableAsgStage.module.ts +2 -1
- package/src/pipeline/stages/mapLoadBalancers/cloudfoundryMapLoadBalancersStage.module.ts +2 -1
- package/src/pipeline/stages/resizeAsg/CloudfoundryResizeAsgStageConfig.tsx +2 -8
- package/src/pipeline/stages/resizeAsg/cloudfoundryResizeAsgStage.module.ts +3 -2
- package/src/pipeline/stages/rollbackCluster/CloudfoundryRollbackClusterStageConfig.tsx +2 -1
- package/src/pipeline/stages/rollbackCluster/cloudfoundryRollbackClusterStage.module.ts +2 -1
- package/src/pipeline/stages/runJob/CloudfoundryRunJobStageConfig.tsx +2 -10
- package/src/pipeline/stages/runJob/RunJobExecutionDetails.tsx +2 -1
- package/src/pipeline/stages/runJob/cloudfoundryRunJob.module.ts +2 -1
- package/src/pipeline/stages/shareService/CloudfoundryShareServiceExecutionDetails.tsx +2 -7
- package/src/pipeline/stages/shareService/CloudfoundryShareServiceStageConfig.tsx +4 -10
- package/src/pipeline/stages/shareService/cloudfoundryShareServiceStage.module.ts +2 -1
- package/src/pipeline/stages/unmapLoadBalancers/cloudfoundryUnmapLoadBalancersStage.module.ts +2 -1
- package/src/pipeline/stages/unshareService/CloudfoundryUnshareServiceExecutionDetails.tsx +2 -7
- package/src/pipeline/stages/unshareService/CloudfoundryUnshareServiceStageConfig.tsx +4 -10
- package/src/pipeline/stages/unshareService/cloudfoundryUnshareServiceStage.module.ts +2 -1
- package/src/presentation/forms/serverGroup/Buildpacks.tsx +1 -1
- package/src/presentation/forms/serverGroup/EnvironmentVariables.tsx +2 -2
- package/src/presentation/forms/serverGroup/Routes.tsx +1 -1
- package/src/presentation/forms/serverGroup/Services.tsx +1 -1
- package/src/presentation/pipeline/stages/CloudfoundryAsgStageConfig.tsx +2 -8
- package/src/presentation/pipeline/stages/CloudfoundryLoadBalancersExecutionDetails.tsx +2 -7
- package/src/presentation/pipeline/stages/CloudfoundryLoadBalancersStageConfig.tsx +3 -12
- package/src/presentation/pipeline/stages/CloudfoundryServiceExecutionDetails.tsx +2 -7
- package/src/presentation/pipeline/stages/CloudfoundryServiceKeyExecutionDetails.tsx +2 -7
- package/src/presentation/widgets/accountRegionClusterSelector/AccountRegionClusterSelector.tsx +4 -10
- package/src/presentation/widgets/accountRegionClusterSelector/FormikAccountRegionClusterSelector.tsx +4 -11
- package/src/presentation/widgets/recentLogs/CloudFoundryRecentLogs.tsx +2 -1
- package/src/routeDomains/routeDomainSelectField.tsx +1 -1
- package/src/serverGroup/configure/serverGroupCommandBuilder.service.cf.ts +3 -3
- package/src/serverGroup/configure/serverGroupCommandBuilderShim.service.cf.ts +4 -4
- package/src/serverGroup/configure/serverGroupConfigurationModel.cf.ts +2 -2
- package/src/serverGroup/configure/wizard/CreateServerGroupModal.tsx +4 -14
- package/src/serverGroup/configure/wizard/ServerGroupTemplateSelection.tsx +3 -2
- package/src/serverGroup/configure/wizard/sections/artifactSettings/ArtifactSettings.cf.tsx +4 -11
- package/src/serverGroup/configure/wizard/sections/artifactSettings/ConstantArtifactSettings.cf.tsx +5 -2
- package/src/serverGroup/configure/wizard/sections/basicSettings/BasicSettings.cf.tsx +3 -5
- package/src/serverGroup/configure/wizard/sections/cloneSettings/CloneSettings.cf.tsx +4 -13
- package/src/serverGroup/configure/wizard/sections/configurationSettings/ConfigurationSettings.cf.tsx +5 -13
- package/src/serverGroup/details/cfServerGroupDetailsGetter.ts +3 -2
- package/src/serverGroup/details/cloudFoundryServerGroupActions.tsx +2 -4
- package/src/serverGroup/details/mapLoadBalancers/CloudFoundryMapLoadBalancersModal.tsx +4 -6
- package/src/serverGroup/details/mapLoadBalancers/CloudFoundryUnmapLoadBalancersModal.tsx +4 -6
- package/src/serverGroup/details/resize/CloudFoundryResizeServerGroupModal.tsx +4 -6
- package/src/serverGroup/details/rollback/CloudFoundryRollbackServerGroupModal.tsx +4 -5
- package/src/serverGroup/details/sections/ApplicationManagerSection.tsx +1 -1
- package/src/serverGroup/details/sections/BoundServicesSection.tsx +2 -2
- package/src/serverGroup/details/sections/BuildSection.tsx +1 -1
- package/src/serverGroup/details/sections/EnvironmentVariablesSection.tsx +1 -1
- package/src/serverGroup/details/sections/HealthCheckSection.tsx +1 -1
- package/src/serverGroup/details/sections/ICloudFoundryServerGroupDetailsSectionProps.ts +2 -2
- package/src/serverGroup/details/sections/MetricsSection.tsx +1 -1
- package/src/serverGroup/details/sections/PackageSection.tsx +1 -1
- package/src/serverGroup/details/sections/ServerGroupInformationSection.tsx +2 -2
- package/src/serverGroup/details/sections/ServerGroupSizingSection.tsx +1 -1
- package/src/serverGroup/serverGroup.transformer.ts +1 -1
package/src/pipeline/stages/deleteServiceBindings/CloudFoundryDeleteServiceBindingsConfig.tsx
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FormikErrors } from 'formik';
|
|
1
|
+
import type { FormikErrors } from 'formik';
|
|
2
2
|
import { cloneDeep } from 'lodash';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import type { IStage, IStageConfigProps } from '@spinnaker/core';
|
|
6
|
+
import { FormikStageConfig, FormValidator } from '@spinnaker/core';
|
|
6
7
|
|
|
7
8
|
import { CloudFoundryDeleteServiceBindingsStageConfigForm } from './CloudFoundryDeleteServiceBindingsStageConfigForm';
|
|
8
9
|
|
|
@@ -2,17 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
3
3
|
import { takeUntil } from 'rxjs/operators';
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
Application,
|
|
8
|
-
IAccount,
|
|
9
|
-
IFormikStageConfigInjectedProps,
|
|
10
|
-
IRegion,
|
|
11
|
-
NgReact,
|
|
12
|
-
StageConfigField,
|
|
13
|
-
StageConstants,
|
|
14
|
-
TextInput,
|
|
15
|
-
} from '@spinnaker/core';
|
|
5
|
+
import type { Application, IAccount, IFormikStageConfigInjectedProps, IRegion } from '@spinnaker/core';
|
|
6
|
+
import { AccountService, NgReact, StageConfigField, StageConstants, TextInput } from '@spinnaker/core';
|
|
16
7
|
|
|
17
8
|
import { AccountRegionClusterSelector } from '../../../presentation/widgets/accountRegionClusterSelector';
|
|
18
9
|
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Option } from 'react-select';
|
|
2
|
+
import type { Option } from 'react-select';
|
|
3
3
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
4
4
|
import { takeUntil } from 'rxjs/operators';
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
IAccount,
|
|
9
|
-
IRegion,
|
|
10
|
-
IStageConfigProps,
|
|
11
|
-
ReactSelectInput,
|
|
12
|
-
StageConfigField,
|
|
13
|
-
TextInput,
|
|
14
|
-
} from '@spinnaker/core';
|
|
6
|
+
import type { IAccount, IRegion, IStageConfigProps } from '@spinnaker/core';
|
|
7
|
+
import { AccountService, ReactSelectInput, StageConfigField, TextInput } from '@spinnaker/core';
|
|
15
8
|
|
|
16
9
|
interface ICloudfoundryDeleteServiceKeyStageConfigState {
|
|
17
10
|
accounts: string[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IStage } from '@spinnaker/core';
|
|
2
|
+
import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
|
|
2
3
|
|
|
3
4
|
import { CloudfoundryDeleteServiceKeyStageConfig } from './CloudfoundryDeleteServiceKeyStageConfig';
|
|
4
5
|
import { CloudfoundryServiceKeyExecutionDetails } from '../../../presentation';
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Option } from 'react-select';
|
|
2
|
+
import type { Option } from 'react-select';
|
|
3
3
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
4
4
|
import { takeUntil } from 'rxjs/operators';
|
|
5
5
|
|
|
6
|
+
import type { IAccount, IArtifact, IExpectedArtifact, IRegion, IStageConfigProps } from '@spinnaker/core';
|
|
6
7
|
import {
|
|
7
8
|
AccountService,
|
|
8
9
|
ArtifactTypePatterns,
|
|
9
|
-
IAccount,
|
|
10
|
-
IArtifact,
|
|
11
|
-
IExpectedArtifact,
|
|
12
|
-
IRegion,
|
|
13
|
-
IStageConfigProps,
|
|
14
10
|
ReactSelectInput,
|
|
15
11
|
StageArtifactSelector,
|
|
16
12
|
StageConfigField,
|
|
@@ -18,7 +14,7 @@ import {
|
|
|
18
14
|
|
|
19
15
|
import { CreateServiceInstanceDirectInput } from './CreateServiceInstanceDirectInput';
|
|
20
16
|
import { CreateUserProvidedInput } from './CreateUserProvidedInput';
|
|
21
|
-
import { ICloudFoundryServiceManifestSource } from './ICloudFoundryServiceManifestSource';
|
|
17
|
+
import type { ICloudFoundryServiceManifestSource } from './ICloudFoundryServiceManifestSource';
|
|
22
18
|
|
|
23
19
|
import './cloudfoundryDeployServiceStage.less';
|
|
24
20
|
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Option } from 'react-select';
|
|
2
|
+
import type { Option } from 'react-select';
|
|
3
3
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
4
4
|
import { takeUntil } from 'rxjs/operators';
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
ServicesReader,
|
|
11
|
-
StageConfigField,
|
|
12
|
-
TextAreaInput,
|
|
13
|
-
TextInput,
|
|
14
|
-
} from '@spinnaker/core';
|
|
15
|
-
|
|
16
|
-
import { ICloudfoundryServiceManifestDirectSource } from './ICloudFoundryServiceManifestSource';
|
|
6
|
+
import type { IService, IServicePlan } from '@spinnaker/core';
|
|
7
|
+
import { ReactSelectInput, ServicesReader, StageConfigField, TextAreaInput, TextInput } from '@spinnaker/core';
|
|
8
|
+
|
|
9
|
+
import type { ICloudfoundryServiceManifestDirectSource } from './ICloudFoundryServiceManifestSource';
|
|
17
10
|
import { ServiceTagsInput } from './ServiceTagsInput';
|
|
18
11
|
|
|
19
12
|
interface ICreateServiceInstanceDirectInputProps {
|
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
import { safeLoad } from 'js-yaml';
|
|
2
2
|
import { get, upperFirst } from 'lodash';
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
IPipeline,
|
|
7
|
-
IStage,
|
|
8
|
-
IStageOrTriggerValidator,
|
|
9
|
-
ITrigger,
|
|
10
|
-
IValidatorConfig,
|
|
11
|
-
PipelineConfigValidator,
|
|
12
|
-
Registry,
|
|
13
|
-
} from '@spinnaker/core';
|
|
4
|
+
import type { IPipeline, IStage, IStageOrTriggerValidator, ITrigger, IValidatorConfig } from '@spinnaker/core';
|
|
5
|
+
import { ExecutionDetailsTasks, PipelineConfigValidator, Registry } from '@spinnaker/core';
|
|
14
6
|
|
|
15
7
|
import { CloudfoundryDeployServiceStageConfig } from './CloudfoundryDeployServiceStageConfig';
|
|
16
|
-
import { ICloudFoundryServiceManifestSource } from './ICloudFoundryServiceManifestSource';
|
|
8
|
+
import type { ICloudFoundryServiceManifestSource } from './ICloudFoundryServiceManifestSource';
|
|
17
9
|
import { CloudfoundryServiceExecutionDetails } from '../../../presentation';
|
|
18
10
|
|
|
19
11
|
interface IServiceFieldValidatorConfig extends IValidatorConfig {
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import type { Option } from 'react-select';
|
|
3
|
+
import Select from 'react-select';
|
|
3
4
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
4
5
|
import { takeUntil } from 'rxjs/operators';
|
|
5
6
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
Application,
|
|
9
|
-
IAccount,
|
|
10
|
-
IFormikStageConfigInjectedProps,
|
|
11
|
-
IRegion,
|
|
12
|
-
StageConfigField,
|
|
13
|
-
} from '@spinnaker/core';
|
|
7
|
+
import type { Application, IAccount, IFormikStageConfigInjectedProps, IRegion } from '@spinnaker/core';
|
|
8
|
+
import { AccountService, StageConfigField } from '@spinnaker/core';
|
|
14
9
|
|
|
15
10
|
export interface ICloudfoundryDestroyServiceStageConfigState {
|
|
16
11
|
accounts: IAccount[];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FormikErrors } from 'formik';
|
|
1
|
+
import type { FormikErrors } from 'formik';
|
|
2
2
|
import { cloneDeep } from 'lodash';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import type { IStage, IStageConfigProps } from '@spinnaker/core';
|
|
6
|
+
import { FormikStageConfig, FormValidator } from '@spinnaker/core';
|
|
6
7
|
|
|
7
8
|
import { CloudFoundryDestroyServiceStageConfigForm } from './CloudFoundryDestroyServiceStageConfigForm';
|
|
8
9
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IStage } from '@spinnaker/core';
|
|
2
|
+
import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
|
|
2
3
|
import { CloudfoundryLoadBalancersExecutionDetails, CloudfoundryLoadBalancersStageConfig } from '../../../presentation';
|
|
3
4
|
|
|
4
5
|
Registry.pipeline.registerStage({
|
|
@@ -2,14 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
3
3
|
import { takeUntil } from 'rxjs/operators';
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
IAccount,
|
|
8
|
-
IStageConfigProps,
|
|
9
|
-
NgReact,
|
|
10
|
-
StageConfigField,
|
|
11
|
-
StageConstants,
|
|
12
|
-
} from '@spinnaker/core';
|
|
5
|
+
import type { IAccount, IStageConfigProps } from '@spinnaker/core';
|
|
6
|
+
import { AccountService, NgReact, StageConfigField, StageConstants } from '@spinnaker/core';
|
|
13
7
|
import { AccountRegionClusterSelector } from '../../../presentation';
|
|
14
8
|
|
|
15
9
|
export interface ICloudfoundryResizeAsgStageConfigState {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { IStage
|
|
1
|
+
import type { IStage } from '@spinnaker/core';
|
|
2
|
+
import { Registry } from '@spinnaker/core';
|
|
2
3
|
|
|
3
4
|
import { CloudfoundryResizeAsgStageConfig } from './CloudfoundryResizeAsgStageConfig';
|
|
4
|
-
import { IInstanceFieldSizeValidationConfig } from '../../config/validation/instanceSize.validator';
|
|
5
|
+
import type { IInstanceFieldSizeValidationConfig } from '../../config/validation/instanceSize.validator';
|
|
5
6
|
|
|
6
7
|
const diskValidator: IInstanceFieldSizeValidationConfig = {
|
|
7
8
|
type: 'cfInstanceSizeField',
|
|
@@ -2,7 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
3
3
|
import { takeUntil } from 'rxjs/operators';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import type { IAccount, IPipeline, IStageConfigProps } from '@spinnaker/core';
|
|
6
|
+
import { AccountService, StageConfigField } from '@spinnaker/core';
|
|
6
7
|
import { AccountRegionClusterSelector } from '../../../presentation';
|
|
7
8
|
|
|
8
9
|
export interface ICloudfoundryRollbackClusterStageProps extends IStageConfigProps {
|
|
@@ -2,16 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
3
3
|
import { takeUntil } from 'rxjs/operators';
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
IAccount,
|
|
8
|
-
IStageConfigProps,
|
|
9
|
-
NgReact,
|
|
10
|
-
SpelText,
|
|
11
|
-
StageConfigField,
|
|
12
|
-
StageConstants,
|
|
13
|
-
TextInput,
|
|
14
|
-
} from '@spinnaker/core';
|
|
5
|
+
import type { IAccount, IStageConfigProps } from '@spinnaker/core';
|
|
6
|
+
import { AccountService, NgReact, SpelText, StageConfigField, StageConstants, TextInput } from '@spinnaker/core';
|
|
15
7
|
import { AccountRegionClusterSelector } from '../../../presentation';
|
|
16
8
|
|
|
17
9
|
export interface ICloudfoundryRunTaskStageConfigState {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { get } from 'lodash';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
|
|
5
|
+
import { AccountTag, ExecutionDetailsSection } from '@spinnaker/core';
|
|
5
6
|
import {
|
|
6
7
|
CloudFoundryRecentLogs,
|
|
7
8
|
CloudFoundryRecentLogsType,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IStage } from '@spinnaker/core';
|
|
2
|
+
import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
|
|
2
3
|
|
|
3
4
|
import { CloudfoundryRunJobStageConfig } from './CloudfoundryRunJobStageConfig';
|
|
4
5
|
import { RunJobExecutionDetails } from './RunJobExecutionDetails';
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { get } from 'lodash';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
ExecutionDetailsSection,
|
|
7
|
-
IExecutionDetailsSectionProps,
|
|
8
|
-
StageExecutionLogs,
|
|
9
|
-
StageFailureMessage,
|
|
10
|
-
} from '@spinnaker/core';
|
|
4
|
+
import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
|
|
5
|
+
import { AccountTag, ExecutionDetailsSection, StageExecutionLogs, StageFailureMessage } from '@spinnaker/core';
|
|
11
6
|
|
|
12
7
|
export function CloudfoundryShareServiceExecutionDetails(props: IExecutionDetailsSectionProps) {
|
|
13
8
|
const { stage } = props;
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import type { Option } from 'react-select';
|
|
3
|
+
import Select from 'react-select';
|
|
3
4
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
4
5
|
import { takeUntil } from 'rxjs/operators';
|
|
5
6
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
IAccount,
|
|
9
|
-
IRegion,
|
|
10
|
-
IStageConfigProps,
|
|
11
|
-
ReactSelectInput,
|
|
12
|
-
StageConfigField,
|
|
13
|
-
TextInput,
|
|
14
|
-
} from '@spinnaker/core';
|
|
7
|
+
import type { IAccount, IRegion, IStageConfigProps } from '@spinnaker/core';
|
|
8
|
+
import { AccountService, ReactSelectInput, StageConfigField, TextInput } from '@spinnaker/core';
|
|
15
9
|
|
|
16
10
|
interface ICloudfoundryShareServiceStageConfigState {
|
|
17
11
|
accounts: IAccount[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IStage } from '@spinnaker/core';
|
|
2
|
+
import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
|
|
2
3
|
|
|
3
4
|
import { CloudfoundryShareServiceExecutionDetails } from './CloudfoundryShareServiceExecutionDetails';
|
|
4
5
|
import { CloudfoundryShareServiceStageConfig } from './CloudfoundryShareServiceStageConfig';
|
package/src/pipeline/stages/unmapLoadBalancers/cloudfoundryUnmapLoadBalancersStage.module.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IStage } from '@spinnaker/core';
|
|
2
|
+
import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
|
|
2
3
|
import { CloudfoundryLoadBalancersExecutionDetails, CloudfoundryLoadBalancersStageConfig } from '../../../presentation';
|
|
3
4
|
|
|
4
5
|
Registry.pipeline.registerStage({
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { get } from 'lodash';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
ExecutionDetailsSection,
|
|
7
|
-
IExecutionDetailsSectionProps,
|
|
8
|
-
StageExecutionLogs,
|
|
9
|
-
StageFailureMessage,
|
|
10
|
-
} from '@spinnaker/core';
|
|
4
|
+
import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
|
|
5
|
+
import { AccountTag, ExecutionDetailsSection, StageExecutionLogs, StageFailureMessage } from '@spinnaker/core';
|
|
11
6
|
|
|
12
7
|
export function CloudfoundryUnshareServiceExecutionDetails(props: IExecutionDetailsSectionProps) {
|
|
13
8
|
const { stage } = props;
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import type { Option } from 'react-select';
|
|
3
|
+
import Select from 'react-select';
|
|
3
4
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
4
5
|
import { takeUntil } from 'rxjs/operators';
|
|
5
6
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
IAccount,
|
|
9
|
-
IRegion,
|
|
10
|
-
IStageConfigProps,
|
|
11
|
-
ReactSelectInput,
|
|
12
|
-
StageConfigField,
|
|
13
|
-
TextInput,
|
|
14
|
-
} from '@spinnaker/core';
|
|
7
|
+
import type { IAccount, IRegion, IStageConfigProps } from '@spinnaker/core';
|
|
8
|
+
import { AccountService, ReactSelectInput, StageConfigField, TextInput } from '@spinnaker/core';
|
|
15
9
|
|
|
16
10
|
interface ICloudfoundryShareServiceStageConfigState {
|
|
17
11
|
accounts: IAccount[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IStage } from '@spinnaker/core';
|
|
2
|
+
import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
|
|
2
3
|
|
|
3
4
|
import { CloudfoundryUnshareServiceExecutionDetails } from './CloudfoundryUnshareServiceExecutionDetails';
|
|
4
5
|
import { CloudfoundryUnshareServiceStageConfig } from './CloudfoundryUnshareServiceStageConfig';
|
|
@@ -2,7 +2,7 @@ import { FieldArray, getIn } from 'formik';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { FormikFormField, TextInput } from '@spinnaker/core';
|
|
5
|
-
import { ICloudFoundryCreateServerGroupCommand } from '../../../serverGroup/configure/serverGroupConfigurationModel.cf';
|
|
5
|
+
import type { ICloudFoundryCreateServerGroupCommand } from '../../../serverGroup/configure/serverGroupConfigurationModel.cf';
|
|
6
6
|
|
|
7
7
|
export interface IBuildpacksProps {
|
|
8
8
|
fieldName: string;
|
|
@@ -2,8 +2,8 @@ import { FieldArray, getIn } from 'formik';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { FormikFormField, TextInput } from '@spinnaker/core';
|
|
5
|
-
import { ICloudFoundryEnvVar } from '../../../domain';
|
|
6
|
-
import { ICloudFoundryCreateServerGroupCommand } from '../../../serverGroup/configure/serverGroupConfigurationModel.cf';
|
|
5
|
+
import type { ICloudFoundryEnvVar } from '../../../domain';
|
|
6
|
+
import type { ICloudFoundryCreateServerGroupCommand } from '../../../serverGroup/configure/serverGroupConfigurationModel.cf';
|
|
7
7
|
|
|
8
8
|
export interface IEnvironmentVariablesProps {
|
|
9
9
|
fieldName: string;
|
|
@@ -2,7 +2,7 @@ import { FieldArray, getIn } from 'formik';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { FormikFormField, HelpField, TextInput } from '@spinnaker/core';
|
|
5
|
-
import { ICloudFoundryCreateServerGroupCommand } from '../../../serverGroup/configure/serverGroupConfigurationModel.cf';
|
|
5
|
+
import type { ICloudFoundryCreateServerGroupCommand } from '../../../serverGroup/configure/serverGroupConfigurationModel.cf';
|
|
6
6
|
|
|
7
7
|
export interface IRoutesProps {
|
|
8
8
|
fieldName: string;
|
|
@@ -2,7 +2,7 @@ import { FieldArray, getIn } from 'formik';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { FormikFormField, TextInput } from '@spinnaker/core';
|
|
5
|
-
import { ICloudFoundryCreateServerGroupCommand } from '../../../serverGroup/configure/serverGroupConfigurationModel.cf';
|
|
5
|
+
import type { ICloudFoundryCreateServerGroupCommand } from '../../../serverGroup/configure/serverGroupConfigurationModel.cf';
|
|
6
6
|
|
|
7
7
|
export interface IServicesProps {
|
|
8
8
|
fieldName: string;
|
|
@@ -2,14 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
3
3
|
import { takeUntil } from 'rxjs/operators';
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
IAccount,
|
|
8
|
-
IStageConfigProps,
|
|
9
|
-
NgReact,
|
|
10
|
-
StageConfigField,
|
|
11
|
-
StageConstants,
|
|
12
|
-
} from '@spinnaker/core';
|
|
5
|
+
import type { IAccount, IStageConfigProps } from '@spinnaker/core';
|
|
6
|
+
import { AccountService, NgReact, StageConfigField, StageConstants } from '@spinnaker/core';
|
|
13
7
|
|
|
14
8
|
import { AccountRegionClusterSelector } from '../../widgets/accountRegionClusterSelector';
|
|
15
9
|
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { get } from 'lodash';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
ExecutionDetailsSection,
|
|
7
|
-
IExecutionDetailsSectionProps,
|
|
8
|
-
StageExecutionLogs,
|
|
9
|
-
StageFailureMessage,
|
|
10
|
-
} from '@spinnaker/core';
|
|
4
|
+
import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
|
|
5
|
+
import { AccountTag, ExecutionDetailsSection, StageExecutionLogs, StageFailureMessage } from '@spinnaker/core';
|
|
11
6
|
|
|
12
7
|
export function CloudfoundryLoadBalancersExecutionDetails(props: IExecutionDetailsSectionProps) {
|
|
13
8
|
const { stage } = props;
|
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
import { Formik } from 'formik';
|
|
1
|
+
import type { Formik } from 'formik';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
4
4
|
import { takeUntil } from 'rxjs/operators';
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
Application,
|
|
9
|
-
IAccount,
|
|
10
|
-
IPipeline,
|
|
11
|
-
IStageConfigProps,
|
|
12
|
-
NgReact,
|
|
13
|
-
SpinFormik,
|
|
14
|
-
StageConfigField,
|
|
15
|
-
StageConstants,
|
|
16
|
-
} from '@spinnaker/core';
|
|
6
|
+
import type { Application, IAccount, IPipeline, IStageConfigProps } from '@spinnaker/core';
|
|
7
|
+
import { AccountService, NgReact, SpinFormik, StageConfigField, StageConstants } from '@spinnaker/core';
|
|
17
8
|
|
|
18
9
|
import { Routes } from '../../forms/serverGroup';
|
|
19
10
|
import { AccountRegionClusterSelector } from '../../widgets/accountRegionClusterSelector';
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { get } from 'lodash';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
ExecutionDetailsSection,
|
|
7
|
-
IExecutionDetailsSectionProps,
|
|
8
|
-
StageExecutionLogs,
|
|
9
|
-
StageFailureMessage,
|
|
10
|
-
} from '@spinnaker/core';
|
|
4
|
+
import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
|
|
5
|
+
import { AccountTag, ExecutionDetailsSection, StageExecutionLogs, StageFailureMessage } from '@spinnaker/core';
|
|
11
6
|
|
|
12
7
|
export function CloudfoundryServiceExecutionDetails(props: IExecutionDetailsSectionProps) {
|
|
13
8
|
const { stage } = props;
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { get } from 'lodash';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
ExecutionDetailsSection,
|
|
7
|
-
IExecutionDetailsSectionProps,
|
|
8
|
-
StageExecutionLogs,
|
|
9
|
-
StageFailureMessage,
|
|
10
|
-
} from '@spinnaker/core';
|
|
4
|
+
import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
|
|
5
|
+
import { AccountTag, ExecutionDetailsSection, StageExecutionLogs, StageFailureMessage } from '@spinnaker/core';
|
|
11
6
|
|
|
12
7
|
export function CloudfoundryServiceKeyExecutionDetails(props: IExecutionDetailsSectionProps) {
|
|
13
8
|
const { stage } = props;
|
package/src/presentation/widgets/accountRegionClusterSelector/AccountRegionClusterSelector.tsx
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import { first, isNil, uniq } from 'lodash';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import type { Option } from 'react-select';
|
|
4
|
+
import Select, { Creatable } from 'react-select';
|
|
4
5
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
5
6
|
import { takeUntil } from 'rxjs/operators';
|
|
6
7
|
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
AppListExtractor,
|
|
10
|
-
IAccount,
|
|
11
|
-
IMoniker,
|
|
12
|
-
IServerGroup,
|
|
13
|
-
IServerGroupFilter,
|
|
14
|
-
StageConfigField,
|
|
15
|
-
} from '@spinnaker/core';
|
|
8
|
+
import type { Application, IAccount, IMoniker, IServerGroup, IServerGroupFilter } from '@spinnaker/core';
|
|
9
|
+
import { AppListExtractor, StageConfigField } from '@spinnaker/core';
|
|
16
10
|
|
|
17
11
|
export interface IAccountRegionClusterSelectorProps {
|
|
18
12
|
accounts: IAccount[];
|
package/src/presentation/widgets/accountRegionClusterSelector/FormikAccountRegionClusterSelector.tsx
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
import { FormikProps } from 'formik';
|
|
1
|
+
import type { FormikProps } from 'formik';
|
|
2
2
|
import { get } from 'lodash';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { from as observableFrom, Subject } from 'rxjs';
|
|
5
5
|
import { takeUntil } from 'rxjs/operators';
|
|
6
6
|
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
FormikFormField,
|
|
11
|
-
IAccount,
|
|
12
|
-
IServerGroup,
|
|
13
|
-
IServerGroupFilter,
|
|
14
|
-
ReactSelectInput,
|
|
15
|
-
} from '@spinnaker/core';
|
|
16
|
-
import { ICloudFoundryCreateServerGroupCommand } from '../../../serverGroup';
|
|
7
|
+
import type { Application, IAccount, IServerGroup, IServerGroupFilter } from '@spinnaker/core';
|
|
8
|
+
import { AppListExtractor, FormikFormField, ReactSelectInput } from '@spinnaker/core';
|
|
9
|
+
import type { ICloudFoundryCreateServerGroupCommand } from '../../../serverGroup';
|
|
17
10
|
|
|
18
11
|
export interface IFormikAccountRegionClusterSelectorProps {
|
|
19
12
|
accounts: IAccount[];
|
|
@@ -2,7 +2,8 @@ import { bindAll } from 'lodash';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Button, Modal } from 'react-bootstrap';
|
|
4
4
|
|
|
5
|
-
import { IInstanceConsoleOutput
|
|
5
|
+
import type { IInstanceConsoleOutput } from '@spinnaker/core';
|
|
6
|
+
import { InstanceReader } from '@spinnaker/core';
|
|
6
7
|
|
|
7
8
|
export enum CloudFoundryRecentLogsType {
|
|
8
9
|
APP = 'app',
|