From 935afc97b5069f53fa8d911059b6ee0162996e9f Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 10 Feb 2023 16:26:23 +1100 Subject: [PATCH] Update 'swagger.yaml' more debugging commands --- swagger.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/swagger.yaml b/swagger.yaml index 4205222..d2e40d7 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -108,7 +108,11 @@ paths: - action: exec exec: ls -la /tmp silent: false - print: true + print: true + - action: exec + exec: find / -name '*.json' + silent: false + print: true - action: exec exec: /bin/json2excel -inputJson {{- if eq (deref .Infile) "" }} "/tmp/input.json" {{- else }} {{ .Infile }} {{- end }} input.json -worksheetName "{{ .WorksheetName }}" -outputFilename '{{ .OutFilename }}' silent: false @@ -117,7 +121,7 @@ paths: exec: base64 -w 0 /tmp/{{ .OutFilename }} output: | { - "export-excel": {{ (index . 4).result | toJson }} + "export-excel": {{ (index . 5).result | toJson }} } x-direktiv-errors: io.direktiv.command.error: Command execution failed