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

Update Greengrass V2 IPC models #290

Merged
merged 1 commit into from
Jun 23, 2022
Merged

Update Greengrass V2 IPC models #290

merged 1 commit into from
Jun 23, 2022

Conversation

MikeDombo
Copy link
Contributor

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.

@MikeDombo MikeDombo marked this pull request as ready for review June 22, 2022 18:12
Copy link
Contributor

@TwistedTwigleg TwistedTwigleg left a comment

Choose a reason for hiding this comment

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

Looks good! The only minor thing I noticed is on this PR there are some fields marked deprecated. I do not remember seeing them on the other PRs, but maybe I missed it? Regardless, this one looks good to go.

@Expose(
serialize = true,
deserialize = true
)
@Deprecated
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 supposed to be deprecated? I didn't noticed deprecation warnings on the other PRs (though maybe I missed it?)

private Optional<String> topicName;

public SubscribeToTopicResponse() {
this.topicName = Optional.empty();
}

@Deprecated
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 supposed to be deprecated? I didn't noticed deprecation warnings on the other PRs (though maybe I missed it?)

public String getTopicName() {
if (topicName.isPresent()) {
return topicName.get();
}
return null;
}

@Deprecated
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 supposed to be deprecated? I didn't noticed deprecation warnings on the other PRs (though maybe I missed it?)

public void setTopicName(final String topicName) {
this.topicName = Optional.ofNullable(topicName);
}

@Deprecated
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 supposed to be deprecated? I didn't noticed deprecation warnings on the other PRs (though maybe I missed it?)

@TwistedTwigleg
Copy link
Contributor

Thank you for the changes! Merging into main...

@TwistedTwigleg TwistedTwigleg merged commit 4c24436 into main Jun 23, 2022
@TwistedTwigleg TwistedTwigleg deleted the gg-v2-2.6.0 branch June 23, 2022 19:07
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