@spinnaker/oracle 0.0.62 → 0.0.66
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 +32 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/loadBalancer/configure/createLoadBalancer.controller.spec.ts +7 -8
- package/src/loadBalancer/details/loadBalancerDetail.controller.spec.ts +9 -13
- package/src/pipeline/stages/bake/ociBakeStage.js +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spinnaker/oracle",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.66",
|
|
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
|
+
"@spinnaker/core": "^0.16.0",
|
|
17
17
|
"@uirouter/angularjs": "1.0.26",
|
|
18
18
|
"@uirouter/core": "6.0.8",
|
|
19
19
|
"angular": "1.6.10",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"ngimport": "0.6.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@spinnaker/eslint-plugin": "^3.0.
|
|
26
|
-
"@spinnaker/scripts": "^0.2.
|
|
25
|
+
"@spinnaker/eslint-plugin": "^3.0.1",
|
|
26
|
+
"@spinnaker/scripts": "^0.2.4",
|
|
27
27
|
"@types/angular": "1.6.26",
|
|
28
28
|
"@types/angular-ui-bootstrap": "0.13.41",
|
|
29
29
|
"@types/lodash": "4.14.64",
|
|
30
30
|
"shx": "0.3.3",
|
|
31
31
|
"typescript": "4.3.5"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "59026ea6af7b81ffb8e8c59e18f43396906ddafb"
|
|
34
34
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IControllerService, IRootScopeService, IScope
|
|
3
|
-
import {
|
|
1
|
+
import type { StateService } from '@uirouter/core';
|
|
2
|
+
import type { IControllerService, IRootScopeService, IScope } from 'angular';
|
|
3
|
+
import { mock, noop } from 'angular';
|
|
4
4
|
|
|
5
5
|
import { ApplicationModelBuilder } from '@spinnaker/core';
|
|
6
6
|
|
|
7
|
+
// eslint-disable-next-line @spinnaker/import-from-npm-not-relative
|
|
8
|
+
import { mockHttpClient } from '../../../../core/src/api/mock/jasmine';
|
|
7
9
|
import { ORACLE_LOAD_BALANCER_CREATE_CONTROLLER, OracleLoadBalancerController } from './createLoadBalancer.controller';
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
IOracleLoadBalancerUpsertCommand,
|
|
11
|
-
LoadBalancingPolicy,
|
|
12
|
-
} from '../../domain/IOracleLoadBalancer';
|
|
10
|
+
import type { IOracleLoadBalancer, IOracleLoadBalancerUpsertCommand } from '../../domain/IOracleLoadBalancer';
|
|
11
|
+
import { LoadBalancingPolicy } from '../../domain/IOracleLoadBalancer';
|
|
13
12
|
import { OracleProviderSettings } from '../../oracle.settings';
|
|
14
13
|
|
|
15
14
|
describe('Controller: oracleCreateLoadBalancerCtrl', function () {
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
SecurityGroupReader,
|
|
11
|
-
LOAD_BALANCER_READ_SERVICE,
|
|
12
|
-
LoadBalancerReader,
|
|
13
|
-
} from '@spinnaker/core';
|
|
1
|
+
import type { StateService } from '@uirouter/angularjs';
|
|
2
|
+
import type { IControllerService, IRootScopeService, IScope } from 'angular';
|
|
3
|
+
import { mock } from 'angular';
|
|
4
|
+
|
|
5
|
+
import type { LoadBalancerReader, SecurityGroupReader } from '@spinnaker/core';
|
|
6
|
+
import { ApplicationModelBuilder, LOAD_BALANCER_READ_SERVICE, SECURITY_GROUP_READER } from '@spinnaker/core';
|
|
7
|
+
|
|
8
|
+
import type { OracleLoadBalancerDetailController } from './loadBalancerDetail.controller';
|
|
9
|
+
import { ORACLE_LOAD_BALANCER_DETAIL_CONTROLLER } from './loadBalancerDetail.controller';
|
|
14
10
|
|
|
15
11
|
describe('Controller: oracleLoadBalancerDetailCtrl', function () {
|
|
16
12
|
let controller: OracleLoadBalancerDetailController;
|
|
@@ -66,13 +66,13 @@ module(ORACLE_PIPELINE_STAGES_BAKE_OCIBAKESTAGE, [ORACLE_PIPELINE_STAGES_BAKE_BA
|
|
|
66
66
|
([baseOsOptions, accounts]) => {
|
|
67
67
|
if (baseOsOptions.baseImages.length > 0) {
|
|
68
68
|
$scope.baseOsOptions = baseOsOptions;
|
|
69
|
+
if (!$scope.stage.baseOs) {
|
|
70
|
+
$scope.stage.baseOs = $scope.baseOsOptions.baseImages[0].id;
|
|
71
|
+
}
|
|
69
72
|
}
|
|
70
73
|
if (!$scope.stage.user) {
|
|
71
74
|
$scope.stage.user = AuthenticationService.getAuthenticatedUser().name;
|
|
72
75
|
}
|
|
73
|
-
if (!$scope.stage.baseOs) {
|
|
74
|
-
$scope.stage.baseOs = $scope.baseOsOptions.baseImages[0].id;
|
|
75
|
-
}
|
|
76
76
|
if (!$scope.stage.upgrade) {
|
|
77
77
|
$scope.stage.upgrade = true;
|
|
78
78
|
}
|