oracle / oracle/oci-java-sdk

Shape SymmetricMultithreading set during Launch Instance

Open
#612 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

SDK
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.