Support PulumiPluginJSON.Server in pulumi-java-gen
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- build-system
Research direction
Start in the pulumi-java-gen new build-generation path introduced by #709, then compare it with the old PulumiPluginJSON construction shown in the issue. Trace the schema's PluginDownloadURL into the generated Java resource plugin.json. Done means the generated plugin.json includes the server value so the generated SDK can read it back.
Written by the indexing model from the issue text.
Description
Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
With #709 the responsibility of generating plugin.json with metadata about the package is moving from pulumi-java-gen invocation itself to the generated build system, currently supporting Gradle. One feature lost in translation is populating the server field from PluginDowlnoadURL in the schema.
That is on the old path we have:
pulumiPlugin := &plugin.PulumiPluginJSON{
Resource: true,
Name: pkg.Name,
Version: cfg.Version.String(),
Server: pkg.PluginDownloadURL,
}
We should have the same functionality on the new path. pulumi-java-gen should emit build code that populates PluginDownloadURL from the schema to the generated Java resource plugin.json so the generated SDK code can read it back and act accordingly.
Affected area/feature
- Dominant language
- Java
- Stars
- 85
- Forks
- 26
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 22
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pulumi/pulumi-java
-
area/codegen area/docs kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pulumi/pulumi-java#1420 · 4 comments ·
-
area/codegen area/sdks impact/usability language/java pulumi/pulumi-java
Difficulty 4/5 3-5 days Newbie friendliness 45/100
pulumi/pulumi-java#2266 ·
-
area/codegen
Difficulty 4/5 3-5 days Newbie friendliness 58/100
pulumi/pulumi-java#2210 ·
-
area/codegen kind/bug
Difficulty 4/5 3-5 days Newbie friendliness 56/100
pulumi/pulumi-java#2201 ·
-
area/sdks impact/usability java language/java
Difficulty 4/5 3-5 days Newbie friendliness 45/100
pulumi/pulumi-java#2090 ·
All issues in pulumi/pulumi-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
objectionary/hone-maven-plugin#1061 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
spring-projects/spring-modulith#1895 ·