-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: maheshrajamani <99678631+maheshrajamani@users.noreply.github.com> Co-authored-by: Kathiresan Selvaraj <kathiresan.selvaraj@datastax.com> Co-authored-by: Kathiresan Selvaraj <96088452+kathirsvn@users.noreply.github.com>
- Loading branch information
1 parent
de5180d
commit c6c8fff
Showing
5 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/test/java/io/stargate/sgv2/jsonapi/service/cqldriver/FixedTokenOverrideProfile.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package io.stargate.sgv2.jsonapi.service.cqldriver; | ||
|
||
import io.quarkus.test.junit.QuarkusTestProfile; | ||
import java.util.Map; | ||
import org.testcontainers.shaded.com.google.common.collect.ImmutableMap; | ||
|
||
public class FixedTokenOverrideProfile implements QuarkusTestProfile { | ||
|
||
@Override | ||
public Map<String, String> getConfigOverrides() { | ||
return ImmutableMap.<String, String>builder() | ||
.put("stargate.jsonapi.operations.database-config.fixed-token", "test-token") | ||
.build(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters