-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RM] Feature #55153. Provide possibility to generate Aggregate Report…
… on Statistics tab via REST API (cherry picked from commit c5b88b4776ed478743c4a97e79210ecf0ad7e51f) Change-Id: I7a28e883e466baca1ad6691d5279ed2afe8eb366
- Loading branch information
1 parent
7dad611
commit b015090
Showing
8 changed files
with
207 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...java/com/exactpro/sf/embedded/statistics/storage/reporting/LocalDateTimeDeserializer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/****************************************************************************** | ||
* Copyright (c) 2009-2019, Exactpro Systems LLC | ||
* www.exactpro.com | ||
* Build Software to Test Software | ||
* | ||
* All rights reserved. | ||
* This is unpublished, licensed software, confidential and proprietary | ||
* information which is the property of Exactpro Systems LLC or its licensors. | ||
******************************************************************************/ | ||
package com.exactpro.sf.embedded.statistics.storage.reporting; | ||
|
||
import com.exactpro.sf.util.DateTimeUtility; | ||
import com.fasterxml.jackson.core.JsonParser; | ||
import com.fasterxml.jackson.databind.DeserializationContext; | ||
import com.fasterxml.jackson.databind.JsonDeserializer; | ||
|
||
import java.io.IOException; | ||
import java.time.LocalDateTime; | ||
|
||
public class LocalDateTimeDeserializer extends JsonDeserializer<LocalDateTime> { | ||
@Override | ||
public LocalDateTime deserialize(JsonParser arg0, DeserializationContext arg1) throws IOException { | ||
return LocalDateTime.parse(arg0.getText(), DateTimeUtility.createFormatter("yyyy-MM-dd HH:mm:ss")); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.