HADOOP-17397. ABFS: SAS Test updates for version and permission update (#2492)
Contributed by Sneha Vijayarajan. Change-Id: I89c1061b1efb1e3bef019dd22f221d03bf015929
This commit is contained in:
parent
39fa2c93c4
commit
c48c774d6c
|
@ -88,7 +88,7 @@ public class DelegationSASGenerator extends SASGenerator {
|
||||||
break;
|
break;
|
||||||
case SASTokenProvider.SET_ACL_OPERATION:
|
case SASTokenProvider.SET_ACL_OPERATION:
|
||||||
case SASTokenProvider.SET_PERMISSION_OPERATION:
|
case SASTokenProvider.SET_PERMISSION_OPERATION:
|
||||||
sp = "p";
|
sp = "op";
|
||||||
break;
|
break;
|
||||||
case SASTokenProvider.SET_OWNER_OPERATION:
|
case SASTokenProvider.SET_OWNER_OPERATION:
|
||||||
sp = "o";
|
sp = "o";
|
||||||
|
|
|
@ -38,7 +38,7 @@ public class ServiceSASGenerator extends SASGenerator {
|
||||||
|
|
||||||
public String getContainerSASWithFullControl(String accountName, String containerName) {
|
public String getContainerSASWithFullControl(String accountName, String containerName) {
|
||||||
String sp = "rcwdl";
|
String sp = "rcwdl";
|
||||||
String sv = AuthenticationVersion.Nov18.toString();
|
String sv = AuthenticationVersion.Feb20.toString();
|
||||||
String sr = "c";
|
String sr = "c";
|
||||||
String st = ISO_8601_FORMATTER.format(Instant.now().minus(FIVE_MINUTES));
|
String st = ISO_8601_FORMATTER.format(Instant.now().minus(FIVE_MINUTES));
|
||||||
String se = ISO_8601_FORMATTER.format(Instant.now().plus(ONE_DAY));
|
String se = ISO_8601_FORMATTER.format(Instant.now().plus(ONE_DAY));
|
||||||
|
|
Loading…
Reference in New Issue