Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PRAVEGA-103] Update references to "Credentials" interface. #80

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ ext {
pravegaClientJarDir = "${pravegaSrcDir}${File.separator}client${File.separator}${buildLibsPath}"
pravegaCommonJarDir = "${pravegaSrcDir}${File.separator}common${File.separator}${buildLibsPath}"
pravegaSharedAuthpluginJarDir = "${pravegaSrcDir}${File.separator}shared${File.separator}authplugin${File.separator}${buildLibsPath}"
pravegaSharedSecurityPluginJarDir = "${pravegaSrcDir}${File.separator}shared${File.separator}security${File.separator}${buildLibsPath}"
pravegaSharedControllerApiJarDir = "${pravegaSrcDir}${File.separator}shared${File.separator}controller-api${File.separator}${buildLibsPath}"
pravegaSharedProtocolJarDir = "${pravegaSrcDir}${File.separator}shared${File.separator}protocol${File.separator}${buildLibsPath}"
}
Expand All @@ -96,7 +97,7 @@ task clonePravegaRepo {
}
if(!destDir.exists()) {
def gitRepo = Grgit.clone {
uri = "https://github.com/pravega/pravega.git"
uri = pravegaUri
dir = pravegaSrcDir
}
gitRepo.reset {
Expand Down Expand Up @@ -166,6 +167,7 @@ dependencies {
files(
"${pravegaClientJarDir}${File.separator}pravega-client-${pravegaVersion}.jar",
"${pravegaCommonJarDir}${File.separator}pravega-common-${pravegaVersion}.jar",
"${pravegaSharedSecurityPluginJarDir}${File.separator}pravega-shared-security-${pravegaVersion}.jar",
"${pravegaSharedAuthpluginJarDir}${File.separator}pravega-shared-authplugin-${pravegaVersion}.jar",
"${pravegaSharedControllerApiJarDir}${File.separator}pravega-shared-controller-api-${pravegaVersion}.jar",
"${pravegaSharedProtocolJarDir}${File.separator}pravega-shared-protocol-${pravegaVersion}.jar",
Expand Down
5 changes: 3 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pravegaCommit=e4c436b
pravegaVersion=v0.8.0
pravegaCommit=cb8aab2
pravegaVersion=v0.10.0
pravegaUri=https://github.com/pravega/pravega.git
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
import java.util.concurrent.TimeoutException;
import java.util.concurrent.atomic.AtomicInteger;

import io.pravega.client.stream.impl.Credentials;
import io.pravega.client.stream.impl.DefaultCredentials;
import io.pravega.shared.security.auth.Credentials;
import io.pravega.shared.security.auth.DefaultCredentials;
import io.pravega.client.stream.impl.PositionImpl;
import io.pravega.client.stream.impl.StreamImpl;
import io.pravega.common.util.AsyncIterator;
Expand Down