-
Notifications
You must be signed in to change notification settings - Fork 0
/
Module.yaml
72 lines (72 loc) · 2.77 KB
/
Module.yaml
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
displayName: 'Prinect Ingress' # Display name for the module that will be displayed in the UI.
moduleName: 'prinect-ingress' # Module name that will be used to reference the module, and uniquely identify the module and their versions.
description: 'Data ingress for Pinect API requests.' # Module description that will be displayed in the UI.
versionName: 'v1.0.1' # Module version name that will be used to reference the module version, and uniquely identify the module version with a common name.
isPublic: true # Boolean value that indicates if the module is Public or Private.
categories: # Array of category that will be used to group the module in the UI.
- 'Ingress'
type: 'Input' # Module type (Input, Processing, Output) that will be used to group the module in the UI.
image:
name: 'weevenetwork/prinect-ingress' # Image name from the docker registry.
tag: 'v1.0.1' # Image tag from the docker registry.
homepage: 'https://hub.docker.com/r/weevenetwork/prinect-ingress' # Image homepage from the docker registry.
repository: 'https://github.com/weeve-modules/prinect-ingress' # Repository URL to source code.
envs: # Array of environment variables that will be used to configure the module. Also used to show related fields on the UI.
- name: Base URL
key: BASE_URL
description: Base URL for the API. Ends with /rest
value: 'http://localhost:15011/PrinectAPILocal/rest'
type: 'text'
options: []
dependencies: []
- name: Username
key: USERNAME
description: Username for the API.
value: 'admin'
type: 'text'
options: []
dependencies: []
- name: Password
key: PASSWORD
description: Password for the API.
value: 'password12345'
type: 'text'
options: []
dependencies: []
- name: Device ID
key: DEVICE_ID
description: ID of the device you want the data for.
value: 'XL105-6'
type: 'text'
options: []
dependencies: []
- name: Resource
key: RESOURCE
description: Resource you want the data for.
value: 'device data'
type: 'select'
options:
- 'device data'
- 'activity data'
- 'consumption data'
dependencies: []
- name: Polling interval
key: INTERVAL
description: Interval in seconds between each API call.
value: '5'
type: 'number'
options: []
dependencies: []
ports: []
mounts: []
envMounts: []
devices: []
envDevices: []
envPorts: []
tags: # Array of tags.
- 'HTTP'
- 'Python'
- 'Input'
- 'Heidelberg'
- '1.0.0'
icon: 'https://icons-020-demo.s3.eu-central-1.amazonaws.com/mi_Prinect.png' # Icon URL that will be displayed in the UI.