Skip to content

Commit

Permalink
final PR
Browse files Browse the repository at this point in the history
  • Loading branch information
dvoet committed Sep 19, 2024
1 parent f545058 commit 7207891
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import java.util.List;
import java.util.Optional;
import java.util.UUID;
import org.databiosphere.workspacedataservice.expressions.ExpressionService;
import org.databiosphere.workspacedataservice.service.PermissionService;
import org.databiosphere.workspacedataservice.service.RecordOrchestratorService;
import org.databiosphere.workspacedataservice.service.model.AttributeSchema;
Expand Down Expand Up @@ -44,15 +43,11 @@ public class RecordController {

private final RecordOrchestratorService recordOrchestratorService;
private final PermissionService permissionService;
private final ExpressionService expressionService;

public RecordController(
RecordOrchestratorService recordOrchestratorService,
PermissionService permissionService,
ExpressionService expressionService) {
RecordOrchestratorService recordOrchestratorService, PermissionService permissionService) {
this.recordOrchestratorService = recordOrchestratorService;
this.permissionService = permissionService;
this.expressionService = expressionService;
}

@PatchMapping("/{instanceId}/records/{version}/{recordType}/{recordId}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ paths:
$ref: 'openapi-docs.yaml#/paths/~1{instanceid}~1search~1{v}~1{type}'
/{instanceid}/tsv/{v}/{type}:
$ref: 'openapi-docs.yaml#/paths/~1{instanceid}~1tsv~1{v}~1{type}'
/records/v1/{collectionId}/{recordType}/{recordId}/evaluateExpressions:
$ref: 'apis-v1.yaml#/paths/~1records~1v1~1{collectionId}~1{recordType}~1{recordId}~1evaluateExpressions'
/records/v1/{collectionId}/{recordType}/{recordId}/evaluateExpressionsWithArray:
$ref: 'apis-v1.yaml#/paths/~1records~1v1~1{collectionId}~1{recordType}~1{recordId}~1evaluateExpressionsWithArray'

##############################
# Import APIs
Expand Down

0 comments on commit 7207891

Please sign in to comment.