Skip to content

Commit

Permalink
Renamed json file, fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
zack-rma committed Dec 20, 2024
1 parent b7bfbf3 commit f73866a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class TimeSeries extends CwmsDTOPaginated {

@ArraySchema(
schema = @Schema(
description = "List of retrieved time-series values. Contains [dateTime, value, qualityCode]. "
description = "List of retrieved time-series values. The values-columns property describes the structure of the data value array. "
+ "Refer to the value-columns property for more information.",
implementation = Record.class
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ void testDeserializeTimeSeriesWithEntryDate(String format) {
@Test
void testDeserializeTimeSeriesWithEntryDateFromFile() {
InputStream inputStream = this.getClass()
.getResourceAsStream("/cwms/cda/api/lrl/1day_offset_version_date_roundtrip.json");
.getResourceAsStream("/cwms/cda/api/lrl/timeseries_with_data_entry_dates.json");
ContentType contentType = Formats.parseHeader(Formats.JSONV2, TimeSeriesWithDataEntryDate.class);
TimeSeriesWithDataEntryDate fakeTs = Formats.parseContent(contentType, inputStream, TimeSeriesWithDataEntryDate.class);
String formatted = Formats.format(contentType, fakeTs);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ void test_attempt_store_with_entry_date() throws Exception
ObjectMapper mapper = new ObjectMapper();

InputStream resource = this.getClass().getResourceAsStream(
"/cwms/cda/api/lrl/1day_offset_version_date_roundtrip.json");
"/cwms/cda/api/lrl/timeseries_with_data_entry_dates.json");
assertNotNull(resource);

String tsData = IOUtils.toString(resource, StandardCharsets.UTF_8);
Expand Down

0 comments on commit f73866a

Please sign in to comment.