Skip to content

Commit

Permalink
CADC-12859 update cavern to return 201 for PUT's
Browse files Browse the repository at this point in the history
  • Loading branch information
jburke-cadc committed Feb 2, 2024
1 parent 0ce32a7 commit 409e1e9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cavern/VERSION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## deployable containers have a semantic and build tag
# semantic version tag: major.minor
# build version tag: timestamp
VER=0.6.3
VER=0.6.4
TAGS="${VER} ${VER}-$(date -u +"%Y%m%dT%H%M%S")"
unset VER
6 changes: 3 additions & 3 deletions cavern/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ dependencies {
implementation 'org.opencadc:cadc-cdp:[1.0,)'
implementation 'org.opencadc:cadc-gms:[1.0.12,)'
implementation 'org.opencadc:cadc-dali:[1.0,)'
implementation 'org.opencadc:cadc-pkg-server:[1.2.0,)'
implementation 'org.opencadc:cadc-pkg-server:[1.2.2,)'
implementation 'org.opencadc:cadc-vos:[2.0,)'
implementation 'org.opencadc:cadc-vos-server:[2.0.9,)'
implementation 'org.opencadc:cadc-vos-server:[2.0.10,)'

runtimeOnly 'org.opencadc:cadc-access-control-identity:[1.2.0,)'

Expand All @@ -50,6 +50,6 @@ dependencies {
testImplementation 'org.opencadc:cadc-test-uws:[1.0,)'
testImplementation 'org.opencadc:cadc-access-control-identity:[1.1.0,)'

intTestImplementation 'org.opencadc:cadc-test-vos:[2.1.6,)'
intTestImplementation 'org.opencadc:cadc-test-vos:[2.1.7,)'
intTestImplementation 'org.opencadc:cadc-test-vosi:[1.0.11,)'
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class PackageTest extends org.opencadc.conformance.vos.PackageTest {
}

public PackageTest() {
super(Constants.RESOURCE_ID, Constants.TEST_CERT);
super(Constants.RESOURCE_ID, Constants.TEST_CERT, false);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ public void doAction() throws Exception {
}

nodePersistence.put(node);
syncOutput.setCode(201);
successful = true;
} catch (AccessDeniedException e) {
// TODO: this is a deployment error because cavern doesn't have permission to filesystem
Expand Down

0 comments on commit 409e1e9

Please sign in to comment.