@spinnaker/google 0.0.71 → 0.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/dist/autoscalingPolicy/GceAutoScalingFieldLayout.d.ts +2 -1
- package/dist/domain/autoHealingPolicy.d.ts +1 -1
- package/dist/domain/backendService.d.ts +1 -1
- package/dist/domain/loadBalancer.d.ts +2 -2
- package/dist/domain/serverGroup.d.ts +2 -2
- package/dist/gce.settings.d.ts +1 -1
- package/dist/healthCheck/healthCheck.read.service.d.ts +1 -1
- package/dist/healthCheck/healthCheckUtils.d.ts +1 -1
- package/dist/image/ImageSelect.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/interceptors/iap.interceptor.d.ts +1 -1
- package/dist/loadBalancer/configure/common/commonLoadBalancer.controller.d.ts +5 -5
- package/dist/loadBalancer/configure/common/commonLoadBalancerCommandBuilder.service.d.ts +4 -4
- package/dist/loadBalancer/httpLoadBalancerUtils.service.d.ts +1 -1
- package/dist/loadBalancer/loadBalancer.setTransformer.d.ts +2 -2
- package/dist/securityGroup/securityGroupHelpText.service.d.ts +1 -1
- package/dist/serverGroup/configure/wizard/advancedSettings/GceAcceleratorConfigurer.d.ts +2 -1
- package/dist/serverGroup/details/stateful/MarkDiskStatefulButton.d.ts +3 -2
- package/dist/serverGroup/details/stateful/StatefulMIGService.d.ts +1 -1
- package/dist/serverGroup/details/stateful/UpdateBootImageButton.d.ts +3 -2
- package/package.json +6 -6
- package/src/address/address.reader.ts +2 -1
- package/src/autoscalingPolicy/GceAutoScalingFieldLayout.tsx +1 -1
- package/src/autoscalingPolicy/components/metricSettings/GcePredictiveAutoscaling.tsx +4 -9
- package/src/cache/cacheRefresh.component.ts +4 -2
- package/src/certificate/certificate.reader.ts +2 -1
- package/src/domain/autoHealingPolicy.ts +1 -1
- package/src/domain/backendService.ts +1 -1
- package/src/domain/loadBalancer.ts +2 -2
- package/src/domain/serverGroup.ts +2 -2
- package/src/gce.settings.ts +2 -1
- package/src/healthCheck/healthCheck.read.service.ts +3 -2
- package/src/healthCheck/healthCheckUtils.ts +1 -1
- package/src/image/ImageSelect.tsx +3 -2
- package/src/interceptors/iap.interceptor.ts +2 -1
- package/src/loadBalancer/configure/choice/gceLoadBalancerChoice.modal.ts +6 -7
- package/src/loadBalancer/configure/common/addressSelector.component.ts +3 -2
- package/src/loadBalancer/configure/common/commonLoadBalancer.controller.ts +6 -5
- package/src/loadBalancer/configure/common/commonLoadBalancerCommandBuilder.service.ts +7 -14
- package/src/loadBalancer/configure/common/healthCheck.component.ts +3 -2
- package/src/loadBalancer/configure/internal/gceCreateInternalLoadBalancer.controller.ts +15 -17
- package/src/loadBalancer/configure/internalhttp/createInternalHttpLoadBalancer.controller.ts +8 -5
- package/src/loadBalancer/configure/ssl/gceCreateSslLoadBalancer.controller.ts +9 -12
- package/src/loadBalancer/configure/tcp/gceCreateTcpLoadBalancer.controller.ts +9 -12
- package/src/loadBalancer/details/deleteModal/deleteModal.controller.ts +8 -4
- package/src/loadBalancer/httpLoadBalancerUtils.service.ts +1 -1
- package/src/loadBalancer/loadBalancer.setTransformer.ts +3 -2
- package/src/securityGroup/securityGroupHelpText.service.ts +2 -1
- package/src/serverGroup/configure/wizard/advancedSettings/GceAcceleratorConfigurer.tsx +3 -2
- package/src/serverGroup/configure/wizard/advancedSettings/diskConfigurer.component.ts +2 -1
- package/src/serverGroup/configure/wizard/autoHealingPolicy/autoHealingPolicySelector.component.ts +5 -3
- package/src/serverGroup/configure/wizard/customInstance/CustomInstanceConfigurer.tsx +2 -1
- package/src/serverGroup/configure/wizard/loadBalancingPolicy/loadBalancingPolicySelector.component.ts +3 -2
- package/src/serverGroup/details/ServerGroupDiskDescriptions.tsx +3 -2
- package/src/serverGroup/details/autoHealingPolicy/addAutoHealingPolicyButton.component.ts +4 -3
- package/src/serverGroup/details/autoHealingPolicy/autoHealingPolicy.component.ts +6 -4
- package/src/serverGroup/details/autoHealingPolicy/modal/upsertAutoHealingPolicy.modal.controller.ts +10 -6
- package/src/serverGroup/details/autoscalingPolicy/modal/GceScaleInControls.tsx +2 -1
- package/src/serverGroup/details/stateful/MarkDiskStatefulButton.tsx +3 -2
- package/src/serverGroup/details/stateful/StatefulMIGService.ts +1 -1
- package/src/serverGroup/details/stateful/UpdateBootImageButton.tsx +5 -11
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { IComponentOptions, IController
|
|
1
|
+
import type { IComponentOptions, IController } from 'angular';
|
|
2
|
+
import { module } from 'angular';
|
|
2
3
|
import { chain, get, has, intersection, set, without } from 'lodash';
|
|
3
4
|
|
|
4
|
-
import { IGceBackendService, INamedPort } from '../../../../domain';
|
|
5
|
+
import type { IGceBackendService, INamedPort } from '../../../../domain';
|
|
5
6
|
|
|
6
7
|
import './loadBalancingPolicySelector.component.less';
|
|
7
8
|
|
|
@@ -3,9 +3,10 @@ import { get, last } from 'lodash';
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { react2angular } from 'react2angular';
|
|
5
5
|
|
|
6
|
-
import { Application
|
|
6
|
+
import type { Application } from '@spinnaker/core';
|
|
7
|
+
import { withErrorBoundary } from '@spinnaker/core';
|
|
7
8
|
|
|
8
|
-
import { IGceDisk, IGceServerGroup } from '../../domain';
|
|
9
|
+
import type { IGceDisk, IGceServerGroup } from '../../domain';
|
|
9
10
|
import { MarkDiskStatefulButton } from './stateful/MarkDiskStatefulButton';
|
|
10
11
|
import { StatefulMIGService } from './stateful/StatefulMIGService';
|
|
11
12
|
import { UpdateBootImageButton } from './stateful/UpdateBootImageButton';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { IComponentOptions, IController
|
|
2
|
-
import {
|
|
1
|
+
import type { IComponentOptions, IController } from 'angular';
|
|
2
|
+
import { module } from 'angular';
|
|
3
|
+
import type { IModalService } from 'angular-ui-bootstrap';
|
|
3
4
|
|
|
4
|
-
import { Application, IServerGroup } from '@spinnaker/core';
|
|
5
|
+
import type { Application, IServerGroup } from '@spinnaker/core';
|
|
5
6
|
|
|
6
7
|
class GceAddAutoHealingPolicyButtonCtrl implements IController {
|
|
7
8
|
public application: Application;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { IComponentOptions, IController
|
|
2
|
-
import {
|
|
1
|
+
import type { IComponentOptions, IController } from 'angular';
|
|
2
|
+
import { module } from 'angular';
|
|
3
|
+
import type { IModalService } from 'angular-ui-bootstrap';
|
|
3
4
|
|
|
4
|
-
import { Application
|
|
5
|
-
import {
|
|
5
|
+
import type { Application } from '@spinnaker/core';
|
|
6
|
+
import { ConfirmationModalService } from '@spinnaker/core';
|
|
7
|
+
import type { IGceServerGroup } from '../../../domain/index';
|
|
6
8
|
|
|
7
9
|
class GceAutoHealingPolicyDetailsCtrl implements IController {
|
|
8
10
|
public serverGroup: IGceServerGroup;
|
package/src/serverGroup/details/autoHealingPolicy/modal/upsertAutoHealingPolicy.modal.controller.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { IController
|
|
2
|
-
import {
|
|
1
|
+
import type { IController } from 'angular';
|
|
2
|
+
import { module } from 'angular';
|
|
3
|
+
import type { IModalServiceInstance } from 'angular-ui-bootstrap';
|
|
3
4
|
import { cloneDeep } from 'lodash';
|
|
4
5
|
|
|
5
|
-
import { Application
|
|
6
|
+
import type { Application } from '@spinnaker/core';
|
|
7
|
+
import { TaskMonitor } from '@spinnaker/core';
|
|
6
8
|
import { GOOGLE_AUTOSCALINGPOLICY_AUTOSCALINGPOLICY_WRITE_SERVICE } from '../../../../autoscalingPolicy/autoscalingPolicy.write.service';
|
|
7
|
-
import { IGceAutoHealingPolicy, IGceServerGroup } from '../../../../domain/index';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
9
|
+
import type { IGceAutoHealingPolicy, IGceServerGroup } from '../../../../domain/index';
|
|
10
|
+
import type { GceHealthCheckReader } from '../../../../healthCheck/healthCheck.read.service';
|
|
11
|
+
import { GCE_HEALTH_CHECK_READER } from '../../../../healthCheck/healthCheck.read.service';
|
|
12
|
+
import type { IGceHealthCheckOption } from '../../../../healthCheck/healthCheckUtils';
|
|
13
|
+
import { getHealthCheckOptions } from '../../../../healthCheck/healthCheckUtils';
|
|
10
14
|
|
|
11
15
|
import './upsertAutoHealingPolicy.modal.less';
|
|
12
16
|
|
|
@@ -12,7 +12,8 @@ import {
|
|
|
12
12
|
withErrorBoundary,
|
|
13
13
|
} from '@spinnaker/core';
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import type { IGceAutoscalingPolicy, IGceScaleInControl } from '../../../../autoscalingPolicy';
|
|
16
|
+
import { GceAutoScalingFieldLayout } from '../../../../autoscalingPolicy';
|
|
16
17
|
|
|
17
18
|
enum maxReplicasUnit {
|
|
18
19
|
fixed = 'fixed',
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Application
|
|
3
|
+
import type { Application } from '@spinnaker/core';
|
|
4
|
+
import { ConfirmationModalService } from '@spinnaker/core';
|
|
4
5
|
|
|
5
6
|
import { StatefulMIGService } from './StatefulMIGService';
|
|
6
|
-
import { IGceServerGroup } from '../../../domain';
|
|
7
|
+
import type { IGceServerGroup } from '../../../domain';
|
|
7
8
|
|
|
8
9
|
interface IMarkDiskStatefulButtonProps {
|
|
9
10
|
application: Application;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { has } from 'lodash';
|
|
2
2
|
|
|
3
3
|
import { TaskExecutor } from '@spinnaker/core';
|
|
4
|
-
import { IGceServerGroup } from '../../../domain';
|
|
4
|
+
import type { IGceServerGroup } from '../../../domain';
|
|
5
5
|
import { GCEProviderSettings } from '../../../gce.settings';
|
|
6
6
|
|
|
7
7
|
export class StatefulMIGService {
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
FormikFormField,
|
|
6
|
-
IModalComponentProps,
|
|
7
|
-
ReactModal,
|
|
8
|
-
TaskMonitor,
|
|
9
|
-
WizardModal,
|
|
10
|
-
WizardPage,
|
|
11
|
-
} from '@spinnaker/core';
|
|
3
|
+
import type { Application, IModalComponentProps } from '@spinnaker/core';
|
|
4
|
+
import { FormikFormField, ReactModal, TaskMonitor, WizardModal, WizardPage } from '@spinnaker/core';
|
|
12
5
|
|
|
13
6
|
import { StatefulMIGService } from './StatefulMIGService';
|
|
14
|
-
import { IGceServerGroup } from '../../../domain';
|
|
15
|
-
import {
|
|
7
|
+
import type { IGceServerGroup } from '../../../domain';
|
|
8
|
+
import type { IGceImage } from '../../../image';
|
|
9
|
+
import { GceImageReader, ImageSelect } from '../../../image';
|
|
16
10
|
|
|
17
11
|
interface IUpdateBootImageButtonProps {
|
|
18
12
|
application: Application;
|