@grnsft/if 0.1.1 → 0.1.3-beta

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 (90) hide show
  1. package/.github/ISSUE_TEMPLATE/agenda.md +4 -3
  2. package/.github/ISSUE_TEMPLATE/bug-report.md +32 -0
  3. package/.github/ISSUE_TEMPLATE/dev-ticket.md +44 -0
  4. package/.github/ISSUE_TEMPLATE/sprint-planning.md +39 -0
  5. package/.github/ISSUE_TEMPLATE/sprint-retro.md +41 -0
  6. package/CONTRIBUTING.md +13 -17
  7. package/README.md +36 -18
  8. package/build/config/config.d.ts +12 -0
  9. package/build/config/config.js +54 -0
  10. package/build/config/strings.d.ts +8 -3
  11. package/build/config/strings.js +10 -6
  12. package/build/index.js +15 -8
  13. package/build/lib/models-universe.d.ts +10 -2
  14. package/build/lib/models-universe.js +52 -34
  15. package/build/lib/observatory.d.ts +20 -0
  16. package/build/lib/observatory.js +31 -0
  17. package/build/lib/planet-aggregator.d.ts +6 -0
  18. package/build/lib/planet-aggregator.js +35 -0
  19. package/build/lib/supercomputer.d.ts +7 -0
  20. package/build/lib/supercomputer.js +45 -6
  21. package/build/models/index.d.ts +1 -0
  22. package/build/models/index.js +6 -0
  23. package/build/models/time-sync.d.ts +55 -0
  24. package/build/models/time-sync.js +235 -0
  25. package/build/types/helpers.d.ts +1 -0
  26. package/build/types/helpers.js +3 -0
  27. package/build/types/impl.d.ts +14 -9
  28. package/build/types/impl.js +3 -1
  29. package/build/types/model-interface.d.ts +14 -0
  30. package/build/types/model-interface.js +3 -0
  31. package/build/types/models-universe.d.ts +5 -6
  32. package/build/types/models-universe.js +1 -1
  33. package/build/types/planet-aggregator.d.ts +6 -0
  34. package/build/types/planet-aggregator.js +3 -0
  35. package/build/types/process-args.d.ts +7 -0
  36. package/build/types/process-args.js +3 -0
  37. package/build/types/supercomputer.d.ts +4 -0
  38. package/build/types/supercomputer.js +3 -0
  39. package/build/types/time-sync.d.ts +9 -0
  40. package/build/types/time-sync.js +3 -0
  41. package/build/types/units-dealer.d.ts +3 -0
  42. package/build/types/units-dealer.js +3 -0
  43. package/build/types/units.d.ts +11 -0
  44. package/build/types/units.js +37 -0
  45. package/build/util/args.js +58 -0
  46. package/build/util/errors.d.ts +6 -0
  47. package/build/util/errors.js +25 -0
  48. package/build/util/helpers.js +18 -0
  49. package/build/util/units-dealer.d.ts +10 -0
  50. package/build/util/units-dealer.js +32 -0
  51. package/build/util/validations.d.ts +4 -0
  52. package/build/util/validations.js +29 -1
  53. package/build/util/yaml.d.ts +1 -2
  54. package/build/util/yaml.js +1 -1
  55. package/coverage/clover.xml +165 -114
  56. package/coverage/coverage-final.json +10 -9
  57. package/coverage/lcov-report/config/config.ts.html +12 -3
  58. package/coverage/lcov-report/config/index.html +17 -17
  59. package/coverage/lcov-report/config/index.ts.html +3 -3
  60. package/coverage/lcov-report/config/strings.ts.html +26 -20
  61. package/coverage/lcov-report/index.html +33 -33
  62. package/coverage/lcov-report/lib/index.html +41 -26
  63. package/coverage/lcov-report/lib/models-universe.ts.html +82 -40
  64. package/coverage/lcov-report/lib/observatory.ts.html +7 -7
  65. package/coverage/lcov-report/lib/planet-aggregator.ts.html +253 -0
  66. package/coverage/lcov-report/lib/supercomputer.ts.html +217 -58
  67. package/coverage/lcov-report/util/args.ts.html +11 -11
  68. package/coverage/lcov-report/util/errors.ts.html +10 -7
  69. package/coverage/lcov-report/util/index.html +11 -11
  70. package/coverage/lcov-report/util/yaml.ts.html +6 -6
  71. package/coverage/lcov.info +273 -185
  72. package/examples/impls/case-studies/aggregation.yml +97 -0
  73. package/examples/impls/test/aggregation-test.yml +109 -0
  74. package/examples/impls/test/large-impl.yml +257303 -0
  75. package/examples/impls/test/sci.yml +13 -37
  76. package/examples/impls/test/time-sync.yml +75 -0
  77. package/examples/ompls/aggregation-test.yml +340 -0
  78. package/examples/ompls/test/time-sync.yml +255 -0
  79. package/examples/ompls/time-sync.yml +212 -0
  80. package/hack-banner.png +0 -0
  81. package/package.json +3 -1
  82. package/src/config/units.yaml +11 -24
  83. package/src/models/README.md +266 -0
  84. package/tsconfig.build.tsbuildinfo +1 -1
  85. package/build/types/azure-importer.d.ts +0 -29
  86. package/build/types/azure-importer.js +0 -3
  87. package/build/types/boavizta.d.ts +0 -7
  88. package/build/types/boavizta.js +0 -3
  89. package/build/types/common.d.ts +0 -7
  90. package/build/types/common.js +0 -9
