diff --git a/ccp/js/methodeditorcontroller2.js b/ccp/js/methodeditorcontroller2.js index cb29cb1..ecb8b72 100644 --- a/ccp/js/methodeditorcontroller2.js +++ b/ccp/js/methodeditorcontroller2.js @@ -21,21 +21,7 @@ class CCPMethodEditorController extends HTMLElement{ version : "1.0.0", jobControlOptions : "async-execute", metadata : [], - inputs : { - runtime : { - id : "runtime", - title : "Runtime", - description : "The image of the runtime to use for method execution. This depends on the infrastructure specific protocol for interacting with registries.", - minOccurs : 1, - maxOccurs : 1, - schema : { - type : "string", - format : "url", - default : "", - readonly : true, - } - } - }, + inputs : {}, outputs : {}, additionalParameters : { parameters : [ @@ -260,7 +246,21 @@ class CCPMethodEditorController extends HTMLElement{ this.#current = JSON.parse(JSON.stringify(this.#method_template)) this.#current.id = Math.abs((Math.random() * 10e11)|0) this.#current.metadata = [] - this.#tmp_inputs = [] + this.#tmp_inputs = [ + { + id : "runtime", + title : "Runtime", + description : "The image of the runtime to use for method execution. This depends on the infrastructure specific protocol for interacting with registries.", + minOccurs : 1, + maxOccurs : 1, + schema : { + type : "string", + format : "url", + default : "", + readonly : true, + } + } + ] this.#tmp_outputs = [] }