Merge branch 'master' into BUDI-7654/app-migration-builder-frontend
This commit is contained in:
commit
e08138d84a
|
@ -252,4 +252,10 @@ spec:
|
||||||
{{ end }}
|
{{ end }}
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
serviceAccountName: ""
|
serviceAccountName: ""
|
||||||
|
{{ if .Values.services.apps.ndots }}
|
||||||
|
dnsConfig:
|
||||||
|
options:
|
||||||
|
- name: ndots
|
||||||
|
value: {{ .Values.services.apps.ndots | quote }}
|
||||||
|
{{ end }}
|
||||||
status: {}
|
status: {}
|
||||||
|
|
|
@ -227,6 +227,7 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if .Values.services.automationWorkers.command }}
|
||||||
command:
|
command:
|
||||||
{{- toYaml .Values.services.automationWorkers.command | nindent 10 }}
|
{{- toYaml .Values.services.automationWorkers.command | nindent 10 }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -251,6 +252,11 @@ spec:
|
||||||
{{ end }}
|
{{ end }}
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
serviceAccountName: ""
|
serviceAccountName: ""
|
||||||
{{ if .Values.services.automationWorkers.command }}}
|
{{ if .Values.services.automationWorkers.ndots }}
|
||||||
|
dnsConfig:
|
||||||
|
options:
|
||||||
|
- name: ndots
|
||||||
|
value: {{ .Values.services.automationWorkers.ndots | quote }}
|
||||||
|
{{ end }}
|
||||||
status: {}
|
status: {}
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -109,4 +109,10 @@ spec:
|
||||||
{{- toYaml .Values.services.proxy.args | nindent 8 }}
|
{{- toYaml .Values.services.proxy.args | nindent 8 }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
|
{{ if .Values.services.proxy.ndots }}
|
||||||
|
dnsConfig:
|
||||||
|
options:
|
||||||
|
- name: ndots
|
||||||
|
value: {{ .Values.services.proxy.ndots | quote }}
|
||||||
|
{{ end }}
|
||||||
status: {}
|
status: {}
|
||||||
|
|
|
@ -238,4 +238,10 @@ spec:
|
||||||
{{ end }}
|
{{ end }}
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
serviceAccountName: ""
|
serviceAccountName: ""
|
||||||
|
{{ if .Values.services.worker.ndots }}
|
||||||
|
dnsConfig:
|
||||||
|
options:
|
||||||
|
- name: ndots
|
||||||
|
value: {{ .Values.services.worker.ndots | quote }}
|
||||||
|
{{ end }}
|
||||||
status: {}
|
status: {}
|
||||||
|
|
|
@ -50,7 +50,7 @@ export class ExecutionTimeTracker {
|
||||||
return this.totalTimeMs
|
return this.totalTimeMs
|
||||||
}
|
}
|
||||||
|
|
||||||
private checkLimit() {
|
checkLimit() {
|
||||||
if (this.totalTimeMs > this.limitMs) {
|
if (this.totalTimeMs > this.limitMs) {
|
||||||
throw new ExecutionTimeoutError(
|
throw new ExecutionTimeoutError(
|
||||||
`Execution time limit of ${this.limitMs}ms exceeded: ${this.totalTimeMs}ms`
|
`Execution time limit of ${this.limitMs}ms exceeded: ${this.totalTimeMs}ms`
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
export let value = ""
|
export let value = ""
|
||||||
export let placeholder = null
|
export let placeholder = null
|
||||||
export let autocompleteEnabled = true
|
export let autocompleteEnabled = true
|
||||||
|
export let autofocus = false
|
||||||
|
|
||||||
// Export a function to expose caret position
|
// Export a function to expose caret position
|
||||||
export const getCaretPosition = () => {
|
export const getCaretPosition = () => {
|
||||||
|
@ -241,6 +242,12 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$: {
|
||||||
|
if (autofocus && isEditorInitialised) {
|
||||||
|
editor.focus()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$: editorHeight = typeof height === "number" ? `${height}px` : height
|
$: editorHeight = typeof height === "number" ? `${height}px` : height
|
||||||
|
|
||||||
// Init when all elements are ready
|
// Init when all elements are ready
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
export let valid
|
export let valid
|
||||||
export let allowJS = false
|
export let allowJS = false
|
||||||
export let allowHelpers = true
|
export let allowHelpers = true
|
||||||
|
export let autofocusEditor = false
|
||||||
|
|
||||||
const drawerActions = getContext("drawer-actions")
|
const drawerActions = getContext("drawer-actions")
|
||||||
const bindingDrawerActions = getContext("binding-drawer-actions")
|
const bindingDrawerActions = getContext("binding-drawer-actions")
|
||||||
|
@ -199,6 +200,7 @@
|
||||||
]}
|
]}
|
||||||
placeholder=""
|
placeholder=""
|
||||||
height="100%"
|
height="100%"
|
||||||
|
autofocus={autofocusEditor}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="binding-footer">
|
<div class="binding-footer">
|
||||||
|
@ -301,6 +303,7 @@
|
||||||
bind:getCaretPosition
|
bind:getCaretPosition
|
||||||
bind:insertAtPos
|
bind:insertAtPos
|
||||||
height="100%"
|
height="100%"
|
||||||
|
autofocus={autofocusEditor}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="binding-footer">
|
<div class="binding-footer">
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
export let value = ""
|
export let value = ""
|
||||||
export let allowJS = false
|
export let allowJS = false
|
||||||
export let allowHelpers = true
|
export let allowHelpers = true
|
||||||
|
export let autofocusEditor = false
|
||||||
|
|
||||||
$: enrichedBindings = enrichBindings(bindings)
|
$: enrichedBindings = enrichBindings(bindings)
|
||||||
|
|
||||||
|
@ -27,5 +28,6 @@
|
||||||
{value}
|
{value}
|
||||||
{allowJS}
|
{allowJS}
|
||||||
{allowHelpers}
|
{allowHelpers}
|
||||||
|
{autofocusEditor}
|
||||||
on:change
|
on:change
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="options-wrap">
|
<div class="options-wrap">
|
||||||
<div />
|
|
||||||
<div><ActionButton on:click={drawer.show}>Define Options</ActionButton></div>
|
<div><ActionButton on:click={drawer.show}>Define Options</ActionButton></div>
|
||||||
</div>
|
</div>
|
||||||
<Drawer bind:this={drawer} title="Options" on:drawerHide on:drawerShow>
|
<Drawer bind:this={drawer} title="Options" on:drawerHide on:drawerShow>
|
||||||
|
|
|
@ -64,6 +64,7 @@
|
||||||
on:change={event => (tempValue = event.detail)}
|
on:change={event => (tempValue = event.detail)}
|
||||||
allowJS
|
allowJS
|
||||||
{bindings}
|
{bindings}
|
||||||
|
autofocusEditor={true}
|
||||||
/>
|
/>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
{/key}
|
{/key}
|
||||||
|
|
|
@ -3295,6 +3295,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "options",
|
"type": "options",
|
||||||
|
"label": "Custom options",
|
||||||
"key": "customOptions",
|
"key": "customOptions",
|
||||||
"dependsOn": {
|
"dependsOn": {
|
||||||
"setting": "optionsSource",
|
"setting": "optionsSource",
|
||||||
|
@ -3502,6 +3503,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "options",
|
"type": "options",
|
||||||
|
"label": "Custom options",
|
||||||
"key": "customOptions",
|
"key": "customOptions",
|
||||||
"dependsOn": {
|
"dependsOn": {
|
||||||
"setting": "optionsSource",
|
"setting": "optionsSource",
|
||||||
|
|
|
@ -18,13 +18,16 @@ export function init() {
|
||||||
bbCtx.jsExecutionTracker =
|
bbCtx.jsExecutionTracker =
|
||||||
timers.ExecutionTimeTracker.withLimit(perRequestLimit)
|
timers.ExecutionTimeTracker.withLimit(perRequestLimit)
|
||||||
}
|
}
|
||||||
track = bbCtx.jsExecutionTracker.track.bind(bbCtx.jsExecutionTracker)
|
|
||||||
span?.addTags({
|
span?.addTags({
|
||||||
js: {
|
js: {
|
||||||
limitMS: bbCtx.jsExecutionTracker.limitMs,
|
limitMS: bbCtx.jsExecutionTracker.limitMs,
|
||||||
elapsedMS: bbCtx.jsExecutionTracker.elapsedMS,
|
elapsedMS: bbCtx.jsExecutionTracker.elapsedMS,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
// We call checkLimit() here to prevent paying the cost of creating
|
||||||
|
// a new VM context below when we don't need to.
|
||||||
|
bbCtx.jsExecutionTracker.checkLimit()
|
||||||
|
track = bbCtx.jsExecutionTracker.track.bind(bbCtx.jsExecutionTracker)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2019,6 +2019,15 @@
|
||||||
"@babel/parser" "^7.22.15"
|
"@babel/parser" "^7.22.15"
|
||||||
"@babel/types" "^7.22.15"
|
"@babel/types" "^7.22.15"
|
||||||
|
|
||||||
|
"@babel/template@^7.22.5", "@babel/template@^7.3.3":
|
||||||
|
version "7.22.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec"
|
||||||
|
integrity sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==
|
||||||
|
dependencies:
|
||||||
|
"@babel/code-frame" "^7.22.5"
|
||||||
|
"@babel/parser" "^7.22.5"
|
||||||
|
"@babel/types" "^7.22.5"
|
||||||
|
|
||||||
"@babel/traverse@^7.22.5":
|
"@babel/traverse@^7.22.5":
|
||||||
version "7.23.6"
|
version "7.23.6"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.6.tgz#b53526a2367a0dd6edc423637f3d2d0f2521abc5"
|
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.6.tgz#b53526a2367a0dd6edc423637f3d2d0f2521abc5"
|
||||||
|
|
Loading…
Reference in New Issue