@heroku/plugin-compute 0.1.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.
Files changed (116) hide show
  1. package/LICENSE.txt +207 -0
  2. package/README.md +93 -0
  3. package/lib/commands/compute/config/get.d.ts +19 -0
  4. package/lib/commands/compute/config/get.js +76 -0
  5. package/lib/commands/compute/config/get.js.map +1 -0
  6. package/lib/commands/compute/config/list.d.ts +16 -0
  7. package/lib/commands/compute/config/list.js +57 -0
  8. package/lib/commands/compute/config/list.js.map +1 -0
  9. package/lib/commands/compute/config/set.d.ts +20 -0
  10. package/lib/commands/compute/config/set.js +99 -0
  11. package/lib/commands/compute/config/set.js.map +1 -0
  12. package/lib/commands/compute/config/unset.d.ts +20 -0
  13. package/lib/commands/compute/config/unset.js +93 -0
  14. package/lib/commands/compute/config/unset.js.map +1 -0
  15. package/lib/commands/compute/deploy.d.ts +18 -0
  16. package/lib/commands/compute/deploy.js +95 -0
  17. package/lib/commands/compute/deploy.js.map +1 -0
  18. package/lib/commands/compute/display.d.ts +26 -0
  19. package/lib/commands/compute/display.js +188 -0
  20. package/lib/commands/compute/display.js.map +1 -0
  21. package/lib/commands/compute/generate.d.ts +21 -0
  22. package/lib/commands/compute/generate.js +174 -0
  23. package/lib/commands/compute/generate.js.map +1 -0
  24. package/lib/commands/compute/get/build-log.d.ts +17 -0
  25. package/lib/commands/compute/get/build-log.js +62 -0
  26. package/lib/commands/compute/get/build-log.js.map +1 -0
  27. package/lib/commands/compute/get/runtime-log.d.ts +17 -0
  28. package/lib/commands/compute/get/runtime-log.js +79 -0
  29. package/lib/commands/compute/get/runtime-log.js.map +1 -0
  30. package/lib/commands/compute/list.d.ts +13 -0
  31. package/lib/commands/compute/list.js +55 -0
  32. package/lib/commands/compute/list.js.map +1 -0
  33. package/lib/commands/compute/scale.d.ts +23 -0
  34. package/lib/commands/compute/scale.js +112 -0
  35. package/lib/commands/compute/scale.js.map +1 -0
  36. package/lib/commands/compute/source/retrieve.d.ts +18 -0
  37. package/lib/commands/compute/source/retrieve.js +71 -0
  38. package/lib/commands/compute/source/retrieve.js.map +1 -0
  39. package/lib/commands/compute/tail/runtime-log.d.ts +17 -0
  40. package/lib/commands/compute/tail/runtime-log.js +82 -0
  41. package/lib/commands/compute/tail/runtime-log.js.map +1 -0
  42. package/lib/index.d.ts +2 -0
  43. package/lib/index.js +20 -0
  44. package/lib/index.js.map +1 -0
  45. package/lib/shared/computeApp.d.ts +10 -0
  46. package/lib/shared/computeApp.js +82 -0
  47. package/lib/shared/computeApp.js.map +1 -0
  48. package/lib/shared/computeBundle.d.ts +9 -0
  49. package/lib/shared/computeBundle.js +202 -0
  50. package/lib/shared/computeBundle.js.map +1 -0
  51. package/lib/shared/computeConfig.d.ts +2 -0
  52. package/lib/shared/computeConfig.js +37 -0
  53. package/lib/shared/computeConfig.js.map +1 -0
  54. package/lib/shared/computeConnectApi.d.ts +16 -0
  55. package/lib/shared/computeConnectApi.js +59 -0
  56. package/lib/shared/computeConnectApi.js.map +1 -0
  57. package/lib/shared/computeGenerateSkeletons.d.ts +2 -0
  58. package/lib/shared/computeGenerateSkeletons.js +262 -0
  59. package/lib/shared/computeGenerateSkeletons.js.map +1 -0
  60. package/lib/shared/computeGenerateSource.d.ts +8 -0
  61. package/lib/shared/computeGenerateSource.js +120 -0
  62. package/lib/shared/computeGenerateSource.js.map +1 -0
  63. package/lib/shared/computeLogStream.d.ts +4 -0
  64. package/lib/shared/computeLogStream.js +108 -0
  65. package/lib/shared/computeLogStream.js.map +1 -0
  66. package/lib/shared/computeQuery.d.ts +52 -0
  67. package/lib/shared/computeQuery.js +168 -0
  68. package/lib/shared/computeQuery.js.map +1 -0
  69. package/lib/shared/computeTelemetryDrain.d.ts +11 -0
  70. package/lib/shared/computeTelemetryDrain.js +78 -0
  71. package/lib/shared/computeTelemetryDrain.js.map +1 -0
  72. package/lib/shared/herokuProxyApi.d.ts +62 -0
  73. package/lib/shared/herokuProxyApi.js +243 -0
  74. package/lib/shared/herokuProxyApi.js.map +1 -0
  75. package/lib/shared/metadataApiVersion.d.ts +2 -0
  76. package/lib/shared/metadataApiVersion.js +25 -0
  77. package/lib/shared/metadataApiVersion.js.map +1 -0
  78. package/lib/shared/metadataDeploy.d.ts +5 -0
  79. package/lib/shared/metadataDeploy.js +90 -0
  80. package/lib/shared/metadataDeploy.js.map +1 -0
  81. package/lib/shared/metadataRetrieve.d.ts +2 -0
  82. package/lib/shared/metadataRetrieve.js +68 -0
  83. package/lib/shared/metadataRetrieve.js.map +1 -0
  84. package/lib/shared/plugin-name.d.ts +13 -0
  85. package/lib/shared/plugin-name.js +29 -0
  86. package/lib/shared/plugin-name.js.map +1 -0
  87. package/messages/compute.config.get.md +39 -0
  88. package/messages/compute.config.list.md +24 -0
  89. package/messages/compute.config.set.md +49 -0
  90. package/messages/compute.config.unset.md +39 -0
  91. package/messages/compute.deploy.md +84 -0
  92. package/messages/compute.display.md +46 -0
  93. package/messages/compute.errors.md +182 -0
  94. package/messages/compute.generate.md +74 -0
  95. package/messages/compute.get.build-log.md +36 -0
  96. package/messages/compute.get.runtime-log.md +46 -0
  97. package/messages/compute.list.md +23 -0
  98. package/messages/compute.scale.md +67 -0
  99. package/messages/compute.source.retrieve.md +59 -0
  100. package/messages/compute.tail.runtime-log.md +55 -0
  101. package/npm-shrinkwrap.json +16162 -0
  102. package/oclif.manifest.json +982 -0
  103. package/package.json +117 -0
  104. package/schemas/compute-config-get.json +25 -0
  105. package/schemas/compute-config-list.json +25 -0
  106. package/schemas/compute-config-set.json +28 -0
  107. package/schemas/compute-config-unset.json +28 -0
  108. package/schemas/compute-deploy.json +30 -0
  109. package/schemas/compute-display.json +138 -0
  110. package/schemas/compute-generate.json +40 -0
  111. package/schemas/compute-get-build__log.json +30 -0
  112. package/schemas/compute-get-runtime__log.json +24 -0
  113. package/schemas/compute-list.json +94 -0
  114. package/schemas/compute-scale.json +41 -0
  115. package/schemas/compute-source-retrieve.json +26 -0
  116. package/schemas/compute-tail-runtime__log.json +18 -0
