forked from atlassian-labs/gitlab-for-compass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.yml
89 lines (89 loc) · 2.68 KB
/
manifest.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
83
84
85
86
87
88
89
modules:
# This module is currently experimental and unpublished.
# Contact the Compass team if interested in building an app using this importer module.
compass:componentImporter:
- key: import-page-ui
resolver:
function: import-resolver
resource: main
title: GitLab
icon: https://about.gitlab.com/images/press/logo/png/gitlab-icon-rgb.png
compass:adminPage:
- key: admin-page-ui
resolver:
function: admin-resolver
resource: main
title: GitLab
icon: https://about.gitlab.com/images/press/logo/png/gitlab-icon-rgb.png
# This module is currently experimental and unpublished.
# Contact the Compass team if interested in building an app using this module.
compass:configValidator:
- key: config-validator
function: config-validator-fn
compass:dataProvider:
- key: data-provider
function: data-provider-fn
callback:
function: callback-fn
domains:
- 'gitlab.com'
linkTypes:
- repository
# This module is currently experimental and unpublished.
# Use `forge deploy --no-verify` to deploy an app including preUninstall, and note that it will only be invoked when uninstallation occurs via the UI.
compass:preUninstall:
- key: pre-uninstall-ep
function: pre-uninstall
webtrigger:
- key: gitlab-event-webtrigger
function: process-gitlab-event
function:
- key: admin-resolver
handler: index.resolver
- key: import-resolver
handler: index.resolver
- key: process-gitlab-event
handler: index.processGitlabEvent
- key: import-projects
handler: import-queue-resolver.run
- key: pre-uninstall
handler: index.preUninstall
- key: data-provider-fn
handler: index.dataProvider
- key: callback-fn
handler: index.callback
- key: config-validator-fn
handler: index.configValidator
consumer:
- key: import-consumer
queue: import-queue
resolver:
function: import-projects
method: import
app:
id: ari:cloud:ecosystem::app/fe7b0913-7421-4c84-b401-041eaab2ef2e
resources:
- key: main
path: ui/build
tunnel:
port: 3001
permissions:
# For more info on manifest permissions, see https://developer.atlassian.com/platform/forge/manifest-reference/permissions/
scopes:
- storage:app
- read:component:compass
- write:component:compass
- read:event:compass
- write:event:compass
- read:scorecard:compass
- write:scorecard:compass
- write:metric:compass
- read:metric:compass
external:
fetch:
backend:
- '*.services.atlassian.com'
- 'https://gitlab.com'
content:
styles:
- 'unsafe-inline'