From d217c469d68f9cec18c23651a03a39c8a8f34034 Mon Sep 17 00:00:00 2001 From: Alessandro Bellucci Date: Tue, 23 Jul 2024 11:14:29 +0200 Subject: [PATCH] Add field implementation to nuvlabox_release resource --- .../nuvla/server/resources/spec/nuvlabox_release.cljc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/src/sixsq/nuvla/server/resources/spec/nuvlabox_release.cljc b/code/src/sixsq/nuvla/server/resources/spec/nuvlabox_release.cljc index 4d31b09df..ebbb4ad38 100644 --- a/code/src/sixsq/nuvla/server/resources/spec/nuvlabox_release.cljc +++ b/code/src/sixsq/nuvla/server/resources/spec/nuvlabox_release.cljc @@ -81,6 +81,11 @@ :json-schema/type "boolean" :json-schema/description "nuvlabox release is published"))) +(s/def ::implementation (-> (st/spec #{"python" "go"}) + (assoc :name "implementation" + :json-schema/type "string" + :json-schema/description "implementation technology (python, go)"))) + ;; ;; ------- ;; @@ -93,4 +98,5 @@ ::release-date ::compose-files] :opt-un [::release-notes - ::published]})) \ No newline at end of file + ::published + ::implementation]}))