Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Emodb with s3 three #830

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
36d9f77
PD-249429: integrated emodb with datastorage-media-service for gettin…
vikram-vikram-bv Jul 23, 2024
8e50659
PD-249429: refactored code.
vikram-vikram-bv Jul 24, 2024
08fc399
PD-249428: DELETE blob with blob id.
vikram-vikram-bv Jul 24, 2024
886b2a2
PD-249428: Refactored code..
vikram-vikram-bv Jul 24, 2024
b4a242d
PD-249428: Implemented upload blob from byte array.
vikram-vikram-bv Jul 25, 2024
9f8b04a
PD-249428: Implemented upload blob from byte array.
vikram-vikram-bv Aug 6, 2024
74ae943
PD-249428: Fixed failing ITs.
vikram-vikram-bv Sep 10, 2024
d85492f
PD-249428: Fixed failing ITs.
vikram-vikram-bv Sep 10, 2024
1a01282
PD-249428: Changed the snapshot version.
vikram-vikram-bv Sep 11, 2024
1ae515e
PD-249428: Refactored code.
vikram-vikram-bv Oct 3, 2024
c64b282
PD-249428: changed the version to 172.
vikram-vikram-bv Oct 3, 2024
1556006
PD-249428: commented tests.
vikram-vikram-bv Oct 3, 2024
76d167a
branch admin -prepare release emodb-6.5.172
Oct 3, 2024
c39aa03
PD-249428: changed snapshot versions.
vikram-vikram-bv Oct 3, 2024
78c185b
PD-249428: changed snapshot versions.
vikram-vikram-bv Oct 3, 2024
9604146
branch admin -prepare release emodb-6.5.173
Oct 3, 2024
786ae45
branch admin -prepare for next development iteration
Oct 3, 2024
f51f87e
changed the BASE_URL
vikram-vikram-bv Oct 4, 2024
3afd0a5
PD-249428: modified code.
vikram-vikram-bv Oct 4, 2024
540122e
PD-256742: fixed all bugs.
vikram-vikram-bv Oct 7, 2024
91c73bb
PD-256742: changed snapshot version.
vikram-vikram-bv Oct 7, 2024
3280634
PD-256742: changed snapshot version.
vikram-vikram-bv Oct 8, 2024
a3eb711
branch admin -prepare release emodb-6.5.176
Oct 8, 2024
8ca7d3e
branch admin -prepare for next development iteration
Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion auth/auth-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-parent</artifactId>
<version>6.5.137-SNAPSHOT</version>
<version>6.5.177-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion auth/auth-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-parent</artifactId>
<version>6.5.137-SNAPSHOT</version>
<version>6.5.177-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion auth/auth-store/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-parent</artifactId>
<version>6.5.137-SNAPSHOT</version>
<version>6.5.177-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion auth/auth-util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>emodb</artifactId>
<groupId>com.bazaarvoice.emodb</groupId>
<version>6.5.137-SNAPSHOT</version>
<version>6.5.177-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion blob-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-parent</artifactId>
<version>6.5.137-SNAPSHOT</version>
<version>6.5.177-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion blob-clients/blob-client-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-parent</artifactId>
<version>6.5.137-SNAPSHOT</version>
<version>6.5.177-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion blob-clients/blob-client-jersey2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-parent</artifactId>
<version>6.5.137-SNAPSHOT</version>
<version>6.5.177-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion blob-clients/blob-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-parent</artifactId>
<version>6.5.137-SNAPSHOT</version>
<version>6.5.177-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

Expand Down
7 changes: 6 additions & 1 deletion blob/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-parent</artifactId>
<version>6.5.137-SNAPSHOT</version>
<version>6.5.177-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -234,5 +234,10 @@
<artifactId>jersey-client</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
<version>1.0.4</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
package com.bazaarvoice.emodb.blob.api;

