@spinnaker/cloudfoundry 0.0.162 → 0.0.166

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.
Files changed (83) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cf.module.d.ts +15 -15
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/pipeline/stages/cloneServerGroup/{CloudfoundryCloneServerGroupStageConfig.d.ts → CloudFoundryCloneServerGroupStageConfig.d.ts} +2 -2
  6. package/dist/pipeline/stages/cloneServerGroup/{cloudfoundryCloneServerGroupStage.module.d.ts → cloudFoundryCloneServerGroupStage.module.d.ts} +0 -0
  7. package/dist/pipeline/stages/createServiceBindings/CloudFoundryCreateServiceBindingsStageConfigForm.d.ts +2 -2
  8. package/dist/pipeline/stages/{deleteServiceKey/CloudfoundryDeleteServiceKeyStageConfig.d.ts → createServiceKey/CloudFoundryCreateServiceKeyStageConfig.d.ts} +2 -2
  9. package/dist/pipeline/stages/createServiceKey/{cloudfoundryCreateServiceKeyStage.module.d.ts → cloudFoundryCreateServiceKeyStage.module.d.ts} +0 -0
  10. package/dist/pipeline/stages/deleteServiceBindings/CloudFoundryDeleteServiceBindingsStageConfigForm.d.ts +2 -2
  11. package/dist/pipeline/stages/{createServiceKey/CloudfoundryCreateServiceKeyStageConfig.d.ts → deleteServiceKey/CloudFoundryDeleteServiceKeyStageConfig.d.ts} +2 -2
  12. package/dist/pipeline/stages/deleteServiceKey/{cloudfoundryDeleteServiceKeyStage.module.d.ts → cloudFoundryDeleteServiceKeyStage.module.d.ts} +0 -0
  13. package/dist/pipeline/stages/deployService/{CloudfoundryDeployServiceStageConfig.d.ts → CloudFoundryDeployServiceStageConfig.d.ts} +2 -2
  14. package/dist/pipeline/stages/deployService/CreateServiceInstanceDirectInput.d.ts +3 -3
  15. package/dist/pipeline/stages/deployService/ICloudFoundryServiceManifestSource.d.ts +2 -2
  16. package/dist/pipeline/stages/deployService/{cloudfoundryDeployServiceStage.module.d.ts → cloudFoundryDeployServiceStage.module.d.ts} +0 -0
  17. package/dist/pipeline/stages/destroyAsg/{cloudfoundryDestroyAsgStage.module.d.ts → cloudFoundryDestroyAsgStage.module.d.ts} +0 -0
  18. package/dist/pipeline/stages/destroyService/{CloudfoundryDestroyServiceStageConfig.d.ts → CloudFoundryDestroyServiceStageConfig.d.ts} +0 -0
  19. package/dist/pipeline/stages/destroyService/CloudFoundryDestroyServiceStageConfigForm.d.ts +2 -2
  20. package/dist/pipeline/stages/destroyService/{cloudfoundryDestroyServiceStage.module.d.ts → cloudFoundryDestroyServiceStage.module.d.ts} +0 -0
  21. package/dist/pipeline/stages/disableAsg/{cloudfoundryDisableAsgStage.module.d.ts → cloudFoundryDisableAsgStage.module.d.ts} +0 -0
  22. package/dist/pipeline/stages/enableAsg/{cloudfoundryEnableAsgStage.module.d.ts → cloudFoundryEnableAsgStage.module.d.ts} +0 -0
  23. package/dist/pipeline/stages/mapLoadBalancers/{cloudfoundryMapLoadBalancersStage.module.d.ts → cloudFoundryMapLoadBalancersStage.module.d.ts} +0 -0
  24. package/dist/pipeline/stages/resizeAsg/{CloudfoundryResizeAsgStageConfig.d.ts → CloudFoundryResizeAsgStageConfig.d.ts} +2 -2
  25. package/dist/pipeline/stages/resizeAsg/{cloudfoundryResizeAsgStage.module.d.ts → cloudFoundryResizeAsgStage.module.d.ts} +0 -0
  26. package/dist/pipeline/stages/rollbackCluster/{CloudfoundryRollbackClusterStageConfig.d.ts → CloudFoundryRollbackClusterStageConfig.d.ts} +4 -4
  27. package/dist/pipeline/stages/rollbackCluster/{cloudfoundryRollbackClusterStage.module.d.ts → cloudFoundryRollbackClusterStage.module.d.ts} +0 -0
  28. package/dist/pipeline/stages/runJob/{CloudfoundryRunJobStageConfig.d.ts → CloudFoundryRunJobStageConfig.d.ts} +2 -2
  29. package/dist/pipeline/stages/runJob/{cloudfoundryRunJob.module.d.ts → cloudFoundryRunJob.module.d.ts} +0 -0
  30. package/dist/pipeline/stages/shareService/{CloudfoundryShareServiceExecutionDetails.d.ts → CloudFoundryShareServiceExecutionDetails.d.ts} +2 -2
  31. package/dist/pipeline/stages/shareService/{CloudfoundryShareServiceStageConfig.d.ts → CloudFoundryShareServiceStageConfig.d.ts} +2 -2
  32. package/dist/pipeline/stages/shareService/{cloudfoundryShareServiceStage.module.d.ts → cloudFoundryShareServiceStage.module.d.ts} +0 -0
  33. package/dist/pipeline/stages/unmapLoadBalancers/{cloudfoundryUnmapLoadBalancersStage.module.d.ts → cloudFoundryUnmapLoadBalancersStage.module.d.ts} +0 -0
  34. package/dist/pipeline/stages/unshareService/{CloudfoundryUnshareServiceExecutionDetails.d.ts → CloudFoundryUnshareServiceExecutionDetails.d.ts} +2 -2
  35. package/dist/pipeline/stages/unshareService/{CloudfoundryUnshareServiceStageConfig.d.ts → CloudFoundryUnshareServiceStageConfig.d.ts} +2 -2
  36. package/dist/pipeline/stages/unshareService/{cloudfoundryUnshareServiceStage.module.d.ts → cloudFoundryUnshareServiceStage.module.d.ts} +0 -0
  37. package/dist/presentation/pipeline/stages/{CloudfoundryAsgStageConfig.d.ts → CloudFoundryAsgStageConfig.d.ts} +2 -2
  38. package/dist/presentation/pipeline/stages/{CloudfoundryLoadBalancersExecutionDetails.d.ts → CloudFoundryLoadBalancersExecutionDetails.d.ts} +2 -2
  39. package/dist/presentation/pipeline/stages/{CloudfoundryLoadBalancersStageConfig.d.ts → CloudFoundryLoadBalancersStageConfig.d.ts} +4 -4
  40. package/dist/presentation/pipeline/stages/{CloudfoundryServiceExecutionDetails.d.ts → CloudFoundryServiceExecutionDetails.d.ts} +2 -2
  41. package/dist/presentation/pipeline/stages/{CloudfoundryServiceKeyExecutionDetails.d.ts → CloudFoundryServiceKeyExecutionDetails.d.ts} +2 -2
  42. package/dist/presentation/pipeline/stages/index.d.ts +5 -5
  43. package/package.json +4 -4
  44. package/src/cf.module.ts +15 -15
  45. package/src/common/applicationName.validator.ts +1 -1
  46. package/src/pipeline/stages/cloneServerGroup/{CloudfoundryCloneServerGroupStageConfig.tsx → CloudFoundryCloneServerGroupStageConfig.tsx} +3 -3
  47. package/src/pipeline/stages/cloneServerGroup/{cloudfoundryCloneServerGroupStage.module.ts → cloudFoundryCloneServerGroupStage.module.ts} +2 -2
  48. package/src/pipeline/stages/createServiceBindings/CloudFoundryCreateServiceBindingsStageConfigForm.tsx +2 -2
  49. package/src/pipeline/stages/createServiceKey/{CloudfoundryCreateServiceKeyStageConfig.tsx → CloudFoundryCreateServiceKeyStageConfig.tsx} +3 -3
  50. package/src/pipeline/stages/createServiceKey/{cloudfoundryCreateServiceKeyStage.module.ts → cloudFoundryCreateServiceKeyStage.module.ts} +4 -4
  51. package/src/pipeline/stages/deleteServiceBindings/CloudFoundryDeleteServiceBindingsStageConfigForm.tsx +2 -2
  52. package/src/pipeline/stages/deleteServiceKey/{CloudfoundryDeleteServiceKeyStageConfig.tsx → CloudFoundryDeleteServiceKeyStageConfig.tsx} +3 -3
  53. package/src/pipeline/stages/deleteServiceKey/{cloudfoundryDeleteServiceKeyStage.module.ts → cloudFoundryDeleteServiceKeyStage.module.ts} +4 -4
  54. package/src/pipeline/stages/deployService/{CloudfoundryDeployServiceStageConfig.tsx → CloudFoundryDeployServiceStageConfig.tsx} +3 -3
  55. package/src/pipeline/stages/deployService/CreateServiceInstanceDirectInput.tsx +3 -3
  56. package/src/pipeline/stages/deployService/ICloudFoundryServiceManifestSource.ts +2 -2
  57. package/src/pipeline/stages/deployService/{cloudfoundryDeployServiceStage.module.ts → cloudFoundryDeployServiceStage.module.ts} +4 -4
  58. package/src/pipeline/stages/destroyAsg/{cloudfoundryDestroyAsgStage.module.ts → cloudFoundryDestroyAsgStage.module.ts} +2 -2
  59. package/src/pipeline/stages/destroyService/{CloudfoundryDestroyServiceStageConfig.tsx → CloudFoundryDestroyServiceStageConfig.tsx} +0 -0
  60. package/src/pipeline/stages/destroyService/CloudFoundryDestroyServiceStageConfigForm.tsx +2 -2
  61. package/src/pipeline/stages/destroyService/{cloudfoundryDestroyServiceStage.module.ts → cloudFoundryDestroyServiceStage.module.ts} +3 -3
  62. package/src/pipeline/stages/disableAsg/{cloudfoundryDisableAsgStage.module.ts → cloudFoundryDisableAsgStage.module.ts} +2 -2
  63. package/src/pipeline/stages/enableAsg/{cloudfoundryEnableAsgStage.module.ts → cloudFoundryEnableAsgStage.module.ts} +2 -2
  64. package/src/pipeline/stages/mapLoadBalancers/{cloudfoundryMapLoadBalancersStage.module.ts → cloudFoundryMapLoadBalancersStage.module.ts} +3 -3
  65. package/src/pipeline/stages/resizeAsg/{CloudfoundryResizeAsgStageConfig.tsx → CloudFoundryResizeAsgStageConfig.tsx} +3 -3
  66. package/src/pipeline/stages/resizeAsg/{cloudfoundryResizeAsgStage.module.ts → cloudFoundryResizeAsgStage.module.ts} +2 -2
  67. package/src/pipeline/stages/rollbackCluster/{CloudfoundryRollbackClusterStageConfig.tsx → CloudFoundryRollbackClusterStageConfig.tsx} +6 -6
  68. package/src/pipeline/stages/rollbackCluster/{cloudfoundryRollbackClusterStage.module.ts → cloudFoundryRollbackClusterStage.module.ts} +2 -2
  69. package/src/pipeline/stages/runJob/{CloudfoundryRunJobStageConfig.tsx → CloudFoundryRunJobStageConfig.tsx} +3 -3
  70. package/src/pipeline/stages/runJob/{cloudfoundryRunJob.module.ts → cloudFoundryRunJob.module.ts} +2 -2
  71. package/src/pipeline/stages/shareService/{CloudfoundryShareServiceExecutionDetails.tsx → CloudFoundryShareServiceExecutionDetails.tsx} +2 -2
  72. package/src/pipeline/stages/shareService/{CloudfoundryShareServiceStageConfig.tsx → CloudFoundryShareServiceStageConfig.tsx} +3 -3
  73. package/src/pipeline/stages/shareService/{cloudfoundryShareServiceStage.module.ts → cloudFoundryShareServiceStage.module.ts} +4 -4
  74. package/src/pipeline/stages/unmapLoadBalancers/{cloudfoundryUnmapLoadBalancersStage.module.ts → cloudFoundryUnmapLoadBalancersStage.module.ts} +3 -3
  75. package/src/pipeline/stages/unshareService/{CloudfoundryUnshareServiceExecutionDetails.tsx → CloudFoundryUnshareServiceExecutionDetails.tsx} +2 -2
  76. package/src/pipeline/stages/unshareService/{CloudfoundryUnshareServiceStageConfig.tsx → CloudFoundryUnshareServiceStageConfig.tsx} +3 -3
  77. package/src/pipeline/stages/unshareService/{cloudfoundryUnshareServiceStage.module.ts → cloudFoundryUnshareServiceStage.module.ts} +4 -4
  78. package/src/presentation/pipeline/stages/{CloudfoundryAsgStageConfig.tsx → CloudFoundryAsgStageConfig.tsx} +2 -2
  79. package/src/presentation/pipeline/stages/{CloudfoundryLoadBalancersExecutionDetails.tsx → CloudFoundryLoadBalancersExecutionDetails.tsx} +2 -2
  80. package/src/presentation/pipeline/stages/{CloudfoundryLoadBalancersStageConfig.tsx → CloudFoundryLoadBalancersStageConfig.tsx} +6 -6
  81. package/src/presentation/pipeline/stages/{CloudfoundryServiceExecutionDetails.tsx → CloudFoundryServiceExecutionDetails.tsx} +2 -2
  82. package/src/presentation/pipeline/stages/{CloudfoundryServiceKeyExecutionDetails.tsx → CloudFoundryServiceKeyExecutionDetails.tsx} +2 -2
  83. package/src/presentation/pipeline/stages/index.ts +5 -5
