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

Merge snapshot management into main branch #205

Merged
merged 2 commits into from
Jun 24, 2022

Conversation

bowenlan-amzn
Copy link
Member

@bowenlan-amzn bowenlan-amzn commented Jun 23, 2022

Signed-off-by: bowenlan-amzn [email protected]

Description

[Describe what this change achieves]

Issues Resolved

opensearch-project/index-management#280

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@codecov-commenter
Copy link

codecov-commenter commented Jun 23, 2022

Codecov Report

Merging #205 (27afeca) into main (13bea3b) will decrease coverage by 10.07%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #205       +/-   ##
===========================================
- Coverage   61.85%   51.78%   -10.08%     
===========================================
  Files         158      182       +24     
  Lines        4632     5757     +1125     
  Branches      775      924      +149     
===========================================
+ Hits         2865     2981      +116     
- Misses       1546     2555     +1009     
  Partials      221      221               
Impacted Files Coverage Δ
...ement-dashboards-plugin/public/pages/Main/Main.tsx 7.69% <0.00%> (-2.31%) ⬇️
...-dashboards-plugin/public/index_management_app.tsx 6.66% <0.00%> (-0.48%) ⬇️
...ex-management-dashboards-plugin/utils/constants.ts 100.00% <0.00%> (ø)
...gement-dashboards-plugin/public/utils/constants.ts 100.00% <0.00%> (ø)
...atePolicy/components/FlyoutFooter/FlyoutFooter.tsx 66.66% <0.00%> (ø)
...ainers/CreateTransformForm/CreateTransformForm.tsx 58.22% <0.00%> (ø)
...ners/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx 11.50% <0.00%> (ø)
...epositories/components/DeleteModal/DeleteModal.tsx 6.66% <0.00%> (ø)
...pages/Snapshots/containers/Snapshots/Snapshots.tsx 4.59% <0.00%> (ø)
...napshotPolicy/components/CronSchedule/constants.ts 0.00% <0.00%> (ø)
... and 20 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 13bea3b...27afeca. Read the comment docs.

@bowenlan-amzn bowenlan-amzn marked this pull request as ready for review June 24, 2022 00:01
@bowenlan-amzn bowenlan-amzn requested a review from a team June 24, 2022 00:01
let cronParts = { hour, minute, dayOfWeek, dayOfMonth, frequencyType };
cronParts = { ...cronParts, ...input };
const expression = buildCronExpression(cronParts, cronExpression);
// console.log(`sm dev built expression ${expression}`);
Copy link
Contributor

Choose a reason for hiding this comment

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

I see a lot of commented out lines of old code in this file

Copy link
Member Author

Choose a reason for hiding this comment

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

Some of the comments like this are kept deliberately

@bowenlan-amzn bowenlan-amzn merged commit 46dd590 into opensearch-project:main Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants