@platformatic/foundation 3.8.0 → 3.10.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/lib/schema.js +31 -30
- package/package.json +1 -1
package/lib/schema.js
CHANGED
|
@@ -61,7 +61,8 @@ const verticalScaler = {
|
|
|
61
61
|
minELUDiff: { type: 'number', minimum: 0, maximum: 1 },
|
|
62
62
|
timeWindowSec: { type: 'number', minimum: 0 },
|
|
63
63
|
cooldownSec: { type: 'number', minimum: 0 },
|
|
64
|
-
scaleIntervalSec: { type: 'number', minimum: 0 }
|
|
64
|
+
scaleIntervalSec: { type: 'number', minimum: 0 },
|
|
65
|
+
gracePeriod: { type: 'number', minimum: 0 }
|
|
65
66
|
},
|
|
66
67
|
additionalProperties: false
|
|
67
68
|
}
|
|
@@ -735,6 +736,30 @@ export const applications = {
|
|
|
735
736
|
nodeOptions: {
|
|
736
737
|
type: 'string'
|
|
737
738
|
},
|
|
739
|
+
permissions: {
|
|
740
|
+
type: 'object',
|
|
741
|
+
properties: {
|
|
742
|
+
fs: {
|
|
743
|
+
type: 'object',
|
|
744
|
+
properties: {
|
|
745
|
+
read: {
|
|
746
|
+
type: 'array',
|
|
747
|
+
items: {
|
|
748
|
+
type: 'string'
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
write: {
|
|
752
|
+
type: 'array',
|
|
753
|
+
items: {
|
|
754
|
+
type: 'string'
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
additionalProperties: false
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
additionalProperties: false
|
|
762
|
+
},
|
|
738
763
|
telemetry: {
|
|
739
764
|
type: 'object',
|
|
740
765
|
properties: {
|
|
@@ -814,35 +839,7 @@ export const runtimeProperties = {
|
|
|
814
839
|
type: 'object',
|
|
815
840
|
additionalProperties: false,
|
|
816
841
|
required: ['id'],
|
|
817
|
-
properties:
|
|
818
|
-
id: {
|
|
819
|
-
type: 'string'
|
|
820
|
-
},
|
|
821
|
-
config: {
|
|
822
|
-
type: 'string'
|
|
823
|
-
},
|
|
824
|
-
useHttp: {
|
|
825
|
-
type: 'boolean'
|
|
826
|
-
},
|
|
827
|
-
workers,
|
|
828
|
-
health: { ...healthWithoutDefaults },
|
|
829
|
-
preload,
|
|
830
|
-
dependencies: {
|
|
831
|
-
type: 'array',
|
|
832
|
-
items: {
|
|
833
|
-
type: 'string'
|
|
834
|
-
}
|
|
835
|
-
},
|
|
836
|
-
arguments: {
|
|
837
|
-
type: 'array',
|
|
838
|
-
items: {
|
|
839
|
-
type: 'string'
|
|
840
|
-
}
|
|
841
|
-
},
|
|
842
|
-
nodeOptions: {
|
|
843
|
-
type: 'string'
|
|
844
|
-
}
|
|
845
|
-
}
|
|
842
|
+
properties: omitProperties(applications.items.properties, ['path', 'url', 'gitBranch'])
|
|
846
843
|
}
|
|
847
844
|
}
|
|
848
845
|
}
|
|
@@ -1120,6 +1117,10 @@ export const runtimeProperties = {
|
|
|
1120
1117
|
}
|
|
1121
1118
|
]
|
|
1122
1119
|
}
|
|
1120
|
+
},
|
|
1121
|
+
timeout: {
|
|
1122
|
+
anyOf: [{ type: 'integer' }, { type: 'string' }],
|
|
1123
|
+
default: 10000
|
|
1123
1124
|
}
|
|
1124
1125
|
},
|
|
1125
1126
|
additionalProperties: false
|