@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.
Files changed (62) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/autoscalingPolicy/GceAutoScalingFieldLayout.d.ts +2 -1
  3. package/dist/domain/autoHealingPolicy.d.ts +1 -1
  4. package/dist/domain/backendService.d.ts +1 -1
  5. package/dist/domain/loadBalancer.d.ts +2 -2
  6. package/dist/domain/serverGroup.d.ts +2 -2
  7. package/dist/gce.settings.d.ts +1 -1
  8. package/dist/healthCheck/healthCheck.read.service.d.ts +1 -1
  9. package/dist/healthCheck/healthCheckUtils.d.ts +1 -1
  10. package/dist/image/ImageSelect.d.ts +1 -1
  11. package/dist/index.js.map +1 -1
  12. package/dist/interceptors/iap.interceptor.d.ts +1 -1
  13. package/dist/loadBalancer/configure/common/commonLoadBalancer.controller.d.ts +5 -5
  14. package/dist/loadBalancer/configure/common/commonLoadBalancerCommandBuilder.service.d.ts +4 -4
  15. package/dist/loadBalancer/httpLoadBalancerUtils.service.d.ts +1 -1
  16. package/dist/loadBalancer/loadBalancer.setTransformer.d.ts +2 -2
  17. package/dist/securityGroup/securityGroupHelpText.service.d.ts +1 -1
  18. package/dist/serverGroup/configure/wizard/advancedSettings/GceAcceleratorConfigurer.d.ts +2 -1
  19. package/dist/serverGroup/details/stateful/MarkDiskStatefulButton.d.ts +3 -2
  20. package/dist/serverGroup/details/stateful/StatefulMIGService.d.ts +1 -1
  21. package/dist/serverGroup/details/stateful/UpdateBootImageButton.d.ts +3 -2
  22. package/package.json +6 -6
  23. package/src/address/address.reader.ts +2 -1
  24. package/src/autoscalingPolicy/GceAutoScalingFieldLayout.tsx +1 -1
  25. package/src/autoscalingPolicy/components/metricSettings/GcePredictiveAutoscaling.tsx +4 -9
  26. package/src/cache/cacheRefresh.component.ts +4 -2
  27. package/src/certificate/certificate.reader.ts +2 -1
  28. package/src/domain/autoHealingPolicy.ts +1 -1
  29. package/src/domain/backendService.ts +1 -1
  30. package/src/domain/loadBalancer.ts +2 -2
  31. package/src/domain/serverGroup.ts +2 -2
  32. package/src/gce.settings.ts +2 -1
  33. package/src/healthCheck/healthCheck.read.service.ts +3 -2
  34. package/src/healthCheck/healthCheckUtils.ts +1 -1
  35. package/src/image/ImageSelect.tsx +3 -2
  36. package/src/interceptors/iap.interceptor.ts +2 -1
  37. package/src/loadBalancer/configure/choice/gceLoadBalancerChoice.modal.ts +6 -7
  38. package/src/loadBalancer/configure/common/addressSelector.component.ts +3 -2
  39. package/src/loadBalancer/configure/common/commonLoadBalancer.controller.ts +6 -5
  40. package/src/loadBalancer/configure/common/commonLoadBalancerCommandBuilder.service.ts +7 -14
  41. package/src/loadBalancer/configure/common/healthCheck.component.ts +3 -2
  42. package/src/loadBalancer/configure/internal/gceCreateInternalLoadBalancer.controller.ts +15 -17
  43. package/src/loadBalancer/configure/internalhttp/createInternalHttpLoadBalancer.controller.ts +8 -5
  44. package/src/loadBalancer/configure/ssl/gceCreateSslLoadBalancer.controller.ts +9 -12
  45. package/src/loadBalancer/configure/tcp/gceCreateTcpLoadBalancer.controller.ts +9 -12
  46. package/src/loadBalancer/details/deleteModal/deleteModal.controller.ts +8 -4
  47. package/src/loadBalancer/httpLoadBalancerUtils.service.ts +1 -1
  48. package/src/loadBalancer/loadBalancer.setTransformer.ts +3 -2
  49. package/src/securityGroup/securityGroupHelpText.service.ts +2 -1
  50. package/src/serverGroup/configure/wizard/advancedSettings/GceAcceleratorConfigurer.tsx +3 -2
  51. package/src/serverGroup/configure/wizard/advancedSettings/diskConfigurer.component.ts +2 -1
  52. package/src/serverGroup/configure/wizard/autoHealingPolicy/autoHealingPolicySelector.component.ts +5 -3
  53. package/src/serverGroup/configure/wizard/customInstance/CustomInstanceConfigurer.tsx +2 -1
  54. package/src/serverGroup/configure/wizard/loadBalancingPolicy/loadBalancingPolicySelector.component.ts +3 -2
  55. package/src/serverGroup/details/ServerGroupDiskDescriptions.tsx +3 -2
  56. package/src/serverGroup/details/autoHealingPolicy/addAutoHealingPolicyButton.component.ts +4 -3
  57. package/src/serverGroup/details/autoHealingPolicy/autoHealingPolicy.component.ts +6 -4
  58. package/src/serverGroup/details/autoHealingPolicy/modal/upsertAutoHealingPolicy.modal.controller.ts +10 -6
  59. package/src/serverGroup/details/autoscalingPolicy/modal/GceScaleInControls.tsx +2 -1
  60. package/src/serverGroup/details/stateful/MarkDiskStatefulButton.tsx +3 -2
  61. package/src/serverGroup/details/stateful/StatefulMIGService.ts +1 -1
  62. package/src/serverGroup/details/stateful/UpdateBootImageButton.tsx +5 -11
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import Select, { Option } from 'react-select';
2
+ import type { Option } from 'react-select';
3
+ import Select from 'react-select';
3
4
 
4
5
  import { HelpField } from '@spinnaker/core';
5
6
 
@@ -1,7 +1,8 @@
1
- import { IComponentOptions, IController, module } from 'angular';
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, withErrorBoundary } from '@spinnaker/core';
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, module } from 'angular';
2
- import { IModalService } from 'angular-ui-bootstrap';
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, module } from 'angular';
2
- import { IModalService } from 'angular-ui-bootstrap';
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, ConfirmationModalService } from '@spinnaker/core';
5
- import { IGceServerGroup } from '../../../domain/index';
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;
@@ -1,12 +1,16 @@
1
- import { IController, module } from 'angular';
2
- import { IModalServiceInstance } from 'angular-ui-bootstrap';
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, TaskMonitor } from '@spinnaker/core';
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 { GCE_HEALTH_CHECK_READER, GceHealthCheckReader } from '../../../../healthCheck/healthCheck.read.service';
9
- import { getHealthCheckOptions, IGceHealthCheckOption } from '../../../../healthCheck/healthCheckUtils';
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 { GceAutoScalingFieldLayout, IGceAutoscalingPolicy, IGceScaleInControl } from '../../../../autoscalingPolicy';
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, ConfirmationModalService } from '@spinnaker/core';
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
- Application,
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 { GceImageReader, IGceImage, ImageSelect } from '../../../image';
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;