|
|
@@ -26,6 +26,7 @@ import bubble.service.boot.SelfNodeService; |
|
|
|
import bubble.service.cloud.DeviceIdService; |
|
|
|
import bubble.service.stream.ConnectionCheckResponse; |
|
|
|
import bubble.service.stream.StandardRuleEngineService; |
|
|
|
import com.fasterxml.jackson.databind.JsonNode; |
|
|
|
import lombok.Getter; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.cobbzilla.util.collection.ExpirationEvictionPolicy; |
|
|
@@ -603,6 +604,16 @@ public class FilterHttpResource { |
|
|
|
return ok(summary); |
|
|
|
} |
|
|
|
|
|
|
|
@POST @Path(EP_LOGS+"/{requestId}") |
|
|
|
public Response requestLog(@Context Request req, |
|
|
|
@Context ContainerRequest ctx, |
|
|
|
@PathParam("requestId") String requestId, |
|
|
|
JsonNode logData) { |
|
|
|
final FilterSubContext filterCtx = new FilterSubContext(req, requestId); |
|
|
|
log.error(" >>>>> REQUEST-LOG("+requestId+"): "+json(logData, COMPACT_MAPPER)); |
|
|
|
return ok_empty(); |
|
|
|
} |
|
|
|
|
|
|
|
@Path(EP_ASSETS+"/{requestId}/{appId}") |
|
|
|
public AppAssetsResource getAppAssetsResource(@Context Request req, |
|
|
|
@Context ContainerRequest ctx, |
|
|
|