@@ -1,29 +0,0 @@
1
- export type AzureOutputs = {
2
- timestamps: string[];
3
- cpu_utils: string[];
4
- memAvailable: string[];
5
- };
6
- export type AzureInputs = {
7
- resourceGroupName: string;
8
- vmName: string;
9
- subscriptionId: string;
10
- timespan: string;
11
- interval: string;
12
- aggregation: string;
13
- timestamp: string;
14
- duration: string;
15
- window: string;
16
- };
17
- export type GetMetricsParams = {
18
- subscriptionId: string;
19
- resourceGroupName: string;
20
- timespan: string;
21
- interval: string;
22
- aggregation: string;
23
- vmName: string;
24
- };
25
- export type AzureMetadataOutputs = {
26
- location: string;
27
- instanceType: string;
28
- totalMemoryGB: string;
29
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXp1cmUtaW1wb3J0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMvYXp1cmUtaW1wb3J0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEF6dXJlT3V0cHV0cyA9IHtcbiAgdGltZXN0YW1wczogc3RyaW5nW107XG4gIGNwdV91dGlsczogc3RyaW5nW107XG4gIG1lbUF2YWlsYWJsZTogc3RyaW5nW107XG59O1xuXG5leHBvcnQgdHlwZSBBenVyZUlucHV0cyA9IHtcbiAgcmVzb3VyY2VHcm91cE5hbWU6IHN0cmluZztcbiAgdm1OYW1lOiBzdHJpbmc7XG4gIHN1YnNjcmlwdGlvbklkOiBzdHJpbmc7XG4gIHRpbWVzcGFuOiBzdHJpbmc7XG4gIGludGVydmFsOiBzdHJpbmc7XG4gIGFnZ3JlZ2F0aW9uOiBzdHJpbmc7XG4gIHRpbWVzdGFtcDogc3RyaW5nO1xuICBkdXJhdGlvbjogc3RyaW5nO1xuICB3aW5kb3c6IHN0cmluZztcbn07XG5cbmV4cG9ydCB0eXBlIEdldE1ldHJpY3NQYXJhbXMgPSB7XG4gIHN1YnNjcmlwdGlvbklkOiBzdHJpbmc7XG4gIHJlc291cmNlR3JvdXBOYW1lOiBzdHJpbmc7XG4gIHRpbWVzcGFuOiBzdHJpbmc7XG4gIGludGVydmFsOiBzdHJpbmc7XG4gIGFnZ3JlZ2F0aW9uOiBzdHJpbmc7XG4gIHZtTmFtZTogc3RyaW5nO1xufTtcblxuZXhwb3J0IHR5cGUgQXp1cmVNZXRhZGF0YU91dHB1dHMgPSB7XG4gIGxvY2F0aW9uOiBzdHJpbmc7XG4gIGluc3RhbmNlVHlwZTogc3RyaW5nO1xuICB0b3RhbE1lbW9yeUdCOiBzdHJpbmc7XG59O1xuIl19
@@ -1,7 +0,0 @@
1
- export interface IBoaviztaUsageSCI {
2
- e: number;
3
- m: number;
4
- }
5
- export type BoaviztaInstanceTypes = {
6
- [key: string]: string[];
7
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9hdml6dGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMvYm9hdml6dGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSUJvYXZpenRhVXNhZ2VTQ0kge1xuICBlOiBudW1iZXI7XG4gIG06IG51bWJlcjtcbn1cblxuZXhwb3J0IHR5cGUgQm9hdml6dGFJbnN0YW5jZVR5cGVzID0ge1xuICBba2V5OiBzdHJpbmddOiBzdHJpbmdbXTtcbn07XG4iXX0=
@@ -1,7 +0,0 @@
1
- export type KeyValuePair = {
2
- [key: string]: any;
3
- };
4
- export declare enum Interpolation {
5
- SPLINE = "spline",
6
- LINEAR = "linear"
7
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Interpolation = void 0;
4
- var Interpolation;
5
- (function (Interpolation) {
6
- Interpolation["SPLINE"] = "spline";
7
- Interpolation["LINEAR"] = "linear";
8
- })(Interpolation || (exports.Interpolation = Interpolation = {}));
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3R5cGVzL2NvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFJQSxJQUFZLGFBR1g7QUFIRCxXQUFZLGFBQWE7SUFDdkIsa0NBQWlCLENBQUE7SUFDakIsa0NBQWlCLENBQUE7QUFDbkIsQ0FBQyxFQUhXLGFBQWEsNkJBQWIsYUFBYSxRQUd4QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEtleVZhbHVlUGFpciA9IHtcbiAgW2tleTogc3RyaW5nXTogYW55O1xufTtcblxuZXhwb3J0IGVudW0gSW50ZXJwb2xhdGlvbiB7XG4gIFNQTElORSA9ICdzcGxpbmUnLFxuICBMSU5FQVIgPSAnbGluZWFyJyxcbn1cbiJdfQ==