forked from hull-ships/hull-sql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
executable file
·106 lines (106 loc) · 2 KB
/
manifest.json
File metadata and controls
executable file
·106 lines (106 loc) · 2 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "SQL Importer",
"description": "Import SQL data from your own database",
"picture": "picture.png",
"version": "0.0.1",
"tags": [
"incoming",
"oneColumn"
],
"private_settings": [
{
"name": "enabled",
"title": "Enable Sync",
"type": "boolean",
"default": "false"
},
{
"name": "overwrite",
"title": "Overwrite data in Hull in case of a conflict",
"type": "boolean",
"default": "true"
},
{
"type": "string",
"format": "title",
"name": "db_info",
"title": "Database connection"
},
{
"name": "db_type",
"type": "string",
"title": "Type",
"enum": [
"postgres",
"mysql"
],
"default": "postgres",
"required" : true
},
{
"name": "db_host",
"type": "string",
"title": "Host Name",
"required" : true
},
{
"name": "db_port",
"type": "string",
"title": "Port",
"required" : true
},
{
"name": "db_name",
"type": "string",
"title": "Database",
"required" : true
},
{
"name": "db_user",
"type": "string",
"title": "Username",
"required" : true
},
{
"name": "db_password",
"type": "string",
"title": "Password",
"required" : true
},
{
"name": "query",
"title": "Query to run",
"type": "string",
"format": "hidden"
},
{
"name": "last_sync_at",
"title": "Last sync",
"type": "string",
"format": "hidden"
},
{
"name": "last_updated_at",
"title": "Last updated_at",
"type": "string",
"format": "hidden"
},
{
"name": "last_job_id",
"title": "Last job ID",
"type": "string",
"format": "hidden"
}
],
"resources": [],
"readme": "readme.md",
"admin": "admin.html",
"ui": false,
"schedules": [
{
"url": "/sync",
"type": "cron",
"value": "0 */3 * * *"
}
]
}