-
Notifications
You must be signed in to change notification settings - Fork 16
/
manifest.yml
104 lines (104 loc) · 3.04 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
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:configValidatorWithoutUser:
- key: config-validator-without-user
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.adminResolver
- key: import-resolver
handler: index.importResolver
- key: process-gitlab-event
handler: index.processGitlabEvent
- key: import-projects
handler: index.importQueueResolver
- 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/60787eba-aec5-49b4-979d-db8e77de32db
runtime:
name: nodejs18.x
features:
autoUserConsent: true
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
- view:team:teams
external:
fetch:
client:
- '*.gitlab.com'
- 'gitlab.com'
- '*.atlassian.com'
backend:
- '*.services.atlassian.com'
- 'https://gitlab.com'
images:
- '*.atl-paas.net'
- '*.atlassian.com'
content:
styles:
- 'unsafe-inline'