@@ -18,14 +18,14 @@ import type { ICloudFoundryServiceManifestSource } from './ICloudFoundryServiceM
18
18
 
19
19
  import './cloudfoundryDeployServiceStage.less';
20
20
 
21
- interface ICloudfoundryDeployServiceStageConfigState {
21
+ interface ICloudFoundryDeployServiceStageConfigState {
22
22
  regions: IRegion[];
23
23
  accounts: IAccount[];
24
24
  }
25
25
 
26
- export class CloudfoundryDeployServiceStageConfig extends React.Component<
26
+ export class CloudFoundryDeployServiceStageConfig extends React.Component<
27
27
  IStageConfigProps,
28
- ICloudfoundryDeployServiceStageConfigState
28
+ ICloudFoundryDeployServiceStageConfigState
29
29
  > {
30
30
  private defaultDirectManifest = {
31
31
  direct: {
@@ -6,14 +6,14 @@ import { takeUntil } from 'rxjs/operators';
6
6
  import type { IService, IServicePlan } from '@spinnaker/core';
7
7
  import { ReactSelectInput, ServicesReader, StageConfigField, TextAreaInput, TextInput } from '@spinnaker/core';
8
8
 
9
- import type { ICloudfoundryServiceManifestDirectSource } from './ICloudFoundryServiceManifestSource';
9
+ import type { ICloudFoundryServiceManifestDirectSource } from './ICloudFoundryServiceManifestSource';
10
10
  import { ServiceTagsInput } from './ServiceTagsInput';
11
11
 
12
12
  interface ICreateServiceInstanceDirectInputProps {
13
13
  credentials: string;
14
14
  region: string;
15
- service: ICloudfoundryServiceManifestDirectSource;
16
- onServiceChanged: (_: ICloudfoundryServiceManifestDirectSource) => void;
15
+ service: ICloudFoundryServiceManifestDirectSource;
16
+ onServiceChanged: (_: ICloudFoundryServiceManifestDirectSource) => void;
17
17
  }
18
18
 
19
19
  interface ICreateServiceInstanceDirectInputState {
@@ -1,6 +1,6 @@
1
1
  import type { IArtifact } from '@spinnaker/core';
2
2
 
3
- export interface ICloudfoundryServiceManifestDirectSource {
3
+ export interface ICloudFoundryServiceManifestDirectSource {
4
4
  parameters?: string;
5
5
  service: string;
6
6
  serviceInstanceName: string;
@@ -23,5 +23,5 @@ export interface ICloudFoundryServiceUserProvidedSource {
23
23
  export interface ICloudFoundryServiceManifestSource {
24
24
  artifact?: IArtifact;
25
25
  artifactId?: string;
26
- direct?: ICloudfoundryServiceManifestDirectSource | ICloudFoundryServiceUserProvidedSource;
26
+ direct?: ICloudFoundryServiceManifestDirectSource | ICloudFoundryServiceUserProvidedSource;
27
27
  }
@@ -4,9 +4,9 @@ import { get, upperFirst } from 'lodash';
4
4
  import type { IPipeline, IStage, IStageOrTriggerValidator, ITrigger, IValidatorConfig } from '@spinnaker/core';
5
5
  import { ExecutionDetailsTasks, PipelineConfigValidator, Registry } from '@spinnaker/core';
6
6
 
7
- import { CloudfoundryDeployServiceStageConfig } from './CloudfoundryDeployServiceStageConfig';
7
+ import { CloudFoundryDeployServiceStageConfig } from './CloudFoundryDeployServiceStageConfig';
8
8
  import type { ICloudFoundryServiceManifestSource } from './ICloudFoundryServiceManifestSource';
9
- import { CloudfoundryServiceExecutionDetails } from '../../../presentation';
9
+ import { CloudFoundryServiceExecutionDetails } from '../../../presentation';
10
10
 
11
11
  interface IServiceFieldValidatorConfig extends IValidatorConfig {
12
12
  manifestSource: string;
@@ -91,11 +91,11 @@ PipelineConfigValidator.registerValidator(
91
91
  Registry.pipeline.registerStage({
92
92
  accountExtractor: (stage: IStage) => [stage.context.credentials],
93
93
  cloudProvider: 'cloudfoundry',
94
- component: CloudfoundryDeployServiceStageConfig,
94
+ component: CloudFoundryDeployServiceStageConfig,
95
95
  configAccountExtractor: (stage: IStage) => [stage.credentials],
96
96
  supportsCustomTimeout: true,
97
97
  description: 'Deploys services using Open Service Broker and deploys user-provided services',
98
- executionDetailsSections: [CloudfoundryServiceExecutionDetails, ExecutionDetailsTasks],
98
+ executionDetailsSections: [CloudFoundryServiceExecutionDetails, ExecutionDetailsTasks],
99
99
  key: 'deployService',
100
100
  label: 'Deploy Service',
101
101
  validators: [
@@ -1,11 +1,11 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { Registry } from '@spinnaker/core';
3
- import { CloudfoundryAsgStageConfig } from '../../../presentation';
3
+ import { CloudFoundryAsgStageConfig } from '../../../presentation';
4
4
 
5
5
  Registry.pipeline.registerStage({
6
6
  accountExtractor: (stage: IStage) => [stage.context.credentials],
7
7
  cloudProvider: 'cloudfoundry',
8
- component: CloudfoundryAsgStageConfig,
8
+ component: CloudFoundryAsgStageConfig,
9
9
  configAccountExtractor: (stage: IStage) => [stage.credentials],
10
10
  key: 'destroyServerGroup',
11
11
  provides: 'destroyServerGroup',
@@ -7,7 +7,7 @@ import { takeUntil } from 'rxjs/operators';
7
7
  import type { Application, IAccount, IFormikStageConfigInjectedProps, IRegion } from '@spinnaker/core';
8
8
  import { AccountService, StageConfigField } from '@spinnaker/core';
9
9
 
10
- export interface ICloudfoundryDestroyServiceStageConfigState {
10
+ export interface ICloudFoundryDestroyServiceStageConfigState {
11
11
  accounts: IAccount[];
12
12
  regions: string[];
13
13
  application: Application;
@@ -15,7 +15,7 @@ export interface ICloudfoundryDestroyServiceStageConfigState {
15
15
 
16
16
  export class CloudFoundryDestroyServiceStageConfigForm extends React.Component<
17
17
  IFormikStageConfigInjectedProps,
18
- ICloudfoundryDestroyServiceStageConfigState
18
+ ICloudFoundryDestroyServiceStageConfigState
19
19
  > {
20
20
  private destroy$ = new Subject();
21
21
 
@@ -4,8 +4,8 @@ import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
4
4
  import {
5
5
  CloudFoundryDestroyServiceStageConfig,
6
6
  validateCloudFoundryDestroyServiceStage,
7
- } from './CloudfoundryDestroyServiceStageConfig';
8
- import { CloudfoundryServiceExecutionDetails } from '../../../presentation';
7
+ } from './CloudFoundryDestroyServiceStageConfig';
8
+ import { CloudFoundryServiceExecutionDetails } from '../../../presentation';
9
9
 
10
10
  Registry.pipeline.registerStage({
11
11
  accountExtractor: (stage: IStage) => [stage.context.credentials],
@@ -13,7 +13,7 @@ Registry.pipeline.registerStage({
13
13
  cloudProvider: 'cloudfoundry',
14
14
  component: CloudFoundryDestroyServiceStageConfig,
15
15
  supportsCustomTimeout: true,
16
- executionDetailsSections: [CloudfoundryServiceExecutionDetails, ExecutionDetailsTasks],
16
+ executionDetailsSections: [CloudFoundryServiceExecutionDetails, ExecutionDetailsTasks],
17
17
  key: 'destroyService',
18
18
  provides: 'destroyService',
19
19
  validateFn: validateCloudFoundryDestroyServiceStage,
@@ -1,11 +1,11 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { Registry } from '@spinnaker/core';
3
- import { CloudfoundryAsgStageConfig } from '../../../presentation';
3
+ import { CloudFoundryAsgStageConfig } from '../../../presentation';
4
4
 
5
5
  Registry.pipeline.registerStage({
6
6
  accountExtractor: (stage: IStage) => [stage.context.credentials],
7
7
  cloudProvider: 'cloudfoundry',
8
- component: CloudfoundryAsgStageConfig,
8
+ component: CloudFoundryAsgStageConfig,
9
9
  configAccountExtractor: (stage: IStage) => [stage.credentials],
10
10
  key: 'disableServerGroup',
11
11
  provides: 'disableServerGroup',
@@ -1,11 +1,11 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { Registry } from '@spinnaker/core';
3
- import { CloudfoundryAsgStageConfig } from '../../../presentation';
3
+ import { CloudFoundryAsgStageConfig } from '../../../presentation';
4
4
 
5
5
  Registry.pipeline.registerStage({
6
6
  accountExtractor: (stage: IStage) => [stage.context.credentials],
7
7
  cloudProvider: 'cloudfoundry',
8
- component: CloudfoundryAsgStageConfig,
8
+ component: CloudFoundryAsgStageConfig,
9
9
  configAccountExtractor: (stage: IStage) => [stage.credentials],
10
10
  key: 'enableServerGroup',
11
11
  provides: 'enableServerGroup',
@@ -1,14 +1,14 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
3
- import { CloudfoundryLoadBalancersExecutionDetails, CloudfoundryLoadBalancersStageConfig } from '../../../presentation';
3
+ import { CloudFoundryLoadBalancersExecutionDetails, CloudFoundryLoadBalancersStageConfig } from '../../../presentation';
4
4
 
5
5
  Registry.pipeline.registerStage({
6
6
  accountExtractor: (stage: IStage) => [stage.context.credentials],
7
7
  configAccountExtractor: (stage: IStage) => [stage.credentials],
8
8
  cloudProvider: 'cloudfoundry',
9
- component: CloudfoundryLoadBalancersStageConfig,
9
+ component: CloudFoundryLoadBalancersStageConfig,
10
10
  description: 'Map a load balancer',
11
- executionDetailsSections: [CloudfoundryLoadBalancersExecutionDetails, ExecutionDetailsTasks],
11
+ executionDetailsSections: [CloudFoundryLoadBalancersExecutionDetails, ExecutionDetailsTasks],
12
12
  key: 'mapLoadBalancers',
13
13
  label: 'Map Load Balancer',
14
14
  validators: [
@@ -6,13 +6,13 @@ import type { IAccount, IStageConfigProps } from '@spinnaker/core';
6
6
  import { AccountService, NgReact, StageConfigField, StageConstants } from '@spinnaker/core';
7
7
  import { AccountRegionClusterSelector } from '../../../presentation';
8
8
 
9
- export interface ICloudfoundryResizeAsgStageConfigState {
9
+ export interface ICloudFoundryResizeAsgStageConfigState {
10
10
  accounts: IAccount[];
11
11
  }
12
12
 
13
- export class CloudfoundryResizeAsgStageConfig extends React.Component<
13
+ export class CloudFoundryResizeAsgStageConfig extends React.Component<
14
14
  IStageConfigProps,
15
- ICloudfoundryResizeAsgStageConfigState
15
+ ICloudFoundryResizeAsgStageConfigState
16
16
  > {
17
17
  private destroy$ = new Subject();
18
18
 
@@ -1,7 +1,7 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { Registry } from '@spinnaker/core';
3
3
 
4
- import { CloudfoundryResizeAsgStageConfig } from './CloudfoundryResizeAsgStageConfig';
4
+ import { CloudFoundryResizeAsgStageConfig } from './CloudFoundryResizeAsgStageConfig';
5
5
  import type { IInstanceFieldSizeValidationConfig } from '../../config/validation/instanceSize.validator';
6
6
 
7
7
  const diskValidator: IInstanceFieldSizeValidationConfig = {
@@ -31,7 +31,7 @@ const memoryValidator: IInstanceFieldSizeValidationConfig = {
31
31
  Registry.pipeline.registerStage({
32
32
  accountExtractor: (stage: IStage) => [stage.context.credentials],
33
33
  cloudProvider: 'cloudfoundry',
34
- component: CloudfoundryResizeAsgStageConfig,
34
+ component: CloudFoundryResizeAsgStageConfig,
35
35
  configAccountExtractor: (stage: IStage) => [stage.credentials],
36
36
  key: 'resizeServerGroup',
37
37
  provides: 'resizeServerGroup',
@@ -6,21 +6,21 @@ import type { IAccount, IPipeline, IStageConfigProps } from '@spinnaker/core';
6
6
  import { AccountService, StageConfigField } from '@spinnaker/core';
7
7
  import { AccountRegionClusterSelector } from '../../../presentation';
8
8
 
9
- export interface ICloudfoundryRollbackClusterStageProps extends IStageConfigProps {
9
+ export interface ICloudFoundryRollbackClusterStageProps extends IStageConfigProps {
10
10
  pipeline: IPipeline;
11
11
  }
12
12
 
13
- export interface ICloudfoundryRollbackClusterStageConfigState {
13
+ export interface ICloudFoundryRollbackClusterStageConfigState {
14
14
  accounts: IAccount[];
15
15
  }
16
16
 
17
- export class CloudfoundryRollbackClusterStageConfig extends React.Component<
18
- ICloudfoundryRollbackClusterStageProps,
19
- ICloudfoundryRollbackClusterStageConfigState
17
+ export class CloudFoundryRollbackClusterStageConfig extends React.Component<
18
+ ICloudFoundryRollbackClusterStageProps,
19
+ ICloudFoundryRollbackClusterStageConfigState
20
20
  > {
21
21
  private destroy$ = new Subject();
22
22
 
23
- constructor(props: ICloudfoundryRollbackClusterStageProps) {
23
+ constructor(props: ICloudFoundryRollbackClusterStageProps) {
24
24
  super(props);
25
25
 
26
26
  this.props.updateStageField({
@@ -1,7 +1,7 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { Registry } from '@spinnaker/core';
3
3
 
4
- import { CloudfoundryRollbackClusterStageConfig } from './CloudfoundryRollbackClusterStageConfig';
4
+ import { CloudFoundryRollbackClusterStageConfig } from './CloudFoundryRollbackClusterStageConfig';
5
5
 
6
6
  Registry.pipeline.registerStage({
7
7
  accountExtractor: (stage: IStage) => [stage.context.credentials],
@@ -9,7 +9,7 @@ Registry.pipeline.registerStage({
9
9
  provides: 'rollbackCluster',
10
10
  key: 'rollbackCluster',
11
11
  cloudProvider: 'cloudfoundry',
12
- component: CloudfoundryRollbackClusterStageConfig,
12
+ component: CloudFoundryRollbackClusterStageConfig,
13
13
  controller: 'cfRollbackClusterStageCtrl',
14
14
  validators: [
15
15
  { type: 'requiredField', preventSave: true, fieldName: 'cluster' },
@@ -6,14 +6,14 @@ import type { IAccount, IStageConfigProps } from '@spinnaker/core';
6
6
  import { AccountService, NgReact, SpelText, StageConfigField, StageConstants, TextInput } from '@spinnaker/core';
7
7
  import { AccountRegionClusterSelector } from '../../../presentation';
8
8
 
9
- export interface ICloudfoundryRunTaskStageConfigState {
9
+ export interface ICloudFoundryRunTaskStageConfigState {
10
10
  accounts: IAccount[];
11
11
  region: string;
12
12
  }
13
13
 
14
- export class CloudfoundryRunJobStageConfig extends React.Component<
14
+ export class CloudFoundryRunJobStageConfig extends React.Component<
15
15
  IStageConfigProps,
16
- ICloudfoundryRunTaskStageConfigState
16
+ ICloudFoundryRunTaskStageConfigState
17
17
  > {
18
18
  private destroy$ = new Subject();
19
19
 
@@ -1,12 +1,12 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
3
3
 
4
- import { CloudfoundryRunJobStageConfig } from './CloudfoundryRunJobStageConfig';
4
+ import { CloudFoundryRunJobStageConfig } from './CloudFoundryRunJobStageConfig';
5
5
  import { RunJobExecutionDetails } from './RunJobExecutionDetails';
6
6
 
7
7
  Registry.pipeline.registerStage({
8
8
  accountExtractor: (stage: IStage) => stage.context.credentials,
9
- component: CloudfoundryRunJobStageConfig,
9
+ component: CloudFoundryRunJobStageConfig,
10
10
  configAccountExtractor: (stage: IStage) => [stage.credentials],
11
11
  cloudProvider: 'cloudfoundry',
12
12
  key: 'runJob',
@@ -4,7 +4,7 @@ import React from 'react';
4
4
  import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
5
5
  import { AccountTag, ExecutionDetailsSection, StageExecutionLogs, StageFailureMessage } from '@spinnaker/core';
6
6
 
7
- export function CloudfoundryShareServiceExecutionDetails(props: IExecutionDetailsSectionProps) {
7
+ export function CloudFoundryShareServiceExecutionDetails(props: IExecutionDetailsSectionProps) {
8
8
  const { stage } = props;
9
9
  const { context } = stage;
10
10
  const account = get(context, 'service.account', undefined);
@@ -47,6 +47,6 @@ export function CloudfoundryShareServiceExecutionDetails(props: IExecutionDetail
47
47
  }
48
48
 
49
49
  // eslint-disable-next-line
50
- export namespace CloudfoundryShareServiceExecutionDetails {
50
+ export namespace CloudFoundryShareServiceExecutionDetails {
51
51
  export const title = 'cloudfoundryShareServiceConfig';
52
52
  }
@@ -7,15 +7,15 @@ import { takeUntil } from 'rxjs/operators';
7
7
  import type { IAccount, IRegion, IStageConfigProps } from '@spinnaker/core';
8
8
  import { AccountService, ReactSelectInput, StageConfigField, TextInput } from '@spinnaker/core';
9
9
 
10
- interface ICloudfoundryShareServiceStageConfigState {
10
+ interface ICloudFoundryShareServiceStageConfigState {
11
11
  accounts: IAccount[];
12
12
  regions: string[];
13
13
  shareToRegionsList: string[];
14
14
  }
15
15
 
16
- export class CloudfoundryShareServiceStageConfig extends React.Component<
16
+ export class CloudFoundryShareServiceStageConfig extends React.Component<
17
17
  IStageConfigProps,
18
- ICloudfoundryShareServiceStageConfigState
18
+ ICloudFoundryShareServiceStageConfigState
19
19
  > {
20
20
  private destroy$ = new Subject();
21
21
 
@@ -1,8 +1,8 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
3
3
 
4
- import { CloudfoundryShareServiceExecutionDetails } from './CloudfoundryShareServiceExecutionDetails';
5
- import { CloudfoundryShareServiceStageConfig } from './CloudfoundryShareServiceStageConfig';
4
+ import { CloudFoundryShareServiceExecutionDetails } from './CloudFoundryShareServiceExecutionDetails';
5
+ import { CloudFoundryShareServiceStageConfig } from './CloudFoundryShareServiceStageConfig';
6
6
 
7
7
  Registry.pipeline.registerStage({
8
8
  accountExtractor: (stage: IStage) => [stage.context.credentials],
@@ -10,8 +10,8 @@ Registry.pipeline.registerStage({
10
10
  provides: 'shareService',
11
11
  key: 'shareService',
12
12
  cloudProvider: 'cloudfoundry',
13
- component: CloudfoundryShareServiceStageConfig,
14
- executionDetailsSections: [CloudfoundryShareServiceExecutionDetails, ExecutionDetailsTasks],
13
+ component: CloudFoundryShareServiceStageConfig,
14
+ executionDetailsSections: [CloudFoundryShareServiceExecutionDetails, ExecutionDetailsTasks],
15
15
  supportsCustomTimeout: true,
16
16
  validators: [
17
17
  { type: 'requiredField', fieldName: 'credentials', fieldLabel: 'account' },
@@ -1,14 +1,14 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
3
- import { CloudfoundryLoadBalancersExecutionDetails, CloudfoundryLoadBalancersStageConfig } from '../../../presentation';
3
+ import { CloudFoundryLoadBalancersExecutionDetails, CloudFoundryLoadBalancersStageConfig } from '../../../presentation';
4
4
 
5
5
  Registry.pipeline.registerStage({
6
6
  accountExtractor: (stage: IStage) => [stage.context.credentials],
7
7
  configAccountExtractor: (stage: IStage) => [stage.credentials],
8
8
  cloudProvider: 'cloudfoundry',
9
- component: CloudfoundryLoadBalancersStageConfig,
9
+ component: CloudFoundryLoadBalancersStageConfig,
10
10
  description: 'Unmap a load balancer',
11
- executionDetailsSections: [CloudfoundryLoadBalancersExecutionDetails, ExecutionDetailsTasks],
11
+ executionDetailsSections: [CloudFoundryLoadBalancersExecutionDetails, ExecutionDetailsTasks],
12
12
  key: 'unmapLoadBalancers',
13
13
  label: 'Unmap Load Balancer',
14
14
  validators: [
@@ -4,7 +4,7 @@ import React from 'react';
4
4
  import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
5
5
  import { AccountTag, ExecutionDetailsSection, StageExecutionLogs, StageFailureMessage } from '@spinnaker/core';
6
6
 
7
- export function CloudfoundryUnshareServiceExecutionDetails(props: IExecutionDetailsSectionProps) {
7
+ export function CloudFoundryUnshareServiceExecutionDetails(props: IExecutionDetailsSectionProps) {
8
8
  const { stage } = props;
9
9
  const { context } = stage;
10
10
  const account = get(context, 'service.account', undefined);
@@ -41,6 +41,6 @@ export function CloudfoundryUnshareServiceExecutionDetails(props: IExecutionDeta
41
41
  }
42
42
 
43
43
  // eslint-disable-next-line
44
- export namespace CloudfoundryUnshareServiceExecutionDetails {
44
+ export namespace CloudFoundryUnshareServiceExecutionDetails {
45
45
  export const title = 'cloudfoundryUnshareServiceConfig';
46
46
  }
@@ -7,14 +7,14 @@ import { takeUntil } from 'rxjs/operators';
7
7
  import type { IAccount, IRegion, IStageConfigProps } from '@spinnaker/core';
8
8
  import { AccountService, ReactSelectInput, StageConfigField, TextInput } from '@spinnaker/core';
9
9
 
10
- interface ICloudfoundryShareServiceStageConfigState {
10
+ interface ICloudFoundryShareServiceStageConfigState {
11
11
  accounts: IAccount[];
12
12
  regions: string[];
13
13
  }
14
14
 
15
- export class CloudfoundryUnshareServiceStageConfig extends React.Component<
15
+ export class CloudFoundryUnshareServiceStageConfig extends React.Component<
16
16
  IStageConfigProps,
17
- ICloudfoundryShareServiceStageConfigState
17
+ ICloudFoundryShareServiceStageConfigState
18
18
  > {
19
19
  private destroy$ = new Subject();
20
20
 
@@ -1,8 +1,8 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
3
3
 
4
- import { CloudfoundryUnshareServiceExecutionDetails } from './CloudfoundryUnshareServiceExecutionDetails';
5
- import { CloudfoundryUnshareServiceStageConfig } from './CloudfoundryUnshareServiceStageConfig';
4
+ import { CloudFoundryUnshareServiceExecutionDetails } from './CloudFoundryUnshareServiceExecutionDetails';
5
+ import { CloudFoundryUnshareServiceStageConfig } from './CloudFoundryUnshareServiceStageConfig';
6
6
 
7
7
  Registry.pipeline.registerStage({
8
8
  accountExtractor: (stage: IStage) => [stage.context.credentials],
@@ -10,9 +10,9 @@ Registry.pipeline.registerStage({
10
10
  provides: 'unshareService',
11
11
  key: 'unshareService',
12
12
  cloudProvider: 'cloudfoundry',
13
- component: CloudfoundryUnshareServiceStageConfig,
13
+ component: CloudFoundryUnshareServiceStageConfig,
14
14
  controller: 'cfUnshareServiceStageCtrl',
15
- executionDetailsSections: [CloudfoundryUnshareServiceExecutionDetails, ExecutionDetailsTasks],
15
+ executionDetailsSections: [CloudFoundryUnshareServiceExecutionDetails, ExecutionDetailsTasks],
16
16
  supportsCustomTimeout: true,
17
17
  validators: [
18
18
  { type: 'requiredField', fieldName: 'credentials', fieldLabel: 'account' },
@@ -7,11 +7,11 @@ import { AccountService, NgReact, StageConfigField, StageConstants } from '@spin
7
7
 
8
8
  import { AccountRegionClusterSelector } from '../../widgets/accountRegionClusterSelector';
9
9
 
10
- export interface ICloudfoundryAsgStageConfigState {
10
+ export interface ICloudFoundryAsgStageConfigState {
11
11
  accounts: IAccount[];
12
12
  }
13
13
 
14
- export class CloudfoundryAsgStageConfig extends React.Component<IStageConfigProps, ICloudfoundryAsgStageConfigState> {
14
+ export class CloudFoundryAsgStageConfig extends React.Component<IStageConfigProps, ICloudFoundryAsgStageConfigState> {
15
15
  private destroy$ = new Subject();
16
16
 
17
17
  constructor(props: IStageConfigProps) {
@@ -4,7 +4,7 @@ import React from 'react';
4
4
  import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
5
5
  import { AccountTag, ExecutionDetailsSection, StageExecutionLogs, StageFailureMessage } from '@spinnaker/core';
6
6
 
7
- export function CloudfoundryLoadBalancersExecutionDetails(props: IExecutionDetailsSectionProps) {
7
+ export function CloudFoundryLoadBalancersExecutionDetails(props: IExecutionDetailsSectionProps) {
8
8
  const { stage } = props;
9
9
  const { context } = stage;
10
10
  const account = get(context, 'credentials', undefined);
@@ -48,6 +48,6 @@ export function CloudfoundryLoadBalancersExecutionDetails(props: IExecutionDetai
48
48
 
49
49
  // TODO: refactor this to not use namespace
50
50
  // eslint-disable-next-line
51
- export namespace CloudfoundryLoadBalancersExecutionDetails {
51
+ export namespace CloudFoundryLoadBalancersExecutionDetails {
52
52
  export const title = 'cloudfoundryLoadBalancersConfig';
53
53
  }
@@ -9,7 +9,7 @@ import { AccountService, NgReact, SpinFormik, StageConfigField, StageConstants }
9
9
  import { Routes } from '../../forms/serverGroup';
10
10
  import { AccountRegionClusterSelector } from '../../widgets/accountRegionClusterSelector';
11
11
 
12
- interface ICloudfoundryLoadBalancerStageConfigProps extends IStageConfigProps {
12
+ interface ICloudFoundryLoadBalancerStageConfigProps extends IStageConfigProps {
13
13
  pipeline: IPipeline;
14
14
  }
15
15
 
@@ -17,21 +17,21 @@ interface ICloudFoundryLoadBalancersValues {
17
17
  routes: string[];
18
18
  }
19
19
 
20
- interface ICloudfoundryLoadBalancersStageConfigState {
20
+ interface ICloudFoundryLoadBalancersStageConfigState {
21
21
  accounts: IAccount[];
22
22
  application: Application;
23
23
  initialValues: ICloudFoundryLoadBalancersValues;
24
24
  pipeline: IPipeline;
25
25
  }
26
26
 
27
- export class CloudfoundryLoadBalancersStageConfig extends React.Component<
28
- ICloudfoundryLoadBalancerStageConfigProps,
29
- ICloudfoundryLoadBalancersStageConfigState
27
+ export class CloudFoundryLoadBalancersStageConfig extends React.Component<
28
+ ICloudFoundryLoadBalancerStageConfigProps,
29
+ ICloudFoundryLoadBalancersStageConfigState
30
30
  > {
31
31
  private destroy$ = new Subject();
32
32
  private formikRef = React.createRef<Formik<ICloudFoundryLoadBalancersValues>>();
33
33
 
34
- constructor(props: ICloudfoundryLoadBalancerStageConfigProps) {
34
+ constructor(props: ICloudFoundryLoadBalancerStageConfigProps) {
35
35
  super(props);
36
36
  const { loadBalancerNames } = props.stage;
37
37
  const routes = loadBalancerNames && loadBalancerNames.length ? loadBalancerNames : [''];
@@ -4,7 +4,7 @@ import React from 'react';
4
4
  import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
5
5
  import { AccountTag, ExecutionDetailsSection, StageExecutionLogs, StageFailureMessage } from '@spinnaker/core';
6
6
 
7
- export function CloudfoundryServiceExecutionDetails(props: IExecutionDetailsSectionProps) {
7
+ export function CloudFoundryServiceExecutionDetails(props: IExecutionDetailsSectionProps) {
8
8
  const { stage } = props;
9
9
  const { context } = stage;
10
10
  const account = get(context, 'service.account', undefined);
@@ -41,6 +41,6 @@ export function CloudfoundryServiceExecutionDetails(props: IExecutionDetailsSect
41
41
  }
42
42
 
43
43
  // eslint-disable-next-line
44
- export namespace CloudfoundryServiceExecutionDetails {
44
+ export namespace CloudFoundryServiceExecutionDetails {
45
45
  export const title = 'cloudfoundryServiceConfig';
46
46
  }
@@ -4,7 +4,7 @@ import React from 'react';
4
4
  import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
5
5
  import { AccountTag, ExecutionDetailsSection, StageExecutionLogs, StageFailureMessage } from '@spinnaker/core';
6
6
 
7
- export function CloudfoundryServiceKeyExecutionDetails(props: IExecutionDetailsSectionProps) {
7
+ export function CloudFoundryServiceKeyExecutionDetails(props: IExecutionDetailsSectionProps) {
8
8
  const { stage } = props;
9
9
  const { context } = stage;
10
10
  const account = get(context, 'service.account', undefined);
@@ -47,6 +47,6 @@ export function CloudfoundryServiceKeyExecutionDetails(props: IExecutionDetailsS
47
47
  }
48
48
 
49
49
  // eslint-disable-next-line
50
- export namespace CloudfoundryServiceKeyExecutionDetails {
50
+ export namespace CloudFoundryServiceKeyExecutionDetails {
51
51
  export const title = 'cloudfoundryServiceKeyConfig';
52
52
  }
@@ -1,5 +1,5 @@
1
- export * from './CloudfoundryAsgStageConfig';
2
- export * from './CloudfoundryLoadBalancersExecutionDetails';
3
- export * from './CloudfoundryLoadBalancersStageConfig';
4
- export * from './CloudfoundryServiceExecutionDetails';
5
- export * from './CloudfoundryServiceKeyExecutionDetails';
1
+ export * from './CloudFoundryAsgStageConfig';
2
+ export * from './CloudFoundryLoadBalancersExecutionDetails';
3
+ export * from './CloudFoundryLoadBalancersStageConfig';
4
+ export * from './CloudFoundryServiceExecutionDetails';
5
+ export * from './CloudFoundryServiceKeyExecutionDetails';