"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "moskito-webui/src/main/java/net/anotheria/moskito/webui/producers/resource/ValueResource.java" between
moskito-moskito-2.9.3.tar.gz and moskito-moskito-2.10.0.tar.gz

About: MoSKito (Monitoring System Kit) is a framework for java application monitoring. Sources.

ValueResource.java  (moskito-moskito-2.9.3):ValueResource.java  (moskito-moskito-2.10.0)
package net.anotheria.moskito.webui.producers.resource; package net.anotheria.moskito.webui.producers.resource;
import io.swagger.v3.oas.annotations.servers.Server;
import net.anotheria.anoplass.api.APIException; import net.anotheria.anoplass.api.APIException;
import net.anotheria.anoplass.api.APIFinder; import net.anotheria.anoplass.api.APIFinder;
import net.anotheria.moskito.core.stats.TimeUnit; import net.anotheria.moskito.core.stats.TimeUnit;
import net.anotheria.moskito.webui.producers.api.ProducerAPI; import net.anotheria.moskito.webui.producers.api.ProducerAPI;
import net.anotheria.moskito.webui.producers.api.ValueRequestPO; import net.anotheria.moskito.webui.producers.api.ValueRequestPO;
import net.anotheria.moskito.webui.producers.api.ValueResponseAO; import net.anotheria.moskito.webui.producers.api.ValueResponseAO;
import net.anotheria.moskito.webui.shared.resource.AbstractResource; import net.anotheria.moskito.webui.shared.resource.AbstractResource;
import net.anotheria.moskito.webui.shared.resource.ReplyObject; import net.anotheria.moskito.webui.shared.resource.ReplyObject;
import javax.ws.rs.GET; import javax.ws.rs.GET;
skipping to change at line 28 skipping to change at line 27
import java.util.List; import java.util.List;
/** /**
* This resource serves requests for single and multiple values, * This resource serves requests for single and multiple values,
* see https://jira.opensource.anotheria.net/browse/MSK-483 for details. * see https://jira.opensource.anotheria.net/browse/MSK-483 for details.
* *
* @author lrosenberg * @author lrosenberg
* @since 01.06.18 15:20 * @since 01.06.18 15:20
*/ */
@Path("value") @Path("value")
@Server(url = "/moskito-inspect-rest/") //@Server(url = "/moskito-inspect-rest/")
public class ValueResource extends AbstractResource { public class ValueResource extends AbstractResource {
/** /**
* ProducerAPI. * ProducerAPI.
*/ */
private ProducerAPI producerAPI = APIFinder.findAPI(ProducerAPI.class); private ProducerAPI producerAPI = APIFinder.findAPI(ProducerAPI.class);
@GET @GET
@Path("{producerName}/{statName}/{valueName}/{interval}/{timeunit}") @Path("{producerName}/{statName}/{valueName}/{interval}/{timeunit}")
public ReplyObject getValue( public ReplyObject getValue(
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)