package/package.json ADDED
@@ -0,0 +1,117 @@
1
+ {
2
+ "name": "@heroku/plugin-compute",
3
+ "description": "CLI for Compute",
4
+ "version": "0.1.0",
5
+ "author": "Heroku",
6
+ "bugs": "https://github.com/heroku/plugin-compute/issues",
7
+ "dependencies": {
8
+ "@oclif/core": "^4",
9
+ "@salesforce/core": "^8.32.6",
10
+ "@salesforce/kit": "^3.2.6",
11
+ "@salesforce/sf-plugins-core": "^12",
12
+ "@salesforce/source-deploy-retrieve": "^12.37.2",
13
+ "form-data": "^4.0.6",
14
+ "ignore": "^7.0.8",
15
+ "jszip": "^3.10.1",
16
+ "openapi-fetch": "^0.17.0",
17
+ "tar-stream": "^3.2.1"
18
+ },
19
+ "devDependencies": {
20
+ "@heroku-cli/test-utils": "2.0.0-beta.0",
21
+ "@oclif/plugin-command-snapshot": "^6.0.2",
22
+ "@salesforce/cli-plugins-testkit": "^5.3.66",
23
+ "@typescript-eslint/parser": "^8.71.0",
24
+ "@types/node": "^22",
25
+ "@types/sinon": "^10.0.20",
26
+ "@vitest/coverage-v8": "^5",
27
+ "@vitest/eslint-plugin": "^1.6.27",
28
+ "eslint": "^10.4.0",
29
+ "eslint-config-oclif": "^7",
30
+ "linkinator": "^6.1.2",
31
+ "oclif": "^6",
32
+ "openapi-typescript": "^7.13.0",
33
+ "rimraf": "^6.0.1",
34
+ "ts-node": "^10.9.2",
35
+ "typescript": "^6.0.3",
36
+ "vite": "^7",
37
+ "vitest": "^5"
38
+ },
39
+ "engines": {
40
+ "node": ">=22.0.0"
41
+ },
42
+ "files": [
43
+ "/lib",
44
+ "/messages",
45
+ "/npm-shrinkwrap.json",
46
+ "/oclif.manifest.json",
47
+ "/schemas"
48
+ ],
49
+ "homepage": "https://github.com/heroku/plugin-compute",
50
+ "keywords": [
51
+ "force",
52
+ "salesforce",
53
+ "salesforcedx",
54
+ "sf",
55
+ "sf-plugin",
56
+ "sfdx",
57
+ "sfdx-plugin"
58
+ ],
59
+ "license": "Apache-2.0",
60
+ "oclif": {
61
+ "commands": "./lib/commands",
62
+ "bin": "sf",
63
+ "topicSeparator": " ",
64
+ "devPlugins": [
65
+ "@oclif/plugin-help",
66
+ "@oclif/plugin-command-snapshot"
67
+ ],
68
+ "topics": {
69
+ "compute": {
70
+ "description": "Manage Salesforce Compute apps."
71
+ },
72
+ "compute:get": {
73
+ "description": "Retrieve read-only data about a compute app."
74
+ },
75
+ "compute:tail": {
76
+ "description": "Stream a compute app's output as it is produced."
77
+ }
78
+ },
79
+ "flexibleTaxonomy": true
80
+ },
81
+ "repository": {
82
+ "type": "git",
83
+ "url": "git+https://github.com/heroku/plugin-compute.git"
84
+ },
85
+ "scripts": {
86
+ "clean": "rimraf lib tmp oclif.manifest.json *.tsbuildinfo .eslintcache",
87
+ "clean-all": "rimraf lib tmp oclif.manifest.json *.tsbuildinfo .eslintcache node_modules",
88
+ "compile": "tsc -p . --pretty --incremental",
89
+ "build": "tsc -p . --pretty --incremental",
90
+ "manifest": "oclif manifest",
91
+ "readme": "oclif readme",
92
+ "docs:generate": "npm run build && npm run manifest && oclif readme --output-dir docs --multi",
93
+ "generate:types": "openapi-typescript api-specs/salesforce-connect-compute.yaml -o src/generated/salesforce-connect-compute.d.ts && openapi-typescript api-specs/heroku-platform-api.yaml -o src/generated/heroku-platform-api.d.ts",
94
+ "lint": "eslint src test --color --cache --cache-location .eslintcache",
95
+ "link-check": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|localhost|%s\" --markdown --retry --directory-listing --verbosity error",
96
+ "test:compile": "tsc -p ./test --pretty",
97
+ "test:only": "vitest run --coverage",
98
+ "test:deprecation-policy": "npm run compile && node --loader ts-node/esm --no-warnings=ExperimentalWarning ./bin/dev.js snapshot:compare",
99
+ "test:json-schema": "node --loader ts-node/esm --no-warnings=ExperimentalWarning ./bin/dev.js schema:compare",
100
+ "//test": "The test:command-reference gate was removed from this chain until @salesforce/plugin-command-reference can be reinstalled without its vulnerable transitive deps; see AGENTS.md for restore steps.",
101
+ "test": "npm run test:compile && npm run test:only && npm run test:deprecation-policy && npm run test:json-schema && npm run link-check",
102
+ "test:nuts": "vitest run --config vitest.nut.config.ts",
103
+ "prepack": "npm run build && oclif manifest && npm shrinkwrap",
104
+ "postpack": "rimraf oclif.manifest.json npm-shrinkwrap.json"
105
+ },
106
+ "publishConfig": {
107
+ "access": "restricted"
108
+ },
109
+ "overrides": {
110
+ "fast-uri": "^3.1.8",
111
+ "@jsforce/jsforce-node": "^3.10.27",
112
+ "typescript": "$typescript",
113
+ "http-cache-semantics": "^4.3.0"
114
+ },
115
+ "exports": "./lib/index.js",
116
+ "type": "module"
117
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeConfigGetResult",
4
+ "definitions": {
5
+ "ComputeConfigGetResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "name": {
9
+ "type": "string"
10
+ },
11
+ "values": {
12
+ "type": "object",
13
+ "additionalProperties": {
14
+ "type": "string"
15
+ }
16
+ }
17
+ },
18
+ "required": [
19
+ "name",
20
+ "values"
21
+ ],
22
+ "additionalProperties": false
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeConfigResult",
4
+ "definitions": {
5
+ "ComputeConfigResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "configVars": {
9
+ "type": "object",
10
+ "additionalProperties": {
11
+ "type": "string"
12
+ }
13
+ },
14
+ "name": {
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": [
19
+ "configVars",
20
+ "name"
21
+ ],
22
+ "additionalProperties": false
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeConfigSetResult",
4
+ "definitions": {
5
+ "ComputeConfigSetResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "configVars": {
9
+ "type": "object",
10
+ "additionalProperties": {
11
+ "type": "string"
12
+ }
13
+ },
14
+ "name": {
15
+ "type": "string"
16
+ },
17
+ "release": {
18
+ "type": "number"
19
+ }
20
+ },
21
+ "required": [
22
+ "configVars",
23
+ "name"
24
+ ],
25
+ "additionalProperties": false
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeConfigUnsetResult",
4
+ "definitions": {
5
+ "ComputeConfigUnsetResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "name": {
9
+ "type": "string"
10
+ },
11
+ "release": {
12
+ "type": "number"
13
+ },
14
+ "unset": {
15
+ "type": "array",
16
+ "items": {
17
+ "type": "string"
18
+ }
19
+ }
20
+ },
21
+ "required": [
22
+ "name",
23
+ "unset"
24
+ ],
25
+ "additionalProperties": false
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeDeployResult",
4
+ "definitions": {
5
+ "ComputeDeployResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "buildId": {
9
+ "type": "string"
10
+ },
11
+ "deployId": {
12
+ "type": "string"
13
+ },
14
+ "name": {
15
+ "type": "string"
16
+ },
17
+ "platformComputeId": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "required": [
22
+ "buildId",
23
+ "deployId",
24
+ "name",
25
+ "platformComputeId"
26
+ ],
27
+ "additionalProperties": false
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,138 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeDisplayResult",
4
+ "definitions": {
5
+ "ComputeDisplayResult": {
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "formation": {
10
+ "$ref": "#/definitions/HerokuFormationSummary"
11
+ },
12
+ "herokuApp": {
13
+ "$ref": "#/definitions/HerokuAppSummary"
14
+ },
15
+ "orgId": {
16
+ "type": "string"
17
+ },
18
+ "release": {
19
+ "type": "number"
20
+ },
21
+ "currentBuild": {
22
+ "type": "object",
23
+ "properties": {
24
+ "buildCompletedAt": {
25
+ "type": "string"
26
+ },
27
+ "buildStartedAt": {
28
+ "type": "string"
29
+ },
30
+ "buildStatus": {
31
+ "type": "string",
32
+ "enum": [
33
+ "BUILDING",
34
+ "FAILED",
35
+ "PENDING",
36
+ "SUCCEEDED"
37
+ ]
38
+ },
39
+ "deployedAt": {
40
+ "type": "string"
41
+ },
42
+ "deployedBy": {
43
+ "type": "string"
44
+ },
45
+ "error": {
46
+ "type": "string"
47
+ },
48
+ "id": {
49
+ "type": "string"
50
+ }
51
+ },
52
+ "required": [
53
+ "buildStatus",
54
+ "id"
55
+ ],
56
+ "additionalProperties": false
57
+ },
58
+ "description": {
59
+ "type": "string"
60
+ },
61
+ "externalServiceActive": {
62
+ "type": "boolean"
63
+ },
64
+ "externalServiceId": {
65
+ "type": "string"
66
+ },
67
+ "externalServiceRegistered": {
68
+ "type": "boolean"
69
+ },
70
+ "id": {
71
+ "type": "string"
72
+ },
73
+ "masterLabel": {
74
+ "type": "string"
75
+ },
76
+ "name": {
77
+ "type": "string"
78
+ },
79
+ "status": {
80
+ "type": "string",
81
+ "enum": [
82
+ "ACTIVE",
83
+ "DEPLOYING",
84
+ "FAILED"
85
+ ]
86
+ },
87
+ "statusReason": {
88
+ "type": "string"
89
+ }
90
+ },
91
+ "required": [
92
+ "externalServiceRegistered",
93
+ "id",
94
+ "masterLabel",
95
+ "name",
96
+ "orgId",
97
+ "status"
98
+ ]
99
+ },
100
+ "HerokuFormationSummary": {
101
+ "type": "array",
102
+ "items": {
103
+ "type": "object",
104
+ "properties": {
105
+ "dynoSize": {
106
+ "type": "string"
107
+ },
108
+ "quantity": {
109
+ "type": "number"
110
+ },
111
+ "type": {
112
+ "type": "string"
113
+ }
114
+ },
115
+ "required": [
116
+ "quantity",
117
+ "type"
118
+ ],
119
+ "additionalProperties": false
120
+ }
121
+ },
122
+ "HerokuAppSummary": {
123
+ "type": "object",
124
+ "properties": {
125
+ "generation": {
126
+ "type": "string"
127
+ },
128
+ "name": {
129
+ "type": "string"
130
+ },
131
+ "region": {
132
+ "type": "string"
133
+ }
134
+ },
135
+ "additionalProperties": false
136
+ }
137
+ }
138
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeGenerateResult",
4
+ "definitions": {
5
+ "ComputeGenerateResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "files": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "string"
12
+ }
13
+ },
14
+ "language": {
15
+ "$ref": "#/definitions/Language"
16
+ },
17
+ "name": {
18
+ "type": "string"
19
+ },
20
+ "path": {
21
+ "type": "string"
22
+ }
23
+ },
24
+ "required": [
25
+ "files",
26
+ "language",
27
+ "name",
28
+ "path"
29
+ ],
30
+ "additionalProperties": false
31
+ },
32
+ "Language": {
33
+ "type": "string",
34
+ "enum": [
35
+ "node",
36
+ "python"
37
+ ]
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeGetBuildLogResult",
4
+ "definitions": {
5
+ "ComputeGetBuildLogResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "buildStatus": {
9
+ "type": "string",
10
+ "enum": [
11
+ "BUILDING",
12
+ "FAILED",
13
+ "PENDING",
14
+ "SUCCEEDED"
15
+ ]
16
+ },
17
+ "log": {
18
+ "type": "string"
19
+ },
20
+ "name": {
21
+ "type": "string"
22
+ }
23
+ },
24
+ "required": [
25
+ "name"
26
+ ],
27
+ "additionalProperties": false
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeGetRuntimeLogResult",
4
+ "definitions": {
5
+ "ComputeGetRuntimeLogResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "lines": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "string"
12
+ }
13
+ },
14
+ "name": {
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": [
19
+ "name"
20
+ ],
21
+ "additionalProperties": false
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,94 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeListResult",
4
+ "definitions": {
5
+ "ComputeListResult": {
6
+ "type": "array",
7
+ "items": {
8
+ "$ref": "#/definitions/ComputeAppSummary"
9
+ }
10
+ },
11
+ "ComputeAppSummary": {
12
+ "type": "object",
13
+ "properties": {
14
+ "currentBuild": {
15
+ "type": "object",
16
+ "properties": {
17
+ "buildCompletedAt": {
18
+ "type": "string"
19
+ },
20
+ "buildStartedAt": {
21
+ "type": "string"
22
+ },
23
+ "buildStatus": {
24
+ "type": "string",
25
+ "enum": [
26
+ "BUILDING",
27
+ "FAILED",
28
+ "PENDING",
29
+ "SUCCEEDED"
30
+ ]
31
+ },
32
+ "deployedAt": {
33
+ "type": "string"
34
+ },
35
+ "deployedBy": {
36
+ "type": "string"
37
+ },
38
+ "error": {
39
+ "type": "string"
40
+ },
41
+ "id": {
42
+ "type": "string"
43
+ }
44
+ },
45
+ "required": [
46
+ "buildStatus",
47
+ "id"
48
+ ],
49
+ "additionalProperties": false
50
+ },
51
+ "description": {
52
+ "type": "string"
53
+ },
54
+ "externalServiceActive": {
55
+ "type": "boolean"
56
+ },
57
+ "externalServiceId": {
58
+ "type": "string"
59
+ },
60
+ "externalServiceRegistered": {
61
+ "type": "boolean"
62
+ },
63
+ "id": {
64
+ "type": "string"
65
+ },
66
+ "masterLabel": {
67
+ "type": "string"
68
+ },
69
+ "name": {
70
+ "type": "string"
71
+ },
72
+ "status": {
73
+ "type": "string",
74
+ "enum": [
75
+ "ACTIVE",
76
+ "DEPLOYING",
77
+ "FAILED"
78
+ ]
79
+ },
80
+ "statusReason": {
81
+ "type": "string"
82
+ }
83
+ },
84
+ "required": [
85
+ "externalServiceRegistered",
86
+ "id",
87
+ "masterLabel",
88
+ "name",
89
+ "status"
90
+ ],
91
+ "additionalProperties": false
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeScaleResult",
4
+ "definitions": {
5
+ "ComputeScaleResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "formation": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "object",
12
+ "properties": {
13
+ "dynoSize": {
14
+ "type": "string"
15
+ },
16
+ "quantity": {
17
+ "type": "number"
18
+ },
19
+ "type": {
20
+ "type": "string"
21
+ }
22
+ },
23
+ "required": [
24
+ "quantity",
25
+ "type"
26
+ ],
27
+ "additionalProperties": false
28
+ }
29
+ },
30
+ "name": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "required": [
35
+ "formation",
36
+ "name"
37
+ ],
38
+ "additionalProperties": false
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeSourceRetrieveResult",
4
+ "definitions": {
5
+ "ComputeSourceRetrieveResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "files": {
9
+ "type": "number"
10
+ },
11
+ "name": {
12
+ "type": "string"
13
+ },
14
+ "path": {
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": [
19
+ "files",
20
+ "name",
21
+ "path"
22
+ ],
23
+ "additionalProperties": false
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ComputeTailRuntimeLogResult",
4
+ "definitions": {
5
+ "ComputeTailRuntimeLogResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "name": {
9
+ "type": "string"
10
+ }
11
+ },
12
+ "required": [
13
+ "name"
14
+ ],
15
+ "additionalProperties": false
16
+ }
17
+ }
18
+ }