generated from odtp-org/odtp-component-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
odtp.yml
82 lines (73 loc) · 2.48 KB
/
odtp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# This file should contain basic component information for your component.
component-name: odtp-travel-data-dashboard
component-author: Carlos Vivar Rios
component-version: 0.1.0
component-repository: https://github.com/odtp-org/odtp-travel-data-dashboard
component-license: AGPL-3.0
component-type: ephemeral
component-description: ODTP component for origin-destination dashboard
tags:
- dashboard
- origin-destination
- visualization
# Information about the tools
tools:
- tool-name: zuocsfm/OD_data_dashboard
tool-author: C.ZUO
tool-version: 089801bbaa7cf6fcd565d2975xc6702d41947993e
tool-repository: https://github.com/zuocsfm/OD_data_dashboard.git
tool-license: GPL-2.0 License
# If your tool require some secrets token to be passed as ENV to the component
# This won't be traced in MongoDB
secrets:
- name: GITHUB_USERNAME
datatype: string
description: Github username
- name: GITHUB_TOKEN
datatype: string
description: Github token for the above username
# If the tool requires some building arguments such as Matlab license
build-args: null
# If applicable, ports exposed by the component
# Include Name, Description, and Port Value for each port
ports:
- name: app
description: Port to serve streamlit app
port-value: 8501
# If applicable, parameters exposed by the component
# Datatype can be str, int, float, or bool.
parameters:
- name: DATA_INPUT_OPTION
default-value: ORIGINAL_DATA
datatype: string
description: >
the data can be taken form the tool or from the output of a previous
component in a workflow
options:
- ORIGINAL_DATA
- CUSTOM
allow-custom-value: true
- name: DATA_INPUT_PATH
default-value: eqasim-matsim-output/simulation_output/eqasim_legs.csv
datatype: string
description: >
path where the data will be provided when it is coming from the output
of a previous component
options:
- eqasim-matsim-output/simulation_output/eqasim_legs.csv
allow-custom-value: true
# If applicable, data-input list required by the component
data-inputs:
- name: origin-destination.csv
type: csv
path: odtp-app/data/origin-destination.csv
description: origin-destination.csv
# If applicable, data-output list produced by the component
data-output: null
# If applicable, path to schemas to perform semantic validation.
# Still under development. Ignore.
schema-input: null
schema-output: null
# If applicable, define devices needed such as GPU.
devices:
gpu: false