public class Attributes {
private String client;
private String contentType;
private String legacyInternalId;
private String platformclient;
private String size;
private String type;

public Attributes(String client, String contentType, String legacyInternalId, String platformclient, String size, String type) {
this.client = client;
this.contentType = contentType;
this.legacyInternalId = legacyInternalId;
this.platformclient = platformclient;
this.size = size;
this.type = type;
}

public String getClient() {
return client;
}

public void setClient(String client) {
this.client = client;
}

public String getContentType() {
return contentType;
}

public void setContentType(String contentType) {
this.contentType = contentType;
}

public String getLegacyInternalId() {
return legacyInternalId;
}

public void setLegacyInternalId(String legacyInternalId) {
this.legacyInternalId = legacyInternalId;
}

public String getPlatformclient() {
return platformclient;
}

public void setPlatformclient(String platformclient) {
this.platformclient = platformclient;
}

public String getSize() {
return size;
}

public void setSize(String size) {
this.size = size;
}

public String getType() {
return type;
}

public void setType(String type) {
this.type = type;
}

@Override
public String toString() {
return "{" +
"\"client\": \"" + client + "\"" +
", \"contentType\": \"" + contentType + "\"" +
", \"legacyInternalId\": \"" + legacyInternalId + "\"" +
", \"platformclient\": \"" + platformclient + "\"" +
", \"size\": \"" + size + "\"" +
", \"type\": \"" + type + "\"" +
"}";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
package com.bazaarvoice.emodb.blob.api;

public class BlobAttributes {
private String id;
private String timestamp;
private long length;
private String md5;
private String sha1;
private Attributes attributes;

public BlobAttributes(String id, String timestamp, long length, String md5, String sha1, Attributes attributes) {
this.id = id;
this.timestamp = timestamp;
this.length = length;
this.md5 = md5;
this.sha1 = sha1;
this.attributes = attributes;
}

public String getId() {
return id;
}

public void setId(String id) {
this.id = id;
}

public String getTimestamp() {
return timestamp;
}

public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}

public long getLength() {
return length;
}

public void setLength(long length) {
this.length = length;
}

public String getMd5() {
return md5;
}

public void setMd5(String md5) {
this.md5 = md5;
}

public String getSha1() {
return sha1;
}

public void setSha1(String sha1) {
this.sha1 = sha1;
}

public Attributes getAttributes() {
return attributes;
}

public void setAttributes(Attributes attributes) {
this.attributes = attributes;
}

@Override
public String toString() {
return "{" +
"\"id\": \"" + id + "\"" +
", \"timestamp\": \"" + timestamp + "\"" +
", \"length\": \"" + length + "\"" +
", \"md5\": \"" + md5 + "\"" +
", \"sha1\": \"" + sha1 + "\"" +
", \"attributes\": " + attributes +
"}";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.bazaarvoice.emodb.blob.api;

public class TenantRequest {

private String tenantName;

public TenantRequest(String tenantName) {
this.tenantName = tenantName;
}

public String getTenantName() {
return tenantName;
}

public void setTenantName(String tenantName) {
this.tenantName = tenantName;
}

@Override
public String toString() {
return "{\"tenantName\":\"" + tenantName + "\"}";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
package com.bazaarvoice.emodb.blob.api;

public class UploadByteRequestBody {
private String base64;
private String tenantName;
private BlobAttributes blobAttributes;

public UploadByteRequestBody(String base64, String tenantName, BlobAttributes blobAttributes) {
this.base64 = base64;
this.tenantName = tenantName;
this.blobAttributes = blobAttributes;
}

public String getBase64() {
return base64;
}

public void setBase64(String base64) {
this.base64 = base64;
}

public String getTenantName() {
return tenantName;
}

public void setTenantName(String tenantName) {
this.tenantName = tenantName;
}

public BlobAttributes getBlobAttributes() {
return blobAttributes;
}

public void setBlobAttributes(BlobAttributes blobAttributes) {
this.blobAttributes = blobAttributes;
}

@Override
public String toString() {
return "{" +
"\"base64\": \"" + base64 + "\"" +
", \"tenantName\": \"" + tenantName + "\"" +
", \"blobAttributes\": " + blobAttributes +
"}";
}
}
Loading