@@ -99,54 +99,84 @@ ODTP requires a set of metadata to work. These fields should be filled by the de
9999
100100``` yml
101101# This file should contain basic component information for your component.
102- - component-name : Component Name
103- - component-author : Component Author
104- - component-version : Component Version
105- - component-repository : Component Repository
106- - component-license : Component License
107- - component-type : ephemeral or interactive.
108- - component-description : Description
109- - tags :
102+ component-name : Component Name
103+ component-author : Component Author
104+ component-version : Component Version
105+ component-repository : Component Repository
106+ component-license : Component License
107+ component-type : ephemeral or interactive
108+ component-description : Description
109+ tags :
110110 - tag1
111111 - tag2
112112
113113# Information about the tool
114- - tool-name : Tool name
115- - tool-author : Tool's author
116- - tool-version : Tool version
117- - tool-repository : Tool's repository
118- - tool-license : Tool's license
119-
120- # If aplicable, ports exposed by the component
121- - ports :
122- - XXXX
123-
124- # If aplicable, parameters exposed by the component
125- # Add compatible datatype: str, int or float
126- - parameters :
127- - PARAMETER A : datatype
128-
129- # If aplicable, data-input list required by the component
130- - data-inputs :
131- - data
132- - cache
133-
134- # If aplicable, data-output list produced by the component
135- - data-output :
136- - output
137-
138- # If aplicable, path to schemas to perform semantic validation.
139- # Still under development. Ignore.
140- - schema-input : PATH_TO_INPUT_SCHEMA
141- - schema-output : PATH_TO_OUTPUT_SCHEMA
142-
143- # If aplicable, define devices needed such as gpus.
144- - devices :
145- - gpus : False
114+ tool-name : Tool name
115+ tool-author : Tool's author
116+ tool-version : Tool version
117+ tool-repository : Tool's repository
118+ tool-license : Tool's license
119+
120+ # If applicable, ports exposed by the component
121+ # Include Name, Description, and Port Value for each port
122+ ports :
123+ - name : PORT A
124+ description : Description of Port A
125+ port-value : XXXX
126+ - name : PORT B
127+ description : Description of Port B
128+ port-value : YYYY
129+
130+ # If applicable, parameters exposed by the component
131+ # Datatype can be str, int, float, or bool.
132+ parameters :
133+ - name : PARAMETER A
134+ default-value : DEFAULT_VALUE_A
135+ datatype : DATATYPE_A
136+ description : Description of Parameter A
137+ - name : PARAMETER B
138+ default-value : DEFAULT_VALUE_B
139+ datatype : DATATYPE_B
140+ description : Description of Parameter B
141+
142+ # If applicable, data-input list required by the component
143+ data-inputs :
144+ - name : INPUT A
145+ type : TYPE_A # Folder or filetype
146+ path : VALUE_A
147+ description : Description of Input A
148+ - name : INPUT B
149+ type : TYPE_B # Folder or filetype
150+ path : VALUE_B
151+ description : Description of Input B
152+
153+ # If applicable, data-output list produced by the component
154+ data-output :
155+ - name : OUTPUT A
156+ type : TYPE_A # Folder or filetype
157+ path : VALUE_A
158+ description : Description of Output A
159+ - name : OUTPUT B
160+ type : TYPE_B # Folder or filetype
161+ path : VALUE_B
162+ description : Description of Output B
163+
164+ # If applicable, path to schemas to perform semantic validation.
165+ # Still under development. Ignore.
166+ schema-input : PATH_TO_INPUT_SCHEMA
167+ schema-output : PATH_TO_OUTPUT_SCHEMA
168+
169+ # If applicable, define devices needed such as GPU.
170+ devices :
171+ gpu : false
146172` ` `
147173
148174## Changelog
149175
176+ - v0.3.2
177+ - Extended ` odtp.yml` parameters and input/output definition.
178+ - ` odtp.requirements.txt` transfered to submodule `odtp-component-client`.
179+
150180- v0.3.1
151181 - Updating schema fields in `odtp.yml` to kebab-case.
152182
0 commit comments