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

fix(provider-generator): java akamai provider generation #3185

Merged
merged 5 commits into from
Oct 16, 2023

Conversation

Maed223
Copy link
Contributor

@Maed223 Maed223 commented Oct 10, 2023

Related issue

Fixes #3115

Description

Generation of Akamai provider fails to compile in Java since the the software field on the DNS resource config is confused with the JSII Java runtime package by the compiler.

Fix

Add the attribute name software to our list of escaped attributes.

Other Notes

Added the example java/akamai-gradle to demonstrate that the fix works. Guessing it isn't worth keeping around so planning on removing it before merging.

Copy link
Contributor

@DanielMSchmidt DanielMSchmidt left a comment

Choose a reason for hiding this comment

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

The change looks good to me, but I would prefer no new example to be added (I normally start a new project with cdktf init and test it there with the local CLI)

Maed223 and others added 4 commits October 13, 2023 12:57
Signed-off-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Copy link
Contributor

@DanielMSchmidt DanielMSchmidt left a comment

Choose a reason for hiding this comment

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

We should also mention this in the changelog :)

@DanielMSchmidt DanielMSchmidt added this pull request to the merge queue Oct 16, 2023
Merged via the queue into main with commit 497c2c6 Oct 16, 2023
44 checks passed
@DanielMSchmidt DanielMSchmidt deleted the akamai-provider-java-fix branch October 16, 2023 09:18
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Akamai provider generation failing for Java
3 participants