-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.ts
95 lines (75 loc) · 3.11 KB
/
index.ts
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
import { IPlugin } from 'fbl';
import * as handlers from './src/handlers';
const packageJson = require('../package.json');
module.exports = <IPlugin>{
name: packageJson.name,
description: `Plugin human readable description.`,
tags: packageJson.keywords,
version: packageJson.version,
requires: {
fbl: packageJson.peerDependencies.fbl,
plugins: {
// pluginId: '<0.0.1'
},
applications: [],
},
reporters: [],
actionHandlers: [
// client
new handlers.ClientCreateActionHandler(),
new handlers.ClientDeleteActionHandler(),
new handlers.ClientGetActionHandler(),
new handlers.ClientUpdateActionHandler(),
// client roles
new handlers.ClientRoleCreateActionHandler(),
new handlers.ClientRoleDeleteActionHandler(),
new handlers.ClientRoleGetActionHandler(),
new handlers.ClientRoleUpdateActionHandler(),
// client secrets
new handlers.ClientSecretGetActionHandler(),
new handlers.ClientSecretGenerateActionHandler(),
// client service account roles
new handlers.ServiceAccountAddRoleMappingsActionHandler(),
new handlers.ServiceAccountApplyRoleMappingsActionHandler(),
new handlers.ServiceAccountDeleteRoleMappingsActionHandler(),
new handlers.ServiceAccountGetRoleMappingsActionHandler(),
// group
new handlers.GroupCreateActionHandler(),
new handlers.GroupDeleteActionHandler(),
new handlers.GroupGetActionHandler(),
new handlers.GroupUpdateActionHandler(),
// group mappings roles
new handlers.GroupAddRoleMappingsActionHandler(),
new handlers.GroupApplyRoleMappingsActionHandler(),
new handlers.GroupDeleteRoleMappingsActionHandler(),
new handlers.GroupGetRoleMappingsActionHandler(),
// realm
new handlers.RealmCreateActionHandler(),
new handlers.RealmDeleteActionHandler(),
new handlers.RealmGetActionHandler(),
new handlers.RealmUpdateActionHandler(),
// realm events config
new handlers.RealmGetEventsConfigActionHandler(),
new handlers.RealmUpdateEventsConfigActionHandler(),
// realm roles
new handlers.RealmRoleCreateActionHandler(),
new handlers.RealmRoleDeleteActionHandler(),
new handlers.RealmRoleGetActionHandler(),
new handlers.RealmRoleUpdateActionHandler(),
// user
new handlers.UserCreateActionHandler(),
new handlers.UserDeleteActionHandler(),
new handlers.UserGetActionHandler(),
new handlers.UserUpdateActionHandler(),
// user group mappings
new handlers.UserAddToGroupActionHandler(),
new handlers.UserDeleteFromGroupActionHandler(),
new handlers.UserGetGroupsActionHandler(),
// user mappings roles
new handlers.UserAddRoleMappingsActionHandler(),
new handlers.UserApplyRoleMappingsActionHandler(),
new handlers.UserDeleteRoleMappingsActionHandler(),
new handlers.UserGetRoleMappingsActionHandler(),
],
templateUtils: [],
};