HADOOP-17397. ABFS: SAS Test updates for version and permission update (#2492)
Contributed by Sneha Vijayarajan.
This commit is contained in:
parent
009ce4f02a
commit
cf43a7eaae
@ -88,7 +88,7 @@ public String getDelegationSAS(String accountName, String containerName, String
|
|||||||
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 ServiceSASGenerator(byte[] accountKey) {
|
|||||||
|
|
||||||
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
Block a user