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

Appmesh virtual node #8050

Merged
merged 29 commits into from
Sep 1, 2024
Merged

Conversation

armichaud
Copy link
Contributor

Implements describe, create, list, update, and delete virtual_node APIs

Copy link

codecov bot commented Sep 1, 2024

Codecov Report

Attention: Patch coverage is 95.98394% with 30 lines in your changes missing coverage. Please review.

Project coverage is 94.44%. Comparing base (035dfac) to head (028a397).
Report is 20 commits behind head on master.

Files with missing lines Patch % Lines
moto/appmesh/utils/spec_parsing.py 94.24% 19 Missing ⚠️
moto/appmesh/dataclasses/virtual_node.py 98.11% 5 Missing ⚠️
moto/appmesh/models.py 94.66% 4 Missing ⚠️
moto/appmesh/exceptions.py 77.77% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master    #8050    +/-   ##
========================================
  Coverage   94.43%   94.44%            
========================================
  Files        1139     1141     +2     
  Lines       97321    98071   +750     
========================================
+ Hits        91903    92620   +717     
- Misses       5418     5451    +33     
Flag Coverage Δ
servertests 28.99% <0.00%> (+0.06%) ⬆️
unittests 94.41% <95.98%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@armichaud armichaud marked this pull request as ready for review September 1, 2024 12:32
@armichaud
Copy link
Contributor Author

@bblommers ready for review


- [ ] create_evaluation_job
- [ ] create_guardrail
- [ ] create_guardrail_version
- [ ] create_model_copy_job
Copy link
Collaborator

Choose a reason for hiding this comment

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

Usually when the implementation-script suddenly removes methods like this, it's because the installed botocore module is outdated, and the feature didn't exist yet in the older botocore module.

We'll always update the docs before an actual release, so it's not a big deal if these methods disappear inbetween, just as an FYI; if you update botocore/boto3 before running the implementation-script, this shouldn't happen.



def clean_dict(obj: Dict[str, Any]) -> Dict[str, Any]: # type: ignore[misc]
return {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This method isnt' used anywhere - looks like the duplicate method in utils.py is used instead.

Copy link
Collaborator

@bblommers bblommers left a comment

Choose a reason for hiding this comment

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

LGTM - thank you continuing to improve this area in Moto @armichaud!

The two comments that I've left are not blockers, so I'll just go ahead and merge it as is - feel free to address them in a follow up PR.

@bblommers bblommers added this to the 5.0.14 milestone Sep 1, 2024
@bblommers bblommers linked an issue Sep 1, 2024 that may be closed by this pull request
@bblommers bblommers merged commit 204b966 into getmoto:master Sep 1, 2024
50 checks passed
Copy link
Contributor

github-actions bot commented Sep 1, 2024

This is now part of moto >= 5.0.14.dev55

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.

Support AppMesh Virtual Router, Routes, and Nodes
2 participants