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

DYN-7571 Add Compatibility Map route as an API #114

Merged
merged 3 commits into from
Oct 14, 2024

Conversation

zeusongit
Copy link
Contributor

@zeusongit zeusongit commented Oct 9, 2024

Purpose

GetCompatibilityMap should call the /host_map route on package manager and return host mapping in Greg.

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.

Reviewers

@DynamoDS/dynamo

FYIs

@dnenov

@zeusongit zeusongit requested a review from QilongTang October 9, 2024 19:16
@zeusongit zeusongit added the wip label Oct 9, 2024
@zeusongit zeusongit removed the wip label Oct 9, 2024

namespace Greg.Requests
{
public class GetCompatibilityMap : Request
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you add some comments?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done


internal override void Build(ref RestRequest request)
{
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this override still required if not implemented?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, required as we are extending the abstract class Request

Copy link
Contributor

@QilongTang QilongTang left a comment

Choose a reason for hiding this comment

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

LGTM with some comments

@zeusongit zeusongit merged commit ce7b0d2 into DynamoDS:master Oct 14, 2024
11 checks passed
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.

2 participants