Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fairblue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hosting
chat
fairblue
Commits
0fbdb064
Commit
0fbdb064
authored
7 years ago
by
italo
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused parameters and add new ones to config
parent
f1e28319
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bbb-webhooks/config.coffee
+6
-2
6 additions, 2 deletions
bbb-webhooks/config.coffee
with
6 additions
and
2 deletions
bbb-webhooks/config.coffee
+
6
−
2
View file @
0fbdb064
...
@@ -15,12 +15,15 @@ config.server.port or= 3005
...
@@ -15,12 +15,15 @@ config.server.port or= 3005
# Web hooks configs
# Web hooks configs
config
.
hooks
or=
{}
config
.
hooks
or=
{}
config
.
hooks
.
pchannel
or=
"bigbluebutton:*"
config
.
hooks
.
pchannel
or=
"bigbluebutton:*"
config
.
hooks
.
meetingsChannel
or=
"bigbluebutton:from-bbb-apps:meeting"
# IP where aggr will be hosted
# IP where aggr will be hosted
config
.
hooks
.
aggr
or=
[]
config
.
hooks
.
aggr
or=
[]
config
.
hooks
.
queueSize
or=
10000
config
.
hooks
.
queueSize
or=
10000
config
.
hooks
.
getRaw
or=
false
config
.
hooks
.
getRaw
or=
false
config
.
webhooks
or=
{}
config
.
webhooks
.
rawPath
or=
"payload"
config
.
webhooks
.
meetingId
or=
"meeting_id"
# Retry intervals for failed attempts for perform callback calls.
# Retry intervals for failed attempts for perform callback calls.
# In ms. Totals to around 5min.
# In ms. Totals to around 5min.
config
.
hooks
.
retryIntervals
=
[
config
.
hooks
.
retryIntervals
=
[
...
@@ -52,11 +55,12 @@ config.api.responses.failure = (key, msg) ->
...
@@ -52,11 +55,12 @@ config.api.responses.failure = (key, msg) ->
config
.
api
.
responses
.
checksumError
=
config
.
api
.
responses
.
checksumError
=
config
.
api
.
responses
.
failure
(
"checksumError"
,
"You did not pass the checksum security check."
)
config
.
api
.
responses
.
failure
(
"checksumError"
,
"You did not pass the checksum security check."
)
config
.
api
.
responses
.
createSuccess
=
(
id
,
permanent
)
->
config
.
api
.
responses
.
createSuccess
=
(
id
,
permanent
,
getRaw
)
->
"<response>
\
"<response>
\
<returncode>SUCCESS</returncode>
\
<returncode>SUCCESS</returncode>
\
<hookID>
#{
id
}
</hookID>
\
<hookID>
#{
id
}
</hookID>
\
<permanentHook>
#{
permanent
}
</permanentHook>
\
<permanentHook>
#{
permanent
}
</permanentHook>
\
<rawData>
#{
getRaw
}
</rawData>
\
</response>"
</response>"
config
.
api
.
responses
.
createFailure
=
config
.
api
.
responses
.
createFailure
=
config
.
api
.
responses
.
failure
(
"createHookError"
,
"An error happened while creating your hook. Check the logs."
)
config
.
api
.
responses
.
failure
(
"createHookError"
,
"An error happened while creating your hook. Check the logs."
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment