@spinnaker/google 0.1.13 → 0.2.0

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 (29) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/autoscalingPolicy/IGceAutoscalingPolicy.d.ts +1 -1
  3. package/dist/autoscalingPolicy/components/scalingSchedules/scalingSchedules.component.d.ts +2 -0
  4. package/dist/autoscalingPolicy/components/scalingSchedules/timeZoneSelect.d.ts +13 -0
  5. package/dist/index.js +1 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/serverGroup/configure/wizard/autoScalingPolicy/autoScalingPolicySelector.component.d.ts +1 -0
  8. package/package.json +4 -4
  9. package/src/autoscalingPolicy/IGceAutoscalingPolicy.ts +1 -1
  10. package/src/autoscalingPolicy/components/metricSettings/metricSettings.component.html +85 -28
  11. package/src/autoscalingPolicy/components/metricSettings/metricSettings.component.js +18 -0
  12. package/src/autoscalingPolicy/components/scalingSchedules/scalingSchedules.component.html +84 -0
  13. package/src/autoscalingPolicy/components/scalingSchedules/scalingSchedules.component.js +59 -0
  14. package/src/autoscalingPolicy/components/scalingSchedules/standardTimezone.json +596 -0
  15. package/src/autoscalingPolicy/components/scalingSchedules/timeZoneSelect.tsx +63 -0
  16. package/src/help/gce.help.ts +8 -0
  17. package/src/serverGroup/configure/serverGroup.configure.gce.module.js +6 -0
  18. package/src/serverGroup/configure/serverGroupConfiguration.service.js +6 -0
  19. package/src/serverGroup/configure/wizard/autoScalingPolicy/autoScalingPolicy.html +20 -0
  20. package/src/serverGroup/configure/wizard/autoScalingPolicy/autoScalingPolicySelector.component.html +21 -0
  21. package/src/serverGroup/configure/wizard/autoScalingPolicy/autoScalingPolicySelector.component.js +47 -0
  22. package/src/serverGroup/configure/wizard/autoScalingPolicy/autoScalingPolicySelector.less +15 -0
  23. package/src/serverGroup/configure/wizard/cloneServerGroup.gce.controller.js +21 -3
  24. package/src/serverGroup/configure/wizard/serverGroupWizard.html +3 -0
  25. package/src/serverGroup/details/autoscalingPolicy/autoscalingPolicy.directive.js +88 -83
  26. package/src/serverGroup/details/autoscalingPolicy/modal/GceScaleInControls.tsx +13 -4
  27. package/src/serverGroup/details/autoscalingPolicy/modal/upsertAutoscalingPolicy.modal.controller.js +4 -0
  28. package/src/serverGroup/details/autoscalingPolicy/modal/upsertAutoscalingPolicy.modal.html +7 -0
  29. package/src/serverGroup/details/autoscalingPolicy/modal/upsertAutoscalingPolicy.modal.less +2 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.2.0](https://github.com/spinnaker/deck/compare/@spinnaker/google@0.1.13...@spinnaker/google@0.2.0) (2022-08-03)
7
+
8
+
9
+ ### Features
10
+
11
+ * **provider/google:** enhanced autoscaler functionality. ([#9867](https://github.com/spinnaker/deck/issues/9867)) ([dbdee6d](https://github.com/spinnaker/deck/commit/dbdee6de89f78b112d4a5464cecdbb822c8e578b))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.1.13](https://github.com/spinnaker/deck/compare/@spinnaker/google@0.1.12...@spinnaker/google@0.1.13) (2022-07-11)
7
18
 
8
19
  **Note:** Version bump only for package @spinnaker/google
@@ -15,5 +15,5 @@ export interface IGceAutoscalingCpuUtilization {
15
15
  }
16
16
  export declare enum GcePredictiveMethod {
17
17
  NONE = "NONE",
18
- STANDARD = "STANDARD"
18
+ STANDARD = "OPTIMIZE_AVAILABILITY"
19
19
  }
@@ -0,0 +1,2 @@
1
+ export const GOOGLE_AUTOSCALINGPOLICY_COMPONENTS_SCALINGSCHEDULES_SCALINGSCHEDULES_COMPONENT: "spinnaker.deck.gce.autoscalingPolicy.scalingSchedules.component";
2
+ export const name: "spinnaker.deck.gce.autoscalingPolicy.scalingSchedules.component";
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface ITimezoneSelectProps {
3
+ availableTimezones: string[];
4
+ selectedTimezone: string;
5
+ selectTimezone: (timezone: string, target?: any) => void;
6
+ target?: any;
7
+ }
8
+ export declare class TimezoneSelect extends React.Component<ITimezoneSelectProps> {
9
+ private loadOptions;
10
+ render(): JSX.Element;
11
+ }
12
+ export declare const GCE_TIMEZONE_SELECT = "spinnaker.gce.timezoneSelect";
13
+ export {};