Skip to content

Commit

Permalink
Merge branch 'tasks/GS1EG-09_implement_SPI_based_S3_storage_service_a…
Browse files Browse the repository at this point in the history
…nd_to_be_used_with_Azure_Blob_Storage'
  • Loading branch information
sboeckelmann committed Jan 31, 2025
2 parents 726e236 + bc98f3a commit d377194
Showing 1 changed file with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public class CaptureJobStatusMessage extends CaptureJob {
private int invalidEventCount = 0;
private int processedEventCount = 0;
private int capturedEventCount = 0;
protected String s3Bucket;
protected String s3Key;
protected String storageBucket;
protected String storageKey;
private Map<String,Object> metadata;

public CaptureJobStatusMessage(
Expand All @@ -52,10 +52,20 @@ public CaptureJobStatusMessage(
OffsetDateTime createdAt,
String captureErrorBehaviour,
OffsetDateTime finishedAt,
String s3Bucket,
String s3Key) {
String storageBucket,
String storageKey) {
super(captureID, running, success, createdAt, captureErrorBehaviour, finishedAt);
this.s3Bucket = s3Bucket;
this.s3Key = s3Key;
this.storageBucket = storageBucket;
this.storageKey = storageKey;
}

@Deprecated
public String getS3Bucket() {
return storageBucket;
}

@Deprecated
public String getS3Key() {
return storageKey;
}
}

0 comments on commit d377194

Please sign in to comment.