forked from pydio/cells
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
112 lines (100 loc) · 4.22 KB
/
main.go
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
107
108
109
110
111
112
/*
* Copyright (c) 2018. Abstrium SAS <team (at) pydio.com>
* This file is part of Pydio Cells.
*
* Pydio Cells is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Pydio Cells is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Pydio Cells. If not, see <http://www.gnu.org/licenses/>.
*
* The latest code can be found at <https://pydio.com>.
*/
package main
import (
"github.com/pydio/cells/cmd"
// Making sure they are initialised first
_ "github.com/pydio/cells/discovery/nats"
_ "github.com/pydio/cells/discovery/config/grpc"
_ "github.com/pydio/cells/discovery/config/rest"
_ "github.com/pydio/cells/discovery/install/rest"
_ "github.com/pydio/cells/discovery/update/grpc"
_ "github.com/pydio/cells/discovery/update/rest"
_ "github.com/pydio/cells/broker/activity/grpc"
_ "github.com/pydio/cells/broker/activity/rest"
_ "github.com/pydio/cells/broker/chat/grpc"
_ "github.com/pydio/cells/broker/log/grpc"
_ "github.com/pydio/cells/broker/log/rest"
_ "github.com/pydio/cells/broker/mailer/grpc"
_ "github.com/pydio/cells/broker/mailer/rest"
_ "github.com/pydio/cells/frontend/front-srv/rest"
_ "github.com/pydio/cells/frontend/front-srv/web"
// _ "github.com/pydio/cells/data/changes/grpc"
// _ "github.com/pydio/cells/data/changes/rest"
_ "github.com/pydio/cells/data/docstore/grpc"
_ "github.com/pydio/cells/data/key/grpc"
_ "github.com/pydio/cells/data/meta/grpc"
_ "github.com/pydio/cells/data/meta/rest"
_ "github.com/pydio/cells/data/source/index/grpc"
_ "github.com/pydio/cells/data/source/objects/grpc"
_ "github.com/pydio/cells/data/source/sync/grpc"
_ "github.com/pydio/cells/data/source/test"
_ "github.com/pydio/cells/data/templates/rest"
_ "github.com/pydio/cells/data/tree/grpc"
_ "github.com/pydio/cells/data/tree/rest"
_ "github.com/pydio/cells/data/versions/grpc"
_ "github.com/pydio/cells/discovery/config/grpc"
_ "github.com/pydio/cells/discovery/config/rest"
_ "github.com/pydio/cells/gateway/data"
_ "github.com/pydio/cells/gateway/dav"
_ "github.com/pydio/cells/gateway/micro"
_ "github.com/pydio/cells/gateway/proxy"
_ "github.com/pydio/cells/gateway/websocket/api"
_ "github.com/pydio/cells/gateway/wopi"
_ "github.com/pydio/cells/data/search/grpc"
_ "github.com/pydio/cells/data/search/rest"
_ "github.com/pydio/cells/idm/acl/grpc"
_ "github.com/pydio/cells/idm/acl/rest"
_ "github.com/pydio/cells/idm/auth/grpc"
_ "github.com/pydio/cells/idm/auth/rest"
_ "github.com/pydio/cells/idm/auth/web"
_ "github.com/pydio/cells/idm/graph/rest"
_ "github.com/pydio/cells/idm/key/grpc"
_ "github.com/pydio/cells/idm/meta/grpc"
_ "github.com/pydio/cells/idm/meta/rest"
_ "github.com/pydio/cells/idm/policy/grpc"
_ "github.com/pydio/cells/idm/policy/rest"
_ "github.com/pydio/cells/idm/role/grpc"
_ "github.com/pydio/cells/idm/role/rest"
_ "github.com/pydio/cells/idm/share/rest"
_ "github.com/pydio/cells/idm/user/grpc"
_ "github.com/pydio/cells/idm/user/rest"
_ "github.com/pydio/cells/idm/workspace/grpc"
_ "github.com/pydio/cells/idm/workspace/rest"
_ "github.com/pydio/cells/scheduler/jobs/grpc"
_ "github.com/pydio/cells/scheduler/jobs/rest"
_ "github.com/pydio/cells/scheduler/tasks/grpc"
_ "github.com/pydio/cells/scheduler/timer/grpc"
// All Actions for scheduler
_ "github.com/pydio/cells/broker/activity/actions"
_ "github.com/pydio/cells/scheduler/actions/archive"
_ "github.com/pydio/cells/scheduler/actions/changes"
_ "github.com/pydio/cells/scheduler/actions/cmd"
_ "github.com/pydio/cells/scheduler/actions/idm"
_ "github.com/pydio/cells/scheduler/actions/images"
_ "github.com/pydio/cells/scheduler/actions/scheduler"
_ "github.com/pydio/cells/scheduler/actions/tree"
"github.com/pydio/cells/common"
)
func main() {
common.PackageType = "PydioHome"
common.PackageLabel = "Pydio Cells Home Edition"
cmd.Execute()
}