@spinnaker/cloudfoundry 0.0.163 → 0.0.164

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 +11 -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 +3 -3
  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
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { IStageConfigProps } from '@spinnaker/core';
3
- export interface ICloudfoundryCloneServerGroupStageConfigState {
3
+ export interface ICloudFoundryCloneServerGroupStageConfigState {
4
4
  buttonText: string;
5
5
  }
6
- export declare class CloudfoundryCloneServerGroupStageConfig extends React.Component<IStageConfigProps, ICloudfoundryCloneServerGroupStageConfigState> {
6
+ export declare class CloudFoundryCloneServerGroupStageConfig extends React.Component<IStageConfigProps, ICloudFoundryCloneServerGroupStageConfigState> {
7
7
  constructor(props: IStageConfigProps);
8
8
  private handleResult;
9
9
  private addCluster;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { Application, IAccount, IFormikStageConfigInjectedProps } from '@spinnaker/core';
3
- interface ICloudfoundryCreateServiceBindingsStageConfigState {
3
+ interface ICloudFoundryCreateServiceBindingsStageConfigState {
4
4
  accounts: IAccount[];
5
5
  regions: string[];
6
6
  application: Application;
7
7
  }
8
- export declare class CloudFoundryCreateServiceBindingsStageConfigForm extends React.Component<IFormikStageConfigInjectedProps, ICloudfoundryCreateServiceBindingsStageConfigState> {
8
+ export declare class CloudFoundryCreateServiceBindingsStageConfigForm extends React.Component<IFormikStageConfigInjectedProps, ICloudFoundryCreateServiceBindingsStageConfigState> {
9
9
  private static readonly excludedArtifactTypes;
10
10
  private destroy$;
11
11
  constructor(props: IFormikStageConfigInjectedProps, context: any);
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import type { IStageConfigProps } from '@spinnaker/core';
3
- interface ICloudfoundryDeleteServiceKeyStageConfigState {
3
+ interface ICloudFoundryCreateServiceKeyStageConfigState {
4
4
  accounts: string[];
5
5
  regions: string[];
6
6
  }
7
- export declare class CloudfoundryDeleteServiceKeyStageConfig extends React.Component<IStageConfigProps, ICloudfoundryDeleteServiceKeyStageConfigState> {
7
+ export declare class CloudFoundryCreateServiceKeyStageConfig extends React.Component<IStageConfigProps, ICloudFoundryCreateServiceKeyStageConfigState> {
8
8
  private destroy$;
9
9
  constructor(props: IStageConfigProps);
10
10
  componentDidMount(): void;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { Application, IAccount, IFormikStageConfigInjectedProps } from '@spinnaker/core';
3
- interface ICloudfoundryDeleteServiceBindingsStageConfigState {
3
+ interface ICloudFoundryDeleteServiceBindingsStageConfigState {
4
4
  accounts: IAccount[];
5
5
  regions: string[];
6
6
  application: Application;
7
7
  }
8
- export declare class CloudFoundryDeleteServiceBindingsStageConfigForm extends React.Component<IFormikStageConfigInjectedProps, ICloudfoundryDeleteServiceBindingsStageConfigState> {
8
+ export declare class CloudFoundryDeleteServiceBindingsStageConfigForm extends React.Component<IFormikStageConfigInjectedProps, ICloudFoundryDeleteServiceBindingsStageConfigState> {
9
9
  private destroy$;
10
10
  constructor(props: IFormikStageConfigInjectedProps, context: any);
11
11
  componentDidMount(): void;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import type { IStageConfigProps } from '@spinnaker/core';
3
- interface ICloudfoundryCreateServiceKeyStageConfigState {
3
+ interface ICloudFoundryDeleteServiceKeyStageConfigState {
4
4
  accounts: string[];
5
5
  regions: string[];
6
6
  }
7
- export declare class CloudfoundryCreateServiceKeyStageConfig extends React.Component<IStageConfigProps, ICloudfoundryCreateServiceKeyStageConfigState> {
7
+ export declare class CloudFoundryDeleteServiceKeyStageConfig extends React.Component<IStageConfigProps, ICloudFoundryDeleteServiceKeyStageConfigState> {
8
8
  private destroy$;
9
9
  constructor(props: IStageConfigProps);
10
10
  componentDidMount(): void;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { IAccount, IRegion, IStageConfigProps } from '@spinnaker/core';
3
3
  import './cloudfoundryDeployServiceStage.less';
4
- interface ICloudfoundryDeployServiceStageConfigState {
4
+ interface ICloudFoundryDeployServiceStageConfigState {
5
5
  regions: IRegion[];
6
6
  accounts: IAccount[];
7
7
  }
8
- export declare class CloudfoundryDeployServiceStageConfig extends React.Component<IStageConfigProps, ICloudfoundryDeployServiceStageConfigState> {
8
+ export declare class CloudFoundryDeployServiceStageConfig extends React.Component<IStageConfigProps, ICloudFoundryDeployServiceStageConfigState> {
9
9
  private defaultDirectManifest;
10
10
  private destroy$;
11
11
  constructor(props: IStageConfigProps);
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { IService } from '@spinnaker/core';
3
- import type { ICloudfoundryServiceManifestDirectSource } from './ICloudFoundryServiceManifestSource';
3
+ import type { ICloudFoundryServiceManifestDirectSource } from './ICloudFoundryServiceManifestSource';
4
4
  interface ICreateServiceInstanceDirectInputProps {
5
5
  credentials: string;
6
6
  region: string;
7
- service: ICloudfoundryServiceManifestDirectSource;
8
- onServiceChanged: (_: ICloudfoundryServiceManifestDirectSource) => void;
7
+ service: ICloudFoundryServiceManifestDirectSource;
8
+ onServiceChanged: (_: ICloudFoundryServiceManifestDirectSource) => void;
9
9
  }
10
10
  interface ICreateServiceInstanceDirectInputState {
11
11
  serviceNamesAndPlans: IService[];
@@ -1,5 +1,5 @@
1
1
  import type { IArtifact } from '@spinnaker/core';
2
- export interface ICloudfoundryServiceManifestDirectSource {
2
+ export interface ICloudFoundryServiceManifestDirectSource {
3
3
  parameters?: string;
4
4
  service: string;
5
5
  serviceInstanceName: string;
@@ -20,5 +20,5 @@ export interface ICloudFoundryServiceUserProvidedSource {
20
20
  export interface ICloudFoundryServiceManifestSource {
21
21
  artifact?: IArtifact;
22
22
  artifactId?: string;
23
- direct?: ICloudfoundryServiceManifestDirectSource | ICloudFoundryServiceUserProvidedSource;
23
+ direct?: ICloudFoundryServiceManifestDirectSource | ICloudFoundryServiceUserProvidedSource;
24
24
  }
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { Application, IAccount, IFormikStageConfigInjectedProps } from '@spinnaker/core';
3
- export interface ICloudfoundryDestroyServiceStageConfigState {
3
+ export interface ICloudFoundryDestroyServiceStageConfigState {
4
4
  accounts: IAccount[];
5
5
  regions: string[];
6
6
  application: Application;
7
7
  }
8
- export declare class CloudFoundryDestroyServiceStageConfigForm extends React.Component<IFormikStageConfigInjectedProps, ICloudfoundryDestroyServiceStageConfigState> {
8
+ export declare class CloudFoundryDestroyServiceStageConfigForm extends React.Component<IFormikStageConfigInjectedProps, ICloudFoundryDestroyServiceStageConfigState> {
9
9
  private destroy$;
10
10
  constructor(props: IFormikStageConfigInjectedProps, context: any);
11
11
  componentDidMount(): void;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { IAccount, IStageConfigProps } from '@spinnaker/core';
3
- export interface ICloudfoundryResizeAsgStageConfigState {
3
+ export interface ICloudFoundryResizeAsgStageConfigState {
4
4
  accounts: IAccount[];
5
5
  }
6
- export declare class CloudfoundryResizeAsgStageConfig extends React.Component<IStageConfigProps, ICloudfoundryResizeAsgStageConfigState> {
6
+ export declare class CloudFoundryResizeAsgStageConfig extends React.Component<IStageConfigProps, ICloudFoundryResizeAsgStageConfigState> {
7
7
  private destroy$;
8
8
  constructor(props: IStageConfigProps);
9
9
  componentDidMount(): void;
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
2
  import type { IAccount, IPipeline, IStageConfigProps } from '@spinnaker/core';
3
- export interface ICloudfoundryRollbackClusterStageProps extends IStageConfigProps {
3
+ export interface ICloudFoundryRollbackClusterStageProps extends IStageConfigProps {
4
4
  pipeline: IPipeline;
5
5
  }
6
- export interface ICloudfoundryRollbackClusterStageConfigState {
6
+ export interface ICloudFoundryRollbackClusterStageConfigState {
7
7
  accounts: IAccount[];
8
8
  }
9
- export declare class CloudfoundryRollbackClusterStageConfig extends React.Component<ICloudfoundryRollbackClusterStageProps, ICloudfoundryRollbackClusterStageConfigState> {
9
+ export declare class CloudFoundryRollbackClusterStageConfig extends React.Component<ICloudFoundryRollbackClusterStageProps, ICloudFoundryRollbackClusterStageConfigState> {
10
10
  private destroy$;
11
- constructor(props: ICloudfoundryRollbackClusterStageProps);
11
+ constructor(props: ICloudFoundryRollbackClusterStageProps);
12
12
  componentDidMount(): void;
13
13
  componentWillUnmount(): void;
14
14
  private waitTimeBetweenRegionsUpdated;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import type { IAccount, IStageConfigProps } from '@spinnaker/core';
3
- export interface ICloudfoundryRunTaskStageConfigState {
3
+ export interface ICloudFoundryRunTaskStageConfigState {
4
4
  accounts: IAccount[];
5
5
  region: string;
6
6
  }
7
- export declare class CloudfoundryRunJobStageConfig extends React.Component<IStageConfigProps, ICloudfoundryRunTaskStageConfigState> {
7
+ export declare class CloudFoundryRunJobStageConfig extends React.Component<IStageConfigProps, ICloudFoundryRunTaskStageConfigState> {
8
8
  private destroy$;
9
9
  constructor(props: IStageConfigProps);
10
10
  componentDidMount(): void;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
3
- export declare function CloudfoundryShareServiceExecutionDetails(props: IExecutionDetailsSectionProps): JSX.Element;
4
- export declare namespace CloudfoundryShareServiceExecutionDetails {
3
+ export declare function CloudFoundryShareServiceExecutionDetails(props: IExecutionDetailsSectionProps): JSX.Element;
4
+ export declare namespace CloudFoundryShareServiceExecutionDetails {
5
5
  const title = "cloudfoundryShareServiceConfig";
6
6
  }
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { IAccount, IStageConfigProps } from '@spinnaker/core';
3
- interface ICloudfoundryShareServiceStageConfigState {
3
+ interface ICloudFoundryShareServiceStageConfigState {
4
4
  accounts: IAccount[];
5
5
  regions: string[];
6
6
  shareToRegionsList: string[];
7
7
  }
8
- export declare class CloudfoundryShareServiceStageConfig extends React.Component<IStageConfigProps, ICloudfoundryShareServiceStageConfigState> {
8
+ export declare class CloudFoundryShareServiceStageConfig extends React.Component<IStageConfigProps, ICloudFoundryShareServiceStageConfigState> {
9
9
  private destroy$;
10
10
  constructor(props: IStageConfigProps);
11
11
  componentDidMount(): void;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
3
- export declare function CloudfoundryUnshareServiceExecutionDetails(props: IExecutionDetailsSectionProps): JSX.Element;
4
- export declare namespace CloudfoundryUnshareServiceExecutionDetails {
3
+ export declare function CloudFoundryUnshareServiceExecutionDetails(props: IExecutionDetailsSectionProps): JSX.Element;
4
+ export declare namespace CloudFoundryUnshareServiceExecutionDetails {
5
5
  const title = "cloudfoundryUnshareServiceConfig";
6
6
  }
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import type { IAccount, IStageConfigProps } from '@spinnaker/core';
3
- interface ICloudfoundryShareServiceStageConfigState {
3
+ interface ICloudFoundryShareServiceStageConfigState {
4
4
  accounts: IAccount[];
5
5
  regions: string[];
6
6
  }
7
- export declare class CloudfoundryUnshareServiceStageConfig extends React.Component<IStageConfigProps, ICloudfoundryShareServiceStageConfigState> {
7
+ export declare class CloudFoundryUnshareServiceStageConfig extends React.Component<IStageConfigProps, ICloudFoundryShareServiceStageConfigState> {
8
8
  private destroy$;
9
9
  constructor(props: IStageConfigProps);
10
10
  componentDidMount(): void;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { IAccount, IStageConfigProps } from '@spinnaker/core';
3
- export interface ICloudfoundryAsgStageConfigState {
3
+ export interface ICloudFoundryAsgStageConfigState {
4
4
  accounts: IAccount[];
5
5
  }
6
- export declare class CloudfoundryAsgStageConfig extends React.Component<IStageConfigProps, ICloudfoundryAsgStageConfigState> {
6
+ export declare class CloudFoundryAsgStageConfig extends React.Component<IStageConfigProps, ICloudFoundryAsgStageConfigState> {
7
7
  private destroy$;
8
8
  constructor(props: IStageConfigProps);
9
9
  componentDidMount(): void;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
3
- export declare function CloudfoundryLoadBalancersExecutionDetails(props: IExecutionDetailsSectionProps): JSX.Element;
4
- export declare namespace CloudfoundryLoadBalancersExecutionDetails {
3
+ export declare function CloudFoundryLoadBalancersExecutionDetails(props: IExecutionDetailsSectionProps): JSX.Element;
4
+ export declare namespace CloudFoundryLoadBalancersExecutionDetails {
5
5
  const title = "cloudfoundryLoadBalancersConfig";
6
6
  }
@@ -1,21 +1,21 @@
1
1
  import React from 'react';
2
2
  import type { Application, IAccount, IPipeline, IStageConfigProps } from '@spinnaker/core';
3
- interface ICloudfoundryLoadBalancerStageConfigProps extends IStageConfigProps {
3
+ interface ICloudFoundryLoadBalancerStageConfigProps extends IStageConfigProps {
4
4
  pipeline: IPipeline;
5
5
  }
6
6
  interface ICloudFoundryLoadBalancersValues {
7
7
  routes: string[];
8
8
  }
9
- interface ICloudfoundryLoadBalancersStageConfigState {
9
+ interface ICloudFoundryLoadBalancersStageConfigState {
10
10
  accounts: IAccount[];
11
11
  application: Application;
12
12
  initialValues: ICloudFoundryLoadBalancersValues;
13
13
  pipeline: IPipeline;
14
14
  }
15
- export declare class CloudfoundryLoadBalancersStageConfig extends React.Component<ICloudfoundryLoadBalancerStageConfigProps, ICloudfoundryLoadBalancersStageConfigState> {
15
+ export declare class CloudFoundryLoadBalancersStageConfig extends React.Component<ICloudFoundryLoadBalancerStageConfigProps, ICloudFoundryLoadBalancersStageConfigState> {
16
16
  private destroy$;
17
17
  private formikRef;
18
- constructor(props: ICloudfoundryLoadBalancerStageConfigProps);
18
+ constructor(props: ICloudFoundryLoadBalancerStageConfigProps);
19
19
  componentDidMount(): void;
20
20
  componentWillUnmount(): void;
21
21
  private targetUpdated;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
3
- export declare function CloudfoundryServiceExecutionDetails(props: IExecutionDetailsSectionProps): JSX.Element;
4
- export declare namespace CloudfoundryServiceExecutionDetails {
3
+ export declare function CloudFoundryServiceExecutionDetails(props: IExecutionDetailsSectionProps): JSX.Element;
4
+ export declare namespace CloudFoundryServiceExecutionDetails {
5
5
  const title = "cloudfoundryServiceConfig";
6
6
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
3
- export declare function CloudfoundryServiceKeyExecutionDetails(props: IExecutionDetailsSectionProps): JSX.Element;
4
- export declare namespace CloudfoundryServiceKeyExecutionDetails {
3
+ export declare function CloudFoundryServiceKeyExecutionDetails(props: IExecutionDetailsSectionProps): JSX.Element;
4
+ export declare namespace CloudFoundryServiceKeyExecutionDetails {
5
5
  const title = "cloudfoundryServiceKeyConfig";
6
6
  }
@@ -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';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spinnaker/cloudfoundry",
3
3
  "license": "Apache-2.0",
4
- "version": "0.0.163",
4
+ "version": "0.0.164",
5
5
  "module": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
7
7
  "scripts": {
@@ -13,7 +13,7 @@
13
13
  "lib": "npm run build"
14
14
  },
15
15
  "dependencies": {
16
- "@spinnaker/core": "^0.16.0",
16
+ "@spinnaker/core": "^0.16.1",
17
17
  "@uirouter/react": "1.0.7",
18
18
  "@uirouter/react-hybrid": "1.0.2",
19
19
  "angular": "1.6.10",
@@ -44,5 +44,5 @@
44
44
  "shx": "0.3.3",
45
45
  "typescript": "4.3.5"
46
46
  },
47
- "gitHead": "59026ea6af7b81ffb8e8c59e18f43396906ddafb"
47
+ "gitHead": "17b98201c6de43729a39f6d205656d0c4be1db16"
48
48
  }
package/src/cf.module.ts CHANGED
@@ -13,23 +13,23 @@ import './pipeline/config/validation/cfTargetImpedance.validator';
13
13
  import './pipeline/config/validation/instanceSize.validator';
14
14
  import './pipeline/config/validation/requiredRoutes.validator';
15
15
  import './pipeline/stages/bakeCloudFoundryManifest/bakeCloudFoundryManifestStage';
16
- import './pipeline/stages/cloneServerGroup/cloudfoundryCloneServerGroupStage.module';
16
+ import './pipeline/stages/cloneServerGroup/cloudFoundryCloneServerGroupStage.module';
17
17
  import './pipeline/stages/createServiceBindings/cloudFoundryCreateServiceBindingsStage';
18
- import './pipeline/stages/createServiceKey/cloudfoundryCreateServiceKeyStage.module';
18
+ import './pipeline/stages/createServiceKey/cloudFoundryCreateServiceKeyStage.module';
19
19
  import './pipeline/stages/deleteServiceBindings/cloudFoundryDeleteServiceBindingsStage';
20
- import './pipeline/stages/deleteServiceKey/cloudfoundryDeleteServiceKeyStage.module';
21
- import './pipeline/stages/deployService/cloudfoundryDeployServiceStage.module';
22
- import './pipeline/stages/destroyAsg/cloudfoundryDestroyAsgStage.module';
23
- import './pipeline/stages/destroyService/cloudfoundryDestroyServiceStage.module';
24
- import './pipeline/stages/disableAsg/cloudfoundryDisableAsgStage.module';
25
- import './pipeline/stages/enableAsg/cloudfoundryEnableAsgStage.module';
26
- import './pipeline/stages/mapLoadBalancers/cloudfoundryMapLoadBalancersStage.module';
27
- import './pipeline/stages/resizeAsg/cloudfoundryResizeAsgStage.module';
28
- import './pipeline/stages/rollbackCluster/cloudfoundryRollbackClusterStage.module';
29
- import './pipeline/stages/runJob/cloudfoundryRunJob.module';
30
- import './pipeline/stages/shareService/cloudfoundryShareServiceStage.module';
31
- import './pipeline/stages/unmapLoadBalancers/cloudfoundryUnmapLoadBalancersStage.module';
32
- import './pipeline/stages/unshareService/cloudfoundryUnshareServiceStage.module';
20
+ import './pipeline/stages/deleteServiceKey/cloudFoundryDeleteServiceKeyStage.module';
21
+ import './pipeline/stages/deployService/cloudFoundryDeployServiceStage.module';
22
+ import './pipeline/stages/destroyAsg/cloudFoundryDestroyAsgStage.module';
23
+ import './pipeline/stages/destroyService/cloudFoundryDestroyServiceStage.module';
24
+ import './pipeline/stages/disableAsg/cloudFoundryDisableAsgStage.module';
25
+ import './pipeline/stages/enableAsg/cloudFoundryEnableAsgStage.module';
26
+ import './pipeline/stages/mapLoadBalancers/cloudFoundryMapLoadBalancersStage.module';
27
+ import './pipeline/stages/resizeAsg/cloudFoundryResizeAsgStage.module';
28
+ import './pipeline/stages/rollbackCluster/cloudFoundryRollbackClusterStage.module';
29
+ import './pipeline/stages/runJob/cloudFoundryRunJob.module';
30
+ import './pipeline/stages/shareService/cloudFoundryShareServiceStage.module';
31
+ import './pipeline/stages/unmapLoadBalancers/cloudFoundryUnmapLoadBalancersStage.module';
32
+ import './pipeline/stages/unshareService/cloudFoundryUnshareServiceStage.module';
33
33
  import {
34
34
  ApplicationManagerSection,
35
35
  BoundServicesSection,
@@ -19,7 +19,7 @@ class CloudFoundryApplicationNameValidator {
19
19
  private static validateLength(name: string, errors: string[]): void {
20
20
  if (name.length > CloudFoundryApplicationNameValidator.MAX_RESOURCE_NAME_LENGTH) {
21
21
  errors.push(
22
- `The maximum length for an application in Cloudfoundry is ${CloudFoundryApplicationNameValidator.MAX_RESOURCE_NAME_LENGTH} characters.`,
22
+ `The maximum length for an application in Cloud Foundry is ${CloudFoundryApplicationNameValidator.MAX_RESOURCE_NAME_LENGTH} characters.`,
23
23
  );
24
24
  }
25
25
  }
@@ -5,13 +5,13 @@ import { StageConstants } from '@spinnaker/core';
5
5
  import { CloudFoundryServerGroupCommandBuilder } from '../../../serverGroup/configure';
6
6
  import { CloudFoundryCreateServerGroupModal } from '../../../serverGroup/configure/wizard/CreateServerGroupModal';
7
7
 
8
- export interface ICloudfoundryCloneServerGroupStageConfigState {
8
+ export interface ICloudFoundryCloneServerGroupStageConfigState {
9
9
  buttonText: string;
10
10
  }
11
11
 
12
- export class CloudfoundryCloneServerGroupStageConfig extends React.Component<
12
+ export class CloudFoundryCloneServerGroupStageConfig extends React.Component<
13
13
  IStageConfigProps,
14
- ICloudfoundryCloneServerGroupStageConfigState
14
+ ICloudFoundryCloneServerGroupStageConfigState
15
15
  > {
16
16
  constructor(props: IStageConfigProps) {
17
17
  super(props);
@@ -1,12 +1,12 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { Registry } from '@spinnaker/core';
3
3
 
4
- import { CloudfoundryCloneServerGroupStageConfig } from './CloudfoundryCloneServerGroupStageConfig';
4
+ import { CloudFoundryCloneServerGroupStageConfig } from './CloudFoundryCloneServerGroupStageConfig';
5
5
 
6
6
  Registry.pipeline.registerStage({
7
7
  accountExtractor: (stage: IStage) => [stage.context.credentials],
8
8
  cloudProvider: 'cloudfoundry',
9
- component: CloudfoundryCloneServerGroupStageConfig,
9
+ component: CloudFoundryCloneServerGroupStageConfig,
10
10
  configAccountExtractor: (stage: IStage) => [stage.credentials],
11
11
  key: 'cloneServerGroup',
12
12
  provides: 'cloneServerGroup',
@@ -16,7 +16,7 @@ import {
16
16
 
17
17
  import { AccountRegionClusterSelector } from '../../../presentation/widgets/accountRegionClusterSelector';
18
18
 
19
- interface ICloudfoundryCreateServiceBindingsStageConfigState {
19
+ interface ICloudFoundryCreateServiceBindingsStageConfigState {
20
20
  accounts: IAccount[];
21
21
  regions: string[];
22
22
  application: Application;
@@ -24,7 +24,7 @@ interface ICloudfoundryCreateServiceBindingsStageConfigState {
24
24
 
25
25
  export class CloudFoundryCreateServiceBindingsStageConfigForm extends React.Component<
26
26
  IFormikStageConfigInjectedProps,
27
- ICloudfoundryCreateServiceBindingsStageConfigState
27
+ ICloudFoundryCreateServiceBindingsStageConfigState
28
28
  > {
29
29
  private static readonly excludedArtifactTypes = excludeAllTypesExcept(
30
30
  ArtifactTypePatterns.BITBUCKET_FILE,
@@ -6,14 +6,14 @@ import { takeUntil } from 'rxjs/operators';
6
6
  import type { IAccount, IRegion, IStageConfigProps } from '@spinnaker/core';
7
7
  import { AccountService, ReactSelectInput, StageConfigField, TextInput } from '@spinnaker/core';
8
8
 
9
- interface ICloudfoundryCreateServiceKeyStageConfigState {
9
+ interface ICloudFoundryCreateServiceKeyStageConfigState {
10
10
  accounts: string[];
11
11
  regions: string[];
12
12
  }
13
13
 
14
- export class CloudfoundryCreateServiceKeyStageConfig extends React.Component<
14
+ export class CloudFoundryCreateServiceKeyStageConfig extends React.Component<
15
15
  IStageConfigProps,
16
- ICloudfoundryCreateServiceKeyStageConfigState
16
+ ICloudFoundryCreateServiceKeyStageConfigState
17
17
  > {
18
18
  private destroy$ = new Subject();
19
19
 
@@ -1,15 +1,15 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
3
3
 
4
- import { CloudfoundryCreateServiceKeyStageConfig } from './CloudfoundryCreateServiceKeyStageConfig';
5
- import { CloudfoundryServiceKeyExecutionDetails } from '../../../presentation';
4
+ import { CloudFoundryCreateServiceKeyStageConfig } from './CloudFoundryCreateServiceKeyStageConfig';
5
+ import { CloudFoundryServiceKeyExecutionDetails } from '../../../presentation';
6
6
 
7
7
  Registry.pipeline.registerStage({
8
8
  accountExtractor: (stage: IStage) => [stage.context.credentials],
9
9
  cloudProvider: 'cloudfoundry',
10
- component: CloudfoundryCreateServiceKeyStageConfig,
10
+ component: CloudFoundryCreateServiceKeyStageConfig,
11
11
  description: 'Create a service key',
12
- executionDetailsSections: [CloudfoundryServiceKeyExecutionDetails, ExecutionDetailsTasks],
12
+ executionDetailsSections: [CloudFoundryServiceKeyExecutionDetails, ExecutionDetailsTasks],
13
13
  key: 'createServiceKey',
14
14
  label: 'Create Service Key',
15
15
  validators: [
@@ -7,7 +7,7 @@ import { AccountService, NgReact, StageConfigField, StageConstants, TextInput }
7
7
 
8
8
  import { AccountRegionClusterSelector } from '../../../presentation/widgets/accountRegionClusterSelector';
9
9
 
10
- interface ICloudfoundryDeleteServiceBindingsStageConfigState {
10
+ interface ICloudFoundryDeleteServiceBindingsStageConfigState {
11
11
  accounts: IAccount[];
12
12
  regions: string[];
13
13
  application: Application;
@@ -15,7 +15,7 @@ interface ICloudfoundryDeleteServiceBindingsStageConfigState {
15
15
 
16
16
  export class CloudFoundryDeleteServiceBindingsStageConfigForm extends React.Component<
17
17
  IFormikStageConfigInjectedProps,
18
- ICloudfoundryDeleteServiceBindingsStageConfigState
18
+ ICloudFoundryDeleteServiceBindingsStageConfigState
19
19
  > {
20
20
  private destroy$ = new Subject();
21
21
 
@@ -6,14 +6,14 @@ import { takeUntil } from 'rxjs/operators';
6
6
  import type { IAccount, IRegion, IStageConfigProps } from '@spinnaker/core';
7
7
  import { AccountService, ReactSelectInput, StageConfigField, TextInput } from '@spinnaker/core';
8
8
 
9
- interface ICloudfoundryDeleteServiceKeyStageConfigState {
9
+ interface ICloudFoundryDeleteServiceKeyStageConfigState {
10
10
  accounts: string[];
11
11
  regions: string[];
12
12
  }
13
13
 
14
- export class CloudfoundryDeleteServiceKeyStageConfig extends React.Component<
14
+ export class CloudFoundryDeleteServiceKeyStageConfig extends React.Component<
15
15
  IStageConfigProps,
16
- ICloudfoundryDeleteServiceKeyStageConfigState
16
+ ICloudFoundryDeleteServiceKeyStageConfigState
17
17
  > {
18
18
  private destroy$ = new Subject();
19
19
 
@@ -1,16 +1,16 @@
1
1
  import type { IStage } from '@spinnaker/core';
2
2
  import { ExecutionDetailsTasks, Registry } from '@spinnaker/core';
3
3
 
4
- import { CloudfoundryDeleteServiceKeyStageConfig } from './CloudfoundryDeleteServiceKeyStageConfig';
5
- import { CloudfoundryServiceKeyExecutionDetails } from '../../../presentation';
4
+ import { CloudFoundryDeleteServiceKeyStageConfig } from './CloudFoundryDeleteServiceKeyStageConfig';
5
+ import { CloudFoundryServiceKeyExecutionDetails } from '../../../presentation';
6
6
 
7
7
  Registry.pipeline.registerStage({
8
8
  accountExtractor: (stage: IStage) => [stage.context.credentials],
9
9
  configAccountExtractor: (stage: IStage) => [stage.credentials],
10
10
  cloudProvider: 'cloudfoundry',
11
- component: CloudfoundryDeleteServiceKeyStageConfig,
11
+ component: CloudFoundryDeleteServiceKeyStageConfig,
12
12
  description: 'Delete a service key',
13
- executionDetailsSections: [CloudfoundryServiceKeyExecutionDetails, ExecutionDetailsTasks],
13
+ executionDetailsSections: [CloudFoundryServiceKeyExecutionDetails, ExecutionDetailsTasks],
14
14
  key: 'deleteServiceKey',
15
15
  label: 'Delete Service Key',
16
16
  validators: [
@@ -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: {