Skip to content

Commit

Permalink
boost ipc
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsilaghi committed Nov 27, 2024
1 parent 39ecece commit 69a4adc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>edu.stanford.protege</groupId>
<artifactId>webprotege-ipc</artifactId>
<version>1.0.5</version>
<version>1.0.9</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void commitPostCoordinationSpecificationRevision(ChangeRequestId changeRe
.and(PROJECT_ID).is(projectId.id())
.and("postCoordinationRevisions")
.elemMatch(
Criteria.where("changeRequestId._id").is(changeRequestId)
Criteria.where("changeRequestId").is(changeRequestId)
.and("commitStatus").is(CommitStatus.UNCOMMITTED.name())
)
);
Expand All @@ -188,11 +188,12 @@ public void commitPostCoordinationSpecificationRevision(ChangeRequestId changeRe
}

public void commitPostCoordinationCustomScalesRevision(ChangeRequestId changeRequestId, ProjectId projectId, String entityIri){
Query query = new Query(Criteria.where(WHOFIC_ENTITY_IRI).is(entityIri)
Query query = new Query(Criteria.where(WHOFIC_ENTITY_IRI)
.is(entityIri)
.and(PROJECT_ID).is(projectId.id())
.and("postCoordinationCustomScalesRevisions")
.elemMatch(
Criteria.where("changeRequestId._id").is(changeRequestId)
Criteria.where("changeRequestId").is(changeRequestId)
.and("commitStatus").is(CommitStatus.UNCOMMITTED.name())
)
);
Expand Down

0 comments on commit 69a4adc

Please sign in to comment.