diff --git a/vault/src/main/java/org/opencadc/vault/VaultTransferGenerator.java b/vault/src/main/java/org/opencadc/vault/VaultTransferGenerator.java index 97064afb..0e6a9da7 100644 --- a/vault/src/main/java/org/opencadc/vault/VaultTransferGenerator.java +++ b/vault/src/main/java/org/opencadc/vault/VaultTransferGenerator.java @@ -193,8 +193,8 @@ private List 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()); } diff --git a/vault/src/main/webapp/service.yaml b/vault/src/main/webapp/service.yaml index 4b0268c4..0ed9ed7a 100644 --- a/vault/src/main/webapp/service.yaml +++ b/vault/src/main/webapp/service.yaml @@ -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: @@ -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