Commit 0c2b053b authored by Rucha Deshpande's avatar Rucha Deshpande
Browse files

Fix getAuthorizationHeader in dataecosystem

commit 656735d2 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Sat Jan 23 2021 18:13:40 GMT-0600 (Central Standard Time) 

    fix auth header


commit a053e923 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Sat Jan 23 2021 18:08:47 GMT-0600 (Central Standard Time) 

    Bug fix:


commit cf1534de 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Sat Jan 23 2021 15:25:19 GMT-0600 (Central Standard Time) 

    Merge branch 'dev' into deshruch

# Conflicts:
#	src/cloud/providers/aws/credentials.ts


commit b232ec63 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Thu Jan 21 2021 16:59:21 GMT-0600 (Central Standard Time) 

    bug fix


commit 41e4c826 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Thu Jan 21 2021 16:43:55 GMT-0600 (Central Standard Time) 

    Add prepare-dist.sh


commit 109add82 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Thu Jan 21 2021 16:40:27 GMT-0600 (Central Standard Time) 

    Add prepare-dist.sh


commit 17c1f924 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Thu Jan 21 2021 14:18:02 GMT-0600 (Central Standard Time) 

    Merge branch 'dev' into deshruch

# Conflicts:
#	src/cloud/providers/aws/config.ts


commit 30b0d577 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Thu Jan 21 2021 14:15:21 GMT-0600 (Central Standard Time) 

    updates


commit 701d6a26 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Thu Jan 21 2021 11:46:35 GMT-0600 (Central Standard Time) 

    remove TEMP_CREDENTIALS_EXP_DURATION from env


commit 18f2bba1 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Thu Jan 21 2021 11:44:16 GMT-0600 (Central Standard Time) 

    Add exp duration as SSM parameter


commit b00dacae 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Thu Jan 21 2021 11:34:43 GMT-0600 (Central Standard Time) 

    Add credentials API


commit 1b01944d 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Thu Jan 21 2021 10:50:35 GMT-0600 (Central Standard Time) 

    Implement credentials API


commit bbceae8f 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Wed Jan 20 2021 14:25:48 GMT-0600 (Central Standard Time) 

    Added ssm and sts helper


commit 30b59346 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Tue Jan 19 2021 10:05:31 GMT-0600 (Central Standard Time) 

    Merge branch 'dev' into deshruch


commit 0c6b62ec 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Fri Jan 15 2021 16:49:04 GMT-0600 (Central Standard Time) 

    Merge branch 'dev' into deshruch

# Conflicts:
#	src/cloud/providers/aws/dataecosystem.ts


commit 084954a9 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Fri Jan 15 2021 16:47:11 GMT-0600 (Central Standard Time) 

    Bug Fix: correct DES service paths


commit 916afd66 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Fri Jan 15 2021 16:00:03 GMT-0600 (Central Standard Time) 

    Add skeletons for provider interfaces
parent 029cfba8
......@@ -27,7 +27,7 @@ export class AWSDataEcosystemServices extends AbstractDataEcosystemCore {
public getStorageBaseUrlPath(): string { return '/api/storage/v2'; };
public async getAuthorizationHeader(userToken: string): Promise<string> {
return 'Bearer ' + await new AWSCredentials().getServiceCredentials();
return userToken.startsWith('Bearer') ? userToken : 'Bearer ' + userToken;
}
public fixGroupMembersResponse(groupMembers: any): IDESEntitlementGroupMembersModel {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment