Class EventWebClient
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.gui.data.client.EventWebClient
- All Implemented Interfaces:
EventClient
-
Constructor Summary
ConstructorDescriptionEventWebClient
(org.springframework.web.reactive.function.client.WebClient client) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Event>
reactor.core.publisher.Flux<MeasuredMwDetails>
reactor.core.publisher.Flux<MeasuredMwParameters>
reactor.core.publisher.Flux<ReferenceMwParameters>
reactor.core.publisher.Flux<String>
reactor.core.publisher.Flux<ValidationMwParameters>
reactor.core.publisher.Mono<String>
postReferenceEvents
(List<ReferenceMwParameters> refEvents) reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<Void>
removeReferenceEventsByEventId
(List<String> evids) reactor.core.publisher.Mono<Void>
reactor.core.publisher.Flux<String>
-
Constructor Details
-
EventWebClient
@Autowired public EventWebClient(org.springframework.web.reactive.function.client.WebClient client)
-
-
Method Details
-
getReferenceEvents
- Specified by:
getReferenceEvents
in interfaceEventClient
-
postReferenceEvents
public reactor.core.publisher.Mono<String> postReferenceEvents(List<ReferenceMwParameters> refEvents) throws com.fasterxml.jackson.core.JsonProcessingException - Specified by:
postReferenceEvents
in interfaceEventClient
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getMeasuredEvents
- Specified by:
getMeasuredEvents
in interfaceEventClient
-
getEvent
- Specified by:
getEvent
in interfaceEventClient
-
getMeasuredEventDetails
- Specified by:
getMeasuredEventDetails
in interfaceEventClient
-
removeReferenceEventsByEventId
- Specified by:
removeReferenceEventsByEventId
in interfaceEventClient
-
getValidationEvents
- Specified by:
getValidationEvents
in interfaceEventClient
-
postValidationEvents
public reactor.core.publisher.Mono<String> postValidationEvents(List<ValidationMwParameters> events) throws com.fasterxml.jackson.core.JsonProcessingException - Specified by:
postValidationEvents
in interfaceEventClient
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
removeValidationEventsByEventId
- Specified by:
removeValidationEventsByEventId
in interfaceEventClient
-
toggleValidationEventsByEventId
- Specified by:
toggleValidationEventsByEventId
in interfaceEventClient
-
getUniqueEventIds
- Specified by:
getUniqueEventIds
in interfaceEventClient
-