Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nmaas Platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nmaas
nmaas Platform
Merge requests
!224
276 user domain webhook
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
276 user domain webhook
276_user_domain_webhook
into
develop
Overview
0
Commits
3
Pipelines
2
Changes
5
Merged
Konstantinos Georgilakis
requested to merge
276_user_domain_webhook
into
develop
1 month ago
Overview
0
Commits
3
Pipelines
2
Changes
5
Expand
0
0
Merge request reports
Compare
develop
version 1
a482dcff
1 month ago
develop (base)
and
latest version
latest version
87aa22be
3 commits,
1 month ago
version 1
a482dcff
2 commits,
1 month ago
5 files
+
174
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
src/main/java/net/geant/nmaas/orchestration/jobs/DomainCreationJob.java
+
1
−
3
Options
@@ -45,9 +45,7 @@ public class DomainCreationJob extends WebhookJob {
}
Domain
domain
=
domainService
.
findDomain
(
domainId
).
orElseThrow
(()
->
new
MissingElementException
(
String
.
format
(
"Domain with id: %d cannot be found"
,
domainId
)));
DomainView
view
=
modelMapper
.
map
(
domain
,
DomainView
.
class
);
callWebhook
(
webhook
,
view
);
callWebhook
(
webhook
,
modelMapper
.
map
(
domain
,
DomainView
.
class
));
}
catch
(
GeneralSecurityException
e
)
{
log
.
error
(
"Failed to decrypt webhook with id {}"
,
webhookId
);
throw
new
JobExecutionException
(
"Failed webhook decryption"
);
Loading