Skip to content

Commit

Permalink
Fix forbidden api error
Browse files Browse the repository at this point in the history
  • Loading branch information
gargvishesh committed Dec 13, 2023
1 parent cb38ccd commit 8294a33
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions extensions-core/google-extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,27 @@
<artifactId>google-http-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>2.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax</artifactId>
<version>2.37.0</version>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-core</artifactId>
<version>2.27.0</version>
</dependency>
<!-- Tests -->
<dependency>
<groupId>org.apache.druid</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class GoogleStorageTest
static final String BUCKET = "bucket";
static final String PATH = "/path";
static final long SIZE = 100;
static final OffsetDateTime UPDATE_TIME = OffsetDateTime.now();
static final OffsetDateTime UPDATE_TIME = OffsetDateTime.MIN;

@Before
public void setUp()
Expand Down Expand Up @@ -210,12 +210,12 @@ public void testList() throws IOException
final String bucket1 = "BUCKET_1";
final String path1 = "PATH_1";
final long size1 = 7;
final OffsetDateTime updateTime1 = OffsetDateTime.now();
final OffsetDateTime updateTime1 = OffsetDateTime.MIN;

final String bucket2 = "BUCKET_2";
final String path2 = "PATH_2";
final long size2 = 9;
final OffsetDateTime updateTime2 = OffsetDateTime.now();
final OffsetDateTime updateTime2 = OffsetDateTime.MIN;

final String nextPageToken = "TOKEN";

Expand Down

0 comments on commit 8294a33

Please sign in to comment.