@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.
- package/CHANGELOG.md +11 -0
- package/dist/cf.module.d.ts +15 -15
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/pipeline/stages/cloneServerGroup/{CloudfoundryCloneServerGroupStageConfig.d.ts → CloudFoundryCloneServerGroupStageConfig.d.ts} +2 -2
- package/dist/pipeline/stages/cloneServerGroup/{cloudfoundryCloneServerGroupStage.module.d.ts → cloudFoundryCloneServerGroupStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/createServiceBindings/CloudFoundryCreateServiceBindingsStageConfigForm.d.ts +2 -2
- package/dist/pipeline/stages/{deleteServiceKey/CloudfoundryDeleteServiceKeyStageConfig.d.ts → createServiceKey/CloudFoundryCreateServiceKeyStageConfig.d.ts} +2 -2
- package/dist/pipeline/stages/createServiceKey/{cloudfoundryCreateServiceKeyStage.module.d.ts → cloudFoundryCreateServiceKeyStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/deleteServiceBindings/CloudFoundryDeleteServiceBindingsStageConfigForm.d.ts +2 -2
- package/dist/pipeline/stages/{createServiceKey/CloudfoundryCreateServiceKeyStageConfig.d.ts → deleteServiceKey/CloudFoundryDeleteServiceKeyStageConfig.d.ts} +2 -2
- package/dist/pipeline/stages/deleteServiceKey/{cloudfoundryDeleteServiceKeyStage.module.d.ts → cloudFoundryDeleteServiceKeyStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/deployService/{CloudfoundryDeployServiceStageConfig.d.ts → CloudFoundryDeployServiceStageConfig.d.ts} +2 -2
- package/dist/pipeline/stages/deployService/CreateServiceInstanceDirectInput.d.ts +3 -3
- package/dist/pipeline/stages/deployService/ICloudFoundryServiceManifestSource.d.ts +2 -2
- package/dist/pipeline/stages/deployService/{cloudfoundryDeployServiceStage.module.d.ts → cloudFoundryDeployServiceStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/destroyAsg/{cloudfoundryDestroyAsgStage.module.d.ts → cloudFoundryDestroyAsgStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/destroyService/{CloudfoundryDestroyServiceStageConfig.d.ts → CloudFoundryDestroyServiceStageConfig.d.ts} +0 -0
- package/dist/pipeline/stages/destroyService/CloudFoundryDestroyServiceStageConfigForm.d.ts +2 -2
- package/dist/pipeline/stages/destroyService/{cloudfoundryDestroyServiceStage.module.d.ts → cloudFoundryDestroyServiceStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/disableAsg/{cloudfoundryDisableAsgStage.module.d.ts → cloudFoundryDisableAsgStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/enableAsg/{cloudfoundryEnableAsgStage.module.d.ts → cloudFoundryEnableAsgStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/mapLoadBalancers/{cloudfoundryMapLoadBalancersStage.module.d.ts → cloudFoundryMapLoadBalancersStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/resizeAsg/{CloudfoundryResizeAsgStageConfig.d.ts → CloudFoundryResizeAsgStageConfig.d.ts} +2 -2
- package/dist/pipeline/stages/resizeAsg/{cloudfoundryResizeAsgStage.module.d.ts → cloudFoundryResizeAsgStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/rollbackCluster/{CloudfoundryRollbackClusterStageConfig.d.ts → CloudFoundryRollbackClusterStageConfig.d.ts} +4 -4
- package/dist/pipeline/stages/rollbackCluster/{cloudfoundryRollbackClusterStage.module.d.ts → cloudFoundryRollbackClusterStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/runJob/{CloudfoundryRunJobStageConfig.d.ts → CloudFoundryRunJobStageConfig.d.ts} +2 -2
- package/dist/pipeline/stages/runJob/{cloudfoundryRunJob.module.d.ts → cloudFoundryRunJob.module.d.ts} +0 -0
- package/dist/pipeline/stages/shareService/{CloudfoundryShareServiceExecutionDetails.d.ts → CloudFoundryShareServiceExecutionDetails.d.ts} +2 -2
- package/dist/pipeline/stages/shareService/{CloudfoundryShareServiceStageConfig.d.ts → CloudFoundryShareServiceStageConfig.d.ts} +2 -2
- package/dist/pipeline/stages/shareService/{cloudfoundryShareServiceStage.module.d.ts → cloudFoundryShareServiceStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/unmapLoadBalancers/{cloudfoundryUnmapLoadBalancersStage.module.d.ts → cloudFoundryUnmapLoadBalancersStage.module.d.ts} +0 -0
- package/dist/pipeline/stages/unshareService/{CloudfoundryUnshareServiceExecutionDetails.d.ts → CloudFoundryUnshareServiceExecutionDetails.d.ts} +2 -2
- package/dist/pipeline/stages/unshareService/{CloudfoundryUnshareServiceStageConfig.d.ts → CloudFoundryUnshareServiceStageConfig.d.ts} +2 -2
- package/dist/pipeline/stages/unshareService/{cloudfoundryUnshareServiceStage.module.d.ts → cloudFoundryUnshareServiceStage.module.d.ts} +0 -0
- package/dist/presentation/pipeline/stages/{CloudfoundryAsgStageConfig.d.ts → CloudFoundryAsgStageConfig.d.ts} +2 -2
- package/dist/presentation/pipeline/stages/{CloudfoundryLoadBalancersExecutionDetails.d.ts → CloudFoundryLoadBalancersExecutionDetails.d.ts} +2 -2
- package/dist/presentation/pipeline/stages/{CloudfoundryLoadBalancersStageConfig.d.ts → CloudFoundryLoadBalancersStageConfig.d.ts} +4 -4
- package/dist/presentation/pipeline/stages/{CloudfoundryServiceExecutionDetails.d.ts → CloudFoundryServiceExecutionDetails.d.ts} +2 -2
- package/dist/presentation/pipeline/stages/{CloudfoundryServiceKeyExecutionDetails.d.ts → CloudFoundryServiceKeyExecutionDetails.d.ts} +2 -2
- package/dist/presentation/pipeline/stages/index.d.ts +5 -5
- package/package.json +3 -3
- package/src/cf.module.ts +15 -15
- package/src/common/applicationName.validator.ts +1 -1
- package/src/pipeline/stages/cloneServerGroup/{CloudfoundryCloneServerGroupStageConfig.tsx → CloudFoundryCloneServerGroupStageConfig.tsx} +3 -3
- package/src/pipeline/stages/cloneServerGroup/{cloudfoundryCloneServerGroupStage.module.ts → cloudFoundryCloneServerGroupStage.module.ts} +2 -2
- package/src/pipeline/stages/createServiceBindings/CloudFoundryCreateServiceBindingsStageConfigForm.tsx +2 -2
- package/src/pipeline/stages/createServiceKey/{CloudfoundryCreateServiceKeyStageConfig.tsx → CloudFoundryCreateServiceKeyStageConfig.tsx} +3 -3
- package/src/pipeline/stages/createServiceKey/{cloudfoundryCreateServiceKeyStage.module.ts → cloudFoundryCreateServiceKeyStage.module.ts} +4 -4
- package/src/pipeline/stages/deleteServiceBindings/CloudFoundryDeleteServiceBindingsStageConfigForm.tsx +2 -2
- package/src/pipeline/stages/deleteServiceKey/{CloudfoundryDeleteServiceKeyStageConfig.tsx → CloudFoundryDeleteServiceKeyStageConfig.tsx} +3 -3
- package/src/pipeline/stages/deleteServiceKey/{cloudfoundryDeleteServiceKeyStage.module.ts → cloudFoundryDeleteServiceKeyStage.module.ts} +4 -4
- package/src/pipeline/stages/deployService/{CloudfoundryDeployServiceStageConfig.tsx → CloudFoundryDeployServiceStageConfig.tsx} +3 -3
- package/src/pipeline/stages/deployService/CreateServiceInstanceDirectInput.tsx +3 -3
- package/src/pipeline/stages/deployService/ICloudFoundryServiceManifestSource.ts +2 -2
- package/src/pipeline/stages/deployService/{cloudfoundryDeployServiceStage.module.ts → cloudFoundryDeployServiceStage.module.ts} +4 -4
- package/src/pipeline/stages/destroyAsg/{cloudfoundryDestroyAsgStage.module.ts → cloudFoundryDestroyAsgStage.module.ts} +2 -2
- package/src/pipeline/stages/destroyService/{CloudfoundryDestroyServiceStageConfig.tsx → CloudFoundryDestroyServiceStageConfig.tsx} +0 -0
- package/src/pipeline/stages/destroyService/CloudFoundryDestroyServiceStageConfigForm.tsx +2 -2
- package/src/pipeline/stages/destroyService/{cloudfoundryDestroyServiceStage.module.ts → cloudFoundryDestroyServiceStage.module.ts} +3 -3
- package/src/pipeline/stages/disableAsg/{cloudfoundryDisableAsgStage.module.ts → cloudFoundryDisableAsgStage.module.ts} +2 -2
- package/src/pipeline/stages/enableAsg/{cloudfoundryEnableAsgStage.module.ts → cloudFoundryEnableAsgStage.module.ts} +2 -2
- package/src/pipeline/stages/mapLoadBalancers/{cloudfoundryMapLoadBalancersStage.module.ts → cloudFoundryMapLoadBalancersStage.module.ts} +3 -3
- package/src/pipeline/stages/resizeAsg/{CloudfoundryResizeAsgStageConfig.tsx → CloudFoundryResizeAsgStageConfig.tsx} +3 -3
- package/src/pipeline/stages/resizeAsg/{cloudfoundryResizeAsgStage.module.ts → cloudFoundryResizeAsgStage.module.ts} +2 -2
- package/src/pipeline/stages/rollbackCluster/{CloudfoundryRollbackClusterStageConfig.tsx → CloudFoundryRollbackClusterStageConfig.tsx} +6 -6
- package/src/pipeline/stages/rollbackCluster/{cloudfoundryRollbackClusterStage.module.ts → cloudFoundryRollbackClusterStage.module.ts} +2 -2
- package/src/pipeline/stages/runJob/{CloudfoundryRunJobStageConfig.tsx → CloudFoundryRunJobStageConfig.tsx} +3 -3
- package/src/pipeline/stages/runJob/{cloudfoundryRunJob.module.ts → cloudFoundryRunJob.module.ts} +2 -2
- package/src/pipeline/stages/shareService/{CloudfoundryShareServiceExecutionDetails.tsx → CloudFoundryShareServiceExecutionDetails.tsx} +2 -2
- package/src/pipeline/stages/shareService/{CloudfoundryShareServiceStageConfig.tsx → CloudFoundryShareServiceStageConfig.tsx} +3 -3
- package/src/pipeline/stages/shareService/{cloudfoundryShareServiceStage.module.ts → cloudFoundryShareServiceStage.module.ts} +4 -4
- package/src/pipeline/stages/unmapLoadBalancers/{cloudfoundryUnmapLoadBalancersStage.module.ts → cloudFoundryUnmapLoadBalancersStage.module.ts} +3 -3
- package/src/pipeline/stages/unshareService/{CloudfoundryUnshareServiceExecutionDetails.tsx → CloudFoundryUnshareServiceExecutionDetails.tsx} +2 -2
- package/src/pipeline/stages/unshareService/{CloudfoundryUnshareServiceStageConfig.tsx → CloudFoundryUnshareServiceStageConfig.tsx} +3 -3
- package/src/pipeline/stages/unshareService/{cloudfoundryUnshareServiceStage.module.ts → cloudFoundryUnshareServiceStage.module.ts} +4 -4
- package/src/presentation/pipeline/stages/{CloudfoundryAsgStageConfig.tsx → CloudFoundryAsgStageConfig.tsx} +2 -2
- package/src/presentation/pipeline/stages/{CloudfoundryLoadBalancersExecutionDetails.tsx → CloudFoundryLoadBalancersExecutionDetails.tsx} +2 -2
- package/src/presentation/pipeline/stages/{CloudfoundryLoadBalancersStageConfig.tsx → CloudFoundryLoadBalancersStageConfig.tsx} +6 -6
- package/src/presentation/pipeline/stages/{CloudfoundryServiceExecutionDetails.tsx → CloudFoundryServiceExecutionDetails.tsx} +2 -2
- package/src/presentation/pipeline/stages/{CloudfoundryServiceKeyExecutionDetails.tsx → CloudFoundryServiceKeyExecutionDetails.tsx} +2 -2
- 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
|
|
3
|
+
export interface ICloudFoundryCloneServerGroupStageConfigState {
|
|
4
4
|
buttonText: string;
|
|
5
5
|
}
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class CloudFoundryCloneServerGroupStageConfig extends React.Component<IStageConfigProps, ICloudFoundryCloneServerGroupStageConfigState> {
|
|
7
7
|
constructor(props: IStageConfigProps);
|
|
8
8
|
private handleResult;
|
|
9
9
|
private addCluster;
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Application, IAccount, IFormikStageConfigInjectedProps } from '@spinnaker/core';
|
|
3
|
-
interface
|
|
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,
|
|
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
|
|
3
|
+
interface ICloudFoundryCreateServiceKeyStageConfigState {
|
|
4
4
|
accounts: string[];
|
|
5
5
|
regions: string[];
|
|
6
6
|
}
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class CloudFoundryCreateServiceKeyStageConfig extends React.Component<IStageConfigProps, ICloudFoundryCreateServiceKeyStageConfigState> {
|
|
8
8
|
private destroy$;
|
|
9
9
|
constructor(props: IStageConfigProps);
|
|
10
10
|
componentDidMount(): void;
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Application, IAccount, IFormikStageConfigInjectedProps } from '@spinnaker/core';
|
|
3
|
-
interface
|
|
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,
|
|
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
|
|
3
|
+
interface ICloudFoundryDeleteServiceKeyStageConfigState {
|
|
4
4
|
accounts: string[];
|
|
5
5
|
regions: string[];
|
|
6
6
|
}
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class CloudFoundryDeleteServiceKeyStageConfig extends React.Component<IStageConfigProps, ICloudFoundryDeleteServiceKeyStageConfigState> {
|
|
8
8
|
private destroy$;
|
|
9
9
|
constructor(props: IStageConfigProps);
|
|
10
10
|
componentDidMount(): void;
|
|
File without changes
|
|
@@ -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
|
|
4
|
+
interface ICloudFoundryDeployServiceStageConfigState {
|
|
5
5
|
regions: IRegion[];
|
|
6
6
|
accounts: IAccount[];
|
|
7
7
|
}
|
|
8
|
-
export declare class
|
|
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 {
|
|
3
|
+
import type { ICloudFoundryServiceManifestDirectSource } from './ICloudFoundryServiceManifestSource';
|
|
4
4
|
interface ICreateServiceInstanceDirectInputProps {
|
|
5
5
|
credentials: string;
|
|
6
6
|
region: string;
|
|
7
|
-
service:
|
|
8
|
-
onServiceChanged: (_:
|
|
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
|
|
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?:
|
|
23
|
+
direct?: ICloudFoundryServiceManifestDirectSource | ICloudFoundryServiceUserProvidedSource;
|
|
24
24
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Application, IAccount, IFormikStageConfigInjectedProps } from '@spinnaker/core';
|
|
3
|
-
export interface
|
|
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,
|
|
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;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { IAccount, IStageConfigProps } from '@spinnaker/core';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ICloudFoundryResizeAsgStageConfigState {
|
|
4
4
|
accounts: IAccount[];
|
|
5
5
|
}
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class CloudFoundryResizeAsgStageConfig extends React.Component<IStageConfigProps, ICloudFoundryResizeAsgStageConfigState> {
|
|
7
7
|
private destroy$;
|
|
8
8
|
constructor(props: IStageConfigProps);
|
|
9
9
|
componentDidMount(): void;
|
|
File without changes
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { IAccount, IPipeline, IStageConfigProps } from '@spinnaker/core';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ICloudFoundryRollbackClusterStageProps extends IStageConfigProps {
|
|
4
4
|
pipeline: IPipeline;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface ICloudFoundryRollbackClusterStageConfigState {
|
|
7
7
|
accounts: IAccount[];
|
|
8
8
|
}
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class CloudFoundryRollbackClusterStageConfig extends React.Component<ICloudFoundryRollbackClusterStageProps, ICloudFoundryRollbackClusterStageConfigState> {
|
|
10
10
|
private destroy$;
|
|
11
|
-
constructor(props:
|
|
11
|
+
constructor(props: ICloudFoundryRollbackClusterStageProps);
|
|
12
12
|
componentDidMount(): void;
|
|
13
13
|
componentWillUnmount(): void;
|
|
14
14
|
private waitTimeBetweenRegionsUpdated;
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { IAccount, IStageConfigProps } from '@spinnaker/core';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ICloudFoundryRunTaskStageConfigState {
|
|
4
4
|
accounts: IAccount[];
|
|
5
5
|
region: string;
|
|
6
6
|
}
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class CloudFoundryRunJobStageConfig extends React.Component<IStageConfigProps, ICloudFoundryRunTaskStageConfigState> {
|
|
8
8
|
private destroy$;
|
|
9
9
|
constructor(props: IStageConfigProps);
|
|
10
10
|
componentDidMount(): void;
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
|
|
3
|
-
export declare function
|
|
4
|
-
export declare namespace
|
|
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
|
|
3
|
+
interface ICloudFoundryShareServiceStageConfigState {
|
|
4
4
|
accounts: IAccount[];
|
|
5
5
|
regions: string[];
|
|
6
6
|
shareToRegionsList: string[];
|
|
7
7
|
}
|
|
8
|
-
export declare class
|
|
8
|
+
export declare class CloudFoundryShareServiceStageConfig extends React.Component<IStageConfigProps, ICloudFoundryShareServiceStageConfigState> {
|
|
9
9
|
private destroy$;
|
|
10
10
|
constructor(props: IStageConfigProps);
|
|
11
11
|
componentDidMount(): void;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { IExecutionDetailsSectionProps } from '@spinnaker/core';
|
|
3
|
-
export declare function
|
|
4
|
-
export declare namespace
|
|
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
|
|
3
|
+
interface ICloudFoundryShareServiceStageConfigState {
|
|
4
4
|
accounts: IAccount[];
|
|
5
5
|
regions: string[];
|
|
6
6
|
}
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class CloudFoundryUnshareServiceStageConfig extends React.Component<IStageConfigProps, ICloudFoundryShareServiceStageConfigState> {
|
|
8
8
|
private destroy$;
|
|
9
9
|
constructor(props: IStageConfigProps);
|
|
10
10
|
componentDidMount(): void;
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { IAccount, IStageConfigProps } from '@spinnaker/core';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ICloudFoundryAsgStageConfigState {
|
|
4
4
|
accounts: IAccount[];
|
|
5
5
|
}
|
|
6
|
-
export declare class
|
|
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
|
|
4
|
-
export declare namespace
|
|
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
|
|
3
|
+
interface ICloudFoundryLoadBalancerStageConfigProps extends IStageConfigProps {
|
|
4
4
|
pipeline: IPipeline;
|
|
5
5
|
}
|
|
6
6
|
interface ICloudFoundryLoadBalancersValues {
|
|
7
7
|
routes: string[];
|
|
8
8
|
}
|
|
9
|
-
interface
|
|
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
|
|
15
|
+
export declare class CloudFoundryLoadBalancersStageConfig extends React.Component<ICloudFoundryLoadBalancerStageConfigProps, ICloudFoundryLoadBalancersStageConfigState> {
|
|
16
16
|
private destroy$;
|
|
17
17
|
private formikRef;
|
|
18
|
-
constructor(props:
|
|
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
|
|
4
|
-
export declare namespace
|
|
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
|
|
4
|
-
export declare namespace
|
|
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 './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
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.
|
|
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.
|
|
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": "
|
|
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/
|
|
16
|
+
import './pipeline/stages/cloneServerGroup/cloudFoundryCloneServerGroupStage.module';
|
|
17
17
|
import './pipeline/stages/createServiceBindings/cloudFoundryCreateServiceBindingsStage';
|
|
18
|
-
import './pipeline/stages/createServiceKey/
|
|
18
|
+
import './pipeline/stages/createServiceKey/cloudFoundryCreateServiceKeyStage.module';
|
|
19
19
|
import './pipeline/stages/deleteServiceBindings/cloudFoundryDeleteServiceBindingsStage';
|
|
20
|
-
import './pipeline/stages/deleteServiceKey/
|
|
21
|
-
import './pipeline/stages/deployService/
|
|
22
|
-
import './pipeline/stages/destroyAsg/
|
|
23
|
-
import './pipeline/stages/destroyService/
|
|
24
|
-
import './pipeline/stages/disableAsg/
|
|
25
|
-
import './pipeline/stages/enableAsg/
|
|
26
|
-
import './pipeline/stages/mapLoadBalancers/
|
|
27
|
-
import './pipeline/stages/resizeAsg/
|
|
28
|
-
import './pipeline/stages/rollbackCluster/
|
|
29
|
-
import './pipeline/stages/runJob/
|
|
30
|
-
import './pipeline/stages/shareService/
|
|
31
|
-
import './pipeline/stages/unmapLoadBalancers/
|
|
32
|
-
import './pipeline/stages/unshareService/
|
|
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
|
|
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
|
|
8
|
+
export interface ICloudFoundryCloneServerGroupStageConfigState {
|
|
9
9
|
buttonText: string;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export class
|
|
12
|
+
export class CloudFoundryCloneServerGroupStageConfig extends React.Component<
|
|
13
13
|
IStageConfigProps,
|
|
14
|
-
|
|
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 {
|
|
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:
|
|
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
|
|
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
|
-
|
|
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
|
|
9
|
+
interface ICloudFoundryCreateServiceKeyStageConfigState {
|
|
10
10
|
accounts: string[];
|
|
11
11
|
regions: string[];
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export class
|
|
14
|
+
export class CloudFoundryCreateServiceKeyStageConfig extends React.Component<
|
|
15
15
|
IStageConfigProps,
|
|
16
|
-
|
|
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 {
|
|
5
|
-
import {
|
|
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:
|
|
10
|
+
component: CloudFoundryCreateServiceKeyStageConfig,
|
|
11
11
|
description: 'Create a service key',
|
|
12
|
-
executionDetailsSections: [
|
|
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
|
|
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
|
-
|
|
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
|
|
9
|
+
interface ICloudFoundryDeleteServiceKeyStageConfigState {
|
|
10
10
|
accounts: string[];
|
|
11
11
|
regions: string[];
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export class
|
|
14
|
+
export class CloudFoundryDeleteServiceKeyStageConfig extends React.Component<
|
|
15
15
|
IStageConfigProps,
|
|
16
|
-
|
|
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 {
|
|
5
|
-
import {
|
|
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:
|
|
11
|
+
component: CloudFoundryDeleteServiceKeyStageConfig,
|
|
12
12
|
description: 'Delete a service key',
|
|
13
|
-
executionDetailsSections: [
|
|
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
|
|
21
|
+
interface ICloudFoundryDeployServiceStageConfigState {
|
|
22
22
|
regions: IRegion[];
|
|
23
23
|
accounts: IAccount[];
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export class
|
|
26
|
+
export class CloudFoundryDeployServiceStageConfig extends React.Component<
|
|
27
27
|
IStageConfigProps,
|
|
28
|
-
|
|
28
|
+
ICloudFoundryDeployServiceStageConfigState
|
|
29
29
|
> {
|
|
30
30
|
private defaultDirectManifest = {
|
|
31
31
|
direct: {
|