@spinnaker/huaweicloud 2026.2.3 → 2026.3.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.
- package/dist/huaweicloud.module.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -6
- package/src/huaweicloud.module.ts +2 -9
- package/src/huaweicloud.spec.ts +17 -0
- package/src/index.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import './huaweicloud.module';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{CloudProviderRegistry as e,DeploymentStrategyRegistry as r}from"@spinnaker/core";e.registerProvider("huaweicloud",{name:"huaweicloud"}),r.registerProvider("huaweicloud",["redblack"]);
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/huaweicloud.module.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/huaweicloud.module.ts"],"sourcesContent":["import { CloudProviderRegistry, DeploymentStrategyRegistry } from '@spinnaker/core';\n\nCloudProviderRegistry.registerProvider('huaweicloud', {\n name: 'huaweicloud',\n});\n\nDeploymentStrategyRegistry.registerProvider('huaweicloud', ['redblack']);\n"],"names":["CloudProviderRegistry","registerProvider","name","DeploymentStrategyRegistry"],"mappings":"wFAEAA,EAAsBC,iBAAiB,cAAe,CACpDC,KAAM,gBAGRC,EAA2BF,iBAAiB,cAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "https://github.com/spinnaker/spinnaker.git"
|
|
6
6
|
},
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
|
-
"version": "2026.
|
|
8
|
+
"version": "2026.3.0",
|
|
9
9
|
"module": "dist/index.js",
|
|
10
10
|
"typings": "dist/index.d.ts",
|
|
11
11
|
"publishConfig": {
|
|
@@ -21,15 +21,13 @@
|
|
|
21
21
|
"lib": "npm run build"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@spinnaker/core": "^0.29.1"
|
|
25
|
-
"angular": "1.8.3"
|
|
24
|
+
"@spinnaker/core": "^0.29.1"
|
|
26
25
|
},
|
|
27
26
|
"devDependencies": {
|
|
28
27
|
"@spinnaker/eslint-plugin": "^3.0.2",
|
|
29
28
|
"@spinnaker/scripts": "^0.4.0",
|
|
30
|
-
"@types/angular": "1.6.26",
|
|
31
29
|
"shx": "0.3.3",
|
|
32
|
-
"typescript": "
|
|
30
|
+
"typescript": "5.0.4"
|
|
33
31
|
},
|
|
34
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "0f7d75f5d4b42c1675e2ecc69a53f8eb73090eb9"
|
|
35
33
|
}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
import { module } from 'angular';
|
|
4
|
-
|
|
5
1
|
import { CloudProviderRegistry, DeploymentStrategyRegistry } from '@spinnaker/core';
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
CloudProviderRegistry.registerProvider('huaweicloud', {
|
|
10
|
-
name: 'huaweicloud',
|
|
11
|
-
});
|
|
3
|
+
CloudProviderRegistry.registerProvider('huaweicloud', {
|
|
4
|
+
name: 'huaweicloud',
|
|
12
5
|
});
|
|
13
6
|
|
|
14
7
|
DeploymentStrategyRegistry.registerProvider('huaweicloud', ['redblack']);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CloudProviderRegistry, SETTINGS } from '@spinnaker/core';
|
|
2
|
+
|
|
3
|
+
describe('HuaweiCloud package entrypoint', () => {
|
|
4
|
+
beforeAll(() => {
|
|
5
|
+
SETTINGS.providers.huaweicloud = { defaults: {} };
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
it('loads successfully', () => {
|
|
9
|
+
expect(() => require('./index')).not.toThrow();
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
it('registers the provider configuration', () => {
|
|
13
|
+
require('./index');
|
|
14
|
+
|
|
15
|
+
expect(CloudProviderRegistry.getProvider('huaweicloud')).toEqual({ name: 'huaweicloud' });
|
|
16
|
+
});
|
|
17
|
+
});
|
package/src/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import './huaweicloud.module';
|