Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
Notification
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
OSDU
OSDU Data Platform
System
Notification
Commits
3ff8e926
Commit
3ff8e926
authored
3 years ago
by
Sanjeev-SLB
Browse files
Options
Downloads
Patches
Plain Diff
Fixed 5xx errros
parent
5ed90748
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!79
Fixed 5xx errors
Pipeline
#40783
failed
3 years ago
Stage: .pre
Stage: review
Stage: build
Stage: containerize
Stage: scan
Stage: deploy
Stage: integration
Stage: attribution
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java
+2
-2
2 additions, 2 deletions
...a/org/opengroup/osdu/notification/api/PubsubEndpoint.java
with
2 additions
and
2 deletions
notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java
+
2
−
2
View file @
3ff8e926
...
...
@@ -132,7 +132,7 @@ public class PubsubEndpoint {
return
ResponseEntity
.
ok
(
ACKNOWLEDGE
);
}
private
Subscription
getSubscriptionFromCache
(
String
notificationId
)
throws
Exception
{
private
Subscription
getSubscriptionFromCache
(
String
notificationId
)
throws
IOException
,
Subscription
Exception
{
String
subscriptionString
=
subscriptionCacheFactory
.
get
(
notificationId
);
try
{
if
(
Strings
.
isNullOrEmpty
(
subscriptionString
))
...
...
@@ -149,7 +149,7 @@ public class PubsubEndpoint {
}
}
private
String
querySubscriptionAndUpdateCache
(
String
notificationId
)
throws
Exception
{
private
String
querySubscriptionAndUpdateCache
(
String
notificationId
)
throws
AppException
,
Subscription
Exception
{
ISubscriptionService
service
=
subscriptionFactory
.
create
(
headers
);
List
<
Subscription
>
subscriptionList
=
service
.
query
(
notificationId
);
...
...
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