Shape SymmetricMultithreading set during Launch Instance
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 243
- Forks
- 171
- Avg merge
- 30m
- Merged PRs (30d)
- 4
Description
Hi, I see that there is an option (bmc-core/src/main/java/com/oracle/bmc/core/model/ShapeSymmetricMultiThreadingEnabledPlatformOptions.java) to build platform config which sets the SMT toggle. I can use it in Terraform and CLI (API exists), but in Java SDK, I cannot figure out how to use it when launching an instance. The example provided in https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/CreateInstanceExample.java does not build platform config.
On the CLI, I create a platform_config file with appropriate values and pass that on command line. Is that possible with a pre-compiled java client for OCI? If not, how do I set the default value for SMT in platform config?
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.
Research direction
Start with bmc-core/src/main/java/com/oracle/bmc/core/model/ShapeSymmetricMultiThreadingEnabledPlatformOptions.java and compare it with bmc-examples/src/main/java/CreateInstanceExample.java. Check how the launch request builds platform configuration and whether the example can demonstrate the existing option. Done means documenting or illustrating the supported Java SDK usage clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, cloud
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100