@polaris-sloc/common-mappings
Advanced tools
Comparing version 0.2.0-beta.18 to 0.2.0-beta.19
{ | ||
"name": "@polaris-sloc/common-mappings", | ||
"version": "0.2.0-beta.18", | ||
"version": "0.2.0-beta.19", | ||
"license": "Apache-2.0", | ||
"author": "Polaris SLO Cloud Authors", | ||
"private": false, | ||
"type": "commonjs", | ||
"peerDependencies": { | ||
"@polaris-sloc/core": "~0.2.0-beta.18" | ||
"@polaris-sloc/core": "~0.2.0-beta.19" | ||
}, | ||
@@ -16,4 +17,5 @@ "main": "./src/index.js", | ||
"change-case": "^4.1.2", | ||
"class-transformer": "~0.4.0" | ||
"class-transformer": "~0.4.0", | ||
"lodash": "^4.17.21" | ||
} | ||
} |
@@ -1,6 +0,9 @@ | ||
export * from './lib/elasticity'; | ||
export * from './lib/metrics'; | ||
export * from './lib/slo'; | ||
export * from './lib/slo-targets'; | ||
export * from './lib/init-polaris-lib'; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./lib/elasticity"), exports); | ||
tslib_1.__exportStar(require("./lib/metrics"), exports); | ||
tslib_1.__exportStar(require("./lib/slo"), exports); | ||
tslib_1.__exportStar(require("./lib/slo-targets"), exports); | ||
tslib_1.__exportStar(require("./lib/init-polaris-lib"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export * from './horizontal-elasticity-strategy'; | ||
export * from './vertical-elasticity-strategy'; | ||
export * from './horizontal-elasticity-strategy.prm'; | ||
export * from './vertical-elasticity-strategy.prm'; |
@@ -1,3 +0,6 @@ | ||
export * from './horizontal-elasticity-strategy'; | ||
export * from './vertical-elasticity-strategy'; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./horizontal-elasticity-strategy.prm"), exports); | ||
tslib_1.__exportStar(require("./vertical-elasticity-strategy.prm"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,17 +0,20 @@ | ||
import { VerticalElasticityStrategy, VerticalElasticityStrategyKind } from './elasticity'; | ||
import { HorizontalElasticityStrategy, HorizontalElasticityStrategyKind } from './elasticity/horizontal-elasticity-strategy'; | ||
import { CostEfficiencyMetricMapping } from './metrics'; | ||
import { CostEfficiencySloMapping, CpuUsageSloMapping } from './slo'; | ||
import { RestServiceTarget } from './slo-targets'; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.initPolarisLib = void 0; | ||
const elasticity_1 = require("./elasticity"); | ||
const metrics_1 = require("./metrics"); | ||
const slo_1 = require("./slo"); | ||
const slo_targets_1 = require("./slo-targets"); | ||
/** | ||
* Initializes this library and registers its types with the transformer in the `PolarisRuntime`. | ||
*/ | ||
export function initPolarisLib(polarisRuntime) { | ||
polarisRuntime.transformer.registerObjectKind(new RestServiceTarget(), RestServiceTarget); | ||
polarisRuntime.transformer.registerObjectKind(new CpuUsageSloMapping().objectKind, CpuUsageSloMapping); | ||
polarisRuntime.transformer.registerObjectKind(new CostEfficiencySloMapping().objectKind, CostEfficiencySloMapping); | ||
polarisRuntime.transformer.registerObjectKind(new HorizontalElasticityStrategyKind(), HorizontalElasticityStrategy); | ||
polarisRuntime.transformer.registerObjectKind(new VerticalElasticityStrategyKind(), VerticalElasticityStrategy); | ||
polarisRuntime.transformer.registerObjectKind(new CostEfficiencyMetricMapping().objectKind, CostEfficiencyMetricMapping); | ||
function initPolarisLib(polarisRuntime) { | ||
polarisRuntime.transformer.registerObjectKind(new slo_targets_1.RestServiceTarget(), slo_targets_1.RestServiceTarget); | ||
polarisRuntime.transformer.registerObjectKind(new slo_1.CpuUsageSloMapping().objectKind, slo_1.CpuUsageSloMapping); | ||
polarisRuntime.transformer.registerObjectKind(new slo_1.CostEfficiencySloMapping().objectKind, slo_1.CostEfficiencySloMapping); | ||
polarisRuntime.transformer.registerObjectKind(new elasticity_1.HorizontalElasticityStrategyKind(), elasticity_1.HorizontalElasticityStrategy); | ||
polarisRuntime.transformer.registerObjectKind(new elasticity_1.VerticalElasticityStrategyKind(), elasticity_1.VerticalElasticityStrategy); | ||
polarisRuntime.transformer.registerObjectKind(new metrics_1.CostEfficiencyMetricMapping().objectKind, metrics_1.CostEfficiencyMetricMapping); | ||
} | ||
exports.initPolarisLib = initPolarisLib; | ||
//# sourceMappingURL=init-polaris-lib.js.map |
@@ -1,2 +0,2 @@ | ||
export * from './cost-efficiency'; | ||
export * from './total-cost'; | ||
export * from './cost-efficiency.prm'; | ||
export * from './total-cost.prm'; |
@@ -1,3 +0,6 @@ | ||
export * from './cost-efficiency'; | ||
export * from './total-cost'; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./cost-efficiency.prm"), exports); | ||
tslib_1.__exportStar(require("./total-cost.prm"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export * from './replicable-target'; | ||
export * from './rest-service-target'; | ||
export * from './replicable-target.prm'; | ||
export * from './rest-service-target.prm'; |
@@ -1,3 +0,6 @@ | ||
export * from './replicable-target'; | ||
export * from './rest-service-target'; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./replicable-target.prm"), exports); | ||
tslib_1.__exportStar(require("./rest-service-target.prm"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export * from './cost-efficiency-slo-mapping'; | ||
export * from './cpu-usage-slo-mapping'; | ||
export * from './cost-efficiency-slo-mapping.prm'; | ||
export * from './cpu-usage-slo-mapping.prm'; |
@@ -1,3 +0,6 @@ | ||
export * from './cost-efficiency-slo-mapping'; | ||
export * from './cpu-usage-slo-mapping'; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./cost-efficiency-slo-mapping.prm"), exports); | ||
tslib_1.__exportStar(require("./cpu-usage-slo-mapping.prm"), exports); | ||
//# sourceMappingURL=index.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26681
466
6
1
+ Addedlodash@^4.17.21