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

Add JsonMapper-based readMetadataUrl method to ComputeInstanceMetadataResolverUtils #6587

Merged
merged 4 commits into from
Jan 27, 2022

Conversation

yawkat
Copy link
Member

@yawkat yawkat commented Nov 30, 2021

This allows loading metadata with only the json-core module. The other methods require jackson-core or jackson-databind.

Required for micronaut-aws migration.

…aResolverUtils

This allows loading metadata with only the json-core module. The other methods require jackson-core or jackson-databind.
@yawkat yawkat added the type: improvement A minor improvement to an existing feature label Nov 30, 2021
@yawkat yawkat added this to the 3.2.1 milestone Nov 30, 2021
@jameskleeh
Copy link
Contributor

This should go into 3.3

@graemerocher
Copy link
Contributor

@jameskleeh normally I would agree but it would be nice if the all the modules were compatible with serialization for the release of Micronaut 3.3.

Without this method then AWS module will not work with Micronaut Serialization and is coupled to Jackson until 3.3 is out and we will have to do a patch release of AWS afterwards

If you think that is better then we do that, but seems a pretty minor change to wait all the way until 3.3.1

@graemerocher graemerocher modified the milestones: 3.2.1, 3.3.0 Jan 13, 2022
@graemerocher graemerocher changed the base branch from 3.2.x to 3.3.x January 13, 2022 15:26
@jameskleeh jameskleeh merged commit 4fd1e33 into 3.3.x Jan 27, 2022
@jameskleeh jameskleeh deleted the compute-instance-jsonmapper branch January 27, 2022 17:04
yawkat added a commit that referenced this pull request Jun 24, 2022
…aResolverUtils (#6587)

* Add JsonMapper-based readMetadataUrl method to ComputeInstanceMetadataResolverUtils
This allows loading metadata with only the json-core module. The other methods require jackson-core or jackson-databind.

* since

* Update since

Co-authored-by: jameskleeh <james.kleeh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants