Skip to content

Commit

Permalink
docs: remove deprecation typo (#4359)
Browse files Browse the repository at this point in the history
* docs: remove deprecation typo

* fix test
  • Loading branch information
ndr-brt authored Jul 12, 2024
1 parent 38728e0 commit 154dbdb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[
{
"version": "3.0.2",
"version": "3.0.3",
"urlPath": "/v3",
"lastUpdated": "2024-07-10T09:17:00Z",
"lastUpdated": "2024-07-12T10:14:00Z",
"maturity": "stable"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ public interface EdrCacheApiV3 {
content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiCoreSchema.ApiErrorDetailSchema.class)))),
@ApiResponse(responseCode = "404", description = "An EDR data address with the given transfer process ID does not exist",
content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiCoreSchema.ApiErrorDetailSchema.class))))
},
deprecated = true
}
)
JsonObject getEdrEntryDataAddressV3(String transferProcessId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ public class VersionApiEndToEndTest {

abstract static class Tests {

Tests() {
}

@Test
void getVersion() {

Expand All @@ -55,7 +52,7 @@ void getVersion() {

assertThat(result).containsKeys("management", "version", "control", "observability", "sts");
assertThat(result.get("management")).hasSize(2)
.anyMatch(vr -> vr.version().equals("3.0.2") && vr.maturity().equals("stable"))
.anyMatch(vr -> vr.version().startsWith("3.") && vr.maturity().equals("stable"))
.anyMatch(vr -> vr.version().equals("3.1.0-alpha") && vr.maturity().equals("alpha"));
assertThat(result.get("version")).hasSize(1).anyMatch(vr -> vr.version().equals("1.0.0"));
assertThat(result.get("observability")).hasSize(1).anyMatch(vr -> vr.version().equals("1.0.0"));
Expand Down

0 comments on commit 154dbdb

Please sign in to comment.