Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-Registration-Core
Commits
49f94415
Commit
49f94415
authored
3 years ago
by
Tejash
Browse files
Options
Download
Plain Diff
Merge branch 'open-saber-rc-2' of github.com:tejash-jl/open-saber into open-saber-rc-2
parents
bb5cab1f
061db5f6
main
attestation
consent-api
create_attach_entity_role_to_user
doc
immunization
internal-entity
json-template-type-conv
keycloak-updates
open-saber-rc-2
pr-external-context
pr-template-url
spring-bean-issues
sunbirdrc.dev
test-fix
uat-deploy
upsmfac-main
v0.0.12
v0.0.13
v0.0.12
v0.0.11
v0.0.10
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/claim/src/main/java/io/opensaber/claim/service/ClaimService.java
+2
-2
...rc/main/java/io/opensaber/claim/service/ClaimService.java
with
2 additions
and
2 deletions
+2
-2
java/claim/src/main/java/io/opensaber/claim/service/ClaimService.java
+
2
−
2
View file @
49f94415
...
...
@@ -68,7 +68,7 @@ public class ClaimService {
if
(
claim
.
isClosed
())
{
throw
new
ClaimAlreadyProcessedException
(
CLAIM_IS_ALREADY_PROCESSED
);
}
if
(!
conditions
.
contains
(
claim
.
get
Conditions
()))
{
if
(!
conditions
.
contains
(
claim
.
get
AttestorEntity
()))
{
throw
new
UnAuthorizedException
(
USER_NOT_AUTHORIZED
);
}
claim
.
setNotes
(
notes
.
orElse
(
""
));
...
...
@@ -85,7 +85,7 @@ public class ClaimService {
if
(
claim
.
isClosed
())
{
throw
new
ClaimAlreadyProcessedException
(
CLAIM_IS_ALREADY_PROCESSED
);
}
if
(!
conditions
.
contains
(
claim
.
get
Conditions
()))
{
if
(!
conditions
.
contains
(
claim
.
get
AttestorEntity
()))
{
throw
new
UnAuthorizedException
(
USER_NOT_AUTHORIZED
);
}
AttestationPropertiesDTO
attestationProperties
=
openSaberClient
.
getAttestationProperties
(
claim
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets