@spinnaker/amazon 0.13.4 → 0.13.6

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spinnaker/amazon",
3
3
  "license": "Apache-2.0",
4
- "version": "0.13.4",
4
+ "version": "0.13.6",
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.23.0",
16
+ "@spinnaker/core": "^0.23.1",
17
17
  "@uirouter/angularjs": "1.0.26",
18
18
  "@uirouter/core": "6.0.8",
19
19
  "@uirouter/react": "1.0.7",
@@ -55,5 +55,5 @@
55
55
  "shx": "0.3.3",
56
56
  "typescript": "4.3.5"
57
57
  },
58
- "gitHead": "4d61e53884040e8cae45d29b398c88e3814c6aca"
58
+ "gitHead": "8abafe5c6a6680953aef7752b1a56cac093ec9ba"
59
59
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { module } from 'angular';
4
4
 
5
- import { AccountService, Registry } from '@spinnaker/core';
5
+ import { AccountService, Registry, SETTINGS } from '@spinnaker/core';
6
6
 
7
7
  export const AMAZON_PIPELINE_STAGES_ROLLBACKCLUSTER_AWSROLLBACKCLUSTERSTAGE =
8
8
  'spinnaker.amazon.pipeline.stage.rollbackClusterStage';
@@ -60,5 +60,7 @@ module(AMAZON_PIPELINE_STAGES_ROLLBACKCLUSTER_AWSROLLBACKCLUSTERSTAGE, [])
60
60
  if (!stage.regions.length && $scope.application.defaultRegions.aws) {
61
61
  stage.regions.push($scope.application.defaultRegions.aws);
62
62
  }
63
+
64
+ $scope.viewState.dynamicRollbackTimeout = SETTINGS.feature.dynamicRollbackTimeout;
63
65
  },
64
66
  ]);
@@ -28,7 +28,7 @@
28
28
  />
29
29
  percent of instances are healthy.
30
30
  </div>
31
- <div class="col-sm-10 col-sm-offset-2">
31
+ <div class="col-sm-10 col-sm-offset-2" ng-if="viewState.dynamicRollbackTimeout">
32
32
  Rollback Timeout is
33
33
  <input
34
34
  type="number"