Skip to content

Commit

Permalink
vault: transfer generator bug, API doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pdowler committed Feb 27, 2024
1 parent b68b237 commit 44a1c29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ private List<Protocol> handleDataNode(DataNode node, String filename, Transfer t
log.debug("requested protocol: " + p);
if (!protoURIs.contains(p.getUri())) {
Protocol anonProto = new Protocol(p.getUri());
anonProto.setSecurityMethod(Standards.SECURITY_METHOD_ANON);
artifactTrans.getProtocols().add(p);
//anonProto.setSecurityMethod(Standards.SECURITY_METHOD_ANON);
artifactTrans.getProtocols().add(anonProto);
protoURIs.add(p.getUri());
log.debug("Added anon protocol for " + p.getUri());
}
Expand Down
4 changes: 2 additions & 2 deletions vault/src/main/webapp/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ paths:
$ref: '#/definitions/Node'
delete:
description: |
Delete a node. When the target is a ContainerNode, all its children (the contents of the container) SHALL also be deleted.
Delete a node. To delete a non-empty ContainerNode, see async-delete below.
tags:
- Nodes
responses:
Expand Down Expand Up @@ -315,7 +315,7 @@ paths:
schema:
$ref: '#/definitions/Error'
parameters:
- name: nodeURI
- name: target
in: query
description: The base node (typically a container) to recursively delete
required: true
Expand Down

0 comments on commit 44a1c29

Please sign in to comment.