com.testvagrant.monitor.clients.IntellisenseClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of optimus-monitor Show documentation
Show all versions of optimus-monitor Show documentation
The Java Client provides access to Optimus cloud for all java based projects.
The newest version!
package com.testvagrant.monitor.clients;
import com.testvagrant.monitor.entities.MongoService;
import com.testvagrant.monitor.requests.Intellisense;
import io.restassured.response.Response;
import static io.restassured.RestAssured.given;
public class IntellisenseClient {
private final String INTELLISENSE = MongoService.getMongoService()+"/intellisense";
public Intellisense recordExceptionSense(Intellisense intellisense) {
Response response = given()
.header("Content-Type", "application/json")
.body(intellisense)
.post(INTELLISENSE);
return response.as(Intellisense.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy