-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `GeneratePackage` method of the `LanguageRuntime` gRPC service allows callers to generate SDKs for a specified schema. This commits implements this endpoint for `pulumi-language-java`, using the existing `pkg/codegen` functionality that is currently only exposed through the `pulumi-java-gen` binary. Doing so means we can begin to get conformance tests working for Java. As part of this work, we extend the work we started when implementing `GenerateProject` to support local repositories in generated SDKs. As with other languages, we add a field to `PackageInfo` to this end. Since SDK generation uses Gradle (and not Maven, as program generation does), there is a bit of new plumbing to do here, but in principle the outcome is the same. > [!NOTE] > It is not certain yet that `GeneratePackage` behaves identically to the > currently-used binary endpoint in `pulumi-java-gen` -- we should make sure of > this before switching over. This work is primarily a means to get conformance > tests going.
- Loading branch information
Showing
5 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters