Commit 64b24b7b authored by akucera's avatar akucera
Browse files

just formatting changes

parent e3ee2ee3
......@@ -255,7 +255,7 @@ insertDP: function (dp, ba, sa, ea, ca, logId) {
background-image: none;
}
#insertSingle, #insertBatch {
.opDiv {
margin-top: 10px;
}
......
......@@ -168,9 +168,9 @@ public class DataPointsEndpoint {
@RolesAllowed("admin")
@DELETE
@Path("/{datapoint.bmsId}")
@Path("/{bmsId}")
@Consumes(MediaType.APPLICATION_JSON)
public Response RemoveDataPointInfo(@PathParam("datapoint.bmsId") String bmsId) {
public Response RemoveDataPointInfo(@PathParam("bmsId") String bmsId) {
System.out.println(bmsId);
try {
if(ModelUpdater.removeDataPointAssertions(bmsId)) {
......
package cz.muni.fi.lasaris.sbms.api;
import javax.annotation.security.PermitAll;
import javax.ws.rs.Path;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.Response;
@Path("influence")
@PermitAll
public class InfluencesEndpoint {
/*
public InfluenceResponse getInfluence(
@QueryParam("bmsId") String bmsIdP,
@QueryParam("scope.bimId") String scopeBimIdP,
@QueryParam("property.domain") String propDomP,
@QueryParam("property.quality") String propQualityP) {
InfluenceRequest r = new
}
TODO Vymyslet parametry u Influence - nema tam taky byt filtrovani jako vsude jinde?
*/
// Inserting and Removing of influence is be performed by DataPointsEndpoint
}
......@@ -123,4 +123,6 @@ final static Logger logger = Logger.getLogger(DataPointsEndpoint.class);
}
}
}
// TODO Inserting and Removing of influence is be performed by DataPointsEndpoint
}
......@@ -362,6 +362,16 @@ public class QueryParser {
}
}
// TRENDLOG
if(fields.contains("trendId")) {
body.addTriplePattern(Triple.create(Var.alloc("trend"),
NodeFactory.createURI(NS.sbms + "trends"),
Var.alloc("datapoint")));
body.addTriplePattern(Triple.create(Var.alloc("trend"),
NodeFactory.createURI(NS.sbms + "hasBMSId"),
Var.alloc("trendId")));
}
return body;
}
......@@ -471,6 +481,8 @@ public class QueryParser {
dp.getProperty().setDomain(getIndividual(gsv("property.domain"), soln));
}
//TODO solve trendId
return dp;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment