Skip to content

Commit

Permalink
Remove base64encodedImage attribute (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschadoemer authored Aug 16, 2024
1 parent 62116bb commit f8b8455
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public record CameraImage(
Attribute cameraId,
Attribute transactionId,
Attribute imageChannel,
Attribute base64encodedImage,
Attribute imagePath,
Attribute dateCreated,
double latitude,
Expand All @@ -36,7 +35,6 @@ public String asJson() {
" \"cameraId\":" + cameraId.asJson().trim() + "," +
" \"transactionId\":" + transactionId.asJson().trim() + "," +
" \"imageChannel\":" + imageChannel.asJson().trim() + "," +
" \"base64encodedImage\":" + base64encodedImage.asJson().trim() + "," +
" \"imagePath\":" + imagePath.asJson().trim() + "," +
" \"dateCreated\":" + dateCreated.asJson().trim() + "," +
" \"location\":" + locationAsJson(latitude, longitude).trim() +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public record StationaryCameraImage(
Attribute oid,
Attribute cameraId,
Attribute imageChannel,
Attribute base64encodedImage,
Attribute imagePath,
Attribute dateCreated,
double latitude,
Expand All @@ -34,7 +33,6 @@ public String asJson() {
" \"oid\":" + oid.asJson().trim() + "," +
" \"cameraId\":" + cameraId.asJson().trim() + "," +
" \"imageChannel\":" + imageChannel.asJson().trim() + "," +
" \"base64encodedImage\":" + base64encodedImage.asJson().trim() + "," +
" \"imagePath\":" + imagePath.asJson().trim() + "," +
" \"dateCreated\":" + dateCreated.asJson().trim() + "," +
" \"location\":" + locationAsJson(latitude, longitude).trim() +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public void createCameraImage(Tenant tenant, Group group, String cameraId, Image
new TextAttribute(cameraId),
new TextAttribute(image.getTransactionId()),
new TextAttribute(image.getChannel().name()),
new TextAttribute(image.getBase64encodedImage()),
new TextAttribute(imagePathBaseUrl + image.getFullFilename(tenant, transactionId)),
new TextAttribute(image.getMeasuredAt().toString()),
image.getLatitude(),
Expand All @@ -63,7 +62,6 @@ public void createStationaryCameraImage(Tenant tenant, Group group, String camer
new TextAttribute(micaSenseImage.getOid()),
new TextAttribute(cameraId),
new TextAttribute(micaSenseImage.getChannel().name()),
new TextAttribute(micaSenseImage.getBase64encodedImage()),
new TextAttribute(imagePathBaseUrl + micaSenseImage.getFullFilename(tenant)),
new TextAttribute(micaSenseImage.getMeasuredAt().toString()),
micaSenseImage.getLatitude(),
Expand Down

0 comments on commit f8b8455

Please sign in to comment.