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

fix(graphql-auth-transformer): add a time delay when creating apiKey #4493

Merged
merged 3 commits into from
Jul 14, 2020

Conversation

SwaySway
Copy link
Contributor

@SwaySway SwaySway commented Jun 8, 2020

added a time delay to the expiration date

re #4460

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@SwaySway SwaySway requested a review from nikhname June 8, 2020 17:04
@codecov
Copy link

codecov bot commented Jun 8, 2020

Codecov Report

Merging #4493 into master will increase coverage by 0.09%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4493      +/-   ##
==========================================
+ Coverage   60.76%   60.86%   +0.09%     
==========================================
  Files         335      334       -1     
  Lines       14740    14718      -22     
  Branches     2953     2784     -169     
==========================================
+ Hits         8957     8958       +1     
  Misses       5337     5337              
+ Partials      446      423      -23     
Impacted Files Coverage Δ
packages/graphql-auth-transformer/src/resources.ts 77.87% <100.00%> (+0.09%) ⬆️
packages/amplify-util-mock/src/api/api.ts 0.00% <0.00%> (ø)
packages/graphql-mapping-template/src/print.ts 35.71% <0.00%> (ø)
packages/amplify-util-mock/src/storage/storage.ts 0.00% <0.00%> (ø)
...ges/amplify-util-mock/src/CFNParser/stack/index.ts 88.09% <0.00%> (ø)
...ges/graphql-transformer-core/src/util/fileUtils.ts 11.76% <0.00%> (ø)
...es/amplify-util-mock/src/api/resolver-overrides.ts 0.00% <0.00%> (ø)
...es/graphql-transformer-core/src/stripDirectives.ts 35.29% <0.00%> (ø)
.../amplify-util-mock/src/utils/lambda/loadMinimal.ts 0.00% <0.00%> (ø)
...graphql-transformer-core/src/TransformerContext.ts 26.10% <0.00%> (ø)
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 493e631...34d415c. Read the comment docs.

@attilah attilah self-requested a review June 8, 2020 17:43
@nikhname nikhname self-assigned this Jun 8, 2020
@SwaySway SwaySway requested a review from attilah June 9, 2020 03:39
@SwaySway SwaySway force-pushed the i4460 branch 2 times, most recently from 6cc52c6 to 0989513 Compare July 7, 2020 20:24
@SwaySway SwaySway requested a review from jhockett July 7, 2020 20:25
Copy link
Contributor

@jhockett jhockett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

filter number in askApiKeyQuestions, edit e2e to 1 day for apikey, and add delay if its one day in
@auth
@jhockett jhockett merged commit 1d56b40 into aws-amplify:master Jul 14, 2020
nikhname pushed a commit to nikhname/amplify-cli that referenced this pull request Jul 27, 2020
sebastiancrossa pushed a commit to MLH-Fellowship/amplify-cli that referenced this pull request Aug 4, 2020
sebastiancrossa pushed a commit to MLH-Fellowship/amplify-cli that referenced this pull request Aug 25, 2020
@github-actions
Copy link